/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | iexpr.c | 137 iexpr_cmp(struct node *np1, struct node *np2) in iexpr_cmp() argument 141 if (np1 == np2) in iexpr_cmp() 144 if (np1 == NULL) in iexpr_cmp() 150 if (np1->t != np2->t) in iexpr_cmp() 151 return (np2->t - np1->t); in iexpr_cmp() 154 switch (np1->t) { in iexpr_cmp() 156 return (np2->u.globid.s - np1->u.globid.s); in iexpr_cmp() 182 diff = iexpr_cmp(np1->u.expr.left, np2->u.expr.left); in iexpr_cmp() 185 return (iexpr_cmp(np1->u.expr.right, np2->u.expr.right)); in iexpr_cmp() 188 if (np2->u.name.s != np1->u.name.s) in iexpr_cmp() [all …]
|
H A D | itree.c | 278 struct node *npref, *npend, *np1, *np2; in tname_dup_to_epname() local 293 for (np1 = npref, np2 = oldepname; in tname_dup_to_epname() 294 np1 != NULL && np2 != NULL; in tname_dup_to_epname() 295 np1 = np1->u.name.next, np2 = np2->u.name.next) { in tname_dup_to_epname() 296 if (np1->u.name.s != np2->u.name.s) in tname_dup_to_epname() 301 npend = np1; in tname_dup_to_epname() 302 if (np1 == NULL) { in tname_dup_to_epname() 1189 struct node *np1, *np2, *oldepname, *oldnptop; in vmatch() local 1242 for (np1 = oldepname, np2 = np->u.event.epname; in vmatch() 1243 np1 != NULL && np2 != NULL; np1 = np1->u.name.next, in vmatch() [all …]
|
H A D | eval.c | 1893 struct node *np1, *np2; in eval_expr() local 1902 for (np1 = np, in eval_expr() 1904 np1 != NULL && np2 != NULL; in eval_expr() 1905 np1 = np1->u.name.next, in eval_expr() 1907 if (strcmp(np1->u.name.s, in eval_expr() 1910 if (np1->u.name.child->t != in eval_expr() 1913 if (np1->u.name.child->t == T_NUM && in eval_expr() 1914 np1->u.name.child->u.ull != in eval_expr() 1917 if (np1->u.name.child->t == T_NAME && in eval_expr() 1918 strcmp(np1->u.name.child->u.name.s, in eval_expr() [all …]
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | tree.c | 336 tree_treecmp(struct node *np1, struct node *np2, enum nodetype t, in tree_treecmp() argument 339 if (np1 == NULL || np2 == NULL) in tree_treecmp() 342 if (np1->t != np2->t) in tree_treecmp() 347 if (np1->t == t) in tree_treecmp() 348 return ((*cmp_func)(np1, np2)); in tree_treecmp() 350 switch (np1->t) { in tree_treecmp() 352 if (tree_treecmp(np1->u.name.child, np2->u.name.child, t, in tree_treecmp() 355 return (tree_treecmp(np1->u.name.next, np2->u.name.next, t, in tree_treecmp() 360 return (tree_treecmp(np1->u.func.arglist, np2->u.func.arglist, in tree_treecmp() 388 if (tree_treecmp(np1->u.expr.left, np2->u.expr.left, t, in tree_treecmp() [all …]
|
H A D | tree.h | 285 struct node *tree_name_append(struct node *np1, struct node *np2); 286 struct node *tree_name_repairdash(struct node *np1, const char *s); 287 struct node *tree_name_repairdash2(const char *s, struct node *np1); 288 struct node *tree_name_iterator(struct node *np1, struct node *np2); 314 int tree_namecmp(struct node *np1, struct node *np2); 315 int tree_eventcmp(struct node *np1, struct node *np2);
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | vncache.c | 200 const fakefs_node_t *np1 = v1; in fncache_cmp() local 206 if (np1->fn_st_dev < np2->fn_st_dev) in fncache_cmp() 208 if (np1->fn_st_dev > np2->fn_st_dev) in fncache_cmp() 210 if (np1->fn_st_ino < np2->fn_st_ino) in fncache_cmp() 212 if (np1->fn_st_ino > np2->fn_st_ino) in fncache_cmp() 221 fakefs_node_t *np1 = VTOF(vp1); in vncache_cmp() local 223 return (fncache_cmp(np1, np2)); in vncache_cmp()
|
/illumos-gate/usr/src/cmd/sgs/gprof/common/ |
H A D | printgprof.c | 361 nltype *np1 = *npp1; in totalcmp() local 365 diff = (np1->propself + np1->propchild) - in totalcmp() 372 if (np1->name == 0 && np1->cycleno != 0) in totalcmp() 376 if (np1->name == 0) in totalcmp() 381 if (*(np1->name) != '_' && *(np2->name) == '_') in totalcmp() 383 if (*(np1->name) == '_' && *(np2->name) != '_') in totalcmp() 385 if (np1->ncall > np2->ncall) in totalcmp() 387 if (np1->ncall < np2->ncall) in totalcmp() 389 return (strcmp(np1->name, np2->name)); in totalcmp()
|
/illumos-gate/usr/src/tools/ndrgen/ |
H A D | ndr_lex.c | 527 n_splice(struct node *np1, struct node *np2) in n_splice() argument 529 while (np1->n_next) in n_splice() 530 np1 = np1->n_next; in n_splice() 532 np1->n_next = np2; in n_splice()
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irpmarshall.c | 2012 struct netent *np1 = getnetbyname(argv[1]); in main() local 2013 ne.n_name = np1->n_name; in main() 2014 ne.n_aliases = np1->n_aliases; in main() 2015 ne.n_addrtype = np1->n_addrtype; in main() 2016 ne.n_addr = &np1->n_net; in main() 2017 ne.n_length = (IN_CLASSA(np1->n_net) ? in main() 2019 (IN_CLASSB(np1->n_net) ? in main() 2021 (IN_CLASSC(np1->n_net) ? in main() 2023 np1->n_net = htonl(np1->n_net); in main()
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | sml.c | 3068 char *np1; in _smlWriteSimpleTag() local 3121 np1 = NULL; in _smlWriteSimpleTag() 3122 r = _smlWriteParamValue(&np1, tag->params[k].value); in _smlWriteSimpleTag() 3123 if ((np1 == NULL) || (r != RESULT_OK)) { in _smlWriteSimpleTag() 3127 ns = sml_strPrintf("%s%s%s", *a_str, np0, np1); in _smlWriteSimpleTag() 3133 free(np1); in _smlWriteSimpleTag()
|
/illumos-gate/usr/src/grub/grub-0.97/ |
H A D | config.sub | 751 np1) 752 basic_machine=np1-gould
|