Lines Matching defs:NiL

98 #define NiL		((char*)0)
116 #define add(b,c) (((b)->nxt >= (b)->end) ? append(b, "") : NiL, *(b)->nxt++ = (c))
386 report(3, "out of space [buffer]", NiL, (unsigned long)0);
418 report(3, "out of space [buffer resize]", NiL, (unsigned long)0);
468 report(3, "out of space [dictionary]", NiL, (unsigned long)0);
606 if (!(r = (Rule_t*)search(state.rules, name, NiL)))
658 if ((s = (char*)search(state.vars, "PWD", NiL)) && !stat(s, &ts) &&
664 report(3, "cannot determine PWD", NiL, (unsigned long)0);
668 if ((s = (char*)search(state.vars, "VPATH", NiL)) && *s)
799 v = (char*)search(state.vars, t, NiL);
1049 report(3, "input stack underflow", NiL, (unsigned long)0);
1077 report(3, "input stream stack overflow", NiL, (unsigned long)0);
1122 report(3, "no input file stream", NiL, (unsigned long)0);
1145 if (!state.shell && (!(state.shell = (char*)search(state.vars, "SHELL", NiL)) || !strcmp(state.shell, sh)))
1215 if ((q = (Rule_t*)search(state.rules, t, NiL)) && q->path && !(q->flags & RULE_generated))
1303 if (!(p = (char*)search(state.vars, "PATH", NiL)))
1351 if (!(cc = (char*)search(state.vars, "CC", NiL)))
1360 if (!(s = (char*)search(state.vars, "INSTALLROOT", NiL)))
1446 dynamic = (s = search(state.vars, "mam_cc_L", NiL)) ? atoi(s) : 0;
1447 if (!(r = search(state.vars, lib, NiL)))
1456 if (r = search(state.vars, "mam_cc_PREFIX_ARCHIVE", NiL))
1459 if (r = search(state.vars, "mam_cc_SUFFIX_ARCHIVE", NiL))
1473 if (r = search(state.vars, "mam_cc_PREFIX_SHARED", NiL))
1476 if (r = search(state.vars, "mam_cc_SUFFIX_SHARED", NiL))
1681 if (!search(state.vars, t, NiL))
1895 if (k && ((q = (Rule_t*)search(state.leaf, t, NiL)) && q != r || *t++ == 'l' && *t++ == 'i' && *t++ == 'b' && *t && (q = (Rule_t*)search(state.leaf, t, NiL)) && q != r))
1924 q = (Rule_t*)search(state.leaf, r->name, NiL);
1932 q = (Rule_t*)search(state.leaf, use(buf), NiL);
1949 q = (Rule_t*)search(state.leaf, use(buf), NiL);
1971 if (!state.active && (!(r->flags & RULE_active) || !(r = (Rule_t*)search(state.leaf, r->name, NiL))))
1987 if (r->leaf || search(state.leaf, r->name, NiL))
2051 walk(state.rules, active, NiL);
2059 walk(state.rules, scan, NiL);
2061 walk(state.rules, descend, NiL);
2160 error(ERROR_USAGE|4, "%s", optusage(NiL));
2344 report(3, "cannot change working directory", NiL, (unsigned long)0);
2368 walk(state.rules, verify, NiL);