Lines Matching refs:NULL
104 NULL },
111 NULL },
113 NULL },
120 NULL },
122 NULL },
129 { NULL, 0, NULL,
130 NULL }
170 for (ip = varinit ; (vp = ip->var) != NULL ; ip++) { in initvar()
171 if (find_var(ip->text, &vpp, &vp->name_len) != NULL) in initvar()
182 if (find_var("PS1", &vpp, &vps1.name_len) == NULL) { in initvar()
247 if (val == NULL) { in setvar()
281 if (vp != NULL) { in setvareq()
309 vp->func = NULL; in setvareq()
350 v = find_var(name, NULL, NULL); in lookupvar()
351 if (v == NULL || v->flags & VUNSET) in lookupvar()
352 return NULL; in lookupvar()
375 v = find_var(name, NULL, NULL); in bltinlookup()
377 if (v == NULL || v->flags & VUNSET || (!doall && !(v->flags & VEXPORT))) in bltinlookup()
378 return NULL; in bltinlookup()
410 *ep = NULL; in environment()
436 for (prev = vpp ; (vp = *prev) != NULL ; ) { in shprocvar()
575 while ((name = *argptr++) != NULL) { in exportcmd()
576 if ((p = strchr(name, '=')) != NULL) { in exportcmd()
579 vp = find_var(name, NULL, NULL); in exportcmd()
580 if (vp != NULL) { in exportcmd()
602 while ((name = *argptr++) != NULL) { in localcmd()
629 vp = NULL; in mklocal()
631 vp = find_var(name, &vpp, NULL); in mklocal()
632 if (vp == NULL) { in mklocal()
636 setvar(name, NULL, VSTRFIXED|flags); in mklocal()
638 lvp->text = NULL; in mklocal()
665 while ((lvp = localvars) != NULL) { in poplocalvars()
669 if (vp == NULL) { /* $- saved */ in poplocalvars()
744 vp = find_var(s, &vpp, NULL); in unsetvar()
745 if (vp == NULL) in unsetvar()
824 return NULL; in find_var()