/third_party/libexif/contrib/examples/ |
H A D | photographer.c | 111 if (!strcmp(buf, "Canon")) { in main() 114 } else if (!strcmp(buf, "Asahi Optical Co.,Ltd.") || in main() 115 !strcmp(buf, "PENTAX Corporation")) { in main()
|
/third_party/ltp/testcases/kernel/syscalls/statx/ |
H A D | statx04.c | 100 if (!strcmp(tst_device->fs_type, "xfs") || !strcmp(tst_device->fs_type, "tmpfs")) in setup() 104 if (!strcmp(tst_device->fs_type, "btrfs") && tst_kvercmp(4, 13, 0) < 0) in setup()
|
/third_party/ltp/testcases/kernel/sched/sched_stress/ |
H A D | sched_tc1.c | 128 if (!strcmp(priority, "fixed")) { in main() 261 if (strcmp(priority, "fixed") && strcmp(priority, "variable")) in parse_args()
|
H A D | sched_tc0.c | 127 if (!strcmp(priority, "fixed")) { in main() 257 if (strcmp(priority, "fixed") && strcmp(priority, "variable")) in parse_args()
|
/third_party/vixl/examples/aarch64/ |
H A D | disasm.cc | 88 if ((strcmp(arg, "--help") == 0) || (strcmp(arg, "-h") == 0)) { in main() 105 } else if (strcmp(arg, "--start-at") == 0) { in main()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | ToggleValidationTests.cpp | 53 if (strcmp(toggle, kValidToggleName) == 0) { in TEST_F() 70 if (strcmp(toggle, kInvalidToggleName) == 0) { in TEST_F() 87 if (strcmp(toggle, kValidToggleName) == 0) { in TEST_F()
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/ |
H A D | pmu.c | 14 if (!strcmp(pmu->name, INTEL_PT_PMU_NAME)) in perf_pmu__get_default_config() 16 if (!strcmp(pmu->name, INTEL_BTS_PMU_NAME)) in perf_pmu__get_default_config()
|
/third_party/musl/src/locale/ |
H A D | strcoll.c | 7 return strcmp(l, r); in __strcoll_l() 13 return strcmp(l, r); in strcoll()
|
/third_party/musl/porting/liteos_a/user/src/locale/ |
H A D | strcoll.c | 7 return strcmp(l, r); in __strcoll_l() 12 return strcmp(l, r); in strcoll()
|
/third_party/skia/tools/skiaserve/urlhandlers/ |
H A D | RootHandler.cpp | 17 return 0 == strcmp(method, MHD_HTTP_METHOD_GET) && in canHandle() 18 0 == strcmp(url, "/"); in canHandle()
|
/third_party/toybox/toys/android/ |
H A D | setenforce.c | 26 else if (!strcmp(new, "1") || !strcasecmp(new, "enforcing")) state = 1; in setenforce_main() 27 else if (!strcmp(new, "0") || !strcasecmp(new, "permissive")) state = 0; in setenforce_main()
|
/third_party/backends/backend/ |
H A D | canon-sane.c | 150 if (strcmp (dev->sane.name, devnam) == 0) in sane_open() 414 strcmp (filmtype_list[1], s->val[OPT_NEGATIVE].s) in sane_control_option() 673 if (!strcmp (s->val[OPT_TPU_DCM].s, in sane_control_option() 679 else if (!strcmp (s->val[OPT_TPU_DCM].s, in sane_control_option() 698 if (info && strcmp (s->val[option].s, (SANE_String) val)) in sane_control_option() 703 if (!strcmp (val, SANE_VALUE_SCAN_MODE_LINEART) in sane_control_option() 704 || !strcmp (val, SANE_VALUE_SCAN_MODE_HALFTONE)) in sane_control_option() 731 if (!strcmp (val, SANE_VALUE_SCAN_MODE_COLOR) in sane_control_option() 732 || !strcmp (val, SANE_I18N("Fine color"))) in sane_control_option() 771 if (info && strcmp ( in sane_control_option() [all...] |
/third_party/libsnd/tests/ |
H A D | lossy_comp_test.c | 118 do_all = ! strcmp (argv [1], "all") ; in main() 120 if (do_all || strcmp (argv [1], "wav_pcm") == 0) in main() 137 if (do_all || strcmp (argv [1], "wav_ima") == 0) in main() 155 if (do_all || strcmp (argv [1], "wav_msadpcm") == 0) in main() 174 if (do_all || strcmp (argv [1], "wav_g721") == 0) in main() 186 if (do_all || strcmp (argv [1], "wav_ulaw") == 0) in main() 202 if (do_all || strcmp (argv [1], "wav_alaw") == 0) in main() 214 if (do_all || strcmp (argv [1], "wav_gsm610") == 0) in main() 230 if (do_all || strcmp (argv [1], "wav_nmsadpcm") == 0) in main() 265 if (do_all || strcmp (arg in main() [all...] |
/drivers/peripheral/usb/ddk/device/src/ |
H A D | usbfn_cfg_mgr.c | 974 if (obj->intf && (obj->intf == intf) && strcmp(name, obj->name) == 0) { in IsPropRegisted() 991 if (strcmp(USBDEV_CLASS, name) == 0) { in IsDevDescPropAndGetValue() 993 } else if (strcmp(USBDEV_SUBCLASS, name) == 0) { in IsDevDescPropAndGetValue() 995 } else if (strcmp(USBDEV_PROTOCOL, name) == 0) { in IsDevDescPropAndGetValue() 997 } else if (strcmp(USBDEV_MAXSIZE, name) == 0) { in IsDevDescPropAndGetValue() 999 } else if (strcmp(USBDEV_MANUFACTURER, name) == 0) { in IsDevDescPropAndGetValue() 1001 } else if (strcmp(USBDEV_PRODUCT, name) == 0) { in IsDevDescPropAndGetValue() 1003 } else if (strcmp(USBDEV_SERIALNUM, name) == 0) { in IsDevDescPropAndGetValue() 1005 } else if (strcmp(USBDEV_NUMCFG, name) == 0) { in IsDevDescPropAndGetValue() 1007 } else if (strcmp(USBDEV_BC in IsDevDescPropAndGetValue() [all...] |
/foundation/communication/ipc/services/dbinder/test/distributedtest/src/ |
H A D | dbinder_service_test_helper.cpp | 50 if ((strcmp(ptr->d_name, ".") == 0) || (strcmp(ptr->d_name, "..") == 0)) { in GetPidByName() 74 if (!strcmp(taskName.c_str(), curTaskName)) { in GetPidByName() 97 if ((strcmp(ptr->d_name, ".") == 0) || (strcmp(ptr->d_name, "..") == 0)) { in GetChildPids()
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/ |
H A D | capability_info.cpp | 158 if (strcmp(this->deviceId_.c_str(), capInfo.deviceId_.c_str()) != 0) { in Compare() 162 if (strcmp(this->dhId_.c_str(), capInfo.dhId_.c_str()) != 0) { in Compare() 166 if (strcmp(this->deviceName_.c_str(), capInfo.deviceName_.c_str()) != 0) { in Compare() 178 if (strcmp(this->dhAttrs_.c_str(), capInfo.dhAttrs_.c_str()) != 0) { in Compare() 182 if (strcmp(this->dhSubtype_.c_str(), capInfo.dhSubtype_.c_str()) != 0) { in Compare()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | acpi.c | 52 if (strcmp(arg, "off") == 0) in parse_acpi() 54 else if (strcmp(arg, "on") == 0) /* prefer ACPI over DT */ in parse_acpi() 56 else if (strcmp(arg, "force") == 0) /* force ACPI to be enabled */ in parse_acpi() 76 if (strcmp(uname, "chosen") == 0) in dt_scan_depth1_nodes() 79 if (strcmp(uname, "hypervisor") == 0 && in dt_scan_depth1_nodes()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ |
H A D | utils.c | 139 return strcmp(uts.machine, "ppc64le") == 0; in is_ppc64le() 286 if (!strcmp(line, "MMU : Hash\n") || in using_hash_mmu() 287 !strcmp(line, "platform : Cell\n") || in using_hash_mmu() 288 !strcmp(line, "platform : PowerMac\n")) { in using_hash_mmu() 293 if (strcmp(line, "MMU : Radix\n") == 0) { in using_hash_mmu()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/ |
H A D | display-connector.c | 148 if (!strcmp(hdmi_type, "a") || !strcmp(hdmi_type, "c") || in display_connector_probe() 149 !strcmp(hdmi_type, "d") || !strcmp(hdmi_type, "e")) { in display_connector_probe() 151 } else if (!strcmp(hdmi_type, "b")) { in display_connector_probe()
|
/kernel/liteos_m/testsuites/include/ |
H A D | iCunit.h | 294 if (strcmp(str1, str2) != 0) { \
302 if (strcmp((const char *)str1, (const char *)str2) != 0) { \
310 if (strcmp(str1, str2) == 0) { \
334 if (strcmp(str1, str2) != 0) { \
342 if (strcmp(str1, str2) == 0) { \
|
/third_party/curl/tests/server/ |
H A D | fake_ntlm.c | 134 if(!strcmp("--use-cached-creds", argv[arg])) { in main() 138 else if(!strcmp("--helper-protocol", argv[arg])) { in main() 143 else if(!strcmp("--username", argv[arg])) { in main() 148 else if(!strcmp("--domain", argv[arg])) { in main() 230 if(strcmp(buf, type1_input) == 0) { in main()
|
/third_party/curl/docs/examples/ |
H A D | synctime.c | 169 if(strcmp(MthStr[i], TmpStr2) == 0) { in SyncTime_CURL_WriteHeader() 276 if(strcmp(argv[OptionIndex], "--showall") == 0) in main() 279 if(strcmp(argv[OptionIndex], "--synctime") == 0) in main() 288 if((strcmp(argv[OptionIndex], "--help") == 0) || in main() 289 (strcmp(argv[OptionIndex], "/?") == 0)) { in main()
|
/third_party/libabigail/tests/ |
H A D | test-diff-pkg.cc | 1136 && strcmp(spec.first_in_debug_package_path, "")) in perform() 1152 && strcmp(spec.second_in_debug_package_path, "")) in perform() 1169 && strcmp(spec.first_in_devel_package_path, "")) in perform() 1174 && strcmp(spec.second_in_devel_package_path, "")) in perform() 1179 && strcmp(spec.suppression_path, "")) in perform()
|
/third_party/nghttp2/tests/ |
H A D | nghttp2_map_test.c | 57 CU_ASSERT(strcmp("foo", ((strentry *)nghttp2_map_find(&map, 1))->str) == 0); in test_nghttp2_map() 64 CU_ASSERT(strcmp("foo", ((strentry *)nghttp2_map_find(&map, 1))->str) == 0); in test_nghttp2_map() 75 CU_ASSERT(strcmp("baz", ((strentry *)nghttp2_map_find(&map, 3))->str) == 0); in test_nghttp2_map() 90 CU_ASSERT(strcmp("bar", ((strentry *)nghttp2_map_find(&map, 2))->str) == 0); in test_nghttp2_map() 91 CU_ASSERT(strcmp("shrubbery", ((strentry *)nghttp2_map_find(&map, 4))->str) == in test_nghttp2_map()
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | target.c | 150 if (!strcmp(suf, "") || !strcmp(suf, "32")) { in target_parse() 152 } else if (!strcmp(suf, "64")) { in target_parse() 158 if (strcmp(suf, "")) in target_parse() 189 if (!strcmp(p->name, name)) { in target_os()
|