Searched defs:NiL (Results 1 - 20 of 20) sorted by relevance

/ast/src/lib/libast/aso/
H A Dasohdr.h44 #ifndef NiL
45 #define NiL ((void*)0) macro
/ast/src/lib/libast/tm/
H A Dtminit.c189 tm_info.local->type = (n && *v) ? ((zp = tmtype(v, NiL)) ? zp->type : strdup(v)) : 0;
389 stropt(getenv("TM_OPTIONS"), options, sizeof(*options), tmopt, NiL); local
403 if (tmword(s, NiL, zp->standard, NiL, 0))
429 if (tmword(s, NiL, zp->standard, NiL, 0))
/ast/src/cmd/mailx/
H A Dlocal.h143 #define NiL 0 macro
145 #define NiL ((char*)0) macro
/ast/src/cmd/nmake/
H A Dread.c53 readfile(sfstruse(tmp), COMP_BASE|(state.explicitrules ? COMP_RULES : 0), NiL); local
70 readfile(p->rule->name, COMP_GLOBAL, NiL);
146 x = bindfile(NiL, objfile, 0);
153 else if (fp = sfopen(NiL, s = x->name, "br"))
239 s = getarg((e = t = strdup(s), &e), NiL);
407 parse(sp, NiL, r->name, NiL);
437 r = bindfile(NiL, file, BIND_MAKEFILE|BIND_RULE);
451 parse(rfp, NiL, file, NiL);
[all...]
/ast/src/cmd/INIT/
H A Drelease.c71 #define NiL ((char*)0) macro
247 error(ERROR_USAGE|4, "%s", optusage(NiL));
H A Dmamake.c98 #define NiL ((char*)0) macro
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);
[all...]
H A Dratz.c49 #define NiL ((char*)0) macro
4811 error(ERROR_USAGE|4, "%s", optusage(NiL));
/ast/src/cmd/tests/
H A Ddate.c44 #ifndef NiL
46 #define NiL 0 macro
48 #define NiL (char*)0 macro
150 report(comment, str, pat, NiL, 0);
185 bad("bad \\x\n", NiL, NiL);
211 sigprocmask(op, &mask, NiL);
282 t_now = time(NiL);
320 bad("too many fields\n", NiL, NiL);
[all...]
/ast/src/cmd/dsslib/ip_t/
H A Dire.c111 n = strton(s, &p, NiL, 0);
148 (*disc->errorf)(NiL, disc, ERROR_SYSTEM|2, "%d: element size must be one of { 1 2 4 }", element);
154 (*disc->errorf)(NiL, disc, ERROR_SYSTEM|2, "%d: tuple size must > 0", tuple);
160 disc->resizehandle = (*disc->resizef)(NiL, NiL, 0);
161 if (!(ire = (Ire_t*)(*disc->resizef)(disc->resizehandle, NiL, sizeof(Ire_t))))
164 (*disc->errorf)(NiL, disc, ERROR_SYSTEM|2, "out of space");
166 (*disc->resizef)(disc->resizehandle, NiL, 0); local
174 (*disc->errorf)(NiL, disc, ERROR_SYSTEM|2, "out of space");
180 (*disc->errorf)(NiL, dis
420 (*ire->disc->resizef)(ire->disc->resizehandle, NiL, 0); local
[all...]
/ast/src/lib/libast/astsa/
H A Dast.h101 #define NiL 0 macro
104 #define NiL ((char*)0) macro
/ast/src/lib/libast/misc/
H A Derror.c156 error_state.breakpoint = strtol(v, NiL, 0);
172 error_state.count = strtol(v, NiL, 0);
177 error_info.fd = n ? strtol(v, NiL, 0) : -1;
187 error_info.mask = strtol(v, NiL, 0);
228 error_info.trace = -strtol(v, NiL, 0);
311 print(sp, cp->id, NiL);
315 sfprintf(sp, ": \"%s\", %s %d", cp->file, ERROR_translate(NiL, NiL, ast.id, "line"), cp->line);
332 if (error_state.tty || (error_state.tty = sfopen(NiL, "/dev/tty", "r+")))
339 stropt(s, options, sizeof(*options), setopt, NiL);
377 stropt(getenv("ERROR_OPTIONS"), options, sizeof(*options), setopt, NiL); local
[all...]
/ast/src/lib/libcodex/
H A Dcodex.c477 (*disc->errorf)(NiL, disc, 2, "%s: invalid method", s);
492 (*disc->errorf)(NiL, disc, 2, "out of space");
527 size = strtoll(v + 5, NiL, 0);
532 if (!(code->dp = sfopen(NiL, v + 7, "r")))
535 (*disc->errorf)(NiL, disc, ERROR_SYSTEM|2, "%s: cannot read delta source", v + 7);
619 size = strtoll(v + 5, NiL, 0);
626 (*disc->errorf)(NiL, disc, ERROR_SYSTEM|2, "%-.*s: cannot delta source pathname too long", b - v, v);
632 if (!(code->dp = sfopen(NiL, can, "r")))
635 (*disc->errorf)(NiL, disc, ERROR_SYSTEM|2, "%s: cannot read delta source", can);
655 (*disc->errorf)(NiL, dis
777 stropt(getenv("CODEX_OPTIONS"), options, sizeof(*options), setopt, NiL); local
[all...]
/ast/src/cmd/re/
H A Dtestfnmatch.c50 #ifndef NiL
52 #define NiL 0 macro
54 #define NiL (char*)0 macro
295 report(comment, re, s, NiL, 0, expand);
407 bad("invalid C \\ escape\n", NiL, NiL, 0);
425 sigprocmask(op, &mask, NiL);
635 bad("too many fields\n", NiL, NiL, 0);
644 bad("NIL spec\n", NiL, Ni
[all...]
H A Dtestmatch.c52 #ifndef NiL
54 #define NiL 0 macro
56 #define NiL (char*)0 macro
332 report(comment, NiL, re, s, NiL, 0, 0, expand);
444 bad("invalid C \\ escape\n", NiL, NiL, 0);
509 report("failed: match was", NiL, re, s, NiL, flags, unspecified, expand);
526 report("failed: match was", NiL, r
[all...]
H A Dtestglob.c73 #ifndef NiL
75 #define NiL 0 macro
77 #define NiL (char*)0 macro
365 report(comment, pat, NiL, 0, 0);
402 bad("bad \\x\n", NiL);
427 sigprocmask(op, &mask, NiL);
638 bad("invalid workspace depth\n", NiL);
764 bad("too many fields\n", NiL);
773 bad("NIL spec\n", NiL);
783 bad("locale query expected\n", NiL);
[all...]
H A Dtestregex.c147 #ifndef NiL
149 #define NiL 0 macro
151 #define NiL (char*)0 macro
720 report(comment, NiL, re, s, len, NiL, 0, test);
837 bad("invalid C \\ escape\n", s - 1, NiL, 0, 0);
901 bad("out of space [discipline string]\n", NiL, NiL, 0, 0);
906 report("callout failed", NiL, re, s, len, NiL, flag
[all...]
/ast/src/lib/libast/include/
H A Dast.h215 #define NiL 0 macro
218 #define NiL ((char*)0) macro
/ast/src/lib/libast/comp/
H A Dsetlocale.c366 return debug_mbtowc(NiL, s, n);
2454 lc = lcmake(NiL);
2468 sys = setlocale(lc_categories[category].external, lcmake(NiL)->name);
2486 if (mcfind(lc->code, NiL, LC_MESSAGES, 0, path, sizeof(path)))
2493 setlocale(lc_categories[category].external, lcmake(NiL)->name);
2521 sfprintf(sfstderr, "locale set %17s %16s %16s %16s", lc_categories[category].name, lc->name, sys, lc_categories[category].prev ? lc_categories[category].prev->name : NiL);
2598 single(stk[i], NiL, 0);
2625 single(stk[i], NiL, 0);
2652 single(i, NiL, 0);
2733 stropt(getenv("LC_OPTIONS"), options, sizeof(*options), setopt, NiL); local
[all...]
/ast/src/lib/libast/port/
H A Dastlicense.c109 #ifndef NiL
110 #define NiL ((char*)0) macro
807 comment(&notice, &buf, NiL, 1, 0);
808 comment(&notice, &buf, NiL, 0, 0);
859 comment(&notice, &buf, NiL, 0, 0);
877 comment(&notice, &buf, NiL, 0, 0);
914 comment(&notice, &buf, NiL, 0, 0);
924 comment(&notice, &buf, NiL, 0, 0);
938 comment(&notice, &buf, NiL, 0, 0);
942 comment(&notice, &buf, NiL,
[all...]
/ast/src/lib/libpp/
H A Dpplib.h451 #define pptokchr(c) pptokstr(NiL,(c))
459 #define ppgetfile(x) ((struct ppfile*)hashlook(pp.filtab,x,HASH_LOOKUP,NiL))
460 #define ppsetfile(x) ((struct ppfile*)hashlook(pp.filtab,x,HASH_CREATE|HASH_SIZE(sizeof(struct ppfile)),NiL))
462 #define ppkeyget(t,n) (struct ppsymkey*)hashlook(t,n,HASH_LOOKUP,NiL)
463 #define ppkeyref(t,n) (struct ppsymkey*)hashlook(t,n,HASH_LOOKUP|HASH_INTERNAL,NiL)
464 #define ppkeyset(t,n) (struct ppsymkey*)hashlook(t,n,HASH_CREATE|HASH_SIZE(sizeof(struct ppsymkey)),NiL)
594 pppush(IN_FILE,f,NiL,d)
660 pppush(IN_RESCAN,NiL,p,0)
737 #define NiL 0 macro
740 #define NiL ((cha macro
[all...]

Completed in 156 milliseconds