Searched refs:strncmp (Results 1 - 25 of 855) 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/chromium_org/third_party/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/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/bison/lib/
H A Dprogname.c61 if (base - argv0 >= 7 && strncmp (base - 7, "/.libs/", 7) == 0)
64 if (strncmp (base, "lt-", 3) == 0)
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dprogram_parse_extra.c171 if (strncmp(option, "ARB_", 4) == 0) {
177 if (strncmp(option, "fog_", 4) == 0) {
194 } else if (strncmp(option, "precision_hint_", 15) == 0) {
219 } else if (strncmp(option, "fragment_coord_", 15) == 0) {
232 } else if (strncmp(option, "ATI_", 4) == 0) {
242 } else if (strncmp(option, "NV_fragment_program", 19) == 0) {
253 } else if (strncmp(option, "MESA_", 5) == 0) {
/external/mesa3d/src/mesa/program/
H A Dprogram_parse_extra.c171 if (strncmp(option, "ARB_", 4) == 0) {
177 if (strncmp(option, "fog_", 4) == 0) {
194 } else if (strncmp(option, "precision_hint_", 15) == 0) {
219 } else if (strncmp(option, "fragment_coord_", 15) == 0) {
232 } else if (strncmp(option, "ATI_", 4) == 0) {
242 } else if (strncmp(option, "NV_fragment_program", 19) == 0) {
253 } else if (strncmp(option, "MESA_", 5) == 0) {
/external/libpcap/
H A Dpcap-snoop.c246 if (strncmp("et", p->opt.source, 2) == 0 || /* Challenge 10 Mbit */
247 strncmp("ec", p->opt.source, 2) == 0 || /* Indigo/Indy 10 Mbit,
249 strncmp("ef", p->opt.source, 2) == 0 || /* O200/2000 10/100 Mbit */
250 strncmp("eg", p->opt.source, 2) == 0 || /* Octane/O2xxx/O3xxx Gigabit */
251 strncmp("gfe", p->opt.source, 3) == 0 || /* GIO 100 Mbit */
252 strncmp("fxp", p->opt.source, 3) == 0 || /* Challenge VME Enet */
253 strncmp("ep", p->opt.source, 2) == 0 || /* Challenge 8x10 Mbit EPLEX */
254 strncmp("vfe", p->opt.source, 3) == 0 || /* Challenge VME 100Mbit */
255 strncmp("fa", p->opt.source, 2) == 0 ||
256 strncmp("qa
[all...]
/external/skia/src/ports/
H A DSkFontConfigParser_android.cpp85 if (strncmp(attributeName, "variant", nameLength) == 0) {
86 if (strncmp(attributeValue, "elegant", valueLength) == 0) {
88 } else if (strncmp(attributeValue, "compact", valueLength) == 0) {
91 } else if (strncmp(attributeName, "lang", nameLength) == 0) {
109 if (strncmp(tag, "family", len)== 0) {
122 } else if (len == 7 && strncmp(tag, "nameset", len) == 0) {
124 } else if (len == 7 && strncmp(tag, "fileset", len) == 0) {
126 } else if (strncmp(tag, "name", len) == 0 && familyData->currentTag == NAMESET_TAG) {
129 } else if (strncmp(tag, "file", len) == 0 && familyData->currentTag == FILESET_TAG) {
142 if (strncmp(ta
[all...]
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontConfigParser_android.cpp103 if (nameLen == 4 && !strncmp("name", name, nameLen)) {
107 } else if (nameLen == 4 && !strncmp("lang", name, nameLen)) {
109 } else if (nameLen == 7 && !strncmp("variant", name, nameLen)) {
111 if (valueLen == 7 && !strncmp("elegant", value, valueLen)) {
113 } else if (valueLen == 7 && !strncmp("compact", value, valueLen)) {
134 if (nameLen == 6 && !strncmp("weight", name, nameLen)) {
149 if (!strncmp(candidate->fNames[j].c_str(), familyName, nameLen) &&
174 if (nameLen == 4 && !strncmp("name", name, nameLen)) {
177 } else if (nameLen == 2 && !strncmp("to", name, nameLen)) {
179 } else if (nameLen == 6 && !strncmp("weigh
[all...]
/external/libunwind/src/
H A Dos-linux.c66 if (strncmp ("/dev/", cur_map->path, 5) == 0
67 && strncmp ("ashmem/", cur_map->path + 5, 7) != 0)
/external/linux-tools-perf/perf-3.12.0/tools/perf/arch/
H A Dcommon.c113 if (!strcmp(arch, "sun4u") || !strncmp(arch, "sparc", 5))
119 if (!strncmp(arch, "arm", 3) || !strcmp(arch, "sa110"))
121 if (!strncmp(arch, "s390", 4))
123 if (!strncmp(arch, "parisc", 6))
125 if (!strncmp(arch, "powerpc", 7) || !strncmp(arch, "ppc", 3))
127 if (!strncmp(arch, "mips", 4))
129 if (!strncmp(arch, "sh", 2) && isdigit(arch[2]))
/external/libutf/
H A Dutfutf.c39 if(strncmp(p, s2, n2) == 0)
/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_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dgenmodule.c119 if (isam && strncmp(strp, "include", 7) == 0 && isspace(strp[7])) {
132 if (strncmp(strp, "YASM_MODULES", 12) != 0)
137 if (strncmp(strp, "+=", 2) != 0 && *strp != '=')
191 if (strncmp(str, "MODULES_", 8) == 0) {
201 if (strncmp(modules[i], str+8, len) == 0) {
206 } else if (strncmp(str, "EXTERN_LIST", 11) == 0) {
/external/chromium_org/url/
H A Durl_canon_stdurl.cc102 if (!strncmp(scheme, kHttpScheme, scheme_len))
106 if (!strncmp(scheme, kHttpsScheme, scheme_len))
110 if (!strncmp(scheme, kFtpScheme, scheme_len))
112 else if (!strncmp(scheme, kWssScheme, scheme_len))
116 if (!strncmp(scheme, kGopherScheme, scheme_len))
120 if (!strncmp(scheme, kWsScheme, scheme_len))
/external/chromium_org/components/crx_file/
H A Dcrx_file.cc53 return !strncmp(kCrxDiffFileHeaderMagic, header.magic, sizeof(header.magic));
60 if (!strncmp(kCrxDiffFileHeaderMagic, header.magic, sizeof(header.magic)))
62 if (strncmp(kCrxFileHeaderMagic, header.magic, sizeof(header.magic)) &&
/external/chromium_org/base/third_party/xdg_user_dirs/
H A Dxdg_user_dir_lookup.cc101 if (strncmp (p, "XDG_", 4) != 0)
104 if (strncmp (p, type, strlen (type)) != 0)
107 if (strncmp (p, "_DIR", 4) != 0)
126 if (strncmp (p, "$HOME/", 6) == 0)
/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/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-shape.cc91 if (*pp - p == 2 || 0 == strncmp (p, "on", 2))
93 else if (*pp - p == 3 || 0 == strncmp (p, "off", 2))
/external/harfbuzz_ng/src/
H A Dhb-shape.cc91 if (*pp - p == 2 || 0 == strncmp (p, "on", 2))
93 else if (*pp - p == 3 || 0 == strncmp (p, "off", 2))
/external/llvm/tools/llvm-symbolizer/
H A Dllvm-symbolizer.cpp76 if (strncmp(pos, kDataCmd, strlen(kDataCmd)) == 0) {
79 } else if (strncmp(pos, kCodeCmd, strlen(kCodeCmd)) == 0) {
/external/nfacct/
H A Dnfacct.c89 if (strncmp(argv[1], "list", strlen(argv[1])) == 0)
91 else if (strncmp(argv[1], "add", strlen(argv[1])) == 0)
93 else if (strncmp(argv[1], "delete", strlen(argv[1])) == 0)
95 else if (strncmp(argv[1], "get", strlen(argv[1])) == 0)
97 else if (strncmp(argv[1], "flush", strlen(argv[1])) == 0)
99 else if (strncmp(argv[1], "version", strlen(argv[1])) == 0)
101 else if (strncmp(argv[1], "help", strlen(argv[1])) == 0)
103 else if (strncmp(argv[1], "restore", strlen(argv[1])) == 0)
191 if (strncmp(argv[i], "reset", strlen(argv[i])) == 0) {
193 } else if (strncmp(arg
[all...]

Completed in 6143 milliseconds

1234567891011>>