Home
last modified time | relevance | path

Searched refs:node2 (Results 1 – 18 of 18) sorted by relevance

/src/contrib/libyaml/tests/
H A Drun-dumper.c84 yaml_node_t *node2; in compare_nodes() local
87 node2 = yaml_document_get_node(document2, index2); in compare_nodes()
90 assert(node2); in compare_nodes()
92 if (node1->type != node2->type) in compare_nodes()
95 if (strcmp((char *)node1->tag, (char *)node2->tag) != 0) return 0; in compare_nodes()
99 if (node1->data.scalar.length != node2->data.scalar.length) in compare_nodes()
101 if (strncmp((char *)node1->data.scalar.value, (char *)node2->data.scalar.value, in compare_nodes()
106 (node2->data.sequence.items.top - node2->data.sequence.items.start)) in compare_nodes()
110 document2, node2->data.sequence.items.start[k], level)) return 0; in compare_nodes()
115 (node2->data.mapping.pairs.top - node2->data.mapping.pairs.start)) in compare_nodes()
[all …]
/src/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64PBQPRegAlloc.cpp169 PBQPRAGraph::NodeId node2 = G.getMetadata().getNodeIdForVReg(Ra); in addIntraChainConstraint() local
174 &G.getNodeMetadata(node2).getAllowedRegs(); in addIntraChainConstraint()
176 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2); in addIntraChainConstraint()
197 G.addEdge(node1, node2, std::move(costs)); in addIntraChainConstraint()
201 if (G.getEdgeNode1Id(edge) == node2) { in addIntraChainConstraint()
202 std::swap(node1, node2); in addIntraChainConstraint()
268 PBQPRAGraph::NodeId node2 = G.getMetadata().getNodeIdForVReg(r); in addInterChainConstraint() local
270 &G.getNodeMetadata(node2).getAllowedRegs(); in addInterChainConstraint()
272 PBQPRAGraph::EdgeId edge = G.findEdge(node1, node2); in addInterChainConstraint()
278 if (G.getEdgeNode1Id(edge) == node2) { in addInterChainConstraint()
[all …]
/src/sys/netgraph/
H A Dng_base.c233 node_p node2, const char *name2);
675 node_p node2 = NULL; in ng_make_node_common() local
679 NG_IDHASH_FIND(node->nd_ID, node2); /* already taken? */ in ng_make_node_common()
680 if ((node->nd_ID != 0) && (node2 == NULL)) { in ng_make_node_common()
855 node_p node2; in ng_name_node() local
882 LIST_FOREACH(node2, &V_ng_name_hash[hash], nd_nodes) in ng_name_node()
883 if (NG_NODE_IS_VALID(node2) && in ng_name_node()
884 (strcmp(NG_NODE_NAME(node2), name) == 0)) { in ng_name_node()
986 node_p node, node2; in ng_name_rehash() local
995 LIST_FOREACH_SAFE(node, &V_ng_name_hash[i], nd_nodes, node2) { in ng_name_rehash()
[all …]
/src/contrib/unbound/testcode/
H A Dunitmain.c1187 struct local_zone *node1, *node2; in compare_localzone_trees() local
1193 node2=(struct local_zone*)rbtree_first(&z2->ztree); in compare_localzone_trees()
1195 (rbnode_type*)node2 != RBTREE_NULL; in compare_localzone_trees()
1197 node2=(struct local_zone*)rbtree_next((rbnode_type*)node2)) { in compare_localzone_trees()
1202 node2->name, node2->namelabs, in compare_localzone_trees()
1206 (node1->parent == NULL && node2->parent == NULL) || in compare_localzone_trees()
1207 (node1->parent != NULL && node2->parent != NULL)); in compare_localzone_trees()
1211 node2->parent->name, node2->parent->namelabs, in compare_localzone_trees()
/src/contrib/one-true-awk/
H A Dparse.c60 Node *node2(int a, Node *b, Node *c) in node2() function
123 x = node2(a,b,c); in stat2()
159 x = node2(a,b,c); in op2()
H A Dproto.h70 extern Node *node2(int, Node *, Node *);
/src/sys/contrib/openzfs/module/zfs/
H A Dzfs_fm.c166 const recent_events_node_t *node2 = b; in recent_events_compare() local
174 if ((cmp = TREE_CMP(node1->re_subclass, node2->re_subclass)) != 0) in recent_events_compare()
176 if ((cmp = TREE_CMP(node1->re_pool_guid, node2->re_pool_guid)) != 0) in recent_events_compare()
178 if ((cmp = TREE_CMP(node1->re_vdev_guid, node2->re_vdev_guid)) != 0) in recent_events_compare()
180 if ((cmp = TREE_CMP(node1->re_io_error, node2->re_io_error)) != 0) in recent_events_compare()
182 if ((cmp = TREE_CMP(node1->re_io_priority, node2->re_io_priority)) != 0) in recent_events_compare()
184 if ((cmp = TREE_CMP(node1->re_io_size, node2->re_io_size)) != 0) in recent_events_compare()
186 if ((cmp = TREE_CMP(node1->re_io_offset, node2->re_io_offset)) != 0) in recent_events_compare()
190 const zbookmark_phys_t *zb2 = &node2->re_io_bookmark; in recent_events_compare()
H A Dzfs_fuid.c74 const fuid_domain_t *node2 = (const fuid_domain_t *)arg2; in idx_compare() local
76 return (TREE_CMP(node1->f_idx, node2->f_idx)); in idx_compare()
86 const fuid_domain_t *node2 = (const fuid_domain_t *)arg2; in domain_compare() local
89 val = strcmp(node1->f_ksid->kd_name, node2->f_ksid->kd_name); in domain_compare()
H A Ddsl_deleg.c397 const perm_set_t *node2 = (const perm_set_t *)arg2; in perm_set_compare() local
400 val = strcmp(node1->p_setname, node2->p_setname); in perm_set_compare()
H A Dsa.c254 const sa_lot_t *node2 = (const sa_lot_t *)arg2; in layout_num_compare() local
256 return (TREE_CMP(node1->lot_num, node2->lot_num)); in layout_num_compare()
263 const sa_lot_t *node2 = (const sa_lot_t *)arg2; in layout_hash_compare() local
265 int cmp = TREE_CMP(node1->lot_hash, node2->lot_hash); in layout_hash_compare()
269 return (TREE_CMP(node1->lot_instance, node2->lot_instance)); in layout_hash_compare()
/src/contrib/libarchive/libarchive/
H A Darchive_ppmd7.c220 CPpmd7_Node *node2 = NODE(n) + nu; in GlueFreeBlocks() local
221 nu += node2->NU; in GlueFreeBlocks()
222 if (node2->Stamp != 0 || nu >= 0x10000) in GlueFreeBlocks()
224 NODE(node2->Prev)->Next = node2->Next; in GlueFreeBlocks()
225 NODE(node2->Next)->Prev = node2->Prev; in GlueFreeBlocks()
H A Darchive_ppmd8.c170 CPpmd8_Node *node2; in GlueFreeBlocks() local
173 while ((node2 = node + node->NU)->Stamp == EMPTY_NODE) in GlueFreeBlocks()
175 node->NU += node2->NU; in GlueFreeBlocks()
176 node2->NU = 0; in GlueFreeBlocks()
/src/usr.sbin/bsdconfig/dot/
H A Ddot119 local node1="$1" node2="$2"
123 printf '\t\t"%s" -> "%s"' "$node1" "$node2"
/src/sys/dev/aic7xxx/aicasm/
H A Daicasm_symbol.c299 symbol_node_t *node1, *node2; in symlist_free() local
303 node2 = SLIST_NEXT(node1, links); in symlist_free()
305 node1 = node2; in symlist_free()
/src/sys/contrib/device-tree/Bindings/interrupt-controller/
H A Dmarvell,icu.txt74 node2 {
/src/crypto/krb5/src/lib/krb5/unicode/ucdata/
H A Ducdata.c590 uccomp(krb5_ui_4 node1, krb5_ui_4 node2, krb5_ui_4 *comp) in uccomp() argument
604 else if (node2 > _uccomp_data[m+3]) in uccomp()
606 else if (node2 < _uccomp_data[m+3]) in uccomp()
H A Ducdata.h228 int uccomp(krb5_ui_4 node1, krb5_ui_4 node2, krb5_ui_4 *comp);
/src/sys/dev/dpaa2/
H A Ddpaa2_ni.c1733 struct sysctl_oid *node, *node2; in dpaa2_ni_setup_sysctls() local
1788 node2 = SYSCTL_ADD_NODE(ctx, parent, OID_AUTO, cbuf, in dpaa2_ni_setup_sysctls()
1790 parent2 = SYSCTL_CHILDREN(node2); in dpaa2_ni_setup_sysctls()