Lines Matching refs:name

218 	for (; namep != NULL; namep = namep->u.name.next) {  in tname_dup()
221 newnp->u.name.t = namep->u.name.t; in tname_dup()
222 newnp->u.name.s = namep->u.name.s; in tname_dup()
223 newnp->u.name.last = newnp; in tname_dup()
224 newnp->u.name.it = namep->u.name.it; in tname_dup()
225 newnp->u.name.cp = namep->u.name.cp; in tname_dup()
230 npc = namep->u.name.child; in tname_dup()
234 newnp->u.name.child = in tname_dup()
236 newnp->u.name.child->u.ull = in tname_dup()
240 newnp->u.name.child = in tname_dup()
241 tree_name(npc->u.name.s, in tname_dup()
242 npc->u.name.it, file, line); in tname_dup()
255 retp->u.name.last->u.name.next = newnp; in tname_dup()
256 retp->u.name.last = newnp; in tname_dup()
291 for (npref = epname; npref; npref = npref->u.name.next) { in tname_dup_to_epname()
292 if (npref->u.name.s == oldepname->u.name.s) { 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()
324 npref = npref->u.name.next) { in tname_dup_to_epname()
328 newnp->u.name.t = npref->u.name.t; in tname_dup_to_epname()
329 newnp->u.name.s = npref->u.name.s; in tname_dup_to_epname()
330 newnp->u.name.last = newnp; in tname_dup_to_epname()
331 newnp->u.name.it = npref->u.name.it; in tname_dup_to_epname()
332 newnp->u.name.cp = npref->u.name.cp; in tname_dup_to_epname()
334 newnp->u.name.child = newnode(T_NUM, oldepname->file, in tname_dup_to_epname()
337 if (npref->u.name.child == NULL || in tname_dup_to_epname()
338 npref->u.name.child->t != T_NUM) { in tname_dup_to_epname()
341 ASSERT(npref->u.name.cp != NULL); in tname_dup_to_epname()
342 config_getcompname(npref->u.name.cp, NULL, &childnum); in tname_dup_to_epname()
343 newnp->u.name.child->u.ull = childnum; in tname_dup_to_epname()
345 newnp->u.name.child->u.ull = in tname_dup_to_epname()
346 npref->u.name.child->u.ull; in tname_dup_to_epname()
352 ret->u.name.last->u.name.next = newnp; in tname_dup_to_epname()
353 ret->u.name.last = newnp; in tname_dup_to_epname()
377 nv_instantiate(void *name, void *val, void *arg) in nv_instantiate() argument
384 if (name == L_engine) { in nv_instantiate()
386 ASSERT(orhs->u.event.ename->u.name.t == N_SERD); in nv_instantiate()
393 pd->props = lut_add(pd->props, name, nrhs, NULL); in nv_instantiate()
401 pd->props = lut_add(pd->props, name, nrhs, NULL); in nv_instantiate()
406 pd->props = lut_add(pd->props, name, nrhs, NULL); in nv_instantiate()
410 pd->props = lut_add(pd->props, name, nrhs, NULL); in nv_instantiate()
414 pd->props = lut_add(pd->props, name, nrhs, NULL); in nv_instantiate()
419 pd->props = lut_add(pd->props, name, nrhs, NULL); in nv_instantiate()
423 pd->props = lut_add(pd->props, name, orhs, NULL); in nv_instantiate()
481 if ((diff = ep2->enode->u.event.ename->u.name.s - in event_cmp()
482 ep1->enode->u.event.ename->u.name.s) != 0) in event_cmp()
501 searchenamenode.u.name.s = ename; in itree_lookup()
524 ret->t = np->u.event.ename->u.name.t; in find_or_add_event()
557 if (cp_s == oldepname->u.name.s) { in hmatch_full_config()
570 ocp = oldepname->u.name.cp; in hmatch_full_config()
581 cpnode->u.name.child = newnode(T_NUM, NULL, 0); in hmatch_full_config()
582 cpnode->u.name.child->u.ull = cp_num; in hmatch_full_config()
583 cpnode->u.name.cp = pcp; in hmatch_full_config()
585 cpnode->u.name.next = in hmatch_full_config()
587 cpnode->u.name.last = in hmatch_full_config()
589 u.name.last; in hmatch_full_config()
599 ewlp = ewfp->u.name.last; in hmatch_full_config()
600 ewfp->u.name.last = oldepname->u.name.last; in hmatch_full_config()
601 ewlp->u.name.next = oldepname; in hmatch_full_config()
602 oldepname->u.name.cp = cp; in hmatch_full_config()
614 hmatch_event(infop, eventnp, oldepname->u.name.next, in hmatch_full_config()
620 oldepname->u.name.cp = ocp; in hmatch_full_config()
622 ewlp->u.name.next = NULL; in hmatch_full_config()
623 ewfp->u.name.last = ewlp; in hmatch_full_config()
688 if (epname->u.name.cp == NULL) in hmatch_event()
698 if (epname->u.name.it == IT_HORIZONTAL || rematch) { in hmatch_event()
700 struct config *ocp = epname->u.name.cp; in hmatch_event()
708 if (epname->u.name.it != IT_HORIZONTAL) { in hmatch_event()
715 iters = epname->u.name.child->u.name.s; in hmatch_event()
745 epname->u.name.it == IT_HORIZONTAL) { in hmatch_event()
761 if (cp_s == epname->u.name.s) { in hmatch_event()
766 epname->u.name.cp = cp; in hmatch_event()
768 epname->u.name.next, config_child(cp), in hmatch_event()
772 epname->u.name.cp = ocp; in hmatch_event()
776 hmatch_event(infop, eventnp, epname->u.name.next, in hmatch_event()
830 else if (norknp->t == T_NAME && norknp->u.name.s == L_A) in itree_np2nork()
886 pcp = config_parent(wcp->nptop->u.event.epname->u.name.cp); in vmatch_event()
905 cpnode->u.name.child = newnode(T_NUM, NULL, 0); in vmatch_event()
906 cpnode->u.name.child->u.ull = cp_num; in vmatch_event()
907 cpnode->u.name.cp = pcp; in vmatch_event()
909 cpnode->u.name.next = wcp->ewname; in vmatch_event()
910 cpnode->u.name.last = in vmatch_event()
911 wcp->ewname->u.name.last; in vmatch_event()
921 ewlp = ewfp->u.name.last; in vmatch_event()
922 ewfp->u.name.last = wcp->oldepname->u.name.last; in vmatch_event()
923 ewlp->u.name.next = wcp->oldepname; in vmatch_event()
935 ewlp->u.name.next = NULL; in vmatch_event()
936 ewfp->u.name.last = ewlp; in vmatch_event()
959 if (cp_s == np->u.name.s) { in vmatch_event()
961 if (np->u.name.child && in vmatch_event()
962 np->u.name.child->t == T_NUM) { in vmatch_event()
969 if (cp_num != np->u.name.child->u.ull) in vmatch_event()
972 } else if (np->u.name.it != IT_HORIZONTAL) { in vmatch_event()
989 ASSERT(np->u.name.child != NULL); in vmatch_event()
990 ASSERT(np->u.name.child->t == T_NAME); in vmatch_event()
991 iters = np->u.name.child->u.name.s; in vmatch_event()
1044 np->u.name.cp = cp; in vmatch_event()
1045 vmatch_event(infop, config_child(cp), np->u.name.next, in vmatch_event()
1047 np->u.name.cp = NULL; in vmatch_event()
1057 np->u.name.it == IT_HORIZONTAL) in vmatch_event()
1103 if (np->u.name.it == IT_HORIZONTAL) { in vmatch_event()
1243 np1 != NULL && np2 != NULL; np1 = np1->u.name.next, in vmatch()
1244 np2 = np2->u.name.next) { in vmatch()
1245 if (strcmp(np1->u.name.s, np2->u.name.s) != 0) in vmatch()
1247 if (np1->u.name.child->t != in vmatch()
1248 np2->u.name.child->t) in vmatch()
1250 if (np1->u.name.child->t == T_NUM && in vmatch()
1251 np1->u.name.child->u.ull != in vmatch()
1252 np2->u.name.child->u.ull) in vmatch()
1254 if (np1->u.name.child->t == T_NAME && in vmatch()
1255 strcmp(np1->u.name.child->u.name.s, in vmatch()
1256 np2->u.name.child->u.name.s) != 0) in vmatch()
1285 cp = np1->u.name.cp; in vmatch()
1286 np2->u.name.cp = cp; in vmatch()
1287 np1 = np1->u.name.next; in vmatch()
1288 np2 = np2->u.name.next; in vmatch()
1364 np->u.name.cp = NULL; in cp_reset()
1365 cp_reset(np->u.name.next); in cp_reset()
1460 ret->t = np->u.event.ename->u.name.t; in add_event_dummy()
1572 ipath_print(flags, ep->enode->u.event.ename->u.name.s, ep->ipp); in itree_pevent_brief()
1987 ASSERT(arglist->u.name.s == L_infinity); in arrow_add_within()
1999 ASSERT(arglist->u.expr.right->u.name.s == in arrow_add_within()