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

1234567891011>>

/macosx-10.9.5/Heimdal-323.92.1/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.9.5/curl-78.94.1/curl/tests/unit/
H A Dunit1304.c62 fail_unless(strncmp(login, "me", 2) == 0, "login should not have been changed");
71 fail_unless(strncmp(login, "me", 2) == 0, "login should not have been changed");
81 fail_unless(strncmp(login, "admi", 4) == 0, "login should not have been changed");
91 fail_unless(strncmp(login, "adminn", 6) == 0, "login should not have been changed");
100 fail_unless(strncmp(password, "passwd", 6) == 0,
102 fail_unless(strncmp(login, "admin", 5) == 0, "login should be 'admin'");
111 fail_unless(strncmp(password, "passwd", 6) == 0,
113 fail_unless(strncmp(login, "admin", 5) == 0, "login should be 'admin'");
123 fail_unless(strncmp(password, "none", 4) == 0,
125 fail_unless(strncmp(logi
[all...]
/macosx-10.9.5/tcl-102/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.9.5/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.9.5/ksh-20/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.9.5/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.9.5/cups-372.4/cups/man/
H A Dmantohtml.c139 if (!strncmp(line, ".TH ", 4) && section < 0)
157 else if (!strncmp(line, ".SH ", 4) || !strncmp(line, ".SS ", 4))
225 else if (!strncmp(line, ".LP", 3) || !strncmp(line, ".PP", 3))
253 else if (!strncmp(line, ".TP ", 4))
278 else if (!strncmp(line, ".br", 3))
294 else if (!strncmp(line, ".de ", 4))
304 if (!strncmp(line, "..", 2))
308 else if (!strncmp(lin
[all...]
/macosx-10.9.5/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.9.5/curl-78.94.1/curl/tests/libtest/
H A Dchkhostname.c42 if(strncmp(buff, argv[1], HOSTNAME_MAX)) {
/macosx-10.9.5/dyld-239.4/unit-tests/test-cases/branch-islands/
H A Dmain.c19 if ( strncmp(str, "he", 2) != 0 )
20 FAIL("branch-islands: strncmp stub");
/macosx-10.9.5/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.9.5/cups-372.4/cups/scheduler/
H A Dstatbuf.c206 if (!strncmp(sb->buffer, "EMERG:", 6))
211 else if (!strncmp(sb->buffer, "ALERT:", 6))
216 else if (!strncmp(sb->buffer, "CRIT:", 5))
221 else if (!strncmp(sb->buffer, "ERROR:", 6))
226 else if (!strncmp(sb->buffer, "WARNING:", 8))
231 else if (!strncmp(sb->buffer, "NOTICE:", 7))
236 else if (!strncmp(sb->buffer, "INFO:", 5))
241 else if (!strncmp(sb->buffer, "DEBUG:", 6))
246 else if (!strncmp(sb->buffer, "DEBUG2:", 7))
251 else if (!strncmp(s
[all...]
/macosx-10.9.5/cctools-845/libstuff/
H A Dlto.c201 if(strncmp(target_triple, "i686", n) == 0 ||
202 strncmp(target_triple, "i386", n) == 0){
206 else if(strncmp(target_triple, "x86_64", n) == 0){
210 else if(strncmp(target_triple, "powerpc", n) == 0){
214 else if(strncmp(target_triple, "powerpc64", n) == 0){
218 else if(strncmp(target_triple, "arm", n) == 0){
222 else if(strncmp(target_triple, "armv5", n) == 0 ||
223 strncmp(target_triple, "armv5e", n) == 0 ||
224 strncmp(target_triple, "thumbv5", n) == 0 ||
225 strncmp(target_tripl
[all...]
/macosx-10.9.5/vim-53/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.9.5/cups-372.4/cups/cups/
H A Dlocalize.c305 if (!strncmp(reason, "media-needed", 12))
307 else if (!strncmp(reason, "media-jam", 9))
309 else if (!strncmp(reason, "offline", 7) ||
310 !strncmp(reason, "shutdown", 8))
312 else if (!strncmp(reason, "toner-low", 9))
314 else if (!strncmp(reason, "toner-empty", 11))
316 else if (!strncmp(reason, "cover-open", 10))
318 else if (!strncmp(reason, "interlock-open", 14))
320 else if (!strncmp(reason, "door-open", 9))
322 else if (!strncmp(reaso
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/gssapi/krb5/
H A Dtest_oid.c46 ret = strncmp(data.value, "1 2 840 113554 1 2 2", data.length);
/macosx-10.9.5/Libc-997.90.3/string/FreeBSD/
H A Dstrstr.c57 } while (strncmp(s, find, len) != 0);
/macosx-10.9.5/cups-372.4/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.9.5/libiconv-41/libiconv/srclib/
H A Dprogname.c50 if (strncmp (base, "lt-", 3) == 0)
/macosx-10.9.5/ntp-88/libntp/
H A Dstrstr.c46 if(strncmp(a, b, blen) == 0) return a;
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-core/Modules/objc/
H A Dfsref.h8 (strncmp(typestr, @encode(FSRef), sizeof(@encode(FSRef))-1) == 0)
H A Dfsspec.h8 (strncmp(typestr, @encode(FSSpec), sizeof(@encode(FSSpec))-1) == 0)
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-core/Modules/objc/
H A Dfsref.h8 (strncmp(typestr, @encode(FSRef), sizeof(@encode(FSRef))-1) == 0)
H A Dfsspec.h8 (strncmp(typestr, @encode(FSSpec), sizeof(@encode(FSSpec))-1) == 0)

Completed in 325 milliseconds

1234567891011>>