/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/AFLplusplus/src/ |
D | afl-fuzz-state.c | 154 if (strncmp(env, "ALF_", 4) == 0) { in read_afl_environment() 159 } else if (strncmp(env, "USE_", 4) == 0) { in read_afl_environment() 167 } else if (strncmp(env, "AFL_", 4) == 0) { in read_afl_environment() 174 if (strncmp(env, afl_environment_variables[i], in read_afl_environment() 179 if (!strncmp(env, "AFL_SKIP_CPUFREQ", afl_environment_variable_len)) { in read_afl_environment() 184 } else if (!strncmp(env, "AFL_EXIT_WHEN_DONE", in read_afl_environment() 191 } else if (!strncmp(env, "AFL_EXIT_ON_TIME", in read_afl_environment() 198 } else if (!strncmp(env, "AFL_NO_AFFINITY", in read_afl_environment() 205 } else if (!strncmp(env, "AFL_TRY_AFFINITY", in read_afl_environment() 212 } else if (!strncmp(env, "AFL_SKIP_CRASHES", in read_afl_environment() [all …]
|
D | afl-as.c | 226 if (strncmp(input_file, tmp_dir, strlen(tmp_dir)) && in edit_params() 227 strncmp(input_file, "/var/tmp/", 9) && in edit_params() 228 strncmp(input_file, "/tmp/", 5) && in edit_params() 325 if (!clang_mode && instr_ok && !strncmp(line + 2, "p2align ", 8) && 332 if (!strncmp(line + 2, "text\n", 5) || 333 !strncmp(line + 2, "section\t.text", 13) || 334 !strncmp(line + 2, "section\t__TEXT,__text", 21) || 335 !strncmp(line + 2, "section __TEXT,__text", 21)) { 342 if (!strncmp(line + 2, "section\t", 8) || 343 !strncmp(line + 2, "section ", 8) || !strncmp(line + 2, "bss\n", 4) || [all …]
|
/external/libcups/man/ |
D | mantohtml.c | 136 if (!strncmp(line, ".TH ", 4) && section < 0) in main() 154 else if (!strncmp(line, ".SH ", 4) || !strncmp(line, ".SS ", 4)) in main() 220 else if (!strncmp(line, ".B ", 3)) in main() 246 else if (!strncmp(line, ".I ", 3)) in main() 272 else if (!strncmp(line, ".BI ", 4)) in main() 298 else if (!strncmp(line, ".BR ", 4)) in main() 324 else if (!strncmp(line, ".IB ", 4)) in main() 350 else if (!strncmp(line, ".IR ", 4)) in main() 376 else if (!strncmp(line, ".RB ", 4)) in main() 402 else if (!strncmp(line, ".RI ", 4)) in main() [all …]
|
/external/iperf3/src/ |
D | t_units.c | 77 assert(strncmp(s, "1.00 KByte", 11) == 0); in main() 80 assert(strncmp(s, "1.00 MByte", 11) == 0); in main() 83 assert(strncmp(s, "8.00 Kbit", 11) == 0); in main() 86 assert(strncmp(s, "8.00 Mbit", 11) == 0); in main() 90 assert(strncmp(s, "4.00 GByte", 11) == 0); in main() 93 assert(strncmp(s, "34.4 Gbit", 11) == 0); in main() 97 assert(strncmp(s, "4.00 TByte", 11) == 0); in main() 100 assert(strncmp(s, "35.2 Tbit", 11) == 0); in main() 104 assert(strncmp(s, "4096 TByte", 11) == 0); in main() 107 assert(strncmp(s, "36029 Tbit", 11) == 0); in main()
|
/external/libcups/scheduler/ |
D | statbuf.c | 193 if (!strncmp(sb->buffer, "EMERG:", 6)) in cupsdStatBufUpdate() 198 else if (!strncmp(sb->buffer, "ALERT:", 6)) in cupsdStatBufUpdate() 203 else if (!strncmp(sb->buffer, "CRIT:", 5)) in cupsdStatBufUpdate() 208 else if (!strncmp(sb->buffer, "ERROR:", 6)) in cupsdStatBufUpdate() 213 else if (!strncmp(sb->buffer, "WARNING:", 8)) in cupsdStatBufUpdate() 218 else if (!strncmp(sb->buffer, "NOTICE:", 7)) in cupsdStatBufUpdate() 223 else if (!strncmp(sb->buffer, "INFO:", 5)) in cupsdStatBufUpdate() 228 else if (!strncmp(sb->buffer, "DEBUG:", 6)) in cupsdStatBufUpdate() 233 else if (!strncmp(sb->buffer, "DEBUG2:", 7)) in cupsdStatBufUpdate() 238 else if (!strncmp(sb->buffer, "PAGE:", 5)) in cupsdStatBufUpdate() [all …]
|
/external/minigbm/ |
D | minigbm_helpers.c | 122 if (strncmp("i915", version->name, version->name_len) == 0) { in detect_device_info() 127 } else if (strncmp("amdgpu", version->name, version->name_len) == 0) { in detect_device_info() 145 } else if (strncmp("radeon", version->name, version->name_len) == 0) { in detect_device_info() 167 } else if (strncmp("nvidia", version->name, version->name_len) == 0) { in detect_device_info() 170 } else if (strncmp("nouveau", version->name, version->name_len) == 0) { in detect_device_info() 173 } else if (strncmp("msm", version->name, version->name_len) == 0) { in detect_device_info() 176 } else if (strncmp("armada", version->name, version->name_len) == 0) { in detect_device_info() 178 } else if (strncmp("exynos", version->name, version->name_len) == 0) { in detect_device_info() 180 } else if (strncmp("mediatek", version->name, version->name_len) == 0) { in detect_device_info() 182 } else if (strncmp("rockchip", version->name, version->name_len) == 0) { in detect_device_info() [all …]
|
/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 …]
|
/external/libpcap/ |
D | pcap-snoop.c | 249 if (strncmp("et", p->opt.device, 2) == 0 || /* Challenge 10 Mbit */ in pcap_activate_snoop() 250 strncmp("ec", p->opt.device, 2) == 0 || /* Indigo/Indy 10 Mbit, in pcap_activate_snoop() 252 strncmp("ef", p->opt.device, 2) == 0 || /* O200/2000 10/100 Mbit */ in pcap_activate_snoop() 253 strncmp("eg", p->opt.device, 2) == 0 || /* Octane/O2xxx/O3xxx Gigabit */ in pcap_activate_snoop() 254 strncmp("gfe", p->opt.device, 3) == 0 || /* GIO 100 Mbit */ in pcap_activate_snoop() 255 strncmp("fxp", p->opt.device, 3) == 0 || /* Challenge VME Enet */ in pcap_activate_snoop() 256 strncmp("ep", p->opt.device, 2) == 0 || /* Challenge 8x10 Mbit EPLEX */ in pcap_activate_snoop() 257 strncmp("vfe", p->opt.device, 3) == 0 || /* Challenge VME 100Mbit */ in pcap_activate_snoop() 258 strncmp("fa", p->opt.device, 2) == 0 || in pcap_activate_snoop() 259 strncmp("qaa", p->opt.device, 3) == 0 || in pcap_activate_snoop() [all …]
|
/external/curl/tests/unit/ |
D | unit1304.c | 79 fail_unless(strncmp(login, "me", 2) == 0, 94 fail_unless(strncmp(login, "me", 2) == 0, 110 fail_unless(strncmp(login, "admi", 4) == 0, 126 fail_unless(strncmp(login, "adminn", 6) == 0, 140 fail_unless(strncmp(password, "passwd", 6) == 0, 143 fail_unless(strncmp(login, "admin", 5) == 0, "login should be 'admin'"); 155 fail_unless(strncmp(password, "passwd", 6) == 0, 158 fail_unless(strncmp(login, "admin", 5) == 0, "login should be 'admin'"); 174 fail_unless(strncmp(password, "none", 4) == 0, 177 fail_unless(strncmp(login, "none", 4) == 0, "login should be 'none'"); [all …]
|
/external/iw/ |
D | measurements.c | 70 if (strncmp(pos, "cf=", 3) == 0) { in parse_ftm_target() 76 } else if (strncmp(pos, "bw=", 3) == 0) { in parse_ftm_target() 78 } else if (strncmp(pos, "cf1=", 4) == 0) { in parse_ftm_target() 84 } else if (strncmp(pos, "cf2=", 4) == 0) { in parse_ftm_target() 90 } else if (strncmp(pos, "bursts_exp=", 11) == 0) { in parse_ftm_target() 98 } else if (strncmp(pos, "burst_period=", 13) == 0) { in parse_ftm_target() 105 } else if (strncmp(pos, "retries=", 8) == 0) { in parse_ftm_target() 113 } else if (strncmp(pos, "burst_duration=", 15) == 0) { in parse_ftm_target() 121 } else if (strncmp(pos, "ftms_per_burst=", 15) == 0) { in parse_ftm_target() 137 } else if (strncmp(pos, "preamble=", 9) == 0) { in parse_ftm_target() [all …]
|
/external/e2fsprogs/misc/ |
D | base_device.c | 55 if (strncmp(cp, "/dev/", 5) != 0) in base_device() 60 if (strncmp(cp, "dsk/", 4) == 0) in base_device() 73 if (strncmp(cp, "rd/", 3) == 0) { in base_device() 97 if (strncmp(cp, "ide/", 4) == 0) in base_device() 99 if (strncmp(cp, "scsi/", 5) == 0) in base_device() 111 if (strncmp(cp, *hier, len) != 0) in base_device() 127 if (strncmp(cp, "discs/", 6) == 0) in base_device() 129 else if (strncmp(cp, "disks/", 6) == 0) in base_device() 133 if (strncmp(cp, disk, 4) != 0) in base_device()
|
/external/capstone/suite/cstest/src/ |
D | main.c | 94 while (counter < size_lines && strncmp(list_lines[counter], "0x", 2)) in setup_MC() 97 while (counter < size_lines && strncmp(list_lines[counter], "// 0x", 5)) in setup_MC() 132 while (counter < size_lines && strncmp(list_lines[counter], "!# ", 3)) in setup_issue() 135 while (counter < size_lines && strncmp(list_lines[counter], "// !# ", 6)) in setup_issue() 140 while (counter < size_lines && strncmp(list_lines[counter], "!#", 2)) in setup_issue() 143 while (counter < size_lines && strncmp(list_lines[counter], "// !# ", 6)) in setup_issue() 216 while (counter < size_lines && strncmp(list_lines[counter], "0x", 2)) in setup_issue() 219 while (counter < size_lines && strncmp(list_lines[counter], "// 0x", 5)) in setup_issue() 239 while (counter < size_lines && strncmp(list_lines[counter], "!# ", 3)) in teardown_issue() 242 while (counter < size_lines && strncmp(list_lines[counter], "// !# ", 6)) in teardown_issue() [all …]
|
/external/libxaac/test/ |
D | ixheaacd_metadata_read.c | 42 if (!strncmp((pCHAR8)cmd, "-dec_info_init:", 15)) { in ixheaacd_read_metadata_info() 46 } else if (!strncmp((pCHAR8)cmd, "-g_track_count:", 15)) { in ixheaacd_read_metadata_info() 52 else if (!strncmp((pCHAR8)cmd, "-movie_time_scale:", 18)) { in ixheaacd_read_metadata_info() 58 else if (!strncmp((pCHAR8)cmd, "-media_time_scale:", 18)) { in ixheaacd_read_metadata_info() 64 else if (!strncmp((pCHAR8)cmd, "-ia_mp4_stsz_entries:", 21)) { in ixheaacd_read_metadata_info() 80 else if (!strncmp((pCHAR8)cmd, "-playTimeInSamples:", 19)) { in ixheaacd_read_metadata_info() 87 else if (!strncmp((pCHAR8)cmd, "-startOffsetInSamples:", 22)) { in ixheaacd_read_metadata_info() 94 else if (!strncmp((pCHAR8)cmd, "-useEditlist:", 13)) { in ixheaacd_read_metadata_info() 101 else if (!strncmp((pCHAR8)cmd, "-ia_mp4_stsz_size:", 18)) { in ixheaacd_read_metadata_info()
|
/external/libcups/filter/ |
D | pstops.c | 312 while (!strncmp(line, "\033%-12345X", 9) || !strncmp(line, "@PJL ", 5)) in main() 321 while (strstr(line, "ENTER LANGUAGE") == NULL && strncmp(line, "%!", 2)) in main() 325 if (!strncmp(line, "%!", 2)) in main() 337 if (!strncmp(line, "%!PS-Adobe-", 11)) in main() 604 if (!strncmp(line, "%%Pages:", 8)) in copy_comments() 653 else if (!strncmp(line, "%%BoundingBox:", 14)) in copy_comments() 677 else if (!strncmp(line, "%%For:", 6)) in copy_comments() 682 else if (!strncmp(line, "%%Title:", 8)) in copy_comments() 687 else if (!strncmp(line, "%cupsRotation:", 14)) in copy_comments() 711 else if (strncmp(line, "%!", 2) && strncmp(line, "%cups", 5)) in copy_comments() [all …]
|
/external/llvm/lib/Fuzzer/test/ |
D | StrncmpTest.cpp | 15 if (Size >= 8 && strncmp(S, "123", 8)) in LLVMFuzzerTestOneInput() 17 if (Size >= 8 && strncmp(S, "01234567", 8) == 0) { in LLVMFuzzerTestOneInput() 18 if (Size >= 12 && strncmp(S + 8, "ABCD", 4) == 0) { in LLVMFuzzerTestOneInput() 19 if (Size >= 14 && strncmp(S + 12, "XY", 2) == 0) { in LLVMFuzzerTestOneInput() 20 if (Size >= 16 && strncmp(S + 14, "KLM", 3) == 0) { in LLVMFuzzerTestOneInput()
|
/external/libcap/progs/ |
D | capsh.c | 446 if (!strncmp("--drop=", argv[i], 7)) { in main() 448 } else if (!strncmp("--dropped=", argv[i], 10)) { in main() 465 } else if (!strncmp("--addamb=", argv[i], 9)) { in main() 467 } else if (!strncmp("--delamb=", argv[i], 9)) { in main() 469 } else if (!strncmp("--noamb", argv[i], 7)) { in main() 474 } else if (!strncmp("--inh=", argv[i], 6)) { in main() 543 } else if (!strncmp("--caps=", argv[i], 7)) { in main() 597 } else if (!strncmp("--mode=", argv[i], 7)) { in main() 622 } else if (!strncmp("--inmode=", argv[i], 9)) { in main() 630 } else if (!strncmp("--keep=", argv[i], 7)) { in main() [all …]
|
/external/python/cpython2/Misc/ |
D | setuid-prog.c | 108 if (strncmp(*p, "LD_", 3) == 0) in clean_environ() 110 else if (strncmp(*p, "_RLD", 4) == 0) in clean_environ() 112 else if (strncmp(*p, "PYTHON", 6) == 0) in clean_environ() 114 else if (strncmp(*p, "IFS=", 4) == 0) in clean_environ() 116 else if (strncmp(*p, "CDPATH=", 7) == 0) in clean_environ() 118 else if (strncmp(*p, "ENV=", 4) == 0) in clean_environ()
|
/external/linux-kselftest/tools/testing/selftests/resctrl/ |
D | resctrlfs.c | 332 if (strncmp(resctrl_val, CMT_STR, sizeof(CMT_STR))) in run_benchmark() 457 if (!strncmp(resctrl_val, CMT_STR, sizeof(CMT_STR)) || in write_bm_pid_to_resctrl() 458 !strncmp(resctrl_val, MBM_STR, sizeof(MBM_STR))) { in write_bm_pid_to_resctrl() 500 if (strncmp(resctrl_val, MBA_STR, sizeof(MBA_STR)) && in write_schemata() 501 strncmp(resctrl_val, CAT_STR, sizeof(CAT_STR)) && in write_schemata() 502 strncmp(resctrl_val, CMT_STR, sizeof(CMT_STR))) in write_schemata() 523 if (!strncmp(resctrl_val, CAT_STR, sizeof(CAT_STR)) || in write_schemata() 524 !strncmp(resctrl_val, CMT_STR, sizeof(CMT_STR))) in write_schemata() 526 if (!strncmp(resctrl_val, MBA_STR, sizeof(MBA_STR))) in write_schemata() 599 if (strncmp(line, str, slen)) in fgrep() [all …]
|
/external/libcups/locale/ |
D | checkpo.c | 102 if (!strncmp(msg->msg, "ALERT:", 6) || !strncmp(msg->msg, "CRIT:", 5) || in main() 103 !strncmp(msg->msg, "DEBUG:", 6) || !strncmp(msg->msg, "DEBUG2:", 7) || in main() 104 !strncmp(msg->msg, "EMERG:", 6) || !strncmp(msg->msg, "ERROR:", 6) || in main() 105 !strncmp(msg->msg, "INFO:", 5) || !strncmp(msg->msg, "NOTICE:", 7) || in main() 106 !strncmp(msg->msg, "WARNING:", 8)) in main() 147 if ((idfmt - 2) >= msg->msg && !strncmp(idfmt - 2, "...", 3)) in main()
|
/external/deqp-deps/glslang/StandAlone/ |
D | spirv-remap.cpp | 274 if (strncmp(argv[a], "all", 3) == 0) { in parseCmdLine() 285 if (strncmp(c, "all", 3) == 0) { in parseCmdLine() 288 } else if (strncmp(c, "*", 1) == 0) { in parseCmdLine() 291 } else if (strncmp(c, "funcs", 5) == 0) { in parseCmdLine() 294 } else if (strncmp(c, "types", 5) == 0) { in parseCmdLine() 304 if (strncmp(c, "all", 3) == 0) { in parseCmdLine() 307 } else if (strncmp(c, "*", 1) == 0) { in parseCmdLine() 310 } else if (strncmp(c, "types", 5) == 0) { in parseCmdLine() 313 } else if (strncmp(c, "names", 5) == 0) { in parseCmdLine() 316 } else if (strncmp(c, "funcs", 5) == 0) { in parseCmdLine() [all …]
|
/external/angle/third_party/vulkan-deps/glslang/src/StandAlone/ |
D | spirv-remap.cpp | 274 if (strncmp(argv[a], "all", 3) == 0) { in parseCmdLine() 285 if (strncmp(c, "all", 3) == 0) { in parseCmdLine() 288 } else if (strncmp(c, "*", 1) == 0) { in parseCmdLine() 291 } else if (strncmp(c, "funcs", 5) == 0) { in parseCmdLine() 294 } else if (strncmp(c, "types", 5) == 0) { in parseCmdLine() 304 if (strncmp(c, "all", 3) == 0) { in parseCmdLine() 307 } else if (strncmp(c, "*", 1) == 0) { in parseCmdLine() 310 } else if (strncmp(c, "types", 5) == 0) { in parseCmdLine() 313 } else if (strncmp(c, "names", 5) == 0) { in parseCmdLine() 316 } else if (strncmp(c, "funcs", 5) == 0) { in parseCmdLine() [all …]
|
/external/clang/test/Analysis/ |
D | string.c | 789 #define strncmp BUILTIN(strncmp) macro 790 int strncmp(const char *s1, const char *s2, size_t n); 795 clang_analyzer_eval(strncmp(x, y, 2) > 0); // expected-warning{{TRUE}} in strncmp_check_modelling() 796 clang_analyzer_eval(strncmp(x, y, 2) <= 0); // expected-warning{{FALSE}} in strncmp_check_modelling() 797 clang_analyzer_eval(strncmp(x, y, 2) > 1); // expected-warning{{UNKNOWN}} in strncmp_check_modelling() 799 clang_analyzer_eval(strncmp(y, x, 2) < 0); // expected-warning{{TRUE}} in strncmp_check_modelling() 800 clang_analyzer_eval(strncmp(y, x, 2) >= 0); // expected-warning{{FALSE}} in strncmp_check_modelling() 801 clang_analyzer_eval(strncmp(y, x, 2) < -1); // expected-warning{{UNKNOWN}} in strncmp_check_modelling() 805 clang_analyzer_eval(strncmp("123", "123", 3) == 0); // expected-warning{{TRUE}} in strncmp_constant0() 810 clang_analyzer_eval(strncmp(x, "123", 3) == 0); // expected-warning{{TRUE}} in strncmp_constant_and_var_0() [all …]
|
/external/scudo/standalone/ |
D | flags_parser.cpp | 112 if (strncmp(Value, "0", 1) == 0 || strncmp(Value, "no", 2) == 0 || in parseBool() 113 strncmp(Value, "false", 5) == 0) { in parseBool() 117 if (strncmp(Value, "1", 1) == 0 || strncmp(Value, "yes", 3) == 0 || in parseBool() 118 strncmp(Value, "true", 4) == 0) { in parseBool() 128 if (strncmp(Name, Flags[I].Name, Len) != 0 || Name[Len] != '=') in runHandler()
|
/external/mesa3d/src/mesa/program/ |
D | program_parse_extra.c | 81 if (strncmp(option, "ARB_", 4) == 0) { in _mesa_ARBfp_parse_option() 86 if (strncmp(option, "fog_", 4) == 0) { in _mesa_ARBfp_parse_option() 125 } else if (strncmp(option, "precision_hint_", 15) == 0) { in _mesa_ARBfp_parse_option() 158 } else if (strncmp(option, "fragment_coord_", 15) == 0) { in _mesa_ARBfp_parse_option() 171 } else if (strncmp(option, "ATI_", 4) == 0) { in _mesa_ARBfp_parse_option()
|