/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | printnat.c | 25 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 D | printpoolnode.c | 13 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 D | printproto.c | 15 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 D | ddi_nodeid.c | 91 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 D | iexpr.h | 39 struct node *iexpr(struct node *np); 40 int iexpr_cached(struct node *np); 41 void iexpr_free(struct node *np);
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_subr2.c | 154 sn_inactive(smbnode_t *np) argument 166 mutex_enter(&np->r_statelock); 168 ovsa = np->r_secattr; 169 np->r_secattr = smbfs_vsa0; 170 np->r_sectime = 0; 172 oldcr = np->r_cred; 173 np->r_cred = NULL; 175 orpath = np->n_rpath; 176 orplen = np->n_rplen; 177 np 220 smbnode_t *np; local 320 smbnode_t *np; local 502 smbfs_addfree(smbnode_t *np) argument 630 sn_rmfree(smbnode_t *np) argument 656 sn_addhash_locked(smbnode_t *np, avl_index_t where) argument 678 sn_rmhash_locked(smbnode_t *np) argument 698 smbfs_rmhash(smbnode_t *np) argument 722 smbnode_t *np; local 824 smbnode_t *np; local 876 smbnode_t *np; local 940 smbnode_t *np; local 1014 sn_destroy_node(smbnode_t *np) argument 1127 smbnode_t *np; local [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_replace.c | 41 mdname_t *np, 52 assert(sp->setno == MD_MIN2SET(meta_getminor(np->dev))); 55 if (metachkmeta(np, ep) != 0) 57 if ((miscname = metagetmiscname(np, ep)) == NULL) 62 return (meta_raid_replace(sp, np, oldnp, newnp, options, ep)); 64 return (meta_mirror_replace(sp, np, oldnp, newnp, options, ep)); 66 return (mdmderror(ep, MDE_UNKNOWN_TYPE, meta_getminor(np->dev), 67 np->cname)); 77 mdname_t *np, 87 assert(sp->setno == MD_MIN2SET(meta_getminor(np 39 meta_replace_byname( mdsetname_t *sp, mdname_t *np, mdname_t *oldnp, mdname_t *newnp, mdcmdopts_t options, md_error_t *ep ) argument 75 meta_enable_byname( mdsetname_t *sp, mdname_t *np, mdname_t *compnp, mdcmdopts_t options, md_error_t *ep ) argument [all...] |
H A D | meta_reset.c | 40 mdname_t *np, 50 assert(sp->setno == MD_MIN2SET(meta_getminor(np->dev))); 52 if ((miscname = metagetmiscname(np, ep)) == NULL) 54 if (meta_isopen(sp, np, ep, options) != 0) { 55 return (mdmderror(ep, MDE_IS_OPEN, meta_getminor(np->dev), 56 np->cname)); 60 mir.mnum = meta_getminor(np->dev); 62 if (metaioctl(MD_IOCRESET, &mir, &mir.mde, np->cname) != 0) 69 (void) meta_update_devtree(meta_getminor(np->dev)); 116 mdname_t *np, 38 meta_reset( mdsetname_t *sp, mdname_t *np, mdcmdopts_t options, md_error_t *ep ) argument 114 meta_reset_by_name( mdsetname_t *sp, mdname_t *np, mdcmdopts_t options, md_error_t *ep ) argument [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | flex_dev.c | 47 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 D | check.h | 44 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 D | check.c | 44 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 D | ptree.c | 70 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 D | awk3.c | 38 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) argument 158 nassign(NODE *np, NODE *value) argument 224 setrefield(NODE *np) argument 286 register NODE *np; local 301 register NODE *np; local 315 register NODE *np; local 329 register NODE *np; local 373 register NODE *np; local 396 freenode(NODE *np) argument 412 register NODE *np; local 428 register NODE *np; local 449 register NODE *np; local 475 addsymtab(NODE *np) argument 493 delsymtab(NODE *np, int fflag) argument 559 register NODE *np; local 625 register NODE *np, *nnp; local 651 register NODE *np; local 796 delarray(NODE *np) argument 813 exprint(NODE *np) argument 842 exprreal(NODE *np) argument 873 exprstring(NODE *np) argument 948 exprconcat(NODE *np, int len) argument 999 exprreduce(NODE *np) argument 1243 arithmetic(NODE *np) argument 1340 comparison(NODE *np) argument 1460 type_of(NODE *np) argument 1588 lfield(INT fieldno, NODE *np) argument 1674 userfunc(NODE *np) argument 1823 getregexp(NODE *np) argument 1837 register NODE *np; local 1854 s_if(NODE *np) argument 1874 s_while(NODE *np) argument 1904 s_for(NODE *np) argument 1942 s_forin(NODE *np) argument 2050 register NODE *np; local 2073 exprtest(NODE *np) argument 2102 makeindex(NODE *np, wchar_t *array, int tag) argument [all...] |
/illumos-gate/usr/src/cmd/mailx/ |
H A D | hostname.c | 65 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 D | names.c | 69 register struct name *np; local 71 np = (struct name *)salloc(sizeof (*np)); 72 np->n_flink = NIL; 73 np->n_blink = NIL; 74 np->n_type = -1; 75 np->n_full = savestr(str); 76 np->n_name = skin(np->n_full); 77 return (np); 87 register struct name *np; local 108 register struct name *top, *np, *t; local 149 detract(register struct name *np, int ntype) argument 183 register struct name *np; local 204 register struct name *np; local 411 register struct name *newnames, *np, *cp; local 448 struct name *np; local 560 register struct name *np; local 593 unpack(struct name *np) argument 665 register struct name *np; local 684 register struct name *np, *t, *newnames; local 805 delname(register struct name *np, char name[]) argument 834 mapf(register struct name *np, char *from) argument [all...] |
/illumos-gate/usr/src/lib/scsi/libses/common/ |
H A D | ses_node.c | 36 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/lib/libnisdb/ |
H A D | db_index_entry.cc | 130 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/cmd/csh/ |
H A D | sh.hist.c | 32 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/libshell/common/sh/ |
H A D | nvdisc.c | 41 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...] |
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | rc_node.c | 614 static void rc_node_no_client_refs(rc_node_t *np); 654 rc_node_match(rc_node_t *np, rc_node_lookup_t *l) argument 656 rc_node_lookup_t *r = &np->rn_id; 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) argument 691 assert(MUTEX_HELD(&np->rn_lock)); 693 ++np->rn_erefs; 707 rc_node_hold_other(rc_node_t *np) argument 720 rc_node_rele_other(rc_node_t *np) argument 740 rc_node_hold_locked(rc_node_t *np) argument 751 rc_node_hold(rc_node_t *np) argument 759 rc_node_rele_locked(rc_node_t *np) argument 806 rc_node_rele(rc_node_t *np) argument 830 rc_node_t *np; local 850 rc_node_t *np; local 863 cache_insert_unlocked(cache_bucket_t *bp, rc_node_t *np) argument 876 cache_remove_unlocked(cache_bucket_t *bp, rc_node_t *np) argument 951 rc_node_free_fmri(rc_node_t *np) argument 1059 rc_node_get_fmri_or_fragment(rc_node_t *np, char *buf, size_t bufsize, size_t *sz_out) argument 1109 rc_node_build_fmri(rc_node_t *np) 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) argument 1172 rc_notify_info_interested(rc_notify_info_t *rnip, rc_notify_t *np) argument 1205 rc_notify_t *np = &nnp->rn_notify; local 1260 rc_notify_t *np = &nnp->rn_notify; local 1280 rc_notify_remove_locked(rc_notify_t *np) argument 1638 rc_node_hold_flag(rc_node_t *np, uint32_t flag) argument 1654 rc_node_rele_flag(rc_node_t *np, uint32_t flag) argument 1667 rc_node_wait_flag(rc_node_t *np, uint32_t flag) argument 1687 rc_node_hold_parent_flag(rc_node_t *np, uint32_t flag) argument 1716 rc_node_t *np = uu_zalloc(sizeof (*np)); local 1736 rc_node_destroy(rc_node_t *np) argument 1795 rc_node_link_child(rc_node_t *np, rc_node_t *cp) argument 1827 rc_node_setup_parent_ref(rc_node_t *np, rc_node_t *pp) argument 1869 rc_node_relink_child(rc_node_t *pp, rc_node_t *np, rc_node_t *newp) argument 1936 rc_node_t *np; local 2001 rc_node_t *np; local 2058 rc_node_t *np; local 2118 rc_node_t *np; local 2214 rc_node_t *np; local 2364 rc_node_t *np; local 2436 rc_node_fill_children(rc_node_t *np, uint32_t type) argument 2475 rc_node_find_named_child(rc_node_t *np, const char *name, uint32_t type, rc_node_t **cpp) argument 2512 rc_node_find_ancestor(rc_node_t *np, uint32_t type, rc_node_t **app) argument 2818 rc_node_check_and_lock(rc_node_t *np) argument 2841 rc_node_t *np = npp->rnp_node; local 2951 rc_node_t *np; local 2980 rc_node_t *np; local 3057 rc_node_t *np; local 3074 rc_node_parent(rc_node_t *np, rc_node_t **out) argument 3146 rc_node_t *np; local 3223 rc_node_t *np, *cp; local 3271 rc_node_t *np = npp->rnp_node; local 3888 rc_node_t *np; local 3999 rc_node_t *np; local 4167 rc_node_t *np = np_arg; local 4240 rc_node_delete_hold(rc_node_t *np, int andformer) argument 4279 rc_node_delete_rele(rc_node_t *np, int andformer) argument 4353 rc_node_delete_children(rc_node_t *np, int andformer) argument 4412 rc_node_no_client_refs(rc_node_t *np) argument 4698 rc_node_t *np, *np_orig; local 5028 rc_node_t *np; local 5132 rc_attach_snapshot( rc_node_t *np, uint32_t snapid, rc_node_t *parentp, char *old_fmri, char *old_name) argument 5400 rc_node_t *np; local 5510 rc_node_t *np, *outp; local 5530 rc_node_t *np; local 5739 rc_node_pg_check_read_protect(rc_node_t *np) argument 5788 rc_node_property_may_read(rc_node_t *np) argument 5911 rc_iter_filter_name(rc_node_t *np, void *s) argument 5919 rc_iter_filter_type(rc_node_t *np, void *s) argument 5928 rc_iter_null_filter(rc_node_t *np, void *s) 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) argument 6063 rc_node_t *np = iter->rni_parent; local 6089 rc_node_t *np; local 6140 rc_node_t *np; local 6184 rc_node_t *np = iter->rni_parent; local 6263 rc_node_t *np; local 6355 rc_node_t *np = iter->rni_parent; local 6621 rc_node_t *np; local 6650 rc_node_t *np; local 6975 rc_node_t *np = txp->rnp_node; local 7308 rc_node_t *np; local 7390 rc_notify_t *np; local 7498 rc_notify_t *np; local [all...] |
/illumos-gate/usr/src/tools/ndrgen/ |
H A D | ndr_print.c | 43 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 D | getline.c | 31 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 D | expr.c | 141 #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 D | ppcontext.c | 39 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 D | env.c | 103 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...] |