Searched refs:strncmp (Results 1 - 25 of 1701) sorted by relevance

1234567891011>>

/macosx-10.10.1/Heimdal-398.1.2/appl/login/
H A Dtty.c47 if (strncmp (res, _PATH_DEV, strlen(_PATH_DEV)) == 0)
49 if (strncmp (res, "pty/", 4) == 0)
51 if (strncmp (res, "ptym/", 5) == 0)
65 if (strncmp (res, "pts/", 4) == 0)
67 if (strncmp (res, "tty", 3) == 0)
/macosx-10.10.1/tcl-105/tcl_ext/expect/expect/testsuite/
H A Dexp_test.c22 if (strncmp (line,"prompt ", 6) == 0) {
29 if (strncmp (line, "print ", 6) == 0) {
32 } while (strncmp (line, "quit", 4));
/macosx-10.10.1/cxxfilt-11/cxxfilt/libiberty/
H A Dstrstr.c26 extern int strncmp (const void *, const void *, size_t);
37 if (strncmp (p, s2, len) == 0)
H A Dstrncmp.c0 /* strncmp -- compare two strings, stop after n bytes.
6 @deftypefn Supplemental int strncmp (const char *@var{s1}, const char *@var{s2}, size_t @var{n})
19 strncmp(const char *s1, const char *s2, register size_t n) function
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/comp/
H A Dsymlink.c43 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)))
/macosx-10.10.1/cxxfilt-11/cxxfilt/cpu/
H A Dmt.opc161 else if (strncmp (*strp, "%hi16", 5) == 0)
166 else if (strncmp (*strp, "%lo16", 5) == 0)
262 if (strncmp (*strp, "dup", 3) == 0 || strncmp (*strp, "DUP", 3) == 0)
267 else if (strncmp (*strp, "xx", 2) == 0 || strncmp (*strp, "XX", 2) == 0)
287 if (strncmp (*strp, "all", 3) == 0 || strncmp (*strp, "ALL", 3) == 0)
292 else if (strncmp (*strp, "one", 3) == 0 || strncmp (*str
[all...]
/macosx-10.10.1/OpenSSL098-52/src/crypto/engine/
H A Deng_fat.c100 if (!strncmp(alg, "ALL", len))
102 else if (!strncmp(alg, "RSA", len))
104 else if (!strncmp(alg, "DSA", len))
106 else if (!strncmp(alg, "ECDH", len))
108 else if (!strncmp(alg, "ECDSA", len))
110 else if (!strncmp(alg, "DH", len))
112 else if (!strncmp(alg, "RAND", len))
114 else if (!strncmp(alg, "CIPHERS", len))
116 else if (!strncmp(alg, "DIGESTS", len))
/macosx-10.10.1/BerkeleyDB-21/db/clib/
H A Dstrncmp.c39 * strncmp --
42 * PUBLIC: int strncmp __P((const char *, const char *, size_t));
46 strncmp(s1, s2, n) function
/macosx-10.10.1/curl-83.1.2/curl/tests/libtest/
H A Dchkhostname.c42 if(strncmp(buff, argv[1], HOSTNAME_MAX)) {
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/branch-islands/
H A Dmain.c19 if ( strncmp(str, "he", 2) != 0 )
20 FAIL("branch-islands: strncmp stub");
/macosx-10.10.1/pdisk-9/
H A Dpathname.c29 // for strncmp()
82 if (strncmp("/dev/", path, 5) == 0) {
83 if (strncmp("/dev/scsi", path, 9) == 0) {
95 } else if (strncmp("/dev/ata", path, 8) == 0
96 || strncmp("/dev/ide", path, 8) == 0) {
108 } else if (strncmp("/dev/sd", path, 7) == 0) {
121 } else if (strncmp("/dev/scd", path, 8) == 0) {
127 } else if (strncmp("/dev/hd", path, 7) == 0) {
152 if (strncmp("/dev/", path, 5) == 0) {
153 if (strncmp("/de
[all...]
/macosx-10.10.1/IOKitUser-1050.1.21/platform.subproj/
H A DIOPlatformSupport.c146 if (!strncmp(model, "MacBookPro", 10) && (majorRev <=7))
148 if (!strncmp(model, "MacBookAir", 10) && (majorRev <=2))
150 if (!strncmp(model, "MacBook", 10))
152 if (!strncmp(model, "iMac", 10) && (majorRev <=11))
154 if (!strncmp(model, "Macmini", 10) && (majorRev <=3))
156 if (!strncmp(model, "MacPro", 10) && (majorRev <=5))
158 if (!strncmp(model, "Xserve", 10))
186 if (!strncmp(model, "MacBookPro", 10) && (majorRev < 5 ||
189 if (!strncmp(model, "MacBookAir", 10) && (majorRev <=2))
191 if (!strncmp(mode
[all...]
/macosx-10.10.1/cups-408/cups/scheduler/
H A Dstatbuf.c199 if (!strncmp(sb->buffer, "EMERG:", 6))
204 else if (!strncmp(sb->buffer, "ALERT:", 6))
209 else if (!strncmp(sb->buffer, "CRIT:", 5))
214 else if (!strncmp(sb->buffer, "ERROR:", 6))
219 else if (!strncmp(sb->buffer, "WARNING:", 8))
224 else if (!strncmp(sb->buffer, "NOTICE:", 7))
229 else if (!strncmp(sb->buffer, "INFO:", 5))
234 else if (!strncmp(sb->buffer, "DEBUG:", 6))
239 else if (!strncmp(sb->buffer, "DEBUG2:", 7))
244 else if (!strncmp(s
[all...]
/macosx-10.10.1/cups-408/cups/man/
H A Dmantohtml.c139 if (!strncmp(line, ".TH ", 4) && section < 0)
157 else if (!strncmp(line, ".SH ", 4) || !strncmp(line, ".SS ", 4))
215 else if (!strncmp(line, ".B ", 3))
232 else if (!strncmp(line, ".I ", 3))
249 else if (!strncmp(line, ".BI ", 4))
266 else if (!strncmp(line, ".BR ", 4))
283 else if (!strncmp(line, ".IB ", 4))
300 else if (!strncmp(line, ".IR ", 4))
317 else if (!strncmp(lin
[all...]
/macosx-10.10.1/curl-83.1.2/curl/tests/unit/
H A Dunit1304.c75 fail_unless(strncmp(login, "me", 2) == 0, "login should not have been changed");
88 fail_unless(strncmp(login, "me", 2) == 0, "login should not have been changed");
102 fail_unless(strncmp(login, "admi", 4) == 0, "login should not have been changed");
116 fail_unless(strncmp(login, "adminn", 6) == 0, "login should not have been changed");
128 fail_unless(strncmp(password, "passwd", 6) == 0,
131 fail_unless(strncmp(login, "admin", 5) == 0, "login should be 'admin'");
143 fail_unless(strncmp(password, "passwd", 6) == 0,
146 fail_unless(strncmp(login, "admin", 5) == 0, "login should be 'admin'");
161 fail_unless(strncmp(password, "none", 4) == 0,
164 fail_unless(strncmp(logi
[all...]
/macosx-10.10.1/vim-55/src/po/
H A Dsjiscorr.c21 if (strncmp(p, "charset=euc-jp", 14) == 0)
26 else if (strncmp(p, "ja.po - Japanese message file", 29) == 0)
/macosx-10.10.1/cups-408/cups/cups/
H A Dlocalize.c290 if (!strncmp(reason, "media-needed", 12))
292 else if (!strncmp(reason, "media-jam", 9))
294 else if (!strncmp(reason, "offline", 7) ||
295 !strncmp(reason, "shutdown", 8))
297 else if (!strncmp(reason, "toner-low", 9))
299 else if (!strncmp(reason, "toner-empty", 11))
301 else if (!strncmp(reason, "cover-open", 10))
303 else if (!strncmp(reason, "interlock-open", 14))
305 else if (!strncmp(reason, "door-open", 9))
307 else if (!strncmp(reaso
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/gssapi/krb5/
H A Dtest_oid.c46 ret = strncmp(data.value, "1 2 840 113554 1 2 2", data.length);
/macosx-10.10.1/Libc-1044.1.2/string/FreeBSD/
H A Dstrstr.c57 } while (strncmp(s, find, len) != 0);
/macosx-10.10.1/OpenSSH-189/
H A Dremote-login-status.c22 if ((argc == 2) && strncmp(argv[1], "-q", 3)) {
/macosx-10.10.1/cups-408/cups/systemv/
H A Dcupstestdsc.c186 if (strncmp(line, "%!PS-Adobe-", 11))
202 if (!strncmp(line, "%%BeginDocument:", 16))
204 else if (!strncmp(line, "%%EndDocument", 13))
209 if (!strncmp(line, "%%Pages:", 8))
225 else if (!strncmp(line, "%%BoundingBox:", 14))
244 if (!strncmp(line, "%%EndComments", 13))
248 else if (!strncmp(line, "%%Pages:", 8))
265 else if (!strncmp(line, "%%BoundingBox:", 14))
286 if (!strncmp(line, "%%EndProlog", 11))
291 if (!strncmp(lin
[all...]
/macosx-10.10.1/curl-83.1.2/curl/lib/
H A Ddotdot.c85 if(!strncmp("./", clone, 2)) {
89 else if(!strncmp("../", clone, 3)) {
97 else if(!strncmp("/./", clone, 3)) {
112 else if(!strncmp("/../", clone, 4)) {
/macosx-10.10.1/libiconv-42/libiconv/srclib/
H A Dprogname.c50 if (strncmp (base, "lt-", 3) == 0)
/macosx-10.10.1/ntp-92/libntp/
H A Dstrstr.c46 if(strncmp(a, b, blen) == 0) return a;
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-core/Modules/objc/
H A Dfsref.h8 (strncmp(typestr, @encode(FSRef), sizeof(@encode(FSRef))-1) == 0)

Completed in 221 milliseconds

1234567891011>>