/ast/src/lib/libast/comp/ |
H A D | symlink.c | 43 if (*a == '/' && (*(a + 1) == 'd' || *(a + 1) == 'p' || *(a + 1) == 'n') && (!strncmp(a, "/dev/tcp/", 9) || !strncmp(a, "/dev/udp/", 9) || !strncmp(a, "/proc/", 6) || !strncmp(a, "/n/", 3)))
|
/ast/src/cmd/tests/sfio/ |
H A D | tstkpk.c | 45 if(strncmp(s,"ab",2) != 0) 53 if(strncmp(s,"abcd",4) != 0) 58 if(strncmp(s,"1234567890",10) != 0)
|
H A D | tungetc.c | 41 if(strncmp(s,str,10) != 0) 46 if(strncmp(s,alpha,strlen(alpha)) != 0) 58 if(strncmp(s,alpha,strlen(alpha)) != 0)
|
H A D | tscanf1.c | 61 if(strncmp("ten",s,3) != 0 || i != 10 || d != 10) 75 if(strncmp("ten",s,3) != 0 || i != 10 || d != 10)
|
H A D | tpopen.c | 55 if(strncmp(s,os,n) != 0)
|
H A D | treserve.c | 42 if(strncmp(s,"0123456789",10) != 0) 52 if(strncmp(s,"abcd",4) != 0) 62 if(strncmp(s,"efgh",4) != 0) 230 if(strncmp(s,"0123456789",10) != 0) 253 strncmp(s,"123456789",9) != 0) 272 if(strncmp(s,bigbuf,100) != 0) 279 if(strncmp(s,bigbuf+5,100) != 0) 287 if(strncmp(s,bigbuf,100) != 0)
|
/ast/src/lib/libtksh/tcl/ |
H A D | tclGet.c | 210 } else if ((c == 'y') && (strncmp(lowerCase, "yes", length) == 0)) { 212 } else if ((c == 'n') && (strncmp(lowerCase, "no", length) == 0)) { 214 } else if ((c == 't') && (strncmp(lowerCase, "true", length) == 0)) { 216 } else if ((c == 'f') && (strncmp(lowerCase, "false", length) == 0)) { 219 if (strncmp(lowerCase, "on", length) == 0) { 221 } else if (strncmp(lowerCase, "off", length) == 0) {
|
H A D | tclCmdAH.c | 607 if ((c == 'd') && (strncmp(argv[1], "dirname", length) == 0)) { 658 } else if ((c == 't') && (strncmp(argv[1], "tail", length) == 0) 701 } else if ((c == 'r') && (strncmp(argv[1], "rootname", length) == 0) 718 } else if ((c == 'e') && (strncmp(argv[1], "extension", length) == 0) 730 } else if ((c == 'p') && (strncmp(argv[1], "pathtype", length) == 0)) { 747 } else if ((c == 's') && (strncmp(argv[1], "split", length) == 0) 763 } else if ((c == 'j') && (strncmp(argv[1], "join", length) == 0)) { 779 if ((c == 'r') && (strncmp(argv[1], "readable", length) == 0) 793 } else if ((c == 'w') && (strncmp(argv[1], "writable", length) == 0)) { 800 } else if ((c == 'e') && (strncmp(arg [all...] |
H A D | tclPkg.c | 318 if ((c == 'f') && (strncmp(argv[1], "forget", length) == 0)) { 338 } else if ((c == 'i') && (strncmp(argv[1], "ifneeded", length) == 0)) { 385 } else if ((c == 'n') && (strncmp(argv[1], "names", length) == 0)) { 399 } else if ((c == 'p') && (strncmp(argv[1], "provide", length) == 0)) { 419 } else if ((c == 'r') && (strncmp(argv[1], "require", length) == 0)) { 445 } else if ((c == 'u') && (strncmp(argv[1], "unknown", length) == 0)) { 466 } else if ((c == 'v') && (strncmp(argv[1], "vcompare", length) == 0) 479 } else if ((c == 'v') && (strncmp(argv[1], "versions", length) == 0) 494 } else if ((c == 'v') && (strncmp(argv[1], "vsatisfies", length) == 0)
|
H A D | tclCmdIL.c | 311 if ((*argv[2] == 'e') && (strncmp(argv[2], "end", strlen(argv[2])) == 0)) { 384 if ((*argv[2] == 'e') && (strncmp(argv[2], "end", strlen(argv[2])) == 0)) { 554 if ((*argv[2] == 'e') && (strncmp(argv[2], "end", strlen(argv[2])) == 0)) { 566 if ((*argv[3] == 'e') && (strncmp(argv[3], "end", strlen(argv[3])) == 0)) { 660 if ((*argv[2] == 'e') && (strncmp(argv[2], "end", strlen(argv[2])) == 0)) { 672 if ((*argv[3] == 'e') && (strncmp(argv[3], "end", strlen(argv[3])) == 0)) { 904 if ((c == 'a') && (strncmp(argv[i], "-ascii", length) == 0)) { 906 } else if ((c == 'c') && (strncmp(argv[i], "-command", length) == 0)) { 917 && (strncmp(argv[i], "-decreasing", length) == 0)) { 920 && (strncmp(arg [all...] |
/ast/src/cmd/dsslib/ip_t/ |
H A D | ivmeth.c | 50 if (!strncmp(methods[i].name, name, 4))
|
/ast/src/lib/libtk/generic/ |
H A D | tkCmds.c | 70 if ((length < 2) || (strncmp(argv[1], "-displayof", length) != 0)) { 577 if ((c == 'a') && (strncmp(argv[1], "appname", length) == 0)) { 634 if ((c == 'v') && (strncmp(argv[1], "variable", length) == 0) 648 } else if ((c == 'v') && (strncmp(argv[1], "visibility", length) == 0) 676 } else if ((c == 'w') && (strncmp(argv[1], "window", length) == 0)) { 785 if (strncmp(argv[1], "idletasks", strlen(argv[1])) != 0) { 893 } else if ((c == 'a') && (strncmp(argv[1], "atomname", length) == 0) 922 } else if ((c == 'c') && (strncmp(argv[1], "cells", length) == 0) 926 } else if ((c == 'c') && (strncmp(argv[1], "children", length) == 0) 933 } else if ((c == 'c') && (strncmp(arg [all...] |
H A D | tkGet.c | 96 if (strncmp(string, "center", strlen(string)) == 0) { 181 if ((c == 'b') && (strncmp(string, "bevel", length) == 0)) { 185 if ((c == 'm') && (strncmp(string, "miter", length) == 0)) { 189 if ((c == 'r') && (strncmp(string, "round", length) == 0)) { 265 if ((c == 'b') && (strncmp(string, "butt", length) == 0)) { 269 if ((c == 'p') && (strncmp(string, "projecting", length) == 0)) { 273 if ((c == 'r') && (strncmp(string, "round", length) == 0)) { 349 if ((c == 'l') && (strncmp(string, "left", length) == 0)) { 353 if ((c == 'r') && (strncmp(string, "right", length) == 0)) { 357 if ((c == 'c') && (strncmp(strin [all...] |
H A D | tkUtil.c | 110 if ((c == 'm') && (strncmp(argv[2], "moveto", length) == 0)) { 122 && (strncmp(argv[2], "scroll", length) == 0)) { 134 if ((c == 'p') && (strncmp(argv[4], "pages", length) == 0)) { 137 && (strncmp(argv[4], "units", length) == 0)) {
|
H A D | tkTextIndex.c | 249 if ((p[1] == 'f') && (strncmp(p+1, "first", 5) == 0)) { 252 } else if ((p[1] == 'l') && (strncmp(p+1, "last", 4) == 0)) { 320 if ((*p == 'e') && (strncmp(p, "end", 3) == 0)) { 354 && (strncmp(string, "end", (size_t) (endOfBase-string)) == 0)) { 551 if ((*units == 'c') && (strncmp(units, "chars", length) == 0)) { 557 } else if ((*units == 'l') && (strncmp(units, "lines", length) == 0)) { 760 if ((*string == 'l') && (strncmp(string, "lineend", length) == 0) 768 } else if ((*string == 'l') && (strncmp(string, "linestart", length) == 0) 771 } else if ((*string == 'w') && (strncmp(string, "wordend", length) == 0) 799 } else if ((*string == 'w') && (strncmp(strin [all...] |
H A D | tkText.c | 376 if ((c == 'b') && (strncmp(argv[1], "bbox", length) == 0)) { 392 } else if ((c == 'c') && (strncmp(argv[1], "cget", length) == 0) 403 } else if ((c == 'c') && (strncmp(argv[1], "compare", length) == 0) 449 } else if ((c == 'c') && (strncmp(argv[1], "configure", length) == 0) 461 } else if ((c == 'd') && (strncmp(argv[1], "debug", length) == 0) 478 } else if ((c == 'd') && (strncmp(argv[1], "delete", length) == 0) 490 } else if ((c == 'd') && (strncmp(argv[1], "dlineinfo", length) == 0) 509 } else if ((c == 'g') && (strncmp(argv[1], "get", length) == 0)) { 557 } else if ((c == 'i') && (strncmp(argv[1], "index", length) == 0) 571 } else if ((c == 'i') && (strncmp(arg [all...] |
H A D | tkClipboard.c | 452 if ((c == 'a') && (strncmp(argv[1], "append", length) == 0)) { 468 if ((c == 'd') && (strncmp(args[0], "-displayof", length) == 0)) { 471 && (strncmp(args[0], "-format", length) == 0)) { 474 && (strncmp(args[0], "-type", length) == 0)) { 504 } else if ((c == 'c') && (strncmp(argv[1], "clear", length) == 0)) { 516 if ((c == 'd') && (strncmp(args[0], "-displayof", length) == 0)) {
|
H A D | tkConsole.c | 424 if ((c == 't') && (strncmp(argv[1], "title", length)) == 0) { 434 } else if ((c == 'h') && (strncmp(argv[1], "hide", length)) == 0) { 436 } else if ((c == 's') && (strncmp(argv[1], "show", length)) == 0) { 438 } else if ((c == 'e') && (strncmp(argv[1], "eval", length)) == 0) { 492 if ((c == 'e') && (strncmp(argv[1], "eval", length)) == 0) { 495 } else if ((c == 'r') && (strncmp(argv[1], "record", length)) == 0) {
|
/ast/src/lib/libcs/ |
H A D | csping.c | 41 n = (cswrite(state, fd, M, N) != N || csread(state, fd, state->temp, N, CS_LINE) != N || strncmp(M, state->temp, N)) ? -1 : 0;
|
/ast/src/lib/libtksh/src/ |
H A D | commands.c | 184 if ((c == 'm') && (strncmp(argv[1], "mode", length)) == 0) 197 else if ((c == 's') && (strncmp(argv[1], "sideeffects", length)) == 0) 209 else if ((c == 'l') && (strncmp(argv[1], "listmode", length)) == 0) 320 if ((c == 'a') && (strncmp(argv[1], "args", length)) == 0) { 338 } else if ((c == 'b') && (strncmp(argv[1], "body", length)) == 0) { 350 } else if ((c == 'c') && (strncmp(argv[1], "cmdcount", length) == 0) 359 } else if ((c == 'c') && (strncmp(argv[1], "commands", length) == 0) 380 } else if ((c == 'c') && (strncmp(argv[1], "complete", length) == 0) 393 } else if ((c == 'd') && (strncmp(argv[1], "default", length)) == 0) { 432 } else if ((c == 'e') && (strncmp(arg [all...] |
H A D | filecmd.c | 68 if ((c == 'd') && (strncmp(argv[1], "dirname", length) == 0)) { 88 } else if ((c == 'r') && (strncmp(argv[1], "rootname", length) == 0) 106 } else if ((c == 'e') && (strncmp(argv[1], "extension", length) == 0) 120 } else if ((c == 't') && (strncmp(argv[1], "tail", length) == 0) 144 if ((c == 'r') && (strncmp(argv[1], "readable", length) == 0) 158 } else if ((c == 'w') && (strncmp(argv[1], "writable", length) == 0)) { 165 } else if ((c == 'e') && (strncmp(argv[1], "executable", length) == 0) 173 } else if ((c == 'e') && (strncmp(argv[1], "exists", length) == 0) 187 if ((c == 'a') && (strncmp(argv[1], "atime", length) == 0)) { 197 } else if ((c == 'i') && (strncmp(arg [all...] |
/ast/src/lib/libast/string/ |
H A D | strnacmp.c | 25 * ccmapc(c, CC_NATIVE, CC_ASCII) and strncmp 43 return strncmp(a, b, n);
|
/ast/src/cmd/cs/vcs_src/ |
H A D | mnt_vcs.c | 116 else if ((strcmp(cmd, "connect") == 0) || (strncmp(cmd, "version", 4) == 0)) 162 if (strncmp(reply, "I ", 2) == 0) 177 if( !strncmp( buf, "I 0 ok 0 ", 9 ) &&
|
H A D | mnt_umount.c | 74 if (strncmp(reply, "I 0 ok 0", 8) == 0)
|
/ast/src/lib/libast/path/ |
H A D | pathsetlink.c | 47 if (*s++ == univ_cond[0] && !strncmp(s - 1, univ_cond, univ_size))
|