Searched refs:np (Results 1 - 25 of 407) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprintnat.c25 void printnat(np, opts)
26 ipnat_t *np;
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...]
H A Dprintpoolnode.c13 ip_pool_node_t *printpoolnode(np, opts)
14 ip_pool_node_t *np;
18 PRINTF(" %s", np->ipn_info ? "! " : "");
20 PRINTF("\tAddress: %s", np->ipn_info ? "! " : "");
23 if (np->ipn_addr.adf_family == AF_INET6)
24 printhostmask(6, (u_32_t *)&np->ipn_addr.adf_addr.in6,
25 (u_32_t *)&np->ipn_mask.adf_addr);
29 printip((u_32_t *)&np->ipn_addr.adf_addr.in4);
30 printmask(4, (u_32_t *)&np->ipn_mask.adf_addr);
36 np
[all...]
H A Dprintproto.c15 void printproto(pr, p, np)
18 ipnat_t *np;
20 if (np != NULL) {
21 if ((np->in_flags & IPN_TCPUDP) == IPN_TCPUDP)
23 else if (np->in_flags & IPN_TCP)
25 else if (np->in_flags & IPN_UDP)
27 else if (np->in_flags & IPN_ICMPQUERY)
33 else if (np->in_p == 0)
39 printf("%d", np->in_p);
/illumos-gate/usr/src/uts/common/os/
H A Dddi_nodeid.c91 np_free(struct available *np) argument
93 kmem_free(np, sizeof (struct available));
100 np_unlink(struct available *np) argument
102 if (np->prev)
103 np->prev->next = np->next;
105 nhead = np->next;
107 if (np->next)
108 np->next->prev = np
115 np_insert(struct available *fp, struct available *np) argument
133 struct available *np; local
153 np_coalesce(struct available *np) argument
171 struct available *np; local
187 struct available *np; local
224 struct available *np, *fp; local
299 struct available *np, *fp; local
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Diexpr.h39 struct node *iexpr(struct node *np);
40 int iexpr_cached(struct node *np);
41 void iexpr_free(struct node *np);
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dflex_dev.c47 char *np = device_name; local
51 return (np);
53 if (dev_ok == 1 && listdev(np) != (char **) NULL) /* device.tab */
54 return (np);
56 if (!strncmp(np, "/dev", 4)) /* /dev path */
57 return (np);
64 if (realpath(np, new_device_name) == NULL) { /* path */
70 if (*np != '/' && dev_ok == 2) {
71 (void) sprintf(new_device_name, "%s/%s", cwd, np);
73 if ((np
[all...]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dcheck.h44 void check_report_combination(struct node *np);
45 void check_arrow(struct node *np);
49 void check_propnames(enum nodetype t, struct node *np, int from, int to);
50 void check_propscope(struct node *np);
51 void check_proplists(enum nodetype t, struct node *np);
56 void check_type_iterator(struct node *np);
57 void check_name_iterator(struct node *np);
58 void check_func(struct node *np);
59 void check_expr(struct node *np);
60 void check_event(struct node *np);
[all...]
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) argument
124 check_path_iterators(struct node *np) argument
162 check_arrow(struct node *np) argument
191 check_nork(struct node *np) argument
222 check_reportlist(enum nodetype t, const char *s, struct node *np) argument
245 check_num(enum nodetype t, const char *s, struct node *np) argument
257 check_quote(enum nodetype t, const char *s, struct node *np) argument
268 check_action(enum nodetype t, const char *s, struct node *np) argument
280 check_num_func(enum nodetype t, const char *s, struct node *np) argument
291 check_fru_asru(enum nodetype t, const char *s, struct node *np) argument
319 check_engine(enum nodetype t, const char *s, struct node *np) argument
332 check_count(enum nodetype t, const char *s, struct node *np) argument
346 check_timeval(enum nodetype t, const char *s, struct node *np) argument
357 check_id(enum nodetype t, const char *s, struct node *np) argument
368 check_serd_method(enum nodetype t, const char *s, struct node *np) argument
381 check_serd_id(enum nodetype t, const char *s, struct node *np) argument
395 struct node *np = stmtnp->u.stmt.np; local
415 struct node *np; local
473 check_propnames(enum nodetype t, struct node *np, int from, int to) argument
578 record_iterators(struct node *np, struct lut *ex) argument
615 check_exprscope(struct node *np, struct lut *ex) argument
693 check_propscope(struct node *np) argument
785 struct node *np; local
920 check_name_iterator(struct node *np) argument
943 check_type_iterator(struct node *np) argument
965 check_cat_list(struct node *np) argument
976 check_func(struct node *np) argument
1220 check_expr(struct node *np) argument
1235 check_event(struct node *np) argument
1269 check_proplists(enum nodetype t, struct node *np) argument
[all...]
H A Dptree.c70 is_stmt(struct node *np) argument
72 switch (np->t) {
96 ptree(int flags, struct node *np, int no_iterators, int fileline) argument
98 if (np == NULL)
101 switch (np->t) {
105 out(flags|O_NONL, "%s", np->u.name.s);
107 if (np->u.name.cp != NULL) {
109 cp2num(np->u.name.cp, &num);
111 } else if (np->u.name.it == IT_HORIZONTAL) {
112 if (np
476 ptree_name(int flags, struct node *np) argument
482 ptree_name_iter(int flags, struct node *np) argument
573 name_pattern_match(struct node *np, const char *pat) argument
618 name_pattern_match_in_subtree(struct node *np, const char *pat) argument
683 struct node *np; local
[all...]
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk3.c36 static NODE *arithmetic(NODE *np);
37 static NODE *comparison(NODE *np);
38 static int type_of(NODE *np);
41 static NODE *userfunc(NODE *np);
43 static NODE *exprconcat(NODE *np, int len);
44 static int s_if(NODE *np);
45 static int s_while(NODE *np);
46 static int s_for(NODE *np);
47 static int s_forin(NODE *np);
50 static int action(NODE *np);
116 strassign(NODE *np, STRING string, int flags, size_t length) argument
156 nassign(NODE *np, NODE *value) argument
222 setrefield(NODE *np) argument
284 register NODE *np; local
299 register NODE *np; local
313 register NODE *np; local
327 register NODE *np; local
371 register NODE *np; local
394 freenode(NODE *np) argument
410 register NODE *np; local
426 register NODE *np; local
447 register NODE *np; local
473 addsymtab(NODE *np) argument
491 delsymtab(NODE *np, int fflag) argument
557 register NODE *np; local
623 register NODE *np, *nnp; local
649 register NODE *np; local
795 delarray(NODE *np) argument
812 exprint(NODE *np) argument
841 exprreal(NODE *np) argument
872 exprstring(NODE *np) argument
947 exprconcat(NODE *np, int len) argument
998 exprreduce(NODE *np) argument
1240 arithmetic(NODE *np) argument
1337 comparison(NODE *np) argument
1457 type_of(NODE *np) argument
1585 lfield(INT fieldno, NODE *np) argument
1671 userfunc(NODE *np) argument
1820 getregexp(NODE *np) argument
1834 register NODE *np; local
1851 s_if(NODE *np) argument
1871 s_while(NODE *np) argument
1901 s_for(NODE *np) argument
1939 s_forin(NODE *np) argument
2047 register NODE *np; local
2070 exprtest(NODE *np) argument
2099 makeindex(NODE *np, wchar_t *array, int tag) argument
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dhostname.c65 register struct netmach *np; local
77 for (np = netmach; np->nt_machine != 0; np++)
78 if (strcmp(np->nt_machine, EMPTY) == 0)
80 if (np->nt_machine == 0) {
85 np->nt_machine = host;
86 np++;
87 np->nt_machine = domain;
H A Dnames.c70 register struct name *np; local
72 np = (struct name *)salloc(sizeof (*np));
73 np->n_flink = NIL;
74 np->n_blink = NIL;
75 np->n_type = -1;
76 np->n_full = savestr(str);
77 np->n_name = skin(np->n_full);
78 return (np);
88 register struct name *np; local
109 register struct name *top, *np, *t; local
150 detract(register struct name *np, int ntype) argument
184 register struct name *np; local
205 register struct name *np; local
412 register struct name *newnames, *np, *cp; local
449 struct name *np; local
561 register struct name *np; local
594 unpack(struct name *np) argument
666 register struct name *np; local
685 register struct name *np, *t, *newnames; local
806 delname(register struct name *np, char name[]) argument
835 mapf(register struct name *np, char *from) argument
[all...]
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_node.c36 ses_node_t *np; local
38 for (np = sp->ss_root->sn_first_child; np != NULL;
39 np = np->sn_next_sibling) {
40 ASSERT(np->sn_type == SES_NODE_ENCLOSURE);
41 if (np->sn_enc_num == number)
42 return ((ses_node_t *)np);
59 ses_node_teardown(ses_node_t *np) argument
63 if (np
77 ses_node_t *np; local
138 ses_node_t *np, *pnp, *cnp, *root; local
323 ses_fill_tree(ses_node_t *np) argument
357 ses_node_sibling(ses_node_t *np) argument
363 ses_node_prev_sibling(ses_node_t *np) argument
369 ses_node_parent(ses_node_t *np) argument
375 ses_node_child(ses_node_t *np) argument
381 ses_node_type(ses_node_t *np) argument
387 ses_node_snapshot(ses_node_t *np) argument
393 ses_node_target(ses_node_t *np) argument
399 ses_node_props(ses_node_t *np) argument
410 ses_node_id(ses_node_t *np) argument
[all...]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.hist.c32 struct Hist *hp, *np; local
54 for (hp = &Histlist; np = hp->Hnext;)
55 if (eventno - np->Href >= histlen || histlen == 0)
56 hp->Hnext = np->Hnext, hfree(np);
58 hp = np;
65 struct Hist *np; local
70 np = (struct Hist *) xalloc(sizeof *np);
71 np
134 dohist1(struct Hist *hp, int *np, int rflg, int hflg) argument
[all...]
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_index_entry.cc130 db_index_entry_p np, next_np, *hp; local
132 for (np = this; np != NULL; np = next_np) {
133 next_np = np->next;
134 hp = &new_tab[np->hashval % hashsize];
135 np->next = *hp;
136 *hp = np;
145 db_index_entry_p np; local
147 for (np
168 db_index_entry_p np; local
235 db_index_entry_p np, dp; local
335 db_index_entry *np; local
345 db_index_entry *np; local
[all...]
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dnvdisc.c41 char *nv_getv(Namval_t *np, register Namfun_t *nfp) argument
52 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np))
56 cp = (*fp->disc->getval)(np,fp);
59 sfprintf(sh.strbuf,"%.*Lg",12,(*fp->disc->getnum)(np,fp));
65 cp = nv_getval(np);
73 Sfdouble_t nv_getn(Namval_t *np, register Namfun_t *nfp) argument
85 if(!fp->disc->getnum && nv_isattr(np,NV_INTEGER))
87 if(!nv_isattr(np,NV_NODISC) || fp==(Namfun_t*)nv_arrayptr(np))
116 nv_putv(Namval_t *np, const char *value, int flags, register Namfun_t *nfp) argument
169 Namval_t *np; member in struct:blocked
184 block_info(Namval_t *np, struct blocked *pp) argument
218 chktfree(register Namval_t *np, register struct vardisc *vp) argument
238 assign(Namval_t *np,const char* val,int flags,Namfun_t *handle) argument
355 lookup(Namval_t *np, int type, Sfdouble_t *dp,Namfun_t *handle) argument
409 lookups(Namval_t *np, Namfun_t *handle) argument
414 lookupn(Namval_t *np, Namfun_t *handle) argument
429 nv_setdisc(register Namval_t* np,register const char *event,Namval_t *action,register Namfun_t *fp) argument
539 setdisc(register Namval_t* np,register const char *event,Namval_t *action,register Namfun_t *fp) argument
581 putdisc(Namval_t* np, const char* val, int flag, Namfun_t* fp) argument
627 nv_adddisc(Namval_t *np, const char **names, Namval_t **funs) argument
660 nv_disc(register Namval_t *np, register Namfun_t* fp, int mode) argument
742 nv_hasdisc(Namval_t *np, const Namdisc_t *dp) argument
759 put_notify(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
772 nv_unsetnotify(Namval_t *np, char **addr) argument
789 nv_setnotify(Namval_t *np, char **addr) argument
803 register Namval_t *np = newof(0,Namval_t,1,s=strlen(name)+1); local
816 num_clone(register Namval_t *np, void *val) argument
851 clone_all_disc( Namval_t *np, Namval_t *mp, int flags) argument
883 nv_clone(Namval_t *np, Namval_t *mp, int flags) argument
963 clone_getv(Namval_t *np, Namfun_t *handle) argument
968 clone_getn(Namval_t *np, Namfun_t *handle) argument
973 clone_putv(Namval_t *np,const char* val,int flags,Namfun_t *handle) argument
995 Namval_t *np; local
1006 dtinsert(nv_dict(sh.namespace),np); local
1013 register Namval_t *np; local
1059 Namval_t *np, *nq; local
1136 register Namval_t *np, *nq=0; local
1201 nv_stack(register Namval_t *np, register Namfun_t* fp) argument
1214 next_table(register Namval_t* np, Dt_t *root,Namfun_t *fp) argument
1223 create_table(Namval_t *np,const char *name,int flags,Namfun_t *fp) argument
1230 clone_table(Namval_t* np, Namval_t *mp, int flags, Namfun_t *fp) argument
1248 put_table(register Namval_t* np, const char* val, int flags, Namfun_t* fp) argument
1273 get_table(Namval_t *np, Namfun_t *fp) argument
1313 nv_parent(Namval_t *np) argument
1321 nv_dict(Namval_t* np) argument
1343 nv_mount(Namval_t *np, const char *name, Dt_t *dict) argument
1386 nv_hasget(Namval_t *np) argument
[all...]
H A Dname.c92 Namval_t *np; member in struct:Namcache::Cache_entry
138 void sh_envput(Env_t* ep,Namval_t *np) argument
141 Namarr_t *ap = nv_arrayptr(np);
146 nv_putsub(np,"0",0L);
147 else if(!(val=nv_getsub(np)) || strcmp(val,"0"))
150 if(!(val = nv_getval(np)))
152 stakputs(nv_name(np));
204 Namval_t *nv_addnode(Namval_t* np, int remove) argument
209 if(sp->numnodes==0 && !nv_isnull(np) && sh.last_table)
213 sp->rp = np;
290 register Namval_t *np, *mp; local
690 register Namval_t *np=0, *nq=0; local
1074 nv_delete(Namval_t* np, Dt_t *root, int flags) argument
1122 register Namval_t *np; local
1359 nv_putval(register Namval_t *np, const char *string, int flags) argument
1847 staknam(register Namval_t *np, char *value) argument
1865 attstore(register Namval_t *np, void *data) argument
1888 attstore(register Namval_t *np, void *data) argument
1917 pushnam(Namval_t *np, void *data) argument
1995 register Namval_t *np = (Namval_t*)arg; local
2079 sh_envnolocal(register Namval_t *np, void *data) argument
2119 nv_close(Namval_t *np) argument
2126 register Namval_t *np,*nq, *npnext; local
2185 _nv_unset(register Namval_t *np,int flags) argument
2292 sh_scoped(Shell_t *shp, register Namval_t *np) argument
2306 register Namval_t *np; local
2338 Namval_t *np; member in struct:optimize
2343 optimize_clear(Namval_t* np, Namfun_t *fp) argument
2358 put_optimize(Namval_t* np,const char *val,int flags,Namfun_t *fp) argument
2364 clone_optimize(Namval_t* np, Namval_t *mp, int flags, Namfun_t *fp) argument
2371 nv_optimize(Namval_t *np) argument
2448 nv_getval(register Namval_t *np) argument
2571 nv_getnum(register Namval_t *np) argument
2655 nv_newattr(register Namval_t *np, unsigned newatts, int size) argument
2776 register Namval_t *np; local
2807 register Namval_t *np; local
2822 register Namval_t *np; local
2902 nv_rename(register Namval_t *np, int flags) argument
2985 nv_setref(register Namval_t *np, Dt_t *hp, int flags) argument
3122 nv_unref(register Namval_t *np) argument
3177 Namval_t *np = (Namval_t*)obj; local
3189 nv_name(register Namval_t *np) argument
3240 nv_context(Namval_t *np) argument
3247 DISABLE(register Namval_t *np) argument
3253 nv_setsize(register Namval_t *np, int size) argument
3261 nv_shell(Namval_t *np) argument
3274 nv_unset(register Namval_t *np) argument
[all...]
/illumos-gate/usr/src/cmd/svc/configd/
H A Drc_node.c604 static void rc_node_no_client_refs(rc_node_t *np);
644 rc_node_match(rc_node_t *np, rc_node_lookup_t *l) argument
646 rc_node_lookup_t *r = &np->rn_id;
672 * Register an ephemeral reference to np. This should be done while both
673 * the persistent reference from which the np pointer was read is locked
674 * and np itself is locked. This guarantees that another thread which
679 rc_node_hold_ephemeral_locked(rc_node_t *np) argument
681 assert(MUTEX_HELD(&np->rn_lock));
683 ++np->rn_erefs;
697 rc_node_hold_other(rc_node_t *np) argument
710 rc_node_rele_other(rc_node_t *np) argument
730 rc_node_hold_locked(rc_node_t *np) argument
741 rc_node_hold(rc_node_t *np) argument
749 rc_node_rele_locked(rc_node_t *np) argument
796 rc_node_rele(rc_node_t *np) argument
820 rc_node_t *np; local
840 rc_node_t *np; local
853 cache_insert_unlocked(cache_bucket_t *bp, rc_node_t *np) argument
866 cache_remove_unlocked(cache_bucket_t *bp, rc_node_t *np) argument
941 rc_node_free_fmri(rc_node_t *np) argument
1049 rc_node_get_fmri_or_fragment(rc_node_t *np, char *buf, size_t bufsize, size_t *sz_out) argument
1099 rc_node_build_fmri(rc_node_t *np) argument
1144 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) argument
1162 rc_notify_info_interested(rc_notify_info_t *rnip, rc_notify_t *np) argument
1195 rc_notify_t *np = &nnp->rn_notify; local
1250 rc_notify_t *np = &nnp->rn_notify; local
1270 rc_notify_remove_locked(rc_notify_t *np) argument
1628 rc_node_hold_flag(rc_node_t *np, uint32_t flag) argument
1644 rc_node_rele_flag(rc_node_t *np, uint32_t flag) argument
1657 rc_node_wait_flag(rc_node_t *np, uint32_t flag) argument
1677 rc_node_hold_parent_flag(rc_node_t *np, uint32_t flag) argument
1706 rc_node_t *np = uu_zalloc(sizeof (*np)); local
1726 rc_node_destroy(rc_node_t *np) argument
1785 rc_node_link_child(rc_node_t *np, rc_node_t *cp) argument
1817 rc_node_setup_parent_ref(rc_node_t *np, rc_node_t *pp) argument
1859 rc_node_relink_child(rc_node_t *pp, rc_node_t *np, rc_node_t *newp) argument
1926 rc_node_t *np; local
1991 rc_node_t *np; local
2048 rc_node_t *np; local
2108 rc_node_t *np; local
2204 rc_node_t *np; local
2354 rc_node_t *np; local
2426 rc_node_fill_children(rc_node_t *np, uint32_t type) argument
2465 rc_node_find_named_child(rc_node_t *np, const char *name, uint32_t type, rc_node_t **cpp) argument
2502 rc_node_find_ancestor(rc_node_t *np, uint32_t type, rc_node_t **app) argument
2808 rc_node_check_and_lock(rc_node_t *np) argument
2831 rc_node_t *np = npp->rnp_node; local
2941 rc_node_t *np; local
2970 rc_node_t *np; local
3047 rc_node_t *np; local
3064 rc_node_parent(rc_node_t *np, rc_node_t **out) argument
3136 rc_node_t *np; local
3213 rc_node_t *np, *cp; local
3261 rc_node_t *np = npp->rnp_node; local
3882 rc_node_t *np; local
3993 rc_node_t *np; local
4161 rc_node_t *np = np_arg; local
4234 rc_node_delete_hold(rc_node_t *np, int andformer) argument
4273 rc_node_delete_rele(rc_node_t *np, int andformer) argument
4347 rc_node_delete_children(rc_node_t *np, int andformer) argument
4406 rc_node_no_client_refs(rc_node_t *np) argument
4692 rc_node_t *np, *np_orig; local
5022 rc_node_t *np; local
5126 rc_attach_snapshot( rc_node_t *np, uint32_t snapid, rc_node_t *parentp, char *old_fmri, char *old_name) argument
5394 rc_node_t *np; local
5504 rc_node_t *np, *outp; local
5524 rc_node_t *np; local
5733 rc_node_pg_check_read_protect(rc_node_t *np) argument
5782 rc_node_property_may_read(rc_node_t *np) argument
5905 rc_iter_filter_name(rc_node_t *np, void *s) argument
5913 rc_iter_filter_type(rc_node_t *np, void *s) argument
5922 rc_iter_null_filter(rc_node_t *np, void *s) argument
5943 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) argument
6057 rc_node_t *np = iter->rni_parent; local
6083 rc_node_t *np; local
6134 rc_node_t *np; local
6178 rc_node_t *np = iter->rni_parent; local
6257 rc_node_t *np; local
6349 rc_node_t *np = iter->rni_parent; local
6615 rc_node_t *np; local
6644 rc_node_t *np; local
6969 rc_node_t *np = txp->rnp_node; local
7302 rc_node_t *np; local
7384 rc_notify_t *np; local
7492 rc_notify_t *np; local
[all...]
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_subr2.c161 sn_inactive(smbnode_t *np) argument
175 mutex_enter(&np->r_statelock);
177 ovsa = np->r_secattr;
178 np->r_secattr = smbfs_vsa0;
179 np->r_sectime = 0;
181 oldcr = np->r_cred;
182 np->r_cred = NULL;
184 orpath = np->n_rpath;
185 orplen = np->n_rplen;
186 np
234 smbnode_t *np; local
327 smbnode_t *np; local
505 smbfs_addfree(smbnode_t *np) argument
633 sn_rmfree(smbnode_t *np) argument
659 sn_addhash_locked(smbnode_t *np, avl_index_t where) argument
681 sn_rmhash_locked(smbnode_t *np) argument
701 smbfs_rmhash(smbnode_t *np) argument
725 smbnode_t *np; local
827 smbnode_t *np; local
879 smbnode_t *np; local
943 smbnode_t *np; local
1017 sn_destroy_node(smbnode_t *np) argument
1050 smbnode_t *np; local
1128 smbnode_t *np; local
1294 smbnode_t *np; local
[all...]
/illumos-gate/usr/src/tools/ndrgen/
H A Dndr_print.c43 print_node(ndr_node_t *np) argument
47 if (!np) {
52 switch (np->label) {
81 (void) printf("<<lab=%d>>", np->label);
85 switch (np->label) {
90 if (np->n_c_advice) {
91 print_advice_list(np->n_c_advice);
95 print_node(np->n_c_typename);
97 print_node_list(np->n_c_members);
114 if ((np
199 print_field_attr(ndr_node_t *np) argument
245 print_declaration(ndr_node_t *np) argument
277 print_advice_list(ndr_node_t *np) argument
292 print_node_list(ndr_node_t *np) argument
[all...]
/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dgetline.c31 getline(char** sp, size_t* np, Sfio_t* f) argument
33 STDIO_INT(f, "getline", ssize_t, (char**, size_t*, Sfio_t*), (sp, np, f))
35 return getdelim(sp, np, '\n', f);
/illumos-gate/usr/src/lib/libcmd/common/
H A Dexpr.c141 #define numeric(np) ((np)->type&T_NUM)
185 static int getnode(State_t* state, Node_t *np) argument
207 np->num = (ep = strpbrk(cp, ep)) ? (ep - cp + 1) : 0;
208 np->type = T_NUM;
217 np->num = strlen(cp);
218 np->type = T_NUM;
225 if (!(np->str = *state->arglist++))
227 np->type = T_STR;
260 np
294 expr_cond(State_t* state, Node_t *np) argument
345 expr_mult(State_t* state, Node_t *np) argument
374 expr_add(State_t* state, Node_t *np) argument
394 expr_cmp(State_t* state, Node_t *np) argument
462 expr_and(State_t* state, Node_t *np) argument
478 expr_or(State_t* state, Node_t *np) argument
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dppcontext.c39 struct ppcontext* np = (struct ppcontext*)context; local
49 if (!(op = np)) op = (struct ppcontext*)_PP_CONTEXT_BASE_;
55 if (np)
57 free(np);
58 np = 0;
63 if (np) memcpy(_PP_CONTEXT_BASE_, np, sizeof(struct ppcontext));
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Denv.c103 char **p, **np; local
121 np = nenv;
123 *np = uu_msprintf("SMF_RESTARTER=%s", INETD_INSTANCE_FMRI);
124 if (*np == NULL)
127 np++;
128 *np = uu_msprintf("SMF_FMRI=%s", instance->fmri);
129 if (*np == NULL)
132 np++;
133 *np = uu_msprintf("SMF_METHOD=%s", method);
134 if (*np
[all...]
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_pipesvc.c84 ndr_pipe_t *np; local
92 len = sizeof (*np) + sizeof (smb_netuserinfo_t);
93 np = malloc(len);
94 if (np == NULL)
97 bzero(np, len);
98 np->np_listener = pl;
99 np->np_endpoint = pl->name;
100 np->np_user = (void*)(np + 1);
101 np
111 np_free(ndr_pipe_t *np) argument
181 ndr_pipe_t *np; local
261 ndr_pipe_t *np = varg; local
361 pipe_recv(ndr_pipe_t *np, void *buf, size_t len) argument
379 pipe_send(ndr_pipe_t *np, void *buf, size_t len) argument
[all...]

Completed in 90 milliseconds

1234567891011>>