Searched refs:strcmp (Results 1 - 25 of 218) sorted by relevance

123456789

/ast/src/lib/libast/misc/
H A Dstate.c28 #undef strcmp macro
35 strcmp, /* collate */
/ast/src/cmd/tests/sfio/
H A Dtmultiple.c31 { if(strcmp(argv[1],"-r") == 0) /* doing sfgetr */
32 { if(!(s = sfgetr(sfstdin,'\n',1)) || strcmp(s,"Line2") != 0)
34 if(!(s = sfgetr(sfstdin,'\n',1)) || strcmp(s,"Line3") != 0)
44 if(!(s = sfgetr(f,'\n',1)) || strcmp(s,"Line2") != 0)
46 if(!(s = sfgetr(f,'\n',1)) || strcmp(s,"Line3") != 0)
64 if(!(s = sfgetr(sfstdin,'\n',1)) || strcmp(s,"Line1") != 0)
69 if(!(s = sfgetr(sfstdin,'\n',1)) || strcmp(s,"Line4") != 0)
75 if(!(s = sfgetr(sfstdin,'\n',1)) || strcmp(s,"Line1") != 0)
80 if(!(s = sfgetr(sfstdin,'\n',1)) || strcmp(s,"Line4") != 0)
87 if(!(s = sfgetr(sfstdin,'\n',1)) || strcmp(
[all...]
H A Dtwc.c48 if (strcmp(tst, str))
53 if (strcmp(tst, str))
63 if (strcmp(tst, str))
73 if (strcmp(tst, str))
81 if (strcmp(tst, str))
87 if (strcmp(tst, str))
93 if (strcmp(tst, buf))
97 if (strcmp(tst, buf))
107 if (strcmp(tst, str))
117 if (strcmp(ts
[all...]
H A Dtwchar.c48 if (strcmp(tst, str))
53 if (strcmp(tst, str))
62 if (strcmp(tst, str))
72 if (strcmp(tst, str))
79 if (strcmp(tst, str))
85 if (strcmp(tst, str))
91 if (strcmp(tst, buf))
95 if (strcmp(tst, buf))
104 if (strcmp(tst, str))
114 if (strcmp(ts
[all...]
H A Dtprintf.c263 if(strcmp(s,buf2) != 0)
268 if(strcmp(buf1,buf2) != 0)
273 if(strcmp(buf1,buf2) != 0)
283 if(strcmp(buf1,buf2) != 0)
289 if(strcmp(buf1," 0.01") != 0)
299 if(strcmp(buf1,buf2) != 0)
306 if(strcmp(buf1,buf2) != 0)
312 if(strcmp(buf1,buf2) != 0)
319 if(strcmp(buf1,buf2) != 0)
327 if(strcmp(buf
[all...]
H A Dtgetr.c29 if(!(s = sfgetr(f,'\n',SF_STRING|SF_LOCKR)) || strcmp(s,"111") != 0)
36 if(!(s = sfgetr(f,'\n',SF_STRING)) || strcmp(s,"222") != 0)
47 if(!(s = sfgetr(f,'\n',1)) || strcmp(s,"111") != 0)
50 if(!(s = sfgetr(f,'\n',SF_STRING|SF_LOCKR)) || strcmp(s,"222") != 0)
59 if(!(s = sfgetr(f,0,-1)) || strcmp(s,"333") != 0)
H A Dtlocale.c50 if(strcmp(buf, cmp) != 0)
62 if(strcmp(buf, "1000.10") != 0)
H A Dtpkrd.c62 if(!(s = sfgetr(sfstdin,'\n',1)) || strcmp(s,"01234") != 0)
68 if(!(s = sfgetr(sfstdin,'\n',1)) || strcmp(s,"56789") != 0)
H A Dtlongdouble.c45 if(strcmp(s,str) != 0)
H A Dtappend.c52 if(strcmp(s,"012345678") != 0)
67 if(strcmp(s,"abcdefghi") != 0)
72 if(strcmp(s,"012345678") != 0)
H A Dtpopenrw.c52 if(strcmp(s,buf) != 0)
69 if(strcmp(s,"456789") != 0)
74 if(strcmp(s,"aaa") != 0)
H A Dtsfstr.c35 if(strcmp(s,"abcd") != 0)
40 if(strcmp(s,"0123456789") != 0)
48 if(strcmp(sfstrbase(fp),"0123456789") != 0)
H A Dtpublic.c46 if(!(s = sfgetr(f,'\n',1)) || strcmp(s,"1111") != 0)
49 if(!(s = sfgetr(g,'\n',1)) || strcmp(s,"2222") != 0)
52 if(!(s = sfgetr(f,'\n',1)) || strcmp(s,"3333") != 0)
55 if(!(s = sfgetr(g,'\n',1)) || strcmp(s,"4444") != 0)
73 if(!(s = sfgetr(g,'\n',1)) || strcmp(s,"2222") != 0)
79 if(!(s = sfgetr(g,'\n',1)) || strcmp(s,"4444") != 0)
H A Dtungetc.c81 if(!(s = sfgetr(f,'\n',1)) || strcmp(s,"ab") != 0)
83 if(!(s = sfgetr(f,'\n',1)) || strcmp(s,"cd") != 0)
85 if(!(s = sfgetr(f,'\n',1)) || strcmp(s,"0123456789") != 0)
H A Dtfmt.c55 if(strcmp(buf1,buf2) != 0)
H A Dtswap.c39 if(strcmp(s,"0123456789") != 0)
/ast/src/cmd/cs/vcs_src/
H A Dmnt_vcs.c76 if (strcmp(s, "cs") == 0)
78 else if (strcmp(s, "version") == 0)
80 else if (strcmp(s, "kill") == 0)
82 else if (strcmp(s, "connect") == 0)
84 else if (strcmp(s, "log") == 0)
108 if(strcmp(cmd, "kill") == 0)
116 else if ((strcmp(cmd, "connect") == 0) || (strncmp(cmd, "version", 4) == 0))
133 else if (strcmp(cmd, "log") == 0)
137 else if (strcmp(cmd, "cs") == 0)
/ast/src/cmd/tksh/
H A Duinit.c55 if ((len >= 4) && (strcmp(end-4, "tksh") == 0))
58 else if ((len >= 6) && (strcmp(end-6, "tclksh") == 0))
68 if ((len >= 6) && (strcmp(end-6, "tclksh") == 0))
/ast/src/lib/libast/string/
H A Dstrlook.c47 if (*s == c && !strcmp(s, name))
H A Dstracmp.c25 * ccmapchr(ccmap(CC_NATIVE,CC_ASCII),c) and strcmp
49 return strcmp(aa, ab);
/ast/src/lib/libtk/generic/
H A DtkTest.c422 if (strcmp(eiPtr->name, argv[2]) == 0) {
446 if (strcmp(field, "-above") == 0) {
452 } else if (strcmp(field, "-borderwidth") == 0) {
457 } else if (strcmp(field, "-button") == 0) {
462 } else if (strcmp(field, "-count") == 0) {
471 } else if (strcmp(field, "-detail") == 0) {
473 if (strcmp(value, "NotifyAncestor") == 0) {
475 } else if (strcmp(value, "NotifyVirtual") == 0) {
477 } else if (strcmp(value, "NotifyInferior") == 0) {
479 } else if (strcmp(valu
[all...]
/ast/src/cmd/tests/cdt/
H A Dtstringset.c22 #define strcmp(a,b) teststrcmp(a,b) macro
25 int strcmp(const char* s1, const char* s2) function
88 if(strcmp(ks,Key[i]) == 0)
99 if(strcmp(ks,tmp) == 0)
110 if(strcmp(ks,tmp) == 0)
/ast/src/cmd/vczip/tests/
H A Dtvcsum.c51 if(strcmp((char*)Md5[k].sum, (char*)hex) != 0)
/ast/src/lib/libjcl/
H A Dlib.c130 if (!strcmp(s, "CENT"))
134 if (!strcmp(s, "DATE"))
136 else if (!strcmp(s, "DAY"))
140 if (!strcmp(s, "MONTH"))
144 if (!strcmp(s, "WDAY"))
146 else if (!strcmp(s, "WEEK"))
150 if (!strcmp(s, "YEAR"))
171 if (!strcmp(b, "RN"))
175 if (!strcmp(b, "TIME"))
/ast/src/cmd/tests/
H A Dip6.c54 if (r || all || strcmp(s, f))

Completed in 41 milliseconds

123456789