Searched refs:strncmp (Results 1 - 25 of 554) 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.cpp37 SkASSERT(strncmp(data, "data:image/", 11) == 0);
39 SkASSERT(strncmp(data, "png;", 4) == 0 || strncmp(data, "jpeg;", 5) == 0);
41 SkASSERT(strncmp(data, ";base64,", 8) == 0);
/external/libmtp/examples/
H A Dconnect.c94 if ((strncmp(basename(argv[0]),"mtp-delfile",11) == 0) || (strncmp(basename(argv[0]),"delfile",7) == 0)) {
96 } else if ((strncmp(basename(argv[0]),"mtp-getfile",13) == 0) || (strncmp(basename(argv[0]),"getfile",9) == 0)) {
98 } else if ((strncmp(basename(argv[0]),"mtp-newfolder",13) == 0) || (strncmp(basename(argv[0]),"newfolder",9) == 0)) {
100 } else if ((strncmp(basename(argv[0]),"mtp-sendfile",11) == 0) || (strncmp(basename(argv[0]),"sendfile",7) == 0)) {
102 } else if ((strncmp(basename(argv[0]),"mtp-sendtr",10) == 0) || (strncmp(basenam
[all...]
H A Ddelfile.c67 if (strncmp(argv[1],"-f",2) == 0) {
70 } else if (strncmp(argv[1],"-n",2) == 0) {
/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/skia/src/ports/
H A DFontHostConfiguration_android.cpp96 if (strncmp(attributeName, "variant", nameLength) == 0) {
97 if (strncmp(attributeValue, "elegant", valueLength) == 0) {
99 } else if (strncmp(attributeValue, "compact", valueLength) == 0) {
102 } else if (strncmp(attributeName, "lang", nameLength) == 0) {
121 if (strncmp(tag, "family", len)== 0) {
135 } else if (len == 7 && strncmp(tag, "nameset", len) == 0) {
137 } else if (len == 7 && strncmp(tag, "fileset", len) == 0) {
139 } else if (strncmp(tag, "name", len) == 0 && familyData->currentTag == NAMESET_TAG) {
142 } else if (strncmp(tag, "file", len) == 0 && familyData->currentTag == FILESET_TAG) {
155 if (strncmp(ta
[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/llvm/lib/Target/
H A DTargetInstrInfo.cpp75 if (*Str == '\n' || strncmp(Str, MAI.getSeparatorString(),
82 if (atInsnStart && strncmp(Str, MAI.getCommentString(),
/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/linux-tools-perf/
H A Dbuiltin-kvm.c134 if (!strncmp(argv[0], "rec", 3))
136 else if (!strncmp(argv[0], "rep", 3))
138 else if (!strncmp(argv[0], "diff", 4))
140 else if (!strncmp(argv[0], "top", 3))
142 else if (!strncmp(argv[0], "buildid-list", 12))
H A Dbuiltin-list.c29 if (strncmp(argv[i], "tracepoint", 10) == 0)
/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/clang/test/Analysis/
H A Dstring.c771 // strncmp()
774 #define strncmp BUILTIN(strncmp) macro
775 int strncmp(const char *s1, const char *s2, size_t n);
778 clang_analyzer_eval(strncmp("123", "123", 3) == 0); // expected-warning{{TRUE}}
783 clang_analyzer_eval(strncmp(x, "123", 3) == 0); // expected-warning{{TRUE}}
788 clang_analyzer_eval(strncmp("123", x, 3) == 0); // expected-warning{{TRUE}}
794 clang_analyzer_eval(strncmp(x, y, 3) == 0); // expected-warning{{TRUE}}
800 clang_analyzer_eval(strncmp(x, y, 3) == 1); // expected-warning{{TRUE}}
806 clang_analyzer_eval(strncmp(
[all...]
/external/elfutils/libelf/
H A Delf-knowledge.h65 || (strncmp (name, ".gnu.warning.", sizeof ".gnu.warning." - 1) != 0 \
/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)

Completed in 576 milliseconds

1234567891011>>