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

1234567891011>>

/external/e2fsprogs/misc/
H A Dbase_device.c54 if (strncmp(cp, "/dev/", 5) != 0)
59 if (strncmp(cp, "dsk/", 4) == 0)
72 if (strncmp(cp, "rd/", 3) == 0) {
96 if (strncmp(cp, "ide/", 4) == 0)
98 if (strncmp(cp, "scsi/", 5) == 0)
110 if (strncmp(cp, *hier, len) != 0)
126 if (strncmp(cp, "discs/", 6) == 0)
128 else if (strncmp(cp, "disks/", 6) == 0)
132 if (strncmp(cp, disk, 4) != 0)
/external/openssl/crypto/engine/
H A Deng_fat.c106 if (!strncmp(alg, "ALL", len))
108 else if (!strncmp(alg, "RSA", len))
110 else if (!strncmp(alg, "DSA", len))
112 else if (!strncmp(alg, "ECDH", len))
114 else if (!strncmp(alg, "ECDSA", len))
116 else if (!strncmp(alg, "DH", len))
118 else if (!strncmp(alg, "RAND", len))
120 else if (!strncmp(alg, "CIPHERS", len))
122 else if (!strncmp(alg, "DIGESTS", len))
124 else if (!strncmp(al
[all...]
/external/skia/src/svg/
H A DSkSVGImage.cpp45 SkASSERT(strncmp(data, "data:image/", 11) == 0);
47 SkASSERT(strncmp(data, "png;", 4) == 0 || strncmp(data, "jpeg;", 5) == 0);
49 SkASSERT(strncmp(data, ";base64,", 8) == 0);
/external/skia/src/ports/
H A DFontHostConfiguration_android.cpp82 if (strncmp(tag, "family", len)== 0) {
96 } else if (len == 7 && strncmp(tag, "nameset", len)== 0) {
98 } else if (len == 7 && strncmp(tag, "fileset", len) == 0) {
100 } else if ((strncmp(tag, "name", len) == 0 && familyData->currentTag == NAMESET_TAG) ||
101 (strncmp(tag, "file", len) == 0 && familyData->currentTag == FILESET_TAG)) {
113 if (strncmp(tag, "family", len)== 0) {
117 } else if (len == 7 && strncmp(tag, "nameset", len)== 0) {
119 } else if (len == 7 && strncmp(tag, "fileset", len)== 0) {
121 } else if ((strncmp(tag, "name", len) == 0 && familyData->currentTag == NAMESET_TAG) ||
122 (strncmp(ta
[all...]
/external/libpcap/
H A Dpcap-snoop.c243 if (strncmp("et", device, 2) == 0 || /* Challenge 10 Mbit */
244 strncmp("ec", device, 2) == 0 || /* Indigo/Indy 10 Mbit,
246 strncmp("ef", device, 2) == 0 || /* O200/2000 10/100 Mbit */
247 strncmp("eg", device, 2) == 0 || /* Octane/O2xxx/O3xxx Gigabit */
248 strncmp("gfe", device, 3) == 0 || /* GIO 100 Mbit */
249 strncmp("fxp", device, 3) == 0 || /* Challenge VME Enet */
250 strncmp("ep", device, 2) == 0 || /* Challenge 8x10 Mbit EPLEX */
251 strncmp("vfe", device, 3) == 0 || /* Challenge VME 100Mbit */
252 strncmp("fa", device, 2) == 0 ||
253 strncmp("qa
[all...]
/external/dropbear/
H A Dcli-service.c61 && strncmp(SSH_SERVICE_USERAUTH, servicename, len) == 0) {
72 && strncmp(SSH_SERVICE_CONNECTION, servicename, len) == 0) {
H A Dsvr-service.c48 strncmp(SSH_SERVICE_USERAUTH, name, len) == 0) {
58 (strncmp(SSH_SERVICE_CONNECTION, name, len) == 0)) {
H A Dsvr-auth.c117 && (strncmp(servicename, SSH_SERVICE_CONNECTION,
129 strncmp(methodname, AUTH_METHOD_NONE,
149 strncmp(methodname, AUTH_METHOD_PASSWORD,
162 strncmp(methodname, AUTH_METHOD_PASSWORD,
173 strncmp(methodname, AUTH_METHOD_PUBKEY,
/external/stlport/test/unit/cppunit/
H A Dtest_main.cpp84 if (!strncmp(argv[i], "-t=", 3)) {
88 else if (!strncmp(argv[i], "-f=", 3)) {
92 else if (!strncmp(argv[i], "-x=", 3)) {
96 else if (Timer::supported() && !strncmp(argv[i], "-m", 2)) {
/external/chromium/googleurl/src/
H A Durl_canon_stdurl.cc126 if (!strncmp(scheme, "http", scheme_len))
130 if (!strncmp(scheme, "https", scheme_len))
134 if (!strncmp(scheme, "ftp", scheme_len))
136 else if (!strncmp(scheme, "wss", scheme_len))
140 if (!strncmp(scheme, "gopher", scheme_len))
144 if (!strncmp(scheme, "ws", scheme_len))
/external/clang/test/Preprocessor/
H A Dc99-6_10_3_4_p6.c15 fputs(str(strncmp("abc\0d" "abc", '\4') // this goes away
23 // CHECK: fputs("strncmp(\"abc\\0d\" \"abc\", '\\4') == 0" ": @\n", s);
/external/libvpx/vpx_ports/
H A Dx86_cpuid.c48 if (strncmp ((const char *)vs, cpuid_vendor_list[i].vendor_string, 12) == 0)
/external/bluetooth/glib/gmodule/
H A Dgmodule-dl.c160 if (strncmp (module_name, "lib", 3) == 0)
164 } else if (strncmp (module_name, "lib", 3) == 0)
H A Dgmodule-dld.c155 if (strncmp (module_name, "lib", 3) == 0)
159 else if (strncmp (module_name, "lib", 3) == 0)
H A Dgmodule-ar.c66 if (strncmp(file_header.fl_magic, AIAMAGBIG, SAIAMAG) != 0)
179 if (strncmp (module_name, "lib", 3) == 0)
183 } else if (strncmp (module_name, "lib", 3) == 0)
H A Dgmodule-dyld.c145 if (strncmp (module_name, "lib", 3) == 0)
150 else if (strncmp (module_name, "lib", 3) == 0)
H A Dgmodule-win32.c253 else if (strncmp (module_name, "lib", 3) == 0 || strncmp (module_name, "cyg", 3) == 0)
258 else if (strncmp (module_name, "lib", 3) == 0)
266 else if (strncmp (module_name, "lib", 3) == 0 || strncmp (module_name, "cyg", 3) == 0)
271 else if (strncmp (module_name, "lib", 3) == 0)
/external/clang/test/Analysis/
H A Dstring.c791 // strncmp()
794 #define strncmp BUILTIN(strncmp) macro
795 int strncmp(const char *s1, const char *s2, size_t n);
798 if (strncmp("123", "123", 3) != 0)
804 if (strncmp(x, "123", 3) != 0)
810 if (strncmp("123", x, 3) != 0)
817 if (strncmp(x, y, 3) != 0)
824 if (strncmp(x, y, 3) != 1)
831 if (strncmp(
[all...]
/external/iptables/extensions/
H A Dlibxt_set.h105 if (strncmp(ptr, "src", 3) == 0)
107 else if (strncmp(ptr, "dst", 3) == 0)
131 if (strncmp(ptr, "src", 3) == 0)
133 else if (strncmp(ptr, "dst", 3) != 0)
/external/kernel-headers/original/asm-arm/arch/
H A Dmemory.h62 * because of the strncmp().
73 #define is_lbus_device(dev) (cpu_is_omap1510() && dev && (strncmp(dev->bus_id, "ohci", 4) == 0))
/external/ppp/pppd/plugins/radius/
H A Dutil.c40 if (strncmp (months[i], valstr, 3) == 0)
/external/tcpdump/
H A Dprint-beep.c48 return (strncmp(tstr1, str2, tl1) == 0 ? 1 : 0);
/external/dbus/tools/
H A Ddbus-uuidgen.c101 if (strncmp (arg, "--ensure", strlen("--ensure")) == 0)
106 else if (strncmp (arg, "--get", strlen("--get")) == 0)
/external/valgrind/main/none/tests/
H A Dprocfs-cmdline-exe.c59 if (strncmp(buf, cwd, strlen(cwd)) == 0)
79 if (strncmp(buf, cwd, strlen(cwd)) == 0)
/external/oprofile/daemon/liblegacy/
H A Dopd_kernel.c185 if (strncmp("__insmod_", line + 9, 9)) {
192 while ((*cp2) && !!strncmp("_S", cp2+1, 2) && !!strncmp("_O", cp2+1, 2))
216 while ((*cp3) && !!strncmp("_M", cp3+1, 2))
237 if (strncmp(".text_L", cp2, 7)) {

Completed in 1767 milliseconds

1234567891011>>