/third_party/ffmpeg/libavformat/ |
H A D | mvdec.c | 127 if (!strcmp(name, "__NUM_I_TRACKS")) { in parse_global_var() 129 } else if (!strcmp(name, "__NUM_A_TRACKS")) { in parse_global_var() 131 } else if (!strcmp(name, "COMMENT") || !strcmp(name, "TITLE")) { in parse_global_var() 133 } else if (!strcmp(name, "LOOP_MODE") || !strcmp(name, "NUM_LOOPS") || in parse_global_var() 134 !strcmp(name, "OPTIMIZED")) { in parse_global_var() 151 if (!strcmp(name, "__DIR_COUNT")) { in parse_audio_var() 153 } else if (!strcmp(name, "AUDIO_FORMAT")) { in parse_audio_var() 155 } else if (!strcmp(nam in parse_audio_var() [all...] |
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/test/unittest/ |
H A D | process_group_sub_test.cpp | 91 EXPECT_TRUE(!strcmp(policyName, "sp_default")); in HWTEST_F() 104 EXPECT_TRUE(!strcmp(policyName, "sp_background")); in HWTEST_F() 117 EXPECT_TRUE(!strcmp(policyName, "sp_foreground")); in HWTEST_F() 130 EXPECT_TRUE(!strcmp(policyName, "sp_system_background")); in HWTEST_F() 143 EXPECT_TRUE(!strcmp(policyName, "sp_top_app")); in HWTEST_F() 156 EXPECT_TRUE(!strcmp(policyName, "df")); in HWTEST_F() 169 EXPECT_TRUE(!strcmp(policyName, "fg")); in HWTEST_F() 182 EXPECT_TRUE(!strcmp(policyName, "bg")); in HWTEST_F()
|
/kernel/linux/linux-6.6/tools/verification/rv/src/ |
H A D | rv.c | 61 if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) in rv_list() 100 } else if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) { in rv_mon() 170 if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) in main() 173 if (!strcmp(argv[1], "list")) in main() 176 if (!strcmp(argv[1], "mon")) { in main()
|
/third_party/mesa3d/src/broadcom/cle/ |
H A D | v3d_decoder.c | 103 if (strcmp(spec->structs[i]->name, name) == 0) in v3d_spec_find_struct() 123 if (strcmp(spec->registers[i]->name, name) == 0) in v3d_spec_find_register_by_name() 134 if (strcmp(spec->enums[i]->name, name) == 0) in v3d_spec_find_enum() 201 if (strcmp(atts[i], "count") == 0) { in get_group_offset_count() 205 } else if (strcmp(atts[i], "start") == 0) { in get_group_offset_count() 207 } else if (strcmp(atts[i], "size") == 0) { in get_group_offset_count() 264 if (strcmp(atts[i], "num") == 0) in get_register_offset() 277 if (strcmp(s, "int") == 0) in string_to_type() 279 else if (strcmp(s, "uint") == 0) in string_to_type() 281 else if (strcmp( in string_to_type() [all...] |
/third_party/skia/third_party/externals/spirv-tools/tools/opt/ |
H A D | opt.cpp | 660 if (0 == strcmp(cur_arg, "--set-spec-const-default-value") || in CanonicalizeFlag() 661 0 == strcmp(cur_arg, "--loop-fission") || in CanonicalizeFlag() 662 0 == strcmp(cur_arg, "--loop-fusion") || in CanonicalizeFlag() 663 0 == strcmp(cur_arg, "--loop-unroll-partial") || in CanonicalizeFlag() 664 0 == strcmp(cur_arg, "--loop-peeling-threshold")) { in CanonicalizeFlag() 691 if (0 == strcmp(cur_arg, "--version")) { in ParseFlags() 695 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in ParseFlags() 698 } else if (0 == strcmp(cur_arg, "-o")) { in ParseFlags() 721 } else if (0 == strcmp(cur_ar in ParseFlags() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/opt/ |
H A D | opt.cpp | 660 if (0 == strcmp(cur_arg, "--set-spec-const-default-value") || in CanonicalizeFlag() 661 0 == strcmp(cur_arg, "--loop-fission") || in CanonicalizeFlag() 662 0 == strcmp(cur_arg, "--loop-fusion") || in CanonicalizeFlag() 663 0 == strcmp(cur_arg, "--loop-unroll-partial") || in CanonicalizeFlag() 664 0 == strcmp(cur_arg, "--loop-peeling-threshold")) { in CanonicalizeFlag() 691 if (0 == strcmp(cur_arg, "--version")) { in ParseFlags() 695 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in ParseFlags() 698 } else if (0 == strcmp(cur_arg, "-o")) { in ParseFlags() 721 } else if (0 == strcmp(cur_ar in ParseFlags() [all...] |
/third_party/spirv-tools/tools/opt/ |
H A D | opt.cpp | 676 if (0 == strcmp(cur_arg, "--set-spec-const-default-value") || in CanonicalizeFlag() 677 0 == strcmp(cur_arg, "--loop-fission") || in CanonicalizeFlag() 678 0 == strcmp(cur_arg, "--loop-fusion") || in CanonicalizeFlag() 679 0 == strcmp(cur_arg, "--loop-unroll-partial") || in CanonicalizeFlag() 680 0 == strcmp(cur_arg, "--loop-peeling-threshold")) { in CanonicalizeFlag() 707 if (0 == strcmp(cur_arg, "--version")) { in ParseFlags() 711 } else if (0 == strcmp(cur_arg, "--help") || 0 == strcmp(cur_arg, "-h")) { in ParseFlags() 714 } else if (0 == strcmp(cur_arg, "-o")) { in ParseFlags() 737 } else if (0 == strcmp(cur_ar in ParseFlags() [all...] |
/kernel/liteos_a/apps/perf/src/ |
H A D | main.c | 56 } else if ((argc == TWO_ARGS) && strcmp(argv[1], "start") == 0) { in main() 58 } else if ((argc == THREE_ARGS) && strcmp(argv[1], "start") == 0) { in main() 61 } else if ((argc == TWO_ARGS) && strcmp(argv[1], "stop") == 0) { in main() 63 } else if ((argc == THREE_ARGS) && strcmp(argv[1], "read") == 0) { in main() 76 } else if ((argc == TWO_ARGS) && strcmp(argv[1], "list") == 0) { in main() 78 } else if ((argc >= THREE_ARGS) && strcmp(argv[1], "stat") == 0) { in main() 80 } else if ((argc >= THREE_ARGS) && strcmp(argv[1], "record") == 0) { in main()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | perf.c | 105 return (strstarts(var, header) && !strcmp(var + strlen(header), c->cmd)); in same_cmd_with_prefix() 194 if (!strcmp(cmd, "--help") || !strcmp(cmd, "--version")) in handle_options() 201 if (!strcmp(cmd, "-h")) { in handle_options() 206 if (!strcmp(cmd, "-v")) { in handle_options() 211 if (!strcmp(cmd, "-vv")) { in handle_options() 228 } else if (!strcmp(cmd, "--html-path")) { in handle_options() 231 } else if (!strcmp(cmd, "-p") || !strcmp(cmd, "--paginate")) { in handle_options() 233 } else if (!strcmp(cm in handle_options() [all...] |
/third_party/alsa-utils/alsactl/ |
H A D | alsactl.c | 422 if (strcmp(cfgfile, SYS_ASOUNDRC) == 0 && do_lock >= 0) in main() 436 daemoncmd = strcmp(cmd, "daemon") == 0 || strcmp(cmd, "rdaemon") == 0; in main() 446 if (!strcmp(cmd, "init")) { in main() 449 } else if (!strcmp(cmd, "store")) { in main() 451 } else if (!strcmp(cmd, "restore") || in main() 452 !strcmp(cmd, "rdaemon") || in main() 453 !strcmp(cmd, "nrestore")) { in main() 457 if (!strcmp(cmd, "rdaemon")) { in main() 461 if (!strcmp(cm in main() [all...] |
/kernel/linux/linux-5.10/tools/power/cpupower/bench/ |
H A D | parse.c | 183 if (strcmp("sleep", opt) == 0) in prepare_config() 186 else if (strcmp("load", opt) == 0) in prepare_config() 189 else if (strcmp("load_step", opt) == 0) in prepare_config() 192 else if (strcmp("sleep_step", opt) == 0) in prepare_config() 195 else if (strcmp("cycles", opt) == 0) in prepare_config() 198 else if (strcmp("rounds", opt) == 0) in prepare_config() 201 else if (strcmp("verbose", opt) == 0) in prepare_config() 204 else if (strcmp("output", opt) == 0) in prepare_config() 207 else if (strcmp("cpu", opt) == 0) in prepare_config() 210 else if (strcmp("governo in prepare_config() [all...] |
/kernel/linux/linux-6.6/tools/power/cpupower/bench/ |
H A D | parse.c | 183 if (strcmp("sleep", opt) == 0) in prepare_config() 186 else if (strcmp("load", opt) == 0) in prepare_config() 189 else if (strcmp("load_step", opt) == 0) in prepare_config() 192 else if (strcmp("sleep_step", opt) == 0) in prepare_config() 195 else if (strcmp("cycles", opt) == 0) in prepare_config() 198 else if (strcmp("rounds", opt) == 0) in prepare_config() 201 else if (strcmp("verbose", opt) == 0) in prepare_config() 204 else if (strcmp("output", opt) == 0) in prepare_config() 207 else if (strcmp("cpu", opt) == 0) in prepare_config() 210 else if (strcmp("governo in prepare_config() [all...] |
/kernel/liteos_a/kernel/base/misc/ |
H A D | mempt_shellcmd.c | 121 if ((argc == 1) && (strcmp(argv[0], "-k") == 0)) { in OsShellCmdSectionInfo() 124 } else if ((argc == 1) && (strcmp(argv[0], "-m") == 0)) { in OsShellCmdSectionInfo() 154 ((argc == 1) && (strcmp(argv[0], "-k") == 0)) || in OsShellCmdFreeInfo() 155 ((argc == 1) && (strcmp(argv[0], "-m") == 0))) { in OsShellCmdFreeInfo() 159 if ((argc == 1) && (strcmp(argv[0], "-k") == 0)) { in OsShellCmdFreeInfo() 162 } else if ((argc == 1) && (strcmp(argv[0], "-m") == 0)) { in OsShellCmdFreeInfo() 195 if (strcmp(argv[0], "-a") == 0) { in OsShellCmdUname() 199 } else if (strcmp(argv[0], "-s") == 0) { in OsShellCmdUname() 202 } else if (strcmp(argv[0], "-t") == 0) { in OsShellCmdUname() 205 } else if (strcmp(arg in OsShellCmdUname() [all...] |
H A D | vm_shellcmd.c | 114 if (strcmp(argv[0], "-a") == 0) { in OsShellCmdDumpVm() 116 } else if (strcmp(argv[0], "-k") == 0) { in OsShellCmdDumpVm() 120 } else if (strcmp(argv[0], "-h") == 0 || strcmp(argv[0], "--help") == 0) { in OsShellCmdDumpVm() 148 if (strcmp(argv[0], "-h") == 0 || strcmp(argv[0], "--help") == 0) { in OsShellCmdV2P() 211 if (strcmp(argv[0], "-h") != 0 && strcmp(argv[0], "--help") != 0) { in OsShellCmdOom() 216 if (strcmp(argv[0], "-m") == 0) { in OsShellCmdOom() 224 } else if (strcmp(arg in OsShellCmdOom() [all...] |
/third_party/libsnd/tests/ |
H A D | string_test.c | 71 do_all = ! strcmp (argv [1], "all") ; in main() 73 if (do_all || ! strcmp (argv [1], "wav")) in main() 95 if (do_all || ! strcmp (argv [1], "aiff")) in main() 110 if (do_all || ! strcmp (argv [1], "flac")) in main() 118 if (do_all || ! strcmp (argv [1], "mpeg")) in main() 126 if (do_all || ! strcmp (argv [1], "ogg")) in main() 134 if (do_all || ! strcmp (argv [1], "opus")) in main() 142 if (do_all || ! strcmp (argv [1], "caf")) in main() 155 if (do_all || ! strcmp (argv [1], "rf64")) in main() 168 if (do_all || ! strcmp (arg in main() [all...] |
/third_party/icu/icu4c/source/extra/uconv/ |
H A D | uconv.cpp | 330 if (!strcmp(standardName, alias)) { in printConverters() 622 if (infilestr != 0 && strcmp(infilestr, "-")) { in convertFile() 1157 if (strcmp("-f", *iter) == 0 || !strcmp("--from-code", *iter)) { in main() 1163 } else if (strcmp("-t", *iter) == 0 || !strcmp("--to-code", *iter)) { in main() 1169 } else if (strcmp("-x", *iter) == 0) { in main() 1175 } else if (!strcmp("--fallback", *iter)) { in main() 1177 } else if (!strcmp("--no-fallback", *iter)) { in main() 1179 } else if (strcmp(" in main() [all...] |
/third_party/skia/third_party/externals/icu/source/extra/uconv/ |
H A D | uconv.cpp | 330 if (!strcmp(standardName, alias)) { in printConverters() 622 if (infilestr != 0 && strcmp(infilestr, "-")) { in convertFile() 1157 if (strcmp("-f", *iter) == 0 || !strcmp("--from-code", *iter)) { in main() 1163 } else if (strcmp("-t", *iter) == 0 || !strcmp("--to-code", *iter)) { in main() 1169 } else if (strcmp("-x", *iter) == 0) { in main() 1175 } else if (!strcmp("--fallback", *iter)) { in main() 1177 } else if (!strcmp("--no-fallback", *iter)) { in main() 1179 } else if (strcmp(" in main() [all...] |
/third_party/mesa3d/src/intel/tools/ |
H A D | aubinator_viewer_decoder.cpp | 172 if (strcmp(iter.name, "Surface State Base Address") == 0) { in handle_state_base_address() 174 } else if (strcmp(iter.name, "Dynamic State Base Address") == 0) { in handle_state_base_address() 176 } else if (strcmp(iter.name, "Instruction Base Address") == 0) { in handle_state_base_address() 178 } else if (strcmp(iter.name, "Surface State Base Address Modify Enable") == 0) { in handle_state_base_address() 180 } else if (strcmp(iter.name, "Dynamic State Base Address Modify Enable") == 0) { in handle_state_base_address() 182 } else if (strcmp(iter.name, "Instruction Base Address Modify Enable") == 0) { in handle_state_base_address() 301 if (strcmp(iter.name, "Interface Descriptor Data Start Address") == 0) { in handle_media_interface_descriptor_load() 303 } else if (strcmp(iter.name, "Interface Descriptor Total Length") == 0) { in handle_media_interface_descriptor_load() 329 if (strcmp(iter.name, "Kernel Start Pointer") == 0) { in handle_media_interface_descriptor_load() 331 } else if (strcmp(ite in handle_media_interface_descriptor_load() [all...] |
/third_party/alsa-lib/src/ucm/ |
H A D | parser.c | 273 /* delete this field to optimize strcmp() call in the parsing loop */ in parse_syntax_field() 613 if (strcmp(id, uc_mgr->parse_variant)) in evaluate_variant() 707 if (strcmp(id, "File") == 0 || in parse_libconfig1() 708 strcmp(id, "SubstiFile") == 0) { in parse_libconfig1() 716 if (strcmp(id, "Config") == 0 || in parse_libconfig1() 717 strcmp(id, "SubstiConfig") == 0) { in parse_libconfig1() 980 if (!strcmp(dev->name, name)) in find_component_dev() 987 if (!strcmp(dev->name, name)) { in find_component_dev() 1088 if (strcmp(cmd, "cdev") == 0) { in parse_sequence() 1098 if (strcmp(cm in parse_sequence() [all...] |
/third_party/openssl/test/ |
H A D | ssl_old_test.c | 821 if (strcmp(versions[i].name, value) == 0) in protocol_from_string() 977 if (strcmp(*argv, "-F") == 0) { in main() 981 } else if (strcmp(*argv, "-server_auth") == 0) in main() 983 else if (strcmp(*argv, "-client_auth") == 0) in main() 985 else if (strcmp(*argv, "-v") == 0) in main() 987 else if (strcmp(*argv, "-d") == 0) in main() 989 else if (strcmp(*argv, "-reuse") == 0) in main() 991 else if (strcmp(*argv, "-no_dhe") == 0) in main() 996 else if (strcmp(*argv, "-dhe512") == 0) in main() 998 else if (strcmp(*arg in main() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/test/unittest/common/ |
H A D | timer_module_tdd_test.cpp | 667 EXPECT_TRUE((content != nullptr) && (!strcmp(content, "once_timer_success"))); in HWTEST_F() 696 EXPECT_TRUE((content != nullptr) && (!strcmp(content, "7"))); in HWTEST_F() 725 EXPECT_TRUE((content != nullptr) && (!strcmp(content, "clearSuccess"))); in HWTEST_F() 762 EXPECT_TRUE((content != nullptr) && (!strcmp(content, "One Arg"))); in HWTEST_F() 771 EXPECT_TRUE((content != nullptr) && (!strcmp(content, "Two Arg"))); in HWTEST_F() 808 EXPECT_TRUE((content != nullptr) && (!strcmp(content, "Interval One"))); in HWTEST_F() 817 EXPECT_TRUE((content != nullptr) && (!strcmp(content, "Interval Two"))); in HWTEST_F() 846 EXPECT_FALSE((content == nullptr) || (strcmp(content, "trigger success"))); in HWTEST_F() 875 EXPECT_FALSE((content == nullptr) || (strcmp(content, "trigger interval success"))); in HWTEST_F() 904 EXPECT_FALSE((content == nullptr) || (strcmp(conten in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/drivers/media/cec/core/ |
H A D | cec-pin-error-inj.c | 90 if (!strcmp(token, "clear")) { in cec_pin_error_inj_parse_line() 99 if (!strcmp(token, "rx-clear")) { in cec_pin_error_inj_parse_line() 105 if (!strcmp(token, "tx-clear")) { in cec_pin_error_inj_parse_line() 115 if (!strcmp(token, "tx-ignore-nack-until-eom")) { in cec_pin_error_inj_parse_line() 119 if (!strcmp(token, "tx-custom-pulse")) { in cec_pin_error_inj_parse_line() 128 if (!strcmp(token, "tx-custom-low-usecs")) { in cec_pin_error_inj_parse_line() 136 if (!strcmp(token, "tx-custom-high-usecs")) { in cec_pin_error_inj_parse_line() 148 if (!strcmp(token, "any")) { in cec_pin_error_inj_parse_line() 162 if (!strcmp(comma, "off")) in cec_pin_error_inj_parse_line() 164 else if (!strcmp(comm in cec_pin_error_inj_parse_line() [all...] |
/kernel/linux/linux-6.6/drivers/media/cec/core/ |
H A D | cec-pin-error-inj.c | 90 if (!strcmp(token, "clear")) { in cec_pin_error_inj_parse_line() 99 if (!strcmp(token, "rx-clear")) { in cec_pin_error_inj_parse_line() 105 if (!strcmp(token, "tx-clear")) { in cec_pin_error_inj_parse_line() 115 if (!strcmp(token, "tx-ignore-nack-until-eom")) { in cec_pin_error_inj_parse_line() 119 if (!strcmp(token, "tx-custom-pulse")) { in cec_pin_error_inj_parse_line() 128 if (!strcmp(token, "tx-custom-low-usecs")) { in cec_pin_error_inj_parse_line() 136 if (!strcmp(token, "tx-custom-high-usecs")) { in cec_pin_error_inj_parse_line() 148 if (!strcmp(token, "any")) { in cec_pin_error_inj_parse_line() 162 if (!strcmp(comma, "off")) in cec_pin_error_inj_parse_line() 164 else if (!strcmp(comm in cec_pin_error_inj_parse_line() [all...] |
/third_party/curl/tests/unit/ |
H A D | unit3200.c | 105 fail_unless(line && !strcmp("LINE1\n", line), 108 fail_unless(line && !strcmp("LINE2 NEWLINE\n", line), 115 fail_unless(line && !strcmp("LINE1\n", line), 118 fail_unless(line && !strcmp("LINE2 NONEWLINE\n", line), 125 fail_unless(line && !strcmp("LINE1\n", line), 133 fail_unless(line && !strcmp("LINE1\n", line), 141 fail_unless(line && !strcmp("LINE1\n", line), 144 fail_unless(line && !strcmp("LINE3\n", line), 151 fail_unless(line && !strcmp("LINE1\x1aTEST\n", line),
|
/third_party/mesa3d/src/compiler/spirv/ |
H A D | spirv2nir.c | 50 if (!strcmp(stage, "vertex")) in stage_to_enum() 52 else if (!strcmp(stage, "tess-ctrl")) in stage_to_enum() 54 else if (!strcmp(stage, "tess-eval")) in stage_to_enum() 56 else if (!strcmp(stage, "geometry")) in stage_to_enum() 58 else if (!strcmp(stage, "fragment")) in stage_to_enum() 60 else if (!strcmp(stage, "compute")) in stage_to_enum() 62 else if (!strcmp(stage, "kernel")) in stage_to_enum() 64 else if (!strcmp(stage, "task")) in stage_to_enum() 66 else if (!strcmp(stage, "mesh")) in stage_to_enum()
|