| /onnv-gate/usr/src/lib/libtecla/common/ |
| H A D | freelist.c | 43 char *nodes; /* The array of free-list nodes */ member 120 fl->free_list = fl->block->nodes; in _new_FreeList() 152 char *last_node = block->nodes + fl->node_size * in _rst_FreeList() 160 fl->free_list = block->nodes; in _rst_FreeList() 250 fl->free_list = fl->block->nodes; in _new_FreeListNode() 350 block->nodes = NULL; in _new_FreeListBlock() 354 block->nodes = (char *) malloc(fl->node_size * fl->blocking_factor); in _new_FreeListBlock() 355 if(!block->nodes) in _new_FreeListBlock() 377 char *mem = block->nodes; in _thread_FreeListBlock() 396 if(fl->nodes) in _del_FreeListBlock() [all …]
|
| /onnv-gate/usr/src/common/openssl/crypto/x509v3/ |
| H A D | pcy_node.c | 76 X509_POLICY_NODE *tree_find_sk(STACK_OF(X509_POLICY_NODE) *nodes, in tree_find_sk() argument 86 idx = sk_X509_POLICY_NODE_find(nodes, &l); in tree_find_sk() 90 return sk_X509_POLICY_NODE_value(nodes, idx); in tree_find_sk() 97 return tree_find_sk(level->nodes, id); in level_find_node() 123 if (!level->nodes) in level_add_node() 124 level->nodes = policy_node_cmp_new(); in level_add_node() 125 if (!level->nodes) in level_add_node() 127 if (!sk_X509_POLICY_NODE_push(level->nodes, node)) in level_add_node()
|
| H A D | pcy_tree.c | 293 for (i = 0; i < sk_X509_POLICY_NODE_num(last->nodes); i++) in tree_link_any() 295 node = sk_X509_POLICY_NODE_value(last->nodes, i); in tree_link_any() 340 for (i = sk_X509_POLICY_NODE_num(curr->nodes) - 1; i >= 0; i--) in tree_prune() 342 node = sk_X509_POLICY_NODE_value(curr->nodes, i); in tree_prune() 348 sk_X509_POLICY_NODE_delete(curr->nodes, i); in tree_prune() 354 for (i = sk_X509_POLICY_NODE_num(curr->nodes) - 1; i >= 0; i--) in tree_prune() 356 node = sk_X509_POLICY_NODE_value(curr->nodes, i); in tree_prune() 361 sk_X509_POLICY_NODE_delete(curr->nodes, i); in tree_prune() 441 for (j = 0; j < sk_X509_POLICY_NODE_num(curr->nodes); j++) in tree_calculate_authority_set() 443 node = sk_X509_POLICY_NODE_value(curr->nodes, j); in tree_calculate_authority_set() [all …]
|
| H A D | pcy_lib.c | 115 if (level->nodes) in X509_policy_level_node_count() 116 n += sk_X509_POLICY_NODE_num(level->nodes); in X509_policy_level_node_count() 130 return sk_X509_POLICY_NODE_value(level->nodes, i); in X509_policy_level_get0_node()
|
| /onnv-gate/usr/src/lib/libnsctl/common/ |
| H A D | machdep.c | 246 ncall_node_t *nodes; in nsc_name_to_id() local 253 nodecnt = nsc_getcurrentnodes(&nodes); in nsc_name_to_id() 258 if (strcmp(name, nodes[slot].nc_nodename) == 0) { in nsc_name_to_id() 259 *id = nodes[slot].nc_nodeid; in nsc_name_to_id() 267 free(nodes); in nsc_name_to_id() 282 ncall_node_t *nodes; in nsc_id_to_name() local 291 nodecnt = nsc_getcurrentnodes(&nodes); in nsc_id_to_name() 296 if (nodes[slot].nc_nodeid == id) { in nsc_id_to_name() 297 foundname = strdup(nodes[slot].nc_nodename); in nsc_id_to_name() 311 free(nodes); in nsc_id_to_name()
|
| /onnv-gate/usr/src/lib/libshell/common/tests/ |
| H A D | sun_solaris_compound_misc.sh | 83 compound vx=( compound -a nodes=( [4]=( ) ) ) 85 compound -a vy.nodes=( [4]=( ) ) 87 compound -a vz.nodes 88 vz.nodes[4]=( ) 121 compound vx=( compound -A nodes=( [4]=( ) ) ) 123 compound -A vy.nodes=( [4]=( ) ) 125 compound -A vz.nodes 126 vz.nodes[4]=( )
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/ |
| H A D | ParseUtils.pm | 720 $self->{-nodes} = [] unless(defined $self->{-nodes}); 780 sub nodes { subroutine 781 my ($self,@nodes) = @_; 782 if(@nodes) { 783 push(@{$self->{-nodes}}, @nodes); 784 return @nodes; 787 return @{$self->{-nodes}}; 802 push(@search, @{$self->{-nodes}}) if($self->{-nodes});
|
| /onnv-gate/usr/src/cmd/avs/ncall/ |
| H A D | ncalladm.c | 222 ncall_node_t nodeinfo, *nodes; in ncalladm_lintmain() local 368 nodes = getnodelist(fd, &nsize, &mnode); in ncalladm_lintmain() 370 if (nodes == NULL) { in ncalladm_lintmain() 383 nodes[0].nc_nodename); in ncalladm_lintmain() 385 nodes[0].nc_nodeid); in ncalladm_lintmain() 391 if (nodes[i].nc_nodeid == mnode) { in ncalladm_lintmain() 392 mname = nodes[i].nc_nodename; in ncalladm_lintmain() 413 if (nodes[i].nc_nodeid != mnode) { in ncalladm_lintmain() 415 nodes[i].nc_nodename, in ncalladm_lintmain() 416 nodes[i].nc_nodeid); in ncalladm_lintmain() [all …]
|
| /onnv-gate/usr/src/lib/libparted/common/lib/ |
| H A D | regex_internal.c | 26 const re_node_set *nodes, 29 const re_node_set *nodes, 1423 new_nodes = re_realloc (dfa->nodes, re_token_t, new_nodes_alloc); in re_dfa_add_node() 1426 dfa->nodes = new_nodes; in re_dfa_add_node() 1440 dfa->nodes[dfa->nodes_len] = token; in re_dfa_add_node() 1441 dfa->nodes[dfa->nodes_len].constraint = 0; in re_dfa_add_node() 1445 dfa->nodes[dfa->nodes_len].accept_mb = in re_dfa_add_node() 1457 calc_state_hash (const re_node_set *nodes, unsigned int context) in calc_state_hash() argument 1459 re_hashval_t hash = nodes->nelem + context; in calc_state_hash() 1461 for (i = 0 ; i < nodes->nelem ; i++) in calc_state_hash() [all …]
|
| H A D | regexec.c | 152 const re_node_set *nodes) 162 static Idx find_subexp_node (const re_dfa_t *dfa, const re_node_set *nodes, 690 if (dfa->init_state->nodes.nelem == 0 in re_search_internal() 691 && dfa->init_state_word->nodes.nelem == 0 in re_search_internal() 692 && (dfa->init_state_nl->nodes.nelem == 0 in re_search_internal() 1138 err = check_subexp_matching_top (mctx, &cur_state->nodes, 0); in check_matching() 1144 err = transit_state_bkref (mctx, &cur_state->nodes); in check_matching() 1242 re_token_type_t type = dfa->nodes[node].type; in check_halt_node_context() 1243 unsigned int constraint = dfa->nodes[node].constraint; in check_halt_node_context() 1268 for (i = 0; i < state->nodes.nelem; ++i) in check_halt_state_context() [all …]
|
| H A D | regcomp.c | 313 for (node_cnt = 0; node_cnt < init_state->nodes.nelem; ++node_cnt) in re_compile_fastmap_iter() 315 Idx node = init_state->nodes.elems[node_cnt]; in re_compile_fastmap_iter() 316 re_token_type_t type = dfa->nodes[node].type; in re_compile_fastmap_iter() 320 re_set_fastmap (fastmap, icase, dfa->nodes[node].opr.c); in re_compile_fastmap_iter() 330 *p++ = dfa->nodes[node].opr.c; in re_compile_fastmap_iter() 332 && dfa->nodes[node].type == CHARACTER in re_compile_fastmap_iter() 333 && dfa->nodes[node].mb_partial) in re_compile_fastmap_iter() 334 *p++ = dfa->nodes[node].opr.c; in re_compile_fastmap_iter() 350 bitset_word_t w = dfa->nodes[node].opr.sbcset[i]; in re_compile_fastmap_iter() 360 re_charset_t *cset = dfa->nodes[node].opr.mbcset; in re_compile_fastmap_iter() [all …]
|
| /onnv-gate/usr/src/lib/libc/port/i18n/ |
| H A D | plural_parser.c | 144 if (e->nodes[2]) in freeexpr() 145 freeexpr(e->nodes[2]); in freeexpr() 148 if (e->nodes[1]) in freeexpr() 149 freeexpr(e->nodes[1]); in freeexpr() 152 if (e->nodes[0]) in freeexpr() 153 freeexpr(e->nodes[0]); in freeexpr() 231 newitem->nodes[2] = exp3; in setop_reduce() 234 newitem->nodes[1] = exp2; in setop_reduce() 237 newitem->nodes[0] = exp1; in setop_reduce() 874 e1 = plural_eval(exp->nodes[0], n); in plural_eval() [all …]
|
| /onnv-gate/usr/src/cmd/fm/modules/common/fabric-xlate/ |
| H A D | fx_subr.c | 233 xmlNodeSetPtr nodes; in fab_xpath_query() local 246 nodes = xpathObj->nodesetval; in fab_xpath_query() 248 if (nodes) { in fab_xpath_query() 249 temp = (char *)xmlNodeGetContent(nodes->nodeTab[0]); in fab_xpath_query() 395 xmlNodeSetPtr nodes; in fab_find_rppath_by_devbdf() local 444 nodes = xpathObj->nodesetval; in fab_find_rppath_by_devbdf() 445 size = (nodes) ? nodes->nodeNr : 0; in fab_find_rppath_by_devbdf() 451 devNode = nodes->nodeTab[i]; in fab_find_rppath_by_devbdf() 460 devNode = nodes->nodeTab[i+1]; in fab_find_rppath_by_devbdf() 627 xmlNodeSetPtr nodes; in fab_find_addr() local [all …]
|
| /onnv-gate/usr/src/lib/libshell/common/sh/ |
| H A D | nvtype.c | 86 char *nodes; member 270 static Namval_t *findref(void *nodes, int n) in findref() argument 272 Namval_t *tp,*np = nv_namptr(nodes,n); in findref() 278 np = nv_namptr(nodes,i); in findref() 283 return(nv_namptr(pp->nodes,n-i-1)); in findref() 291 Namval_t *nq = nv_namptr(dp->nodes,i); in fixnode() 300 nq->nvalue.nrp->np = findref(dp->nodes,i); in fixnode() 302 nq->nvalue.nrp->np = nv_namptr(pp->childfun.ttype->nodes,i); in fixnode() 313 Namval_t *np = nv_namptr(pp->nodes,i); in fixnode() 333 Namval_t *nr = nv_namptr( pp->childfun.ttype->nodes,i); in fixnode() [all …]
|
| /onnv-gate/usr/src/lib/libv12n/sparc/ |
| H A D | libv12n.c | 203 mde_cookie_t *nodes, rootnode; in v12n_domaining_enabled() local 213 nodes = malloc(nnodes * sizeof (mde_cookie_t)); in v12n_domaining_enabled() 214 if (nodes == NULL) { in v12n_domaining_enabled() 222 md_find_name(mdp, "fwd"), nodes); in v12n_domaining_enabled() 225 (void) md_get_prop_val(mdp, nodes[0], "domaining-enabled", in v12n_domaining_enabled() 230 free(nodes); in v12n_domaining_enabled() 277 mde_cookie_t *nodes, rootnode; in v12n_scan_md_nodes() local 282 nodes = malloc(nnodes * sizeof (mde_cookie_t)); in v12n_scan_md_nodes() 283 if (nodes == NULL) { in v12n_scan_md_nodes() 290 md_find_name(mdp, "fwd"), nodes); in v12n_scan_md_nodes() [all …]
|
| /onnv-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
| H A D | desktop.c | 163 pnode = find_failed_node(bnode->nodes); in disp_fail_parts() 308 pci = dev_find_node_by_type(bnode->nodes, "model", "SUNW,psycho"); in display_pci() 314 pci = dev_find_node_by_type(bnode->nodes, "model", "SUNW,sabre"); in display_pci() 361 for (pnode = dev_find_node(bnode->nodes, "sbus"); pnode != NULL; in dt_disp_asic_revs() 373 for (pnode = dev_find_node(bnode->nodes, "pci"); pnode != NULL; in dt_disp_asic_revs() 384 for (pnode = dev_find_node(bnode->nodes, "ebus"); pnode != NULL; in dt_disp_asic_revs() 395 for (pnode = dev_find_node(bnode->nodes, "SUNW,hme"); pnode != NULL; in dt_disp_asic_revs() 433 display_dev_node(board->nodes, 0); in display_sabre_pci() 514 for (sbus = dev_find_node(board->nodes, SBUS_NAME); sbus != NULL; in display_sbus()
|
| /onnv-gate/usr/src/cmd/device_remap/ |
| H A D | device_remap.pl | 388 my ($md, @nodes, $nodeid, @aliases, $alias); 397 @nodes = $md->scan(0, "ioaliases", "fwd"); 398 $#nodes == 0 or die "missing ioaliases node\n"; 411 @nodes = $md->scan(@nodes[0], "ioalias", "fwd"); 412 foreach $nodeid (@nodes) {
|
| /onnv-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/ |
| H A D | javelin.c | 160 memory = dev_find_node(bnode->nodes, "memory"); in display_memoryconf() 170 dimm = bnode->nodes; in display_memoryconf() 171 for (bank = dev_find_node(bnode->nodes, "bank"); bank != NULL; in display_memoryconf() 249 pnode = find_failed_node(bnode->nodes); in disp_fail_parts() 307 dev_find_node(bnode->nodes, "slot2dev"), in disp_fail_parts() 430 for (pci = dev_find_node(board->nodes, PCI_NAME); pci != NULL; in display_pci() 494 dev_find_node(board->nodes, "slot2dev"), in display_pci() 501 dev_find_node(board->nodes, in display_pci() 672 for (ffb = dev_find_node(board->nodes, FFB_NAME); ffb != NULL; in display_ffb() 679 dev_find_node(board->nodes, "slot2dev"), in display_ffb() [all …]
|
| /onnv-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
| H A D | tazmo.c | 163 memory = dev_find_node(bnode->nodes, "memory"); in display_memoryconf() 173 dimm = bnode->nodes; in display_memoryconf() 174 for (bank = dev_find_node(bnode->nodes, "bank"); bank != NULL; in display_memoryconf() 252 pnode = find_failed_node(bnode->nodes); in disp_fail_parts() 312 dev_find_node(bnode->nodes, "slot2dev"), in disp_fail_parts() 435 for (pci = dev_find_node(board->nodes, PCI_NAME); pci != NULL; in display_pci() 499 dev_find_node(board->nodes, "slot2dev"), in display_pci() 506 dev_find_node(board->nodes, in display_pci() 675 for (ffb = dev_find_node(board->nodes, FFB_NAME); ffb != NULL; in display_ffb() 682 dev_find_node(board->nodes, "slot2dev"), in display_ffb() [all …]
|
| /onnv-gate/usr/src/tools/onbld/Scm/ |
| H A D | WorkSpace.py | 338 def colliding_tags(iterable, nodes, local): argument 340 if nd in nodes: 344 nodes = set(node.hex(ctx.node()) for ctx in self.revs) 348 tags.extend(colliding_tags(fh, nodes, True)) 354 tags.extend(colliding_tags(data, nodes, False)) 363 nodes = set(node.hex(ctx.node()) for ctx in self.revs) 364 return [t for t in data if t.split(' ', 1)[0] not in nodes] 551 nodes = set(outgoing) 552 ptips = map(lambda x: tipmost_shared(x, nodes), heads)
|
| /onnv-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
| H A D | pi_subr.c | 77 char *type_str, char *arc_str, mde_cookie_t **nodes, size_t *nsize) in pi_find_mdenodes() argument 92 *nodes = topo_mod_zalloc(mod, *nsize); in pi_find_mdenodes() 93 if (*nodes == NULL) { in pi_find_mdenodes() 100 result = md_scan_dag(mdp, mde_start, start_cookie, arc_cookie, *nodes); in pi_find_mdenodes() 103 topo_mod_free(mod, *nodes, *nsize); in pi_find_mdenodes() 104 *nodes = NULL; in pi_find_mdenodes() 236 mde_cookie_t *nodes = NULL; in pi_get_productsn() local 263 MD_STR_COMPONENT, MD_STR_FWD, &nodes, &size); in pi_get_productsn() 264 if (num_nodes <= 0 || nodes == NULL) { in pi_get_productsn() 273 result = md_get_prop_str(mdp, nodes[idx], MD_STR_TYPE, &type); in pi_get_productsn() [all …]
|
| /onnv-gate/usr/src/cmd/svr4pkg/pkginstall/ |
| H A D | dockspace.c | 357 long blocks, nodes; in readspace() local 372 blocks = nodes = 0; in readspace() 378 (void) sscanf(line, "%s %ld %ld", path, &blocks, &nodes); in readspace() 401 fs_tab->fused += nodes; in readspace()
|
| /onnv-gate/usr/src/cmd/agents/snmp/parser/ |
| H A D | parse.c | 230 do_subtree(struct tree *root, struct node **nodes); 269 void init_node_hash(nodes) in init_node_hash() argument 270 struct node *nodes; in init_node_hash() 282 for(np = nodes; np;){ 427 build_tree(nodes) in build_tree() argument 428 struct node *nodes; in build_tree() 436 init_node_hash(nodes); 484 do_subtree(tp, &nodes); 521 do_subtree(root, nodes) in do_subtree() argument 523 struct node **nodes; [all …]
|
| /onnv-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/ |
| H A D | opl.c | 180 walk_tree_for_pci_devices(bnode->nodes, in display_io_devices() 311 for (pnode = board->nodes; pnode != NULL; pnode = pnode->sibling) { in display_cpus() 448 pnode = dev_find_node(bnode->nodes, "pseudo-mc"); in get_opl_mem_regs() 864 if (bnode->nodes == NULL) in add_node() 865 bnode->nodes = pnode; in add_node() 867 p = bnode->nodes; in add_node()
|
| /onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
| H A D | radix.h | 124 struct radix_node nodes[]); 127 struct radix_node nodes[]);
|