Lines Matching defs:NULL

12 #undef NULL
25 (char *)NULL, /* interrupt */
36 (char *)NULL, /* broken pipe */
88 if (t == NULL)
92 wp = (wp2 = t->words) != NULL
94 : NULL;
125 if (pin != NULL)
140 if (pin == NULL) {
151 if ((t1 = t->right)!=NULL && (rv == 0) == (t->type == TAND))
156 if (wp == NULL) {
162 while (*wp++ != NULL)
170 for (t1 = t->left; i-- && *wp != NULL;) {
191 if (t->right != NULL) {
201 if ((t1 = findcase(t->left, cp)) != NULL)
209 if (iosetup(*iopp++, pin!=NULL, pout!=NULL)) {
254 shcom = NULL;
257 while ((cp = *wp++) != NULL)
265 if (cp == NULL && t->ioact == NULL) {
266 while ((cp = *owp++) != NULL && assign(cp, COPYV))
270 else if (cp != NULL)
275 if (shcom == NULL && (f & FEXEC) == 0) {
280 if (pin != NULL)
282 return(pout==NULL? setstatus(waitfor(i,0)): 0);
295 if (owp != NULL)
296 while ((cp = *owp++) != NULL && assign(cp, COPYV))
297 if (shcom == NULL)
300 if ((pin != NULL || pout != NULL) && shcom != NULL && shcom != doexec) {
305 if (pin != NULL) {
309 if (pout != NULL) {
313 if ((iopp = t->ioact) != NULL) {
314 if (shcom != NULL && shcom != doexec) {
320 if (iosetup(*iopp++, pin!=NULL, pout!=NULL))
334 if (wp[0] == NULL)
339 trap[0] = NULL;
381 if ((cp = evalstr(cp, DOSUB|DOTRIM)) == NULL)
460 if (t == NULL)
461 return((struct op **)NULL);
463 if ((tp = find1case(t->left, w)) != NULL)
471 return((struct op **)NULL);
481 return((tp = find1case(t, w)) != NULL? *tp: (struct op *)NULL);
521 if (signame[rv] != NULL) {
675 if ((cp = t->words[1]) == NULL && (cp = homedir->value) == NULL)
681 prs(cp != NULL? cp: "cd");
729 if ((cp = t->words[1]) == NULL) {
751 t->ioact = NULL;
752 for(i = 0; (t->words[i]=t->words[i+1]) != NULL; i++)
773 if ((cp = t->words[1]) == NULL)
802 if ((cp = t->words[1]) != NULL) {
820 if (t->words[1] == NULL) {
852 if (t->words[1] == NULL) {
863 for (i = resetsig ? 1 : 2; t->words[i] != NULL; ++i) {
957 nl = cp == NULL? 1: getn(cp);
961 if ((bc = brklist) == NULL)
981 if ((cp = t->words[1]) != NULL)
1009 if (*wp != NULL) {
1010 for (; *wp != NULL; wp++)
1035 if ((cp = t->words[1]) == NULL) {
1042 for(n = 0; (t->words[n]=t->words[n+1]) != NULL; n++)
1138 for (bp = builtin; bp->command != NULL; bp++)
1141 return((int(*)())NULL);