Home
last modified time | relevance | path

Searched refs:np2 (Results 1 – 13 of 13) sorted by relevance

/titanic_41/usr/src/cmd/fm/modules/common/eversholt/
H A Diexpr.c139 iexpr_cmp(struct node *np1, struct node *np2) in iexpr_cmp() argument
143 if (np1 == np2) in iexpr_cmp()
149 if (np2 == NULL) in iexpr_cmp()
152 if (np1->t != np2->t) in iexpr_cmp()
153 return (np2->t - np1->t); in iexpr_cmp()
158 return (np2->u.globid.s - np1->u.globid.s); in iexpr_cmp()
184 diff = iexpr_cmp(np1->u.expr.left, np2->u.expr.left); in iexpr_cmp()
187 return (iexpr_cmp(np1->u.expr.right, np2->u.expr.right)); in iexpr_cmp()
190 if (np2->u.name.s != np1->u.name.s) in iexpr_cmp()
191 return (np2->u.name.s - np1->u.name.s); in iexpr_cmp()
[all …]
H A Dipath.c198 struct node *np2; in ipath_for_usednames() local
200 for (np2 = np; np2 != NULL; np2 = np2->u.name.next) in ipath_for_usednames()
203 for (i = 0, np2 = np; np2 != NULL; np2 = np2->u.name.next) { in ipath_for_usednames()
204 ret[i].s = np2->u.name.s; in ipath_for_usednames()
H A Ditree.c278 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()
299 if (np2 == 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()
1244 np2 = np2->u.name.next) { in vmatch()
[all …]
H A Deval.c1890 struct node *np1, *np2; in eval_expr() local
1900 np2 = events[i]->u.event.oldepname; in eval_expr()
1901 np1 != NULL && np2 != NULL; in eval_expr()
1903 np2 = np2->u.name.next) { in eval_expr()
1905 np2->u.name.s) != 0) in eval_expr()
1908 np2->u.name.child->t) in eval_expr()
1912 np2->u.name.child->u.ull) in eval_expr()
1916 np2->u.name.child->u.name.s) != 0) in eval_expr()
1920 if (np1 == NULL && np2 == NULL) { in eval_expr()
/titanic_41/usr/src/cmd/fm/eversholt/common/
H A Dtree.c320 tree_treecmp(struct node *np1, struct node *np2, enum nodetype t, in tree_treecmp() argument
323 if (np1 == NULL || np2 == NULL) in tree_treecmp()
326 if (np1->t != np2->t) in tree_treecmp()
332 return ((*cmp_func)(np1, np2)); in tree_treecmp()
336 if (tree_treecmp(np1->u.name.child, np2->u.name.child, t, in tree_treecmp()
339 return (tree_treecmp(np1->u.name.next, np2->u.name.next, t, in tree_treecmp()
344 return (tree_treecmp(np1->u.func.arglist, np2->u.func.arglist, in tree_treecmp()
372 if (tree_treecmp(np1->u.expr.left, np2->u.expr.left, t, in tree_treecmp()
375 return (tree_treecmp(np1->u.expr.right, np2->u.expr.right, t, in tree_treecmp()
380 if (tree_treecmp(np1->u.event.ename, np2->u.event.ename, t, in tree_treecmp()
[all …]
H A Dtree.h287 struct node *tree_name_append(struct node *np1, struct node *np2);
290 struct node *tree_name_iterator(struct node *np1, struct node *np2);
316 int tree_namecmp(struct node *np1, struct node *np2);
317 int tree_eventcmp(struct node *np1, struct node *np2);
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_check.c509 mdname_t *np2, /* second comp */ in meta_check_samedrive() argument
516 mdnmtype_t type2 = np2->drivenamep->type; in meta_check_samedrive()
568 if ((np1 == NULL) || (np2 == NULL)) in meta_check_samedrive()
572 if (np1 == np2) in meta_check_samedrive()
576 name2 = np2->bname; in meta_check_samedrive()
685 (sscanf(np2->bname, "/dev/%*[^0-9/]%*u%*[a-h]%n", &l) == 0 && in meta_check_samedrive()
686 l == strlen(np2->bname))) && in meta_check_samedrive()
689 if (np1->drivenamep == np2->drivenamep) in meta_check_samedrive()
695 if (meta_getmajor(np1->dev) != meta_getmajor(np2->dev)) in meta_check_samedrive()
699 ((cinfop2 = metagetcinfo(np2, ep)) == NULL)) { in meta_check_samedrive()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rwhod.c505 struct neighbor *np2; in configure() local
612 for (np2 = neighbors; np2 != NULL; np2 = np2->n_next) { in configure()
615 !(np2->n_flags & IFF_POINTOPOINT) && in configure()
616 (np->n_subnet == np2->n_subnet)) { in configure()
623 if (np2 != NULL) in configure()
685 for (np2 = neighbors; np2 != NULL; np2 = np2->n_next) { in configure()
688 sin2 = (struct sockaddr_in *)np2->n_addr; in configure()
696 if (np2 != NULL) in configure()
/titanic_41/usr/src/cmd/sgs/gprof/common/
H A Dprintgprof.c361 nltype *np2 = *npp2; in totalcmp() local
365 (np2->propself + np2->propchild); in totalcmp()
373 if (np2->name == 0 && np2->cycleno != 0) in totalcmp()
377 if (np2->name == 0) in totalcmp()
380 if (*(np1->name) != '_' && *(np2->name) == '_') in totalcmp()
382 if (*(np1->name) == '_' && *(np2->name) != '_') in totalcmp()
384 if (np1->ncall > np2->ncall) in totalcmp()
386 if (np1->ncall < np2->ncall) in totalcmp()
388 return (strcmp(np1->name, np2->name)); in totalcmp()
/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/encoding/
H A DUCDecoder.java87 int np2 = (c & 0x20) / 32; in decodeAtom() local
90 if ((p2 & 0x1) != np2) in decodeAtom()
/titanic_41/usr/src/tools/ndrgen/
H A Dndr_lex.c522 n_splice(struct node *np1, struct node *np2) in n_splice() argument
527 np1->n_next = np2; in n_splice()
/titanic_41/usr/src/cmd/make/bin/
H A Dread2.cc1476 Name np2; in read_suffixes_list() local
1522 np2 = GETNAME(wcb, in read_suffixes_list()
1524 np2->with_squiggle = true; in read_suffixes_list()
1525 if (np2->without_squiggle) { in read_suffixes_list()
1528 np = np2; in read_suffixes_list()
/titanic_41/usr/src/head/
H A Dmeta.h693 extern int meta_check_samedrive(mdname_t *np1, mdname_t *np2,
696 diskaddr_t slblk1, diskaddr_t nblks1, mdname_t *np2,