/system/core/libcutils/ |
cpu_info.c | 45 if (strncmp(chp, "Serial", 6) != 0)
|
/system/extras/tests/bionic/libstdc++/ |
test_cstring.cpp | 56 using std::strncmp;
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/ |
genperf.c | 308 if (strncmp(line, "struct", 6) == 0) { 396 if (strncmp(&line[1], "ignore-case", 11) == 0) { 398 } else if (strncmp(&line[1], "compare-strncmp", 15) == 0) { 400 } else if (strncmp(&line[1], "readonly-tables", 15) == 0) { 402 } else if (strncmp(&line[1], "language=", 9) == 0) { 408 } else if (strncmp(&line[1], "delimiters=", 11) == 0) { 414 } else if (strncmp(&line[1], "enum", 4) == 0) { 416 } else if (strncmp(&line[1], "struct-type", 11) == 0) { 418 } else if (strncmp(&line[1], "define", 6) == 0) [all...] |
/external/chromium_org/ppapi/native_client/tests/ppapi_test_lib/ |
module_instance.cc | 160 if (ppp == NULL && 0 == strncmp(PPP_INSTANCE_INTERFACE, interface_name, 166 if (0 == strncmp(PPP_MESSAGING_INTERFACE, interface_name,
|
/external/chromium_org/third_party/skia/src/core/ |
SkTSearch.cpp | 35 int cmp = strncmp(elem, target, target_len); 45 int cmp = strncmp(elem, target, target_len);
|
/external/skia/src/core/ |
SkTSearch.cpp | 35 int cmp = strncmp(elem, target, target_len); 45 int cmp = strncmp(elem, target, target_len);
|
/external/valgrind/main/none/tests/ |
procfs-cmdline-exe.c | 59 if (strncmp(buf, cwd, strlen(cwd)) == 0) 79 if (strncmp(buf, cwd, strlen(cwd)) == 0)
|
/device/asus/flo/conn_init/ |
wfc_util_qcom.c | 194 if(0 == strncmp(mac_add, mac_add_buff[i], WFC_UTIL_CFG_LENGHT_MAC_STRING)) { 207 if(0 == strncmp(mac_add, WFC_UTIL_CFG_DEFAULT_MAC_RFT, WFC_UTIL_CFG_LENGHT_MAC_STRING)) { 454 is_same_mac = strncmp(mac_add_buff, nv_mac_add_buff, WFC_UTIL_CFG_LENGHT_MAC_STRING); 556 if(!strncmp(baseband, "apq", 3)) { 558 } else if( !strncmp(baseband, "mdm", 3)){ 682 if(0 == strncmp(string_buff, "0", 1)) {
|
/frameworks/av/libvideoeditor/osal/src/ |
M4OSA_CharStar.c | 359 if(!strncmp((const char *)pTemp,"ll",2)) 364 else if(!strncmp((const char *)pTemp,"tm",2)) 369 else if(!strncmp((const char *)pTemp,"aa",2)) 456 if(!strncmp((const char *)format, "ll", 2)) 461 else if(!strncmp((const char *)format, "tm", 2)) 466 else if(!strncmp((const char *)format, "aa", 2))
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/tests/ |
rc_test_helpers.c | 128 if (!strncmp(tokens.File.String, "temp", tokens.File.Length)) { 130 } else if (!strncmp(tokens.File.String, "input", tokens.File.Length)) { 132 } else if (!strncmp(tokens.File.String, "const", tokens.File.Length)) { 134 } else if (!strncmp(tokens.File.String, "none", tokens.File.Length)) { 240 if (!strncmp(tokens.File.String, "temp", tokens.File.Length)) { 242 } else if (!strncmp(tokens.File.String, "output", tokens.File.Length)) { 347 if (strncmp(tokens.Opcode.String, info->Name, tokens.Opcode.Length)) {
|
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
rc_test_helpers.c | 128 if (!strncmp(tokens.File.String, "temp", tokens.File.Length)) { 130 } else if (!strncmp(tokens.File.String, "input", tokens.File.Length)) { 132 } else if (!strncmp(tokens.File.String, "const", tokens.File.Length)) { 134 } else if (!strncmp(tokens.File.String, "none", tokens.File.Length)) { 240 if (!strncmp(tokens.File.String, "temp", tokens.File.Length)) { 242 } else if (!strncmp(tokens.File.String, "output", tokens.File.Length)) { 347 if (strncmp(tokens.Opcode.String, info->Name, tokens.Opcode.Length)) {
|
/external/dropbear/ |
svr-auth.c | 117 && (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,
|
cli-auth.c | 200 if (strncmp(AUTH_METHOD_PUBKEY, tok, 206 if (strncmp(AUTH_METHOD_INTERACT, tok, 212 if (strncmp(AUTH_METHOD_PASSWORD, tok,
|
/external/oprofile/daemon/liblegacy/ |
opd_kernel.c | 185 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)) {
|
/external/ppp/pppd/plugins/rp-pppoe/ |
plugin.c | 285 if (strlen(cmd) > 4 && !strncmp(cmd, "nic-", 4)) { 289 || (strncmp(cmd, "eth", 3) && strncmp(cmd, "nas", 3) 290 && strncmp(cmd, "tap", 3) && strncmp(cmd, "br", 2))) {
|
/sdk/emulator/opengl/host/libs/Translator/GLES_V2/ |
ShaderParser.cpp | 136 if (!strncmp(c,"#version",8)) { 266 if (tokenLen == 9 && !strncmp(t,"precision",9)) { 272 if ((tokenLen == 4 && !strncmp(t,"lowp",4)) || 273 (tokenLen == 7 && !strncmp(t,"mediump",7)) || 274 (tokenLen == 5 && !strncmp(t,"highp",5))) {
|
/external/clang/test/Analysis/ |
string.c | 758 // strncmp() 761 #define strncmp BUILTIN(strncmp) macro 762 int strncmp(const char *s1, const char *s2, size_t n); 765 clang_analyzer_eval(strncmp("123", "123", 3) == 0); // expected-warning{{TRUE}} 770 clang_analyzer_eval(strncmp(x, "123", 3) == 0); // expected-warning{{TRUE}} 775 clang_analyzer_eval(strncmp("123", x, 3) == 0); // expected-warning{{TRUE}} 781 clang_analyzer_eval(strncmp(x, y, 3) == 0); // expected-warning{{TRUE}} 787 clang_analyzer_eval(strncmp(x, y, 3) == 1); // expected-warning{{TRUE}} 793 clang_analyzer_eval(strncmp(x, y, 3) == -1); // expected-warning{{TRUE} [all...] |
/bootable/recovery/applypatch/ |
main.c | 200 if (strncmp(argv[1], "-l", 3) == 0) { 202 } else if (strncmp(argv[1], "-c", 3) == 0) { 204 } else if (strncmp(argv[1], "-s", 3) == 0) {
|
/dalvik/vm/compiler/codegen/x86/ |
NcgAot.cpp | 116 if(!strncmp(target, "common_err", 10)) isException = true; 117 if(!strncmp(target, "common_throw", 12)) isException = true; 118 if(!strncmp(target, "common_exception", 16)) isException = true;
|
/external/chromium/base/test/ |
test_suite.cc | 71 return strncmp(test.name(), "FLAKY_", 6) == 0; 76 return strncmp(test.name(), "FAILS_", 6) == 0; 81 return strncmp(test.name(), "MAYBE_", 6) == 0;
|
/external/chromium_org/third_party/codesighs/ |
msdump2symdb.c | 340 if(0 == strncmp(" Section length", inLine, 18)) 369 else if(0 == strncmp("Dump of file ", inLine, 13)) 437 if(0 != strncmp(sectionString, "DEBUG", 5) && 0 != strncmp(sectionString, "ABS", 3) && 0 != strncmp(sectionString, "UNDEF", 5)) 442 if(0 == strncmp(sectionString, "SECT", 4)) 559 if(0 == strncmp(classArg, "()", 2)) 563 if(0 == strncmp(classArg, ".bf or.ef", 9)) 574 0 != strncmp(classArg, "Label", 5) && 575 0 != strncmp(symbolArg, ".bf", 3) & [all...] |
/external/oprofile/libpopt/ |
poptconfig.c | 30 if (strncmp(line, con->appName, nameLength)) return; 62 if (!strncmp(item->argv[i], "--POPTdesc=", sizeof("--POPTdesc=")-1)) { 69 if (!strncmp(item->argv[i], "--POPTargs=", sizeof("--POPTargs=")-1)) {
|
/external/ppp/pppd/plugins/pppoatm/ |
text2qos.c | 33 if (!strncmp(*text,"max",3)) { 67 else if (!strncmp(end,"cps",3)) end += 3; 68 else if (!strncmp(end,"bps",3)) {
|
/frameworks/av/media/libmedia/ |
MediaScannerClient.cpp | 44 if (!strncmp(locale, "ja", 2)) 46 else if (!strncmp(locale, "ko", 2)) 48 else if (!strncmp(locale, "zh", 2)) {
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
tst-pcre.c | 67 || strncmp (line, "# PCRE", 6) != 0) 140 if (strncmp (line, " ", 4) == 0) 233 || strncmp (p + 2, string + rm[num].rm_so,
|