Home
last modified time | relevance | path

Searched refs:np (Results 1 – 25 of 471) sorted by relevance

12345678910>>...19

/titanic_51/usr/src/cmd/ipf/lib/common/
H A Dprintnat.c25 void printnat(np, opts) in printnat() argument
26 ipnat_t *np; in printnat()
34 pr = getprotobynumber(np->in_p);
36 switch (np->in_redir)
52 np->in_redir);
56 printf(" %s", np->in_ifnames[0]);
57 if ((np->in_ifnames[1][0] != '\0') &&
58 (strncmp(np->in_ifnames[0], np->in_ifnames[1], LIFNAMSIZ) != 0)) {
59 printf(",%s ", np
[all...]
/titanic_51/usr/src/uts/common/os/
H A Dddi_nodeid.c91 np_free(struct available *np) in np_free() argument
93 kmem_free(np, sizeof (struct available)); in np_free()
100 np_unlink(struct available *np) in np_unlink() argument
102 if (np->prev) in np_unlink()
103 np->prev->next = np->next; in np_unlink()
105 nhead = np->next; in np_unlink()
107 if (np->next) in np_unlink()
108 np->next->prev = np in np_unlink()
115 np_insert(struct available * fp,struct available * np) np_insert() argument
133 struct available *np; np_add() local
153 np_coalesce(struct available * np) np_coalesce() argument
171 struct available *np; impl_ddi_init_nodeid() local
187 struct available *np; impl_ddi_alloc_nodeid() local
224 struct available *np, *fp; impl_ddi_free_nodeid() local
299 struct available *np, *fp; impl_ddi_take_nodeid() local
[all...]
/titanic_51/usr/src/cmd/awk_xpg4/
H A Dawk3.c38 static NODE *arithmetic(NODE *np);
39 static NODE *comparison(NODE *np);
40 static int type_of(NODE *np);
43 static NODE *userfunc(NODE *np);
45 static NODE *exprconcat(NODE *np, int len);
46 static int s_if(NODE *np);
47 static int s_while(NODE *np);
48 static int s_for(NODE *np);
49 static int s_forin(NODE *np);
52 static int action(NODE *np);
118 strassign(NODE * np,STRING string,int flags,size_t length) strassign() argument
158 nassign(NODE * np,NODE * value) nassign() argument
224 setrefield(NODE * np) setrefield() argument
286 register NODE *np; node() local
301 register NODE *np; intnode() local
315 register NODE *np; realnode() local
329 register NODE *np; stringnode() local
373 register NODE *np; emptynode() local
396 freenode(NODE * np) freenode() argument
412 register NODE *np; kinstall() local
428 register NODE *np; finstall() local
449 register NODE *np; vlookup() local
475 addsymtab(NODE * np) addsymtab() argument
493 delsymtab(NODE * np,int fflag) delsymtab() argument
559 register NODE *np; execute() local
625 register NODE *np, *nnp; freetemps() local
651 register NODE *np; action() local
796 delarray(NODE * np) delarray() argument
813 exprint(NODE * np) exprint() argument
842 exprreal(NODE * np) exprreal() argument
873 exprstring(NODE * np) exprstring() argument
948 exprconcat(NODE * np,int len) exprconcat() argument
999 exprreduce(NODE * np) exprreduce() argument
1243 arithmetic(NODE * np) arithmetic() argument
1340 comparison(NODE * np) comparison() argument
1460 type_of(NODE * np) type_of() argument
1588 lfield(INT fieldno,NODE * np) lfield() argument
1674 userfunc(NODE * np) userfunc() argument
1823 getregexp(NODE * np) getregexp() argument
1837 register NODE *np; getlist() local
1854 s_if(NODE * np) s_if() argument
1874 s_while(NODE * np) s_while() argument
1904 s_for(NODE * np) s_for() argument
1942 s_forin(NODE * np) s_forin() argument
2050 register NODE *np; symwalk() local
2073 exprtest(NODE * np) exprtest() argument
2102 makeindex(NODE * np,wchar_t * array,int tag) makeindex() argument
[all...]
H A Dawk4.c40 static uint nargs(NODE *np);
41 static NODE *dosub(NODE *np, int glob);
42 static NODE *docasetr(NODE *np, int upper);
56 f_exp(NODE *np) in f_exp() argument
60 if ((na = nargs(np)) > 1) in f_exp()
62 return (realnode(exp(exprreal(na==0 ? field0 : getlist(&np))))); in f_exp()
71 f_int(NODE *np) in f_int() argument
75 if ((na = nargs(np)) > 1) in f_int()
77 return (intnode(exprint(na==0 ? field0 : getlist(&np)))); in f_int()
86 f_log(NODE *np) in f_log() argument
101 f_sqrt(NODE * np) f_sqrt() argument
115 f_sin(NODE * np) f_sin() argument
127 f_cos(NODE * np) f_cos() argument
139 f_atan2(NODE * np) f_atan2() argument
156 f_srand(NODE * np) f_srand() argument
178 f_rand(NODE * np) f_rand() argument
197 f_sub(NODE * np) f_sub() argument
208 f_gsub(NODE * np) f_gsub() argument
218 dosub(NODE * np,int glob) dosub() argument
262 f_match(NODE * np) f_match() argument
290 f_system(NODE * np) f_system() argument
306 f_index(NODE * np) f_index() argument
338 f_length(NODE * np) f_length() argument
355 f_split(NODE * np) f_split() argument
461 f_sprintf(NODE * np) f_sprintf() argument
478 f_substr(NODE * np) f_substr() argument
517 f_close(NODE * np) f_close() argument
540 f_ord(NODE * np) f_ord() argument
553 f_tolower(NODE * np) f_tolower() argument
564 f_toupper(NODE * np) f_toupper() argument
580 f_asort(NODE * np) f_asort() argument
656 nargs(NODE * np) nargs() argument
674 docasetr(NODE * np,int upper) docasetr() argument
[all...]
/titanic_51/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_subr2.c154 sn_inactive(smbnode_t *np) in sn_inactive() argument
166 mutex_enter(&np->r_statelock); in sn_inactive()
168 ovsa = np->r_secattr; in sn_inactive()
169 np->r_secattr = smbfs_vsa0; in sn_inactive()
170 np->r_sectime = 0; in sn_inactive()
172 oldcr = np->r_cred; in sn_inactive()
173 np->r_cred = NULL; in sn_inactive()
175 orpath = np->n_rpath; in sn_inactive()
176 orplen = np->n_rplen; in sn_inactive()
177 np in sn_inactive()
220 smbnode_t *np; smbfs_node_findcreate() local
320 smbnode_t *np; make_smbnode() local
502 smbfs_addfree(smbnode_t * np) smbfs_addfree() argument
630 sn_rmfree(smbnode_t * np) sn_rmfree() argument
656 sn_addhash_locked(smbnode_t * np,avl_index_t where) sn_addhash_locked() argument
678 sn_rmhash_locked(smbnode_t * np) sn_rmhash_locked() argument
698 smbfs_rmhash(smbnode_t * np) smbfs_rmhash() argument
722 smbnode_t *np; sn_hashfind() local
824 smbnode_t *np; smbfs_attrcache_prune() local
876 smbnode_t *np; smbfs_check_table() local
940 smbnode_t *np; smbfs_destroy_table() local
1014 sn_destroy_node(smbnode_t * np) sn_destroy_node() argument
1127 smbnode_t *np; smbfs_node_reclaim() local
[all...]
/titanic_51/usr/src/cmd/fm/eversholt/common/
H A Dcheck.c44 static int check_reportlist(enum nodetype t, const char *s, struct node *np);
45 static int check_num(enum nodetype t, const char *s, struct node *np);
46 static int check_quote(enum nodetype t, const char *s, struct node *np);
47 static int check_action(enum nodetype t, const char *s, struct node *np);
48 static int check_num_func(enum nodetype t, const char *s, struct node *np);
49 static int check_fru_asru(enum nodetype t, const char *s, struct node *np);
50 static int check_engine(enum nodetype t, const char *s, struct node *np);
51 static int check_count(enum nodetype t, const char *s, struct node *np);
52 static int check_timeval(enum nodetype t, const char *s, struct node *np);
53 static int check_id(enum nodetype t, const char *s, struct node *np);
115 check_report_combination(struct node * np) check_report_combination() argument
124 check_path_iterators(struct node * np) check_path_iterators() argument
162 check_arrow(struct node * np) check_arrow() argument
191 check_nork(struct node * np) check_nork() argument
222 check_reportlist(enum nodetype t,const char * s,struct node * np) check_reportlist() argument
245 check_num(enum nodetype t,const char * s,struct node * np) check_num() argument
257 check_quote(enum nodetype t,const char * s,struct node * np) check_quote() argument
268 check_action(enum nodetype t,const char * s,struct node * np) check_action() argument
280 check_num_func(enum nodetype t,const char * s,struct node * np) check_num_func() argument
291 check_fru_asru(enum nodetype t,const char * s,struct node * np) check_fru_asru() argument
319 check_engine(enum nodetype t,const char * s,struct node * np) check_engine() argument
332 check_count(enum nodetype t,const char * s,struct node * np) check_count() argument
346 check_timeval(enum nodetype t,const char * s,struct node * np) check_timeval() argument
357 check_id(enum nodetype t,const char * s,struct node * np) check_id() argument
368 check_serd_method(enum nodetype t,const char * s,struct node * np) check_serd_method() argument
381 check_serd_id(enum nodetype t,const char * s,struct node * np) check_serd_id() argument
395 struct node *np = stmtnp->u.stmt.np; check_stmt_required_properties() local
415 struct node *np; check_stmt_allowed_properties() local
473 check_propnames(enum nodetype t,struct node * np,int from,int to) check_propnames() argument
578 record_iterators(struct node * np,struct lut * ex) record_iterators() argument
615 check_exprscope(struct node * np,struct lut * ex) check_exprscope() argument
693 check_propscope(struct node * np) check_propscope() argument
785 struct node *np; check_cycle() local
920 check_name_iterator(struct node * np) check_name_iterator() argument
943 check_type_iterator(struct node * np) check_type_iterator() argument
965 check_cat_list(struct node * np) check_cat_list() argument
976 check_func(struct node * np) check_func() argument
1220 check_expr(struct node * np) check_expr() argument
1235 check_event(struct node * np) check_event() argument
1269 check_proplists(enum nodetype t,struct node * np) check_proplists() argument
[all...]
H A Dptree.c70 is_stmt(struct node *np) in is_stmt() argument
72 switch (np->t) { in is_stmt()
96 ptree(int flags, struct node *np, int no_iterators, int fileline) in ptree() argument
98 if (np == NULL) in ptree()
101 switch (np->t) { in ptree()
105 out(flags|O_NONL, "%s", np->u.name.s); in ptree()
107 if (np->u.name.cp != NULL) { in ptree()
109 cp2num(np->u.name.cp, &num); in ptree()
111 } else if (np->u.name.it == IT_HORIZONTAL) { in ptree()
112 if (np in ptree()
476 ptree_name(int flags,struct node * np) ptree_name() argument
482 ptree_name_iter(int flags,struct node * np) ptree_name_iter() argument
573 name_pattern_match(struct node * np,const char * pat) name_pattern_match() argument
618 name_pattern_match_in_subtree(struct node * np,const char * pat) name_pattern_match_in_subtree() argument
683 struct node *np; ptree_type_pattern() local
[all...]
/titanic_51/usr/src/cmd/svc/configd/
H A Drc_node.c614 static void rc_node_no_client_refs(rc_node_t *np);
654 rc_node_match(rc_node_t *np, rc_node_lookup_t *l) in rc_node_match() argument
656 rc_node_lookup_t *r = &np->rn_id; in rc_node_match()
682 * Register an ephemeral reference to np. This should be done while both
683 * the persistent reference from which the np pointer was read is locked
684 * and np itself is locked. This guarantees that another thread which
689 rc_node_hold_ephemeral_locked(rc_node_t *np) in rc_node_hold_ephemeral_locked() argument
691 assert(MUTEX_HELD(&np->rn_lock)); in rc_node_hold_ephemeral_locked()
693 ++np->rn_erefs; in rc_node_hold_ephemeral_locked()
707 rc_node_hold_other(rc_node_t *np) in rc_node_hold_other() argument
720 rc_node_rele_other(rc_node_t * np) rc_node_rele_other() argument
740 rc_node_hold_locked(rc_node_t * np) rc_node_hold_locked() argument
751 rc_node_hold(rc_node_t * np) rc_node_hold() argument
759 rc_node_rele_locked(rc_node_t * np) rc_node_rele_locked() argument
806 rc_node_rele(rc_node_t * np) rc_node_rele() argument
830 rc_node_t *np; cache_lookup_unlocked() local
850 rc_node_t *np; cache_lookup() local
863 cache_insert_unlocked(cache_bucket_t * bp,rc_node_t * np) cache_insert_unlocked() argument
876 cache_remove_unlocked(cache_bucket_t * bp,rc_node_t * np) cache_remove_unlocked() argument
951 rc_node_free_fmri(rc_node_t * np) rc_node_free_fmri() argument
1059 rc_node_get_fmri_or_fragment(rc_node_t * np,char * buf,size_t bufsize,size_t * sz_out) rc_node_get_fmri_or_fragment() argument
1109 rc_node_build_fmri(rc_node_t * np) rc_node_build_fmri() argument
1154 rc_get_fmri_and_concat(rc_node_t * np,char * fmri,size_t size,size_t * sz_out,const char * element,rep_protocol_entity_t type) rc_get_fmri_and_concat() argument
1172 rc_notify_info_interested(rc_notify_info_t * rnip,rc_notify_t * np) rc_notify_info_interested() argument
1205 rc_notify_t *np = &nnp->rn_notify; rc_notify_insert_node() local
1260 rc_notify_t *np = &nnp->rn_notify; rc_notify_remove_node() local
1280 rc_notify_remove_locked(rc_notify_t * np) rc_notify_remove_locked() argument
1638 rc_node_hold_flag(rc_node_t * np,uint32_t flag) rc_node_hold_flag() argument
1654 rc_node_rele_flag(rc_node_t * np,uint32_t flag) rc_node_rele_flag() argument
1667 rc_node_wait_flag(rc_node_t * np,uint32_t flag) rc_node_wait_flag() argument
1687 rc_node_hold_parent_flag(rc_node_t * np,uint32_t flag) rc_node_hold_parent_flag() argument
1716 rc_node_t *np = uu_zalloc(sizeof (*np)); rc_node_alloc() local
1736 rc_node_destroy(rc_node_t * np) rc_node_destroy() argument
1795 rc_node_link_child(rc_node_t * np,rc_node_t * cp) rc_node_link_child() argument
1827 rc_node_setup_parent_ref(rc_node_t * np,rc_node_t * pp) rc_node_setup_parent_ref() argument
1869 rc_node_relink_child(rc_node_t * pp,rc_node_t * np,rc_node_t * newp) rc_node_relink_child() argument
1936 rc_node_t *np; rc_node_setup() local
2001 rc_node_t *np; rc_node_setup_snapshot() local
2058 rc_node_t *np; rc_node_setup_snaplevel() local
2118 rc_node_t *np; rc_node_setup_pg() local
2214 rc_node_t *np; rc_node_create_property() local
2364 rc_node_t *np; rc_node_init() local
2436 rc_node_fill_children(rc_node_t * np,uint32_t type) rc_node_fill_children() argument
2475 rc_node_find_named_child(rc_node_t * np,const char * name,uint32_t type,rc_node_t ** cpp) rc_node_find_named_child() argument
2512 rc_node_find_ancestor(rc_node_t * np,uint32_t type,rc_node_t ** app) rc_node_find_ancestor() argument
2818 rc_node_check_and_lock(rc_node_t * np) rc_node_check_and_lock() argument
2841 rc_node_t *np = npp->rnp_node; rc_node_ptr_check_and_lock() local
2877 RC_NODE_PTR_GET_CHECK_AND_LOCK(np,npp) global() argument
2883 RC_NODE_PTR_CHECK_LOCK_OR_FREE_RETURN(np,npp,mem) global() argument
2893 RC_NODE_PTR_GET_CHECK(np,npp) global() argument
2898 RC_NODE_PTR_GET_CHECK_AND_HOLD(np,npp) global() argument
2904 HOLD_FLAG_OR_RETURN(np,flag) global() argument
2913 HOLD_PTR_FLAG_OR_FREE_AND_RETURN(np,npp,flag,mem) global() argument
2951 rc_node_t *np; rc_scope_parent_scope() local
2980 rc_node_t *np; rc_node_name() local
3057 rc_node_t *np; rc_node_get_property_type() local
3074 rc_node_parent(rc_node_t * np,rc_node_t ** out) rc_node_parent() argument
3146 rc_node_t *np; rc_node_ptr_parent() local
3223 rc_node_t *np, *cp; rc_node_get_child() local
3271 rc_node_t *np = npp->rnp_node; rc_node_update() local
3888 rc_node_t *np; rc_node_create_child() local
3999 rc_node_t *np; rc_node_create_child_pg() local
4167 rc_node_t *np = np_arg; rc_notify_node_delete() local
4240 rc_node_delete_hold(rc_node_t * np,int andformer) rc_node_delete_hold() argument
4279 rc_node_delete_rele(rc_node_t * np,int andformer) rc_node_delete_rele() argument
4353 rc_node_delete_children(rc_node_t * np,int andformer) rc_node_delete_children() argument
4412 rc_node_no_client_refs(rc_node_t * np) rc_node_no_client_refs() argument
4698 rc_node_t *np, *np_orig; rc_node_delete() local
5028 rc_node_t *np; rc_node_next_snaplevel() local
5133 rc_attach_snapshot(rc_node_t * np,uint32_t snapid,rc_node_t * parentp,char * old_fmri,char * old_name) rc_attach_snapshot() argument
5400 rc_node_t *np; rc_snapshot_take_new() local
5510 rc_node_t *np, *outp; rc_snapshot_take_attach() local
5530 rc_node_t *np; rc_snapshot_attach() local
5739 rc_node_pg_check_read_protect(rc_node_t * np) rc_node_pg_check_read_protect() argument
5788 rc_node_property_may_read(rc_node_t * np) rc_node_property_may_read() argument
5911 rc_iter_filter_name(rc_node_t * np,void * s) rc_iter_filter_name() argument
5919 rc_iter_filter_type(rc_node_t * np,void * s) rc_iter_filter_type() argument
5928 rc_iter_null_filter(rc_node_t * np,void * s) rc_iter_null_filter() argument
5949 rc_iter_create(rc_node_iter_t ** resp,rc_node_t * np,uint32_t type,rc_iter_filter_func * filter,void * arg,boolean_t composed) rc_iter_create() argument
6063 rc_node_t *np = iter->rni_parent; rc_iter_end() local
6089 rc_node_t *np; rc_node_setup_value_iter() local
6140 rc_node_t *np; rc_node_get_property_value() local
6184 rc_node_t *np = iter->rni_parent; rc_iter_next_value() local
6263 rc_node_t *np; rc_node_setup_iter() local
6355 rc_node_t *np = iter->rni_parent; rc_iter_next() local
6621 rc_node_t *np; rc_iter_destroy() local
6650 rc_node_t *np; rc_node_setup_tx() local
6975 rc_node_t *np = txp->rnp_node; rc_tx_commit() local
7308 rc_node_t *np; rc_pg_notify_setup() local
7390 rc_notify_t *np; rc_notify_info_remove_locked() local
7498 rc_notify_t *np; rc_notify_info_wait() local
[all...]
/titanic_51/usr/src/lib/libshell/common/sh/
H A Dname.c92 Namval_t *np; member
138 void sh_envput(Env_t* ep,Namval_t *np) in sh_envput() argument
141 Namarr_t *ap = nv_arrayptr(np); in sh_envput()
146 nv_putsub(np,"0",0L); in sh_envput()
147 else if(!(val=nv_getsub(np)) || strcmp(val,"0")) in sh_envput()
150 if(!(val = nv_getval(np))) in sh_envput()
152 stakputs(nv_name(np)); in sh_envput()
204 Namval_t *nv_addnode(Namval_t* np, int remove) in nv_addnode() argument
209 if(sp->numnodes==0 && !nv_isnull(np) && sh.last_table) in nv_addnode()
213 sp->rp = np; in nv_addnode()
[all …]
H A Dnvdisc.c41 char *nv_getv(Namval_t *np, register Namfun_t *nfp) in nv_getv() argument
52 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np)) in nv_getv()
56 cp = (*fp->disc->getval)(np,fp); in nv_getv()
59 sfprintf(sh.strbuf,"%.*Lg",12,(*fp->disc->getnum)(np,fp)); in nv_getv()
65 cp = nv_getval(np); in nv_getv()
73 Sfdouble_t nv_getn(Namval_t *np, register Namfun_t *nfp) in nv_getn() argument
85 if(!fp->disc->getnum && nv_isattr(np,NV_INTEGER)) in nv_getn()
87 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np)) in nv_getn()
91 d = (*fp->disc->getnum)(np,fp); in nv_getn()
92 else if(nv_isattr(np,NV_INTEGER)) in nv_getn()
[all …]
H A Darray.c61 static Namarr_t *array_scope(Namval_t *np, Namarr_t *ap, int flags) in array_scope() argument
86 static int array_unscope(Namval_t *np,Namarr_t *ap) in array_unscope() argument
92 (*ap->fun)(np, NIL(char*), NV_AFREE); in array_unscope()
93 if((fp = nv_disc(np,(Namfun_t*)ap,NV_POP)) && !(fp->nofree&1)) in array_unscope()
95 nv_delete(np,(Dt_t*)0,0); in array_unscope()
104 static int array_covered(Namval_t *np, struct index_array *ap) in array_covered() argument
115 static void array_setptr(register Namval_t *np, struct index_array *old, struct index_array *new) in array_setptr() argument
117 register Namfun_t **fp = &np->nvfun; in array_setptr()
146 int array_maxindex(Namval_t *np) in array_maxindex() argument
148 register struct index_array *ap = (struct index_array*)nv_arrayptr(np); in array_maxindex()
[all …]
H A Dnvtree.c52 static int read_tree(Namval_t* np, Sfio_t *iop, int n, Namfun_t *dp) in read_tree() argument
61 sfprintf(sh.strbuf,"%s=%c",nv_name(np),0); in read_tree()
69 static Namval_t *create_tree(Namval_t *np,const char *name,int flag,Namfun_t *dp) in create_tree() argument
77 if(np=(*fp->disc->createf)(np,name,flag,fp)) in create_tree()
79 return(np); in create_tree()
82 return((flag&NV_NOADD)?0:np); in create_tree()
85 static Namfun_t *clone_tree(Namval_t *np, Namval_t *mp, int flags, Namfun_t *fp){ in clone_tree() argument
87 if ((flags&NV_MOVE) && nv_type(np)) in clone_tree()
92 walk_tree(np,mp,flags); in clone_tree()
131 static Namfun_t *nextdisc(Namval_t *np) in nextdisc() argument
[all …]
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dname.c47 offsetof(struct Namref,np),sizeof(struct Namval_t*),sizeof(struct Namref)
101 Namval_t *np; member
148 void sh_envput(Env_t* ep,Namval_t *np) in sh_envput() argument
151 Namarr_t *ap = nv_arrayptr(np); in sh_envput()
156 nv_putsub(np,"0",0L); in sh_envput()
157 else if(!(val=nv_getsub(np)) || strcmp(val,"0")) in sh_envput()
160 if(!(val = nv_getval(np))) in sh_envput()
162 stakputs(nv_name(np)); in sh_envput()
214 Namval_t *nv_addnode(Namval_t* np, int remove) in nv_addnode() argument
220 if(sp->numnodes==0 && !nv_isnull(np) in nv_addnode()
301 register Namval_t *np, *mp; nv_setlist() local
761 register Namval_t *np=0, *nq=0; nv_create() local
1267 nv_delete(Namval_t * np,Dt_t * root,int flags) nv_delete() argument
1348 register Namval_t *np=0; nv_open() local
1610 nv_putval(register Namval_t * np,const char * string,int flags) nv_putval() argument
2136 staknam(register Namval_t * np,char * value) staknam() argument
2154 attstore(register Namval_t * np,void * data) attstore() argument
2177 attstore(register Namval_t * np,void * data) attstore() argument
2212 pushnam(Namval_t * np,void * data) pushnam() argument
2292 register Namval_t *np = (Namval_t*)arg; scanfilter() local
2340 Namval_t *np; nv_scan() local
2396 sh_envnolocal(register Namval_t * np,void * data) sh_envnolocal() argument
2440 nv_close(Namval_t * np) nv_close() argument
2447 register Namval_t *np,*nq, *npnext; table_unset() local
2501 _nv_unset(register Namval_t * np,int flags) _nv_unset() argument
2629 sh_scoped(Shell_t * shp,register Namval_t * np) sh_scoped() argument
2643 register Namval_t *np; tableval() local
2675 Namval_t *np; global() member
2680 optimize_clear(Namval_t * np,Namfun_t * fp) optimize_clear() argument
2695 put_optimize(Namval_t * np,const char * val,int flags,Namfun_t * fp) put_optimize() argument
2701 clone_optimize(Namval_t * np,Namval_t * mp,int flags,Namfun_t * fp) clone_optimize() argument
2708 nv_optimize(Namval_t * np) nv_optimize() argument
2772 optimize_clear(np,fp) global() argument
2786 nv_getval(register Namval_t * np) nv_getval() argument
2918 nv_getnum(register Namval_t * np) nv_getnum() argument
3004 nv_newattr(register Namval_t * np,unsigned newatts,int size) nv_newattr() argument
3154 register Namval_t *np; sh_getenv() local
3186 register Namval_t *np; putenv() local
3202 register Namval_t *np; sh_setenviron() local
3256 nv_rename(register Namval_t * np,int flags) nv_rename() argument
3391 nv_setref(register Namval_t * np,Dt_t * hp,int flags) nv_setref() argument
3577 nv_unref(register Namval_t * np) nv_unref() argument
3638 Namval_t *np = (Namval_t*)obj; hashname() local
3650 nv_name(register Namval_t * np) nv_name() argument
3737 nv_context(Namval_t * np) nv_context() argument
3744 DISABLE(register Namval_t * np) DISABLE() argument
3750 nv_setsize(register Namval_t * np,int size) nv_setsize() argument
3758 nv_shell(Namval_t * np) nv_shell() argument
3771 nv_unset(register Namval_t * np) nv_unset() argument
[all...]
H A Dnvdisc.c43 char *nv_getv(Namval_t *np, register Namfun_t *nfp) in nv_getv() argument
54 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np)) in nv_getv()
58 cp = (*fp->disc->getval)(np,fp); in nv_getv()
61 sfprintf(sh.strbuf,"%.*Lg",12,(*fp->disc->getnum)(np,fp)); in nv_getv()
67 cp = nv_getval(np); in nv_getv()
75 Sfdouble_t nv_getn(Namval_t *np, register Namfun_t *nfp) in nv_getn() argument
88 if(!fp->disc->getnum && nv_isattr(np,NV_INTEGER)) in nv_getn()
90 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np)) in nv_getn()
122 nv_putv(Namval_t * np,const char * value,int flags,register Namfun_t * nfp) nv_putv() argument
178 Namval_t *np; global() member
193 block_info(Namval_t * np,struct blocked * pp) block_info() argument
227 chktfree(register Namval_t * np,register struct vardisc * vp) chktfree() argument
247 assign(Namval_t * np,const char * val,int flags,Namfun_t * handle) assign() argument
369 lookup(Namval_t * np,int type,Sfdouble_t * dp,Namfun_t * handle) lookup() argument
428 lookups(Namval_t * np,Namfun_t * handle) lookups() argument
433 lookupn(Namval_t * np,Namfun_t * handle) lookupn() argument
448 nv_setdisc(register Namval_t * np,register const char * event,Namval_t * action,register Namfun_t * fp) nv_setdisc() argument
558 setdisc(register Namval_t * np,register const char * event,Namval_t * action,register Namfun_t * fp) setdisc() argument
605 putdisc(Namval_t * np,const char * val,int flag,Namfun_t * fp) putdisc() argument
651 nv_adddisc(Namval_t * np,const char ** names,Namval_t ** funs) nv_adddisc() argument
684 nv_disc(register Namval_t * np,register Namfun_t * fp,int mode) nv_disc() argument
771 nv_hasdisc(Namval_t * np,const Namdisc_t * dp) nv_hasdisc() argument
788 put_notify(Namval_t * np,const char * val,int flags,Namfun_t * fp) put_notify() argument
801 nv_unsetnotify(Namval_t * np,char ** addr) nv_unsetnotify() argument
818 nv_setnotify(Namval_t * np,char ** addr) nv_setnotify() argument
832 register Namval_t *np = newof(0,Namval_t,1,s=strlen(name)+1); newnode() local
844 num_clone(register Namval_t * np,void * val) num_clone() argument
879 clone_all_disc(Namval_t * np,Namval_t * mp,int flags) clone_all_disc() argument
911 nv_clone(Namval_t * np,Namval_t * mp,int flags) nv_clone() argument
998 clone_getv(Namval_t * np,Namfun_t * handle) clone_getv() argument
1003 clone_getn(Namval_t * np,Namfun_t * handle) clone_getn() argument
1008 clone_putv(Namval_t * np,const char * val,int flags,Namfun_t * handle) clone_putv() argument
1030 Namval_t *np; nv_mkclone() local
1047 register Namval_t *np; nv_search() local
1098 Namval_t *np, *nq; nv_bfsearch() local
1187 register Namval_t *np, *nq=0; sh_addbuiltin() local
1263 nv_stack(register Namval_t * np,register Namfun_t * fp) nv_stack() argument
1276 next_table(register Namval_t * np,Dt_t * root,Namfun_t * fp) next_table() argument
1285 create_table(Namval_t * np,const char * name,int flags,Namfun_t * fp) create_table() argument
1292 clone_table(Namval_t * np,Namval_t * mp,int flags,Namfun_t * fp) clone_table() argument
1320 delete_fun(Namval_t * np,void * data) delete_fun() argument
1326 put_table(register Namval_t * np,const char * val,int flags,Namfun_t * fp) put_table() argument
1360 get_table(Namval_t * np,Namfun_t * fp) get_table() argument
1400 nv_parent(Namval_t * np) nv_parent() argument
1408 nv_dict(Namval_t * np) nv_dict() argument
1428 nv_istable(Namval_t * np) nv_istable() argument
1436 nv_mount(Namval_t * np,const char * name,Dt_t * dict) nv_mount() argument
1476 nv_hasget(Namval_t * np) nv_hasget() argument
[all...]
H A Darray.c80 static Namarr_t *array_scope(Namval_t *np, Namarr_t *ap, int flags) in array_scope() argument
121 static int array_unscope(Namval_t *np,Namarr_t *ap) in array_unscope() argument
127 (*ap->fun)(np, NIL(char*), NV_AFREE); in array_unscope()
128 if((fp = nv_disc(np,(Namfun_t*)ap,NV_POP)) && !(fp->nofree&1)) in array_unscope()
130 nv_delete(np,(Dt_t*)0,0); in array_unscope()
139 static int array_covered(Namval_t *np, struct index_array *ap) in array_covered() argument
154 static void array_setptr(register Namval_t *np, struct index_array *old, struct index_array *new) in array_setptr() argument
156 register Namfun_t **fp = &np->nvfun; in array_setptr()
185 int array_maxindex(Namval_t *np) in array_maxindex() argument
187 register struct index_array *ap = (struct index_array*)nv_arrayptr(np); in array_maxindex()
195 array_getup(Namval_t * np,Namarr_t * arp,int update) array_getup() argument
246 nv_arrayisset(Namval_t * np,Namarr_t * arp) nv_arrayisset() argument
272 array_find(Namval_t * np,Namarr_t * arp,int flag) array_find() argument
403 nv_arraysettype(Namval_t * np,Namval_t * tp,const char * sub,int flags) nv_arraysettype() argument
447 array_clone(Namval_t * np,Namval_t * mp,int flags,Namfun_t * fp) array_clone() argument
560 array_getval(Namval_t * np,Namfun_t * disc) array_getval() argument
587 array_getnum(Namval_t * np,Namfun_t * disc) array_getnum() argument
604 array_putval(Namval_t * np,const char * string,int flags,Namfun_t * dp) array_putval() argument
792 array_copytree(Namval_t * np,Namval_t * mp) array_copytree() argument
815 array_grow(Namval_t * np,register struct index_array * arp,int maxi) array_grow() argument
893 nv_atypeindex(Namval_t * np,const char * tname) nv_atypeindex() argument
920 nv_arrayptr(register Namval_t * np) nv_arrayptr() argument
931 nv_changearray(Namval_t * np,void * (* fun)(Namval_t *,const char *,int)) nv_changearray() argument
977 nv_setarray(Namval_t * np,void * (* fun)(Namval_t *,const char *,int)) nv_setarray() argument
1025 nv_arraychild(Namval_t * np,Namval_t * nq,int c) nv_arraychild() argument
1073 nv_nextsub(Namval_t * np) nv_nextsub() argument
1170 nv_putsub(Namval_t * np,register char * sp,register long mode) nv_putsub() argument
1356 nv_arrfixed(Namval_t * np,Sfio_t * out,int flag,char * dim) nv_arrfixed() argument
1381 array_fixed_setdata(Namval_t * np,Namarr_t * ap,struct fixed_array * fp) array_fixed_setdata() argument
1396 array_fixed_init(Namval_t * np,char * sub,char * cp) array_fixed_init() argument
1446 array_fixed(Namval_t * np,char * sub,char * cp,int mode) array_fixed() argument
1500 nv_endsubscript(Namval_t * np,register char * cp,int mode) nv_endsubscript() argument
1561 nv_opensub(Namval_t * np) nv_opensub() argument
1600 nv_getsub(Namval_t * np) nv_getsub() argument
1630 nv_aindex(register Namval_t * np) nv_aindex() argument
1649 nv_aimax(register Namval_t * np) nv_aimax() argument
1667 nv_associative(register Namval_t * np,const char * sp,int mode) nv_associative() argument
1810 nv_setvec(register Namval_t * np,int append,register int argc,register char * argv[]) nv_setvec() argument
[all...]
H A Dnvtree.c53 static int read_tree(Namval_t* np, Sfio_t *iop, int n, Namfun_t *dp) in read_tree() argument
62 sfprintf(sh.strbuf,"%s=%c",nv_name(np),0); in read_tree()
70 static Namval_t *create_tree(Namval_t *np,const char *name,int flag,Namfun_t *dp) in create_tree() argument
78 if(np=(*fp->disc->createf)(np,name,flag,fp)) in create_tree()
80 return(np); in create_tree()
83 return((flag&NV_NOADD)?0:np); in create_tree()
86 static Namfun_t *clone_tree(Namval_t *np, Namval_t *mp, int flags, Namfun_t *fp){ in clone_tree() argument
88 if ((flags&NV_MOVE) && nv_type(np)) in clone_tree()
93 walk_tree(np,m in clone_tree()
132 nextdisc(Namval_t * np) nextdisc() argument
145 nv_diropen(Namval_t * np,const char * name) nv_diropen() argument
277 register Namval_t *np, *last_table; nv_dirnext() local
378 outtype(Namval_t * np,Namfun_t * fp,Sfio_t * out,const char * prefix) outtype() argument
410 nv_attribute(register Namval_t * np,Sfio_t * out,char * prefix,int noname) nv_attribute() argument
580 nv_outnode(Namval_t * np,Sfio_t * out,int indent,int special) nv_outnode() argument
698 register Namval_t *np, *nq, *last_table=wp->shp->last_table; outval() local
854 Namval_t *np,*tp; genvalue() local
893 Namval_t *np = nv_open(arg,wp->root,NV_VARNAME|NV_NOADD|NV_NOASSIGN|wp->noscope); genvalue() local
965 walk_tree(register Namval_t * np,Namval_t * xp,int flags) walk_tree() argument
1083 nv_isvtree(Namval_t * np) nv_isvtree() argument
1093 nv_getvtree(register Namval_t * np,Namfun_t * fp) nv_getvtree() argument
1117 put_tree(register Namval_t * np,const char * val,int flags,Namfun_t * fp) put_tree() argument
1158 nv_setvtree(register Namval_t * np) nv_setvtree() argument
[all...]
/titanic_51/usr/src/cmd/mailx/
H A Dnames.c69 register struct name *np; in nalloc() local
71 np = (struct name *)salloc(sizeof (*np)); in nalloc()
72 np->n_flink = NIL; in nalloc()
73 np->n_blink = NIL; in nalloc()
74 np->n_type = -1; in nalloc()
75 np->n_full = savestr(str); in nalloc()
76 np->n_name = skin(np->n_full); in nalloc()
77 return (np); in nalloc()
87 register struct name *np; tailof() local
108 register struct name *top, *np, *t; extract() local
149 detract(register struct name * np,int ntype) detract() argument
183 register struct name *np; outpre() local
204 register struct name *np; outof() local
411 register struct name *newnames, *np, *cp; usermap() local
448 struct name *np; gexpand() local
560 register struct name *np; lengthof() local
593 unpack(struct name * np) unpack() argument
665 register struct name *np; mechk() local
684 register struct name *np, *t, *newnames; elide() local
805 delname(register struct name * np,char name[]) delname() argument
834 mapf(register struct name * np,char * from) mapf() argument
[all...]
/titanic_51/usr/src/contrib/ast/src/lib/libcmd/
H A Dexpr.c141 #define numeric(np) ((np)->type&T_NUM) argument
185 static int getnode(State_t* state, Node_t *np) in getnode() argument
207 np->num = (ep = strpbrk(cp, ep)) ? (ep - cp + 1) : 0; in getnode()
208 np->type = T_NUM; in getnode()
217 np->num = strlen(cp); in getnode()
218 np->type = T_NUM; in getnode()
225 if (!(np->str = *state->arglist++)) in getnode()
227 np->type = T_STR; in getnode()
260 np in getnode()
294 expr_cond(State_t * state,Node_t * np) expr_cond() argument
345 expr_mult(State_t * state,Node_t * np) expr_mult() argument
374 expr_add(State_t * state,Node_t * np) expr_add() argument
394 expr_cmp(State_t * state,Node_t * np) expr_cmp() argument
462 expr_and(State_t * state,Node_t * np) expr_and() argument
478 expr_or(State_t * state,Node_t * np) expr_or() argument
[all...]
/titanic_51/usr/src/lib/libcmd/common/
H A Dexpr.c141 #define numeric(np) ((np)->type&T_NUM) argument
185 static int getnode(State_t* state, Node_t *np) in getnode() argument
207 np->num = (ep = strpbrk(cp, ep)) ? (ep - cp + 1) : 0; in getnode()
208 np->type = T_NUM; in getnode()
217 np->num = strlen(cp); in getnode()
218 np->type = T_NUM; in getnode()
225 if (!(np->str = *state->arglist++)) in getnode()
227 np->type = T_STR; in getnode()
260 np->type = T_STR; in getnode()
261 np->str = sp; in getnode()
[all …]
/titanic_51/usr/src/tools/ndrgen/
H A Dndr_print.c43 print_node(ndr_node_t *np) in print_node() argument
47 if (!np) { in print_node()
52 switch (np->label) { in print_node()
81 (void) printf("<<lab=%d>>", np->label); in print_node()
85 switch (np->label) { in print_node()
90 if (np->n_c_advice) { in print_node()
91 print_advice_list(np->n_c_advice); in print_node()
95 print_node(np->n_c_typename); in print_node()
97 print_node_list(np->n_c_members); in print_node()
114 if ((np in print_node()
199 print_field_attr(ndr_node_t * np) print_field_attr() argument
245 print_declaration(ndr_node_t * np) print_declaration() argument
277 print_advice_list(ndr_node_t * np) print_advice_list() argument
292 print_node_list(ndr_node_t * np) print_node_list() argument
[all...]
/titanic_51/usr/src/lib/scsi/libses/common/
H A Dses_node.c36 ses_node_t *np; in ses_find_enclosure() local
38 for (np = sp->ss_root->sn_first_child; np != NULL; in ses_find_enclosure()
39 np = np->sn_next_sibling) { in ses_find_enclosure()
40 ASSERT(np->sn_type == SES_NODE_ENCLOSURE); in ses_find_enclosure()
41 if (np->sn_enc_num == number) in ses_find_enclosure()
42 return ((ses_node_t *)np); in ses_find_enclosure()
59 ses_node_teardown(ses_node_t *np) in ses_node_teardown() argument
63 if (np in ses_node_teardown()
77 ses_node_t *np; ses_node_alloc() local
138 ses_node_t *np, *pnp, *cnp, *root; ses_build_snap_skel() local
323 ses_fill_tree(ses_node_t * np) ses_fill_tree() argument
357 ses_node_sibling(ses_node_t * np) ses_node_sibling() argument
363 ses_node_prev_sibling(ses_node_t * np) ses_node_prev_sibling() argument
369 ses_node_parent(ses_node_t * np) ses_node_parent() argument
375 ses_node_child(ses_node_t * np) ses_node_child() argument
381 ses_node_type(ses_node_t * np) ses_node_type() argument
387 ses_node_snapshot(ses_node_t * np) ses_node_snapshot() argument
393 ses_node_target(ses_node_t * np) ses_node_target() argument
399 ses_node_props(ses_node_t * np) ses_node_props() argument
410 ses_node_id(ses_node_t * np) ses_node_id() argument
[all...]
/titanic_51/usr/src/lib/libnisdb/
H A Ddb_index_entry.cc130 db_index_entry_p np, next_np, *hp; in relocate() local
132 for (np = this; np != NULL; np = next_np) { in relocate()
133 next_np = np->next; in relocate()
134 hp = &new_tab[np->hashval % hashsize]; in relocate()
135 np->next = *hp; in relocate()
136 *hp = np; in relocate()
145 db_index_entry_p np; in getnext() local
147 for (np in getnext()
168 db_index_entry_p np; lookup() local
235 db_index_entry_p np, dp; remove() local
335 db_index_entry *np; print_all() local
345 db_index_entry *np; print_results() local
[all...]
/titanic_51/usr/src/cmd/fm/modules/common/eversholt/
H A Deval.c50 static struct node *eval_dup(struct node *np, struct lut *ex,
53 enum datatype dtype, struct node *np);
54 static struct node *eval_fru(struct node *np);
55 static struct node *eval_asru(struct node *np);
119 struct node *np, struct lut **globals, in eval_getname() argument
126 if (np->t == T_NAME) in eval_getname()
127 nodep = np; in eval_getname()
128 else if (np->t == T_FUNC && np->u.func.s == L_fru) in eval_getname()
129 nodep = eval_fru(np in eval_getname()
165 eval_cat(struct node * np,struct lut * ex,struct node * events[],struct lut ** globals,struct config * croot,struct arrow * arrowp,int try,struct evalue * valuep) eval_cat() argument
211 eval_func(struct node * funcnp,struct lut * ex,struct node * events[],struct node * np,struct lut ** globals,struct config * croot,struct arrow * arrowp,int try,struct evalue * valuep) eval_func() argument
948 eval_dup(struct node * np,struct lut * ex,struct node * events[]) eval_dup() argument
1243 eval_potential(struct node * np,struct lut * ex,struct node * events[],struct node ** newc,struct config * croot) eval_potential() argument
1290 check_expr_args(struct evalue * lp,struct evalue * rp,enum datatype dtype,struct node * np) check_expr_args() argument
1385 eval_expr(struct node * np,struct lut * ex,struct node * events[],struct lut ** globals,struct config * croot,struct arrow * arrowp,int try,struct evalue * valuep) eval_expr() argument
1982 eval_fru(struct node * np) eval_fru() argument
1989 eval_asru(struct node * np) eval_asru() argument
[all...]
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dtypeset.c183 Namval_t *np = nv_search((char*)PATHNOD,tdata.sh->var_tree,HASH_BUCKET); in b_alias() local
184 nv_putval(np,nv_getval(np),NV_RDONLY); in b_alias()
461 static void print_value(Sfio_t *iop, Namval_t *np, struct tdata *tp) in print_value() argument
465 if(nv_isnull(np)) in print_value()
467 if(!np->nvflag) in print_value()
471 else if(nv_istable(np)) in print_value()
478 cp = name = nv_name(np); in print_value()
490 tp->sh->prefix = nv_name(np)+1; in print_value()
493 tp->sh->namespace = np; in print_value()
559 register Namval_t *np; setall() local
970 register Namval_t *np; b_builtin() local
1157 register Namval_t *np; unall() local
1279 print_namval(Sfio_t * file,register Namval_t * np,register int flag,struct tdata * tp) print_namval() argument
1413 print_attribute(register Namval_t * np,void * data) print_attribute() argument
1427 register Namval_t *np; print_scan() local
1494 pushname(Namval_t * np,void * data) pushname() argument
[all...]
/titanic_51/usr/src/uts/common/inet/ipf/
H A Dip_nat6.c141 ipnat_t **np; local
151 np = ifs->ifs_rdr_rules + hv;
152 while (*np != NULL)
153 np = &(*np)->in_rnext;
155 n->in_prnext = np;
157 *np = n;
174 ipnat_t **np; local
184 np = ifs->ifs_nat_rules + hv;
185 while (*np !
208 nat6_hostmap(np,src,dst,map,port,ifs) nat6_hostmap() argument
289 ipnat_t *np; global() local
556 ipnat_t *np; global() local
736 nat6_new(fin,np,natsave,flags,direction) nat6_new() argument
916 ipnat_t *np; global() local
1897 nat6_lookupredir(np,ifs) nat6_lookupredir() argument
1970 nat6_match(fin,np) nat6_match() argument
2035 ipnat_t *np = NULL; global() local
2210 ipnat_t *np; global() local
2320 ipnat_t *np; global() local
2493 ipnat_t *np; global() local
[all...]

12345678910>>...19