/external/cblas/testing/ |
D | auxiliary.c | 9 if( (strncmp( type,"n",1 )==0)||(strncmp( type,"N",1 )==0) ) in get_transpose_type() 11 else if( (strncmp( type,"t",1 )==0)||(strncmp( type,"T",1 )==0) ) in get_transpose_type() 13 else if( (strncmp( type,"c",1 )==0)||(strncmp( type,"C",1 )==0) ) in get_transpose_type() 19 if( (strncmp( type,"u",1 )==0)||(strncmp( type,"U",1 )==0) ) in get_uplo_type() 21 else if( (strncmp( type,"l",1 )==0)||(strncmp( type,"L",1 )==0) ) in get_uplo_type() 26 if( (strncmp( type,"u",1 )==0)||(strncmp( type,"U",1 )==0) ) in get_diag_type() 28 else if( (strncmp( type,"n",1 )==0)||(strncmp( type,"N",1 )==0) ) in get_diag_type() 33 if( (strncmp( type,"l",1 )==0)||(strncmp( type,"L",1 )==0) ) in get_side_type() 35 else if( (strncmp( type,"r",1 )==0)||(strncmp( type,"R",1 )==0) ) in get_side_type()
|
/external/llvm/test/Transforms/InstCombine/ |
D | strncmp-1.ll | 1 ; Test that the strncmp library call simplifier works correctly. 11 declare i32 @strncmp(i8*, i8*, i32) 13 ; strncmp("", x, n) -> -*x 22 %temp1 = call i32 @strncmp(i8* %str1, i8* %str2, i32 10) 26 ; strncmp(x, "", n) -> *x 34 %temp1 = call i32 @strncmp(i8* %str1, i8* %str2, i32 10) 38 ; strncmp(x, y, n) -> cnst 45 %temp1 = call i32 @strncmp(i8* %str1, i8* %str2, i32 10) 55 %temp1 = call i32 @strncmp(i8* %str1, i8* %str2, i32 10) 65 %temp1 = call i32 @strncmp(i8* %str1, i8* %str2, i32 4) [all …]
|
D | strncmp-2.ll | 1 ; Test that the strncmp library call simplifier works correctly. 9 declare i16 @strncmp(i8*, i8*, i32) 13 ; CHECK: call i16 @strncmp 18 %temp1 = call i16 @strncmp(i8* %str1, i8* %str2, i32 10)
|
/external/curl/tests/unit/ |
D | unit1304.c | 75 fail_unless(strncmp(login, "me", 2) == 0, "login should not have been changed"); 88 fail_unless(strncmp(login, "me", 2) == 0, "login should not have been changed"); 102 fail_unless(strncmp(login, "admi", 4) == 0, "login should not have been changed"); 116 fail_unless(strncmp(login, "adminn", 6) == 0, "login should not have been changed"); 128 fail_unless(strncmp(password, "passwd", 6) == 0, 131 fail_unless(strncmp(login, "admin", 5) == 0, "login should be 'admin'"); 143 fail_unless(strncmp(password, "passwd", 6) == 0, 146 fail_unless(strncmp(login, "admin", 5) == 0, "login should be 'admin'"); 161 fail_unless(strncmp(password, "none", 4) == 0, 164 fail_unless(strncmp(login, "none", 4) == 0, "login should be 'none'"); [all …]
|
/external/libpcap/ |
D | pcap-snoop.c | 242 if (strncmp("et", p->opt.source, 2) == 0 || /* Challenge 10 Mbit */ in pcap_activate_snoop() 243 strncmp("ec", p->opt.source, 2) == 0 || /* Indigo/Indy 10 Mbit, in pcap_activate_snoop() 245 strncmp("ef", p->opt.source, 2) == 0 || /* O200/2000 10/100 Mbit */ in pcap_activate_snoop() 246 strncmp("eg", p->opt.source, 2) == 0 || /* Octane/O2xxx/O3xxx Gigabit */ in pcap_activate_snoop() 247 strncmp("gfe", p->opt.source, 3) == 0 || /* GIO 100 Mbit */ in pcap_activate_snoop() 248 strncmp("fxp", p->opt.source, 3) == 0 || /* Challenge VME Enet */ in pcap_activate_snoop() 249 strncmp("ep", p->opt.source, 2) == 0 || /* Challenge 8x10 Mbit EPLEX */ in pcap_activate_snoop() 250 strncmp("vfe", p->opt.source, 3) == 0 || /* Challenge VME 100Mbit */ in pcap_activate_snoop() 251 strncmp("fa", p->opt.source, 2) == 0 || in pcap_activate_snoop() 252 strncmp("qaa", p->opt.source, 3) == 0 || in pcap_activate_snoop() [all …]
|
/external/libmtp/examples/ |
D | connect.c | 94 …if ((strncmp(basename(argv[0]),"mtp-delfile",11) == 0) || (strncmp(basename(argv[0]),"delfile",7) … in main() 96 …} else if ((strncmp(basename(argv[0]),"mtp-getfile",13) == 0) || (strncmp(basename(argv[0]),"getfi… in main() 98 …} else if ((strncmp(basename(argv[0]),"mtp-newfolder",13) == 0) || (strncmp(basename(argv[0]),"new… in main() 100 …} else if ((strncmp(basename(argv[0]),"mtp-sendfile",11) == 0) || (strncmp(basename(argv[0]),"send… in main() 102 …} else if ((strncmp(basename(argv[0]),"mtp-sendtr",10) == 0) || (strncmp(basename(argv[0]),"sendtr… in main()
|
/external/e2fsprogs/misc/ |
D | base_device.c | 54 if (strncmp(cp, "/dev/", 5) != 0) in base_device() 59 if (strncmp(cp, "dsk/", 4) == 0) in base_device() 72 if (strncmp(cp, "rd/", 3) == 0) { in base_device() 96 if (strncmp(cp, "ide/", 4) == 0) in base_device() 98 if (strncmp(cp, "scsi/", 5) == 0) in base_device() 110 if (strncmp(cp, *hier, len) != 0) in base_device() 126 if (strncmp(cp, "discs/", 6) == 0) in base_device() 128 else if (strncmp(cp, "disks/", 6) == 0) in base_device() 132 if (strncmp(cp, disk, 4) != 0) in base_device()
|
/external/llvm/lib/Fuzzer/test/ |
D | StrncmpTest.cpp | 12 if (Size >= 8 && strncmp(S, "123", 8)) in LLVMFuzzerTestOneInput() 14 if (Size >= 8 && strncmp(S, "01234567", 8) == 0) { in LLVMFuzzerTestOneInput() 15 if (Size >= 12 && strncmp(S + 8, "ABCD", 4) == 0) { in LLVMFuzzerTestOneInput() 16 if (Size >= 14 && strncmp(S + 12, "XY", 2) == 0) { in LLVMFuzzerTestOneInput() 17 if (Size >= 16 && strncmp(S + 14, "KLM", 3) == 0) { in LLVMFuzzerTestOneInput()
|
/external/mesa3d/src/mesa/program/ |
D | program_parse_extra.c | 171 if (strncmp(option, "ARB_", 4) == 0) { in _mesa_ARBfp_parse_option() 177 if (strncmp(option, "fog_", 4) == 0) { in _mesa_ARBfp_parse_option() 194 } else if (strncmp(option, "precision_hint_", 15) == 0) { in _mesa_ARBfp_parse_option() 219 } else if (strncmp(option, "fragment_coord_", 15) == 0) { in _mesa_ARBfp_parse_option() 232 } else if (strncmp(option, "ATI_", 4) == 0) { in _mesa_ARBfp_parse_option() 242 } else if (strncmp(option, "NV_fragment_program", 19) == 0) { in _mesa_ARBfp_parse_option() 253 } else if (strncmp(option, "MESA_", 5) == 0) { in _mesa_ARBfp_parse_option()
|
/external/skia/src/svg/parser/ |
D | SkSVGImage.cpp | 37 SkASSERT(strncmp(data, "data:image/", 11) == 0); in translateImage() 39 SkASSERT(strncmp(data, "png;", 4) == 0 || strncmp(data, "jpeg;", 5) == 0); in translateImage() 41 SkASSERT(strncmp(data, ";base64,", 8) == 0); in translateImage()
|
/external/nfacct/ |
D | nfacct.c | 89 if (strncmp(argv[1], "list", strlen(argv[1])) == 0) in main() 91 else if (strncmp(argv[1], "add", strlen(argv[1])) == 0) in main() 93 else if (strncmp(argv[1], "delete", strlen(argv[1])) == 0) in main() 95 else if (strncmp(argv[1], "get", strlen(argv[1])) == 0) in main() 97 else if (strncmp(argv[1], "flush", strlen(argv[1])) == 0) in main() 99 else if (strncmp(argv[1], "version", strlen(argv[1])) == 0) in main() 101 else if (strncmp(argv[1], "help", strlen(argv[1])) == 0) in main() 103 else if (strncmp(argv[1], "restore", strlen(argv[1])) == 0) in main() 191 if (strncmp(argv[i], "reset", strlen(argv[i])) == 0) { in nfacct_cmd_list() 193 } else if (strncmp(argv[i], "xml", strlen(argv[i])) == 0) { in nfacct_cmd_list() [all …]
|
/external/clang/test/Analysis/ |
D | string.c | 763 #define strncmp BUILTIN(strncmp) macro 764 int strncmp(const char *s1, const char *s2, size_t n); 767 clang_analyzer_eval(strncmp("123", "123", 3) == 0); // expected-warning{{TRUE}} in strncmp_constant0() 772 clang_analyzer_eval(strncmp(x, "123", 3) == 0); // expected-warning{{TRUE}} in strncmp_constant_and_var_0() 777 clang_analyzer_eval(strncmp("123", x, 3) == 0); // expected-warning{{TRUE}} in strncmp_constant_and_var_1() 783 clang_analyzer_eval(strncmp(x, y, 3) == 0); // expected-warning{{TRUE}} in strncmp_0() 789 clang_analyzer_eval(strncmp(x, y, 3) == 1); // expected-warning{{TRUE}} in strncmp_1() 795 clang_analyzer_eval(strncmp(x, y, 3) == -1); // expected-warning{{TRUE}} in strncmp_2() 801 …strncmp(x, y, 3); // expected-warning{{Null pointer argument in call to string comparison function… in strncmp_null_0() 807 …strncmp(x, y, 3); // expected-warning{{Null pointer argument in call to string comparison function… in strncmp_null_1() [all …]
|
/external/curl/lib/ |
D | dotdot.c | 85 if(!strncmp("./", clone, 2)) { in Curl_dedotdotify() 89 else if(!strncmp("../", clone, 3)) { in Curl_dedotdotify() 97 else if(!strncmp("/./", clone, 3)) { in Curl_dedotdotify() 112 else if(!strncmp("/../", clone, 4)) { in Curl_dedotdotify()
|
/external/skia/src/gpu/gl/ |
D | GrGLUtil.cpp | 150 if (0 == strncmp("ANGLE", rendererString, 5)) { in GrGLGetDriverInfo() 239 if (0 == strncmp(vendorString, "Intel ", 6) || 0 == strcmp(vendorString, "Intel")) { in GrGLGetVendorFromString() 268 if (0 == strncmp(rendererString, kAppleA4Str, in GrGLGetRendererFromString() 270 0 == strncmp(rendererString, kAppleA5Str, in GrGLGetRendererFromString() 272 0 == strncmp(rendererString, kAppleA6Str, in GrGLGetRendererFromString() 279 if (0 == strncmp(rendererString, kPowerVRRogueStr, in GrGLGetRendererFromString() 281 0 == strncmp(rendererString, kAppleA7Str, in GrGLGetRendererFromString() 283 0 == strncmp(rendererString, kAppleA8Str, in GrGLGetRendererFromString()
|
/external/fio/ |
D | parse.c | 156 if (!strncmp("us", c, 2) || !strncmp("usec", c, 4)) in get_mult_time() 158 else if (!strncmp("ms", c, 2) || !strncmp("msec", c, 4)) in get_mult_time() 207 if (!strncmp("pib", c, 3)) { in __get_mult_bytes() 210 } else if (!strncmp("tib", c, 3)) { in __get_mult_bytes() 213 } else if (!strncmp("gib", c, 3)) { in __get_mult_bytes() 216 } else if (!strncmp("mib", c, 3)) { in __get_mult_bytes() 219 } else if (!strncmp("kib", c, 3)) { in __get_mult_bytes() 222 } else if (!strncmp("p", c, 1) || !strncmp("pb", c, 2)) in __get_mult_bytes() 224 else if (!strncmp("t", c, 1) || !strncmp("tb", c, 2)) in __get_mult_bytes() 226 else if (!strncmp("g", c, 1) || !strncmp("gb", c, 2)) in __get_mult_bytes() [all …]
|
/external/toybox/lib/ |
D | getmountlist.c | 98 if (optlen == len-no && !strncmp(opt, s+no, optlen)) { in comma_scan() 133 skip = strncmp(typelist, "no", 2); in mountlist_istype() 139 if (strncmp(t, "no", 2)) error_exit("bad typelist"); in mountlist_istype() 140 if (!strncmp(t+2, ml->type, len-2)) { in mountlist_istype() 144 } else if (!strncmp(t, ml->type, len) && !ml->type[len]) { in mountlist_istype()
|
/external/google-breakpad/src/processor/ |
D | basic_source_line_resolver.cc | 131 if (strncmp(buffer, "FILE ", 5) == 0) { in LoadMapFromMemory() 135 } else if (strncmp(buffer, "STACK ", 6) == 0) { in LoadMapFromMemory() 139 } else if (strncmp(buffer, "FUNC ", 5) == 0) { in LoadMapFromMemory() 149 } else if (strncmp(buffer, "PUBLIC ", 7) == 0) { in LoadMapFromMemory() 156 } else if (strncmp(buffer, "MODULE ", 7) == 0) { in LoadMapFromMemory() 163 } else if (strncmp(buffer, "INFO ", 5) == 0) { in LoadMapFromMemory() 467 assert(strncmp(file_line, "FILE ", 5) == 0); in ParseFile() 495 assert(strncmp(function_line, "FUNC ", 5) == 0); in ParseFunction() 576 assert(strncmp(public_line, "PUBLIC ", 7) == 0); in ParsePublicSymbol()
|
/external/vulkan-validation-layers/layers/ |
D | vk_layer_config.cpp | 134 if (strncmp(option, "warn", len) == 0) { in getLayerOptionFlags() 136 } else if (strncmp(option, "info", len) == 0) { in getLayerOptionFlags() 138 } else if (strncmp(option, "perf", len) == 0) { in getLayerOptionFlags() 140 } else if (strncmp(option, "error", len) == 0) { in getLayerOptionFlags() 142 } else if (strncmp(option, "debug", len) == 0) { in getLayerOptionFlags()
|
/external/sqlite/dist/orig/ |
D | shell.c | 1667 }else if( strncmp(zTable, "sqlite_", 7)==0 ){ in dump_callback() 1669 }else if( strncmp(zSql, "CREATE VIRTUAL TABLE", 20)==0 ){ in dump_callback() 2674 if( (c=='b' && n>=3 && strncmp(azArg[0], "backup", n)==0) in do_meta_command() 2675 || (c=='s' && n>=3 && strncmp(azArg[0], "save", n)==0) in do_meta_command() 2730 if( c=='b' && n>=3 && strncmp(azArg[0], "bail", n)==0 ){ in do_meta_command() 2739 if( c=='b' && n>=3 && strncmp(azArg[0], "binary", n)==0 ){ in do_meta_command() 2755 if( c=='b' && n>=3 && strncmp(azArg[0], "breakpoint", n)==0 ){ in do_meta_command() 2759 if( c=='c' && strncmp(azArg[0], "clone", n)==0 ){ in do_meta_command() 2768 if( c=='d' && n>1 && strncmp(azArg[0], "databases", n)==0 ){ in do_meta_command() 2787 if( c=='d' && strncmp(azArg[0], "dbinfo", n)==0 ){ in do_meta_command() [all …]
|
/external/sqlite/dist/ |
D | shell.c | 1673 }else if( strncmp(zTable, "sqlite_", 7)==0 ){ in dump_callback() 1675 }else if( strncmp(zSql, "CREATE VIRTUAL TABLE", 20)==0 ){ in dump_callback() 2696 if( (c=='b' && n>=3 && strncmp(azArg[0], "backup", n)==0) in do_meta_command() 2697 || (c=='s' && n>=3 && strncmp(azArg[0], "save", n)==0) in do_meta_command() 2752 if( c=='b' && n>=3 && strncmp(azArg[0], "bail", n)==0 ){ in do_meta_command() 2761 if( c=='b' && n>=3 && strncmp(azArg[0], "binary", n)==0 ){ in do_meta_command() 2777 if( c=='b' && n>=3 && strncmp(azArg[0], "breakpoint", n)==0 ){ in do_meta_command() 2781 if( c=='c' && strncmp(azArg[0], "clone", n)==0 ){ in do_meta_command() 2790 if( c=='d' && n>1 && strncmp(azArg[0], "databases", n)==0 ){ in do_meta_command() 2809 if( c=='d' && strncmp(azArg[0], "dbinfo", n)==0 ){ in do_meta_command() [all …]
|
/external/autotest/client/profilers/powertop/src/ |
D | powertop.c | 201 if (strncmp(line,"NMI:", 4)==0) in do_proc_irq() 203 if (strncmp(line,"RES:", 4)==0) in do_proc_irq() 205 if (strncmp(line,"CAL:", 4)==0) in do_proc_irq() 207 if (strncmp(line,"TLB:", 4)==0) in do_proc_irq() 209 if (strncmp(line,"TRM:", 4)==0) in do_proc_irq() 211 if (strncmp(line,"THR:", 4)==0) in do_proc_irq() 213 if (strncmp(line,"SPU:", 4)==0) in do_proc_irq() 589 if (strncmp("AC Power", line, strlen("AC Power")) == 0) in print_battery_proc_pmu() 591 else if (strncmp("Battery count", line, strlen("Battery count")) == 0) in print_battery_proc_pmu() 612 if (strncmp("flags", line, strlen("flags")) == 0) in print_battery_proc_pmu() [all …]
|
/external/iptables/extensions/ |
D | libxt_set.h | 112 if (strncmp(ptr, "src", 3) == 0) in parse_dirs_v0() 114 else if (strncmp(ptr, "dst", 3) == 0) in parse_dirs_v0() 138 if (strncmp(ptr, "src", 3) == 0) in parse_dirs() 140 else if (strncmp(ptr, "dst", 3) != 0) in parse_dirs()
|
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
D | rc_test_helpers.c | 128 if (!strncmp(tokens.File.String, "temp", tokens.File.Length)) { in init_rc_normal_src() 130 } else if (!strncmp(tokens.File.String, "input", tokens.File.Length)) { in init_rc_normal_src() 132 } else if (!strncmp(tokens.File.String, "const", tokens.File.Length)) { in init_rc_normal_src() 134 } else if (!strncmp(tokens.File.String, "none", tokens.File.Length)) { in init_rc_normal_src() 240 if (!strncmp(tokens.File.String, "temp", tokens.File.Length)) { in init_rc_normal_dst() 242 } else if (!strncmp(tokens.File.String, "output", tokens.File.Length)) { in init_rc_normal_dst() 347 if (strncmp(tokens.Opcode.String, info->Name, tokens.Opcode.Length)) { in init_rc_normal_instruction()
|
/external/curl/docs/examples/ |
D | synctime.c | 140 if (strncmp((char *)(ptr), "Date:", 5) == 0) { in SyncTime_CURL_WriteHeader() 173 if (strncmp((char *)(ptr), "X-Cache: HIT", 12) == 0) { in SyncTime_CURL_WriteHeader() 273 if (strncmp(argv[OptionIndex], "--server=", 9) == 0) in main() 282 if (strncmp(argv[OptionIndex], "--proxy-user=", 13) == 0) in main() 285 if (strncmp(argv[OptionIndex], "--proxy=", 8) == 0) in main()
|
/external/libmicrohttpd/src/testcurl/ |
D | curl_version_check.c | 135 if (strncmp ("GnuTLS", ssl_ver, strlen ("GNUtls")) == 0) in curl_check_version() 140 else if (strncmp ("OpenSSL", ssl_ver, strlen ("OpenSSL")) == 0) in curl_check_version() 145 else if (strncmp ("NSS", ssl_ver, strlen ("NSS")) == 0) in curl_check_version()
|