/ast/src/lib/libcmd/ |
H A D | pids.c | 65 if (!(s = fp->t_str) || streq(s, "pid")) 67 else if (streq(s, "pgid")) 69 else if (streq(s, "ppid")) 71 else if (streq(s, "tid") || streq(s, "tty")) 78 else if (streq(s, "sid")) 84 else if (streq(s, "format"))
|
H A D | vmstate.c | 75 if (!(s = fp->t_str) || streq(s, "size")) 77 else if (streq(s, "region")) 79 else if (streq(s, "segments")) 81 else if (streq(s, "busy_size")) 83 else if (streq(s, "busy_blocks")) 85 else if (streq(s, "busy_max")) 87 else if (streq(s, "flags")) 105 else if (streq(s, "free_size")) 107 else if (streq(s, "free_blocks")) 109 else if (streq( [all...] |
/ast/src/lib/libcs/ |
H A D | csattr.c | 113 n = attr && streq(attr, "name"); 119 } while (n && streq(ip->name, CS_HOST_LOCAL)); 122 if (attr && streq(attr, "*")) 128 if (streq(name, CS_HOST_LOCAL)) 134 if (streq(attr, "*")) 136 if (streq(attr, "name")) 138 if (streq(attr, "addr") || streq(attr, "host")) 153 if (!streq(ip->name, state->host)) 158 else if (streq(att [all...] |
H A D | csport.c | 43 if (streq(serv, "reserved")) 45 if (streq(serv, "normal"))
|
/ast/src/lib/libast/string/ |
H A D | struniq.c | 45 while (streq(*ao, *an))
|
/ast/src/cmd/tests/ |
H A D | opt.c | 55 if (streq(s, ip->name)) 59 if (streq(s, "options")) 61 if (streq(s, "zero")) 63 if (streq(s, "more#1")) 65 if (streq(s, "more#2")) 67 if (streq(s, "more#3")) 69 if (streq(s, "more#4")) 71 if (streq(s, "more#5")) 73 if (streq(s, "more#6")) 145 return streq(bu [all...] |
H A D | date.c | 56 #ifndef streq 57 #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b)) macro 311 if (streq(s, "NIL")) 313 else if (streq(s, "NULL")) 343 if (streq(str, "SET")) 347 if (streq(fmt, "NOW")) 358 if (streq(str, "FMT"))
|
/ast/src/lib/libdss/ |
H A D | dss-return.h | 79 if (!(s = expr->argv[1]) || streq(s, "skip")) 81 else if (streq(s, "select"))
|
/ast/src/cmd/std/ |
H A D | touch.c | 144 if (streq(opt_info.arg, "access") || streq(opt_info.arg, "atime") || streq(opt_info.arg, "use")) 146 else if (streq(opt_info.arg, "change") || streq(opt_info.arg, "ctime")) 148 else if (streq(opt_info.arg, "modify") || streq(opt_info.arg, "mtime") || streq(opt_info.arg, "modification"))
|
/ast/src/lib/libmam/ |
H A D | mam.c | 140 if (!streq(buf, name)) return(0); 158 if (streq(arg, "archive")) 160 else if (streq(arg, "dontcare")) 162 else if (streq(arg, "implicit")) 164 else if (streq(arg, "metarule")) 166 else if (streq(arg, "virtual")) 223 if (streq(op, "note")) 227 else if (streq(op, "setv")) 233 else if ((n = streq(op, "make")) || streq(o [all...] |
/ast/src/lib/librecsort/ |
H A D | rskeymeth.c | 53 if (!name || !*name || streq(name, "-") || streq(name, "default")) 56 if (streq(name, (*methods[n])->name))
|
/ast/src/lib/libast/comp/ |
H A D | getsubopt.c | 77 if (streq(b, *op))
|
/ast/src/lib/libast/path/ |
H A D | pathtemp.c | 121 if (streq(pfx, "cycle")) 130 tmp.manual = streq(dir, "manual"); 133 else if (streq(pfx, "prefix")) 140 else if (streq(pfx, "private")) 145 else if (streq(pfx, "public")) 150 else if (streq(pfx, "seed")) 155 else if (streq(pfx, TMP_ENV)) 167 else if (streq(pfx, TMP_PATH_ENV))
|
H A D | pathfind.c | 35 #define regular(p,s) (stat((p),(s))>=0&&(S_ISREG((s)->st_mode)||streq(p,"/dev/null"))) 59 if (dir && *dir && !streq(dir, ".") && directory(dir, &st)) 62 if (streq(dir, dp->dir))
|
/ast/src/cmd/msgcc/ |
H A D | msgget.c | 81 if (streq(s, "-")) 89 if (streq(loc, "-"))
|
/ast/src/lib/libpp/ |
H A D | ppargs.c | 477 if (streq(s, "-$")) 482 else if (streq(s, "-dD")) 487 else if (streq(s, "-dM")) 494 else if (streq(s, "-imacros")) 504 else if (streq(s, "-include")) 518 if (streq(s, "c")) 520 else if (streq(s, "c++")) 522 else if (streq(s, "objc")) 524 else if (streq(s, "objc++")) 536 else if (streq( [all...] |
/ast/src/cmd/re/ |
H A D | testmatch.c | 150 #ifndef streq 151 #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b)) macro 681 if (streq(state.file, "-") || streq(state.file, "/dev/stdin") || streq(state.file, "/dev/fd/0")) 761 if (streq(s, "NIL")) 763 else if (streq(s, "NULL")) 822 if (!s || streq(s, "POSIX")) 824 if (!(ans = setlocale(LC_COLLATE, s)) || streq(ans, "C") || streq(an [all...] |
H A D | testfnmatch.c | 136 #ifndef streq 137 #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b)) macro 545 if (streq(state.file, "-") || streq(state.file, "/dev/stdin") || streq(state.file, "/dev/fd/0")) 626 if (streq(s, "NIL")) 628 else if (streq(s, "NULL")) 685 if (!s || streq(s, "POSIX")) 687 if (!(ans = setlocale(LC_COLLATE, s)) || streq(ans, "C") || streq(an [all...] |
H A D | testglob.c | 49 while (streq(*ao, *an)) 162 #ifndef streq 163 #define streq(a,b) (*(a)==*(b)&&!strcmp(a,b)) macro 672 else if (!streq(work[cwd - 1], ".")) { 704 if (!streq(work[cwd-1], ".") && access(path, F_OK)) 755 if (streq(s, "NIL")) 757 else if (streq(s, "NULL")) 792 if (!s || streq(s, "POSIX")) 794 if (!(ans = setlocale(LC_COLLATE, s)) || streq(ans, "C") || streq(an [all...] |
/ast/src/lib/libdll/ |
H A D | dll_lib.c | 52 if (strneq(name, id, n) && (streq(name + n, "_s") || streq(name + n, "_t"))) 128 if (streq(names->base, lib->base)) 138 if (!(dll = dllplugin(names->id, names->name, NiL, version, NiL, RTLD_LAZY, names->path, names->data + sizeof(names->data) - names->path)) && (streq(names->name, names->base) || !(dll = dllplugin(names->id, names->base, NiL, version, NiL, RTLD_LAZY, names->path, names->data + sizeof(names->data) - names->path))))
|
/ast/src/cmd/dss/ |
H A D | dss.c | 164 if (lib->meth && !streq(lib->meth->name, error_info.id)) 166 else if (!streq(lib->name, error_info.id) && !streq(lib->name, s)) 288 sep = -streq(plugins, "?list");
|
/ast/src/cmd/sortlib/sync/ |
H A D | ss.c | 370 if (!(s = lex(ss)) || (flags & LEX_COND) && streq(s, "COND") && !(s = lex(ss))) 379 (!(flags & LEX_NONE) || streq(s, "NONE") && (s = 0)) && 380 (!(flags & LEX_COPY) || streq(s, "COPY") && (s = 0))) 559 if ((flags & LEX_COPY) && streq(s, "COPY")) 605 if ((x = toupper(*s)) == 'E' && streq(s, "EDIT")) 612 else if (x == 'L' && streq(s, "LENGTH")) 619 else if (x == 'S' && streq(s, "SIGNS")) 740 else if ((flags & LEX_COPY) && streq(s, "COPY")) 784 else if (streq(s, "CODE") || streq( [all...] |
/ast/src/cmd/sort/ |
H A D | sfopen.c | 103 if (streq(t, "input") || streq(t, "output")) 123 else if (streq(t, "program")) 135 else if (streq(t, "option")) 144 if (streq(v, "dump")) 146 else if (streq(v, "verbose"))
|
/ast/src/cmd/html/ |
H A D | bb2tok.c | 91 if (*state->lex == LABEL && (streq(text, ":") || streq(text, "Code") || streq(text, "wrote"))) 240 if (streq(s, header[i].in)) 356 if (!(s = *argv) || streq(s, "-") || streq(s, "/dev/stdin") || streq(s, "/dev/fd/0"))
|
/ast/src/cmd/mailx/ |
H A D | proc.c | 102 if (streq(file, "-") || streq(file, "/dev/stdin") || streq(file, "/dev/fd/0")) 106 if (streq(file, "-") || streq(file, "/dev/stdout") || streq(file, "/dev/fd/1")) 108 else if (streq(file, "/dev/stderr") || streq(file, "/dev/fd/2")) 164 if (state.readonly && streq(mode, "w"))
|