/external/bluetooth/bluez/audio/ |
ipctest.c | 967 if (!success && (success = (strncmp(line, #cmd, strlen(#cmd)) == 0))) 991 if (strncmp(what, "stream_read", 12) == 0) { 993 } else if (strncmp(what, "stream_write", 13) == 0) { 1044 if (strncmp(profile, "hsp", 4) == 0) { 1046 } else if (strncmp(profile, "a2dp", 5) == 0) { 1087 if (strncmp("--interactive", argv[1], 14) == 0) {
|
/external/bluetooth/bluez/serial/ |
proxy.c | 307 if (strncmp("x00", address, 3) == 0) { 348 if (strncmp(address, "localhost", 9) != 0) { 944 if (strncmp("localhost:", address, 10) == 0) 946 if (strncmp("x00", address, 3) != 0) 952 if (S_ISCHR(st.st_mode) && strncmp("/dev/", address, 4) == 0) 1222 if (strlen(group_str) < 5 || strncmp(group_str, "Proxy", 5))
|
/external/bluetooth/bluez/rfcomm/ |
main.c | 752 if (strncmp(optarg, "hci", 3) == 0) 823 if (strncmp(argv[1], "/dev/rfcomm", 11) == 0) 825 else if (strncmp(argv[1], "rfcomm", 6) == 0) 831 if (strncmp(command[i].cmd, argv[0], 4) && strncmp(command[i].alt, argv[0], 4))
|
/external/openssl/crypto/asn1/ |
asn1_gen.c | 359 if (!strncmp(vstart, "ASCII", 5)) 361 else if (!strncmp(vstart, "UTF8", 4)) 363 else if (!strncmp(vstart, "HEX", 3)) 365 else if (!strncmp(vstart, "BITLIST", 3)) 624 if ((len == tntmp->len) && !strncmp(tntmp->strnam, tagstr, len))
|
/external/openssl/ssl/ |
s23_srvr.c | 381 else if ((strncmp("GET ", (char *)p,4) == 0) || 382 (strncmp("POST ",(char *)p,5) == 0) || 383 (strncmp("HEAD ",(char *)p,5) == 0) || 384 (strncmp("PUT ", (char *)p,4) == 0)) 389 else if (strncmp("CONNECT",(char *)p,7) == 0)
|
/frameworks/base/cmds/installd/ |
commands.c | 184 if (strncmp(path, APK_DIR_PREFIX, len)) { 186 if (strncmp(path, PROTECTED_DIR_PREFIX, len)) { 188 if (strncmp(path, SDCARD_DIR_PREFIX, len)) { 332 if (strncmp(apkpath, "/system", 7) != 0 && 333 strncmp(apkpath, SDCARD_DIR_PREFIX, 7) != 0) {
|
/system/core/adb/ |
sockets.c | 620 if(!strncmp(service, "host-serial:", strlen("host-serial:"))) { 631 } else if (!strncmp(service, "host-usb:", strlen("host-usb:"))) { 634 } else if (!strncmp(service, "host-local:", strlen("host-local:"))) { 637 } else if (!strncmp(service, "host:", strlen("host:"))) { 657 if (!strncmp(service, "transport", strlen("transport"))) {
|
/external/openssl/apps/ |
engine.c | 377 if (strncmp(*argv,"-v",2) == 0) 386 else if (strncmp(*argv,"-t",2) == 0) 408 else if ((strncmp(*argv,"-h",2) == 0) ||
|
/external/openssl/crypto/x509v3/ |
v3_conf.c | 229 if ((strlen(p) < 9) || strncmp(p, "critical,", 9)) return 0; 241 if ((strlen(p) >= 4) && !strncmp(p, "DER:", 4)) 246 else if ((strlen(p) >= 5) && !strncmp(p, "ASN1:", 5))
|
/external/qemu/block/ |
vpc.c | 148 if (buf_size >= 8 && !strncmp((char *)buf, "conectix", 8)) 170 if (strncmp(footer->creator, "conectix", 8)) 191 if (strncmp(dyndisk_header->magic, "cxsparse", 8))
|
/external/skia/src/core/ |
SkString.cpp | 27 return !strncmp(string, prefix, strlen(prefix)); 37 !strncmp(string + strLen - suffixLen, suffix, suffixLen); 45 if (!strncmp(string, prefixes, limit - prefixes))
|
/external/webkit/WebKit/mac/Misc/ |
WebNSDataExtras.m | 231 if ((length >= VCARD_HEADER_LENGTH) && strncmp(bytes, "BEGIN:VCARD", VCARD_HEADER_LENGTH) == 0) { 234 if ((length >= VCAL_HEADER_LENGTH) && strncmp(bytes, "BEGIN:VCALENDAR", VCAL_HEADER_LENGTH) == 0) { 254 if ((length >= JPEG_MAGIC_NUMBER_LENGTH) && strncmp(bytes, "\xFF\xD8\xFF\xE0", JPEG_MAGIC_NUMBER_LENGTH) == 0) {
|
/external/webkit/WebKitTools/android/flex-2.5.4a/MISC/MVS/ |
MVS.uudecode | 144 X if (strncmp(buf, "begin ", 6) == 0) 191 X if (fgets(buf, sizeof buf, in) == NULL || strncmp(buf,"end",3)) 197 X if (!(fgets(buf,sizeof buf,in) == NULL || strncmp(buf,"size ",3)))
|
/external/wpa_supplicant/ |
os.h | 436 #define os_strncmp(s1, s2, n) strncmp((s1), (s2), (n)) 476 #undef strncmp macro 477 #define strncmp OS_DO_NOT_USE_strncmp macro
|
/external/wpa_supplicant/wpa_gui/ |
networkconfig.ui.h | 207 if (strncmp(reply, "OK", 2) != 0) { 233 return strncmp(reply, "OK", 2) == 0 ? 0 : -1; 502 if (strncmp(reply, "OK", 2) != 0) {
|
/external/wpa_supplicant/wpa_gui-qt4/ |
networkconfig.cpp | 243 if (strncmp(reply, "OK", 2) != 0) { 271 return strncmp(reply, "OK", 2) == 0 ? 0 : -1; 546 if (strncmp(reply, "OK", 2) != 0) {
|
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
os.h | 436 #define os_strncmp(s1, s2, n) strncmp((s1), (s2), (n)) 489 #undef strncmp macro 490 #define strncmp OS_DO_NOT_USE_strncmp macro
|
/external/wpa_supplicant_6/wpa_supplicant/wpa_gui/ |
networkconfig.ui.h | 210 if (strncmp(reply, "OK", 2) != 0) { 236 return strncmp(reply, "OK", 2) == 0 ? 0 : -1; 516 if (strncmp(reply, "OK", 2) != 0) {
|
/frameworks/base/core/jni/ |
android_bluetooth_common.cpp | 490 if (!strncmp(property, properties[i].name, strlen(property))) 736 if (!strncmp("true", value, PROPERTY_VALUE_MAX) || 737 !strncmp("1", value, PROPERTY_VALUE_MAX)) {
|
/external/srec/srec/EventLog/src/ |
riff.c | 360 if (strncmp(form, "RIFF", 4)) 372 if (!strncmp(tag, c->tag, 4)) 391 if (!strncmp(tag, c->tag, 4)) 417 if (strncmp(form, "LIST", 4)) 429 if (!strncmp(tag, c->tag, 4)) 928 return !strncmp(tmpbuf, "RIFF", 4);
|
/external/bluetooth/bluez/common/ |
textfile.c | 109 int cmp = (icase) ? strncasecmp(ptr, key, len) : strncmp(ptr, key, len); 221 !strncmp(off + len + 1, value, end - off - len - 1))
|
/external/clearsilver/util/ |
neo_hdf.c | 47 return (ha->name_len == hb->name_len) && !strncmp(ha->name, hb->name, ha->name_len); 250 if (hp->name && (x == hp->name_len) && !strncmp(hp->name, n, x)) 671 if (hp && hp->name && (x == hp->name_len) && !strncmp (hp->name, n, x)) 692 if (hp->name && (x == hp->name_len) && !strncmp(hp->name, n, x)) 970 if (hp->name && (x == hp->name_len) && !strncmp(hp->name, n, x)) 1211 while (strstr(hdf->value, ml) || ((vlen > ml_len) && !strncmp(hdf->value + vlen - ml_len + 1, ml, strlen(ml) - 1))) 1577 if (!strncmp(s, "#include ", 9)) [all...] |
/external/dropbear/ |
common-session.c | 272 if (strncmp(ses.remoteident, "SSH-2.", 6) != 0 273 && strncmp(ses.remoteident, "SSH-1.99-", 9) != 0) {
|
/external/e2fsprogs/intl/ |
relocatable.c | 184 if (strncmp (orig_installprefix, orig_installdir, strlen (orig_installprefix)) 423 && strncmp (pathname, orig_prefix, orig_prefix_len) == 0)
|
/external/e2fsprogs/lib/blkid/ |
read.c | 149 if (!strncmp(p, "<device", 7)) { 168 if (!strncmp(*cp, "</device>", 9)) {
|