/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | key_parser.cpp | 60 if (!strcmp(s, "bsolutesizespanstart")) { in ParseKeyId() 63 if (!strcmp(s, "bsolutesizespanend")) { in ParseKeyId() 66 if (!strcmp(s, "bsolutesizespansize")) { in ParseKeyId() 70 if (!strcmp(s, "lignItems")) { in ParseKeyId() 74 if (!strcmp(s, "nalog-clock")) { in ParseKeyId() 78 if (!strcmp(s, "nimationDelay")) { in ParseKeyId() 81 if (!strcmp(s, "nimationDuration")) { in ParseKeyId() 84 if (!strcmp(s, "nimationFillMode")) { in ParseKeyId() 87 if (!strcmp(s, "nimationIterationCount")) { in ParseKeyId() 90 if (!strcmp( in ParseKeyId() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
H A D | misc.c | 312 if (!strcmp(register_name, "R0")) in __perf_reg_mask() 314 else if (!strcmp(register_name, "R1")) in __perf_reg_mask() 316 else if (!strcmp(register_name, "R2")) in __perf_reg_mask() 318 else if (!strcmp(register_name, "R3")) in __perf_reg_mask() 320 else if (!strcmp(register_name, "R4")) in __perf_reg_mask() 322 else if (!strcmp(register_name, "R5")) in __perf_reg_mask() 324 else if (!strcmp(register_name, "R6")) in __perf_reg_mask() 326 else if (!strcmp(register_name, "R7")) in __perf_reg_mask() 328 else if (!strcmp(register_name, "R8")) in __perf_reg_mask() 330 else if (!strcmp(register_nam in __perf_reg_mask() [all...] |
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | hists_output.c | 169 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test1() 170 !strcmp(SYM(he), "main") && he->stat.period == 200); in test1() 175 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "[kernel]") && in test1() 176 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1() 181 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1() 182 !strcmp(SYM(he), "main") && he->stat.period == 100); in test1() 187 !strcmp(COM in test1() [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | hists_output.c | 182 !strcmp(COMM(he), "perf") && !strcmp(DSO(he), "perf") && in test1() 183 !strcmp(SYM(he), "main") && he->stat.period == 200); in test1() 188 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "[kernel]") && in test1() 189 !strcmp(SYM(he), "page_fault") && he->stat.period == 100); in test1() 194 !strcmp(COMM(he), "bash") && !strcmp(DSO(he), "bash") && in test1() 195 !strcmp(SYM(he), "main") && he->stat.period == 100); in test1() 200 !strcmp(COM in test1() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | perf_regs.c | 30 if (!strcmp(arch, "csky")) in perf_reg_name() 32 else if (!strcmp(arch, "loongarch")) in perf_reg_name() 34 else if (!strcmp(arch, "mips")) in perf_reg_name() 36 else if (!strcmp(arch, "powerpc")) in perf_reg_name() 38 else if (!strcmp(arch, "riscv")) in perf_reg_name() 40 else if (!strcmp(arch, "s390")) in perf_reg_name() 42 else if (!strcmp(arch, "x86")) in perf_reg_name() 44 else if (!strcmp(arch, "arm")) in perf_reg_name() 46 else if (!strcmp(arch, "arm64")) in perf_reg_name() 81 if (!strcmp(arc in perf_arch_reg_ip() [all...] |
/kernel/linux/linux-5.10/tools/perf/arch/csky/annotate/ |
H A D | instructions.c | 12 if (!strcmp(name, "bt") || in csky__associate_ins_ops() 13 !strcmp(name, "bf") || in csky__associate_ins_ops() 14 !strcmp(name, "bez") || in csky__associate_ins_ops() 15 !strcmp(name, "bnez") || in csky__associate_ins_ops() 16 !strcmp(name, "bnezad") || in csky__associate_ins_ops() 17 !strcmp(name, "bhsz") || in csky__associate_ins_ops() 18 !strcmp(name, "bhz") || in csky__associate_ins_ops() 19 !strcmp(name, "blsz") || in csky__associate_ins_ops() 20 !strcmp(name, "blz") || in csky__associate_ins_ops() 21 !strcmp(nam in csky__associate_ins_ops() [all...] |
/kernel/linux/linux-6.6/tools/perf/arch/csky/annotate/ |
H A D | instructions.c | 12 if (!strcmp(name, "bt") || in csky__associate_ins_ops() 13 !strcmp(name, "bf") || in csky__associate_ins_ops() 14 !strcmp(name, "bez") || in csky__associate_ins_ops() 15 !strcmp(name, "bnez") || in csky__associate_ins_ops() 16 !strcmp(name, "bnezad") || in csky__associate_ins_ops() 17 !strcmp(name, "bhsz") || in csky__associate_ins_ops() 18 !strcmp(name, "bhz") || in csky__associate_ins_ops() 19 !strcmp(name, "blsz") || in csky__associate_ins_ops() 20 !strcmp(name, "blz") || in csky__associate_ins_ops() 21 !strcmp(nam in csky__associate_ins_ops() [all...] |
/kernel/linux/linux-5.10/fs/orangefs/ |
H A D | orangefs-sysfs.c | 195 if (!strcmp(kobj->name, PC_KOBJ_ID) || in orangefs_attr_store() 196 !strcmp(kobj->name, STATS_KOBJ_ID)) in orangefs_attr_store() 218 if (!strcmp(kobj->name, ORANGEFS_KOBJ_ID)) { in sysfs_int_show() 219 if (!strcmp(attr->attr.name, "op_timeout_secs")) { in sysfs_int_show() 225 } else if (!strcmp(attr->attr.name, in sysfs_int_show() 232 } else if (!strcmp(attr->attr.name, in sysfs_int_show() 239 } else if (!strcmp(attr->attr.name, in sysfs_int_show() 246 } else if (!strcmp(attr->attr.name, in sysfs_int_show() 257 } else if (!strcmp(kobj->name, STATS_KOBJ_ID)) { in sysfs_int_show() 258 if (!strcmp(att in sysfs_int_show() [all...] |
/kernel/linux/linux-6.6/fs/orangefs/ |
H A D | orangefs-sysfs.c | 195 if (!strcmp(kobj->name, PC_KOBJ_ID) || in orangefs_attr_store() 196 !strcmp(kobj->name, STATS_KOBJ_ID)) in orangefs_attr_store() 218 if (!strcmp(kobj->name, ORANGEFS_KOBJ_ID)) { in sysfs_int_show() 219 if (!strcmp(attr->attr.name, "op_timeout_secs")) { in sysfs_int_show() 225 } else if (!strcmp(attr->attr.name, in sysfs_int_show() 232 } else if (!strcmp(attr->attr.name, in sysfs_int_show() 239 } else if (!strcmp(attr->attr.name, in sysfs_int_show() 246 } else if (!strcmp(attr->attr.name, in sysfs_int_show() 257 } else if (!strcmp(kobj->name, STATS_KOBJ_ID)) { in sysfs_int_show() 258 if (!strcmp(att in sysfs_int_show() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/test/unittest/common/ |
H A D | date_time_module_tdd_test.cpp | 89 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRes, "10/28/20"))); in HWTEST_F() 102 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRes, "2020/10/28"))); in HWTEST_F() 130 EXPECT_FALSE((formatRes == nullptr) ||(strcmp(formatRes, "10/28/20"))); in HWTEST_F() 144 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRes, "10/28/20"))); in HWTEST_F() 174 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRes, "2:04:05 PM"))); in HWTEST_F() 191 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRes, "2:04:05 PM"))); in HWTEST_F() 208 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRes, "2:04:05 PM"))); in HWTEST_F() 225 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRes, "2:04:05 PM"))); in HWTEST_F() 255 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRes, "02:05:04 PM"))); in HWTEST_F() 272 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRe in HWTEST_F() [all...] |
H A D | number_format_module_tdd_test.cpp | 96 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRes, "9"))); in HWTEST_F() 111 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRes, "9"))); in HWTEST_F() 125 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRes, "9"))); in HWTEST_F() 154 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRes, "0.9"))); in HWTEST_F() 170 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRes, "90%"))); in HWTEST_F() 184 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRes, "0.9"))); in HWTEST_F() 212 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRes, "0.9"))); in HWTEST_F() 225 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRes, "RangeError: the style is invalid"))); in HWTEST_F() 254 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRes, "123456"))); in HWTEST_F() 270 EXPECT_FALSE((formatRes == nullptr) || (strcmp(formatRe in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/drivers/macintosh/ |
H A D | windfarm_smu_controls.c | 187 if (!strcmp(l, "Rear Fan 0") || !strcmp(l, "Rear Fan") || in smu_fan_create() 188 !strcmp(l, "Rear fan 0") || !strcmp(l, "Rear fan") || in smu_fan_create() 189 !strcmp(l, "CPU A EXHAUST")) in smu_fan_create() 191 else if (!strcmp(l, "Rear Fan 1") || !strcmp(l, "Rear fan 1") || in smu_fan_create() 192 !strcmp(l, "CPU B EXHAUST")) in smu_fan_create() 194 else if (!strcmp(l, "Front Fan 0") || !strcmp( in smu_fan_create() [all...] |
/kernel/linux/linux-6.6/drivers/macintosh/ |
H A D | windfarm_smu_controls.c | 188 if (!strcmp(l, "Rear Fan 0") || !strcmp(l, "Rear Fan") || in smu_fan_create() 189 !strcmp(l, "Rear fan 0") || !strcmp(l, "Rear fan") || in smu_fan_create() 190 !strcmp(l, "CPU A EXHAUST")) in smu_fan_create() 192 else if (!strcmp(l, "Rear Fan 1") || !strcmp(l, "Rear fan 1") || in smu_fan_create() 193 !strcmp(l, "CPU B EXHAUST")) in smu_fan_create() 195 else if (!strcmp(l, "Front Fan 0") || !strcmp( in smu_fan_create() [all...] |
/foundation/resourceschedule/soc_perf/test/testutil/ |
H A D | socperf_test.cpp | 20 #include <cstring> // for strcmp 48 if (strcmp(onOffTag, "true") == 0) { in PerfRequestEx() 50 } else if (strcmp(onOffTag, "false") == 0) { in PerfRequestEx() 62 if (strcmp(onOffTag, "true") == 0) { in PowerLimitBoost() 64 } else if (strcmp(onOffTag, "false") == 0) { in PowerLimitBoost() 76 if (strcmp(onOffTag, "true") == 0) { in ThermalLimitBoost() 78 } else if (strcmp(onOffTag, "false") == 0) { in ThermalLimitBoost() 101 if (strcmp(status, "true") == 0) { in SetRequestStatus() 103 } else if (strcmp(status, "false") == 0) { in SetRequestStatus() 122 if (strcmp(statu in RequestDeviceMode() [all...] |
/kernel/linux/linux-5.10/drivers/target/iscsi/ |
H A D | iscsi_target_parameters.c | 443 if (!strcmp(param->name, AUTHMETHOD)) { in iscsi_set_keys_to_negotiate() 445 } else if (!strcmp(param->name, HEADERDIGEST)) { in iscsi_set_keys_to_negotiate() 448 } else if (!strcmp(param->name, DATADIGEST)) { in iscsi_set_keys_to_negotiate() 451 } else if (!strcmp(param->name, MAXCONNECTIONS)) { in iscsi_set_keys_to_negotiate() 453 } else if (!strcmp(param->name, TARGETNAME)) { in iscsi_set_keys_to_negotiate() 455 } else if (!strcmp(param->name, INITIATORNAME)) { in iscsi_set_keys_to_negotiate() 457 } else if (!strcmp(param->name, TARGETALIAS)) { in iscsi_set_keys_to_negotiate() 460 } else if (!strcmp(param->name, INITIATORALIAS)) { in iscsi_set_keys_to_negotiate() 462 } else if (!strcmp(param->name, TARGETPORTALGROUPTAG)) { in iscsi_set_keys_to_negotiate() 464 } else if (!strcmp(para in iscsi_set_keys_to_negotiate() [all...] |
/kernel/linux/linux-6.6/drivers/target/iscsi/ |
H A D | iscsi_target_parameters.c | 443 if (!strcmp(param->name, AUTHMETHOD)) { in iscsi_set_keys_to_negotiate() 445 } else if (!strcmp(param->name, HEADERDIGEST)) { in iscsi_set_keys_to_negotiate() 448 } else if (!strcmp(param->name, DATADIGEST)) { in iscsi_set_keys_to_negotiate() 451 } else if (!strcmp(param->name, MAXCONNECTIONS)) { in iscsi_set_keys_to_negotiate() 453 } else if (!strcmp(param->name, TARGETNAME)) { in iscsi_set_keys_to_negotiate() 455 } else if (!strcmp(param->name, INITIATORNAME)) { in iscsi_set_keys_to_negotiate() 457 } else if (!strcmp(param->name, TARGETALIAS)) { in iscsi_set_keys_to_negotiate() 460 } else if (!strcmp(param->name, INITIATORALIAS)) { in iscsi_set_keys_to_negotiate() 462 } else if (!strcmp(param->name, TARGETPORTALGROUPTAG)) { in iscsi_set_keys_to_negotiate() 464 } else if (!strcmp(para in iscsi_set_keys_to_negotiate() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | arg_parsing.c | 39 ASSERT_OK(strcmp("arg_parsing", set.tests[0].name), "subtest name"); in test_parse_test_list() 50 ASSERT_OK(strcmp("arg_parsing", set.tests[0].name), "test name"); in test_parse_test_list() 51 ASSERT_OK(strcmp("bpf_cookie", set.tests[1].name), "test name"); in test_parse_test_list() 65 ASSERT_OK(strcmp("arg_parsing", set.tests[0].name), "test name"); in test_parse_test_list() 66 ASSERT_OK(strcmp("arg_parsing", set.tests[0].subtests[0]), in test_parse_test_list() 68 ASSERT_OK(strcmp("bpf_cookie", set.tests[1].name), "test name"); in test_parse_test_list() 83 ASSERT_OK(strcmp("arg_parsing", set.tests[0].name), "test name"); in test_parse_test_list() 84 ASSERT_OK(strcmp("arg_parsing", set.tests[0].subtests[0]), in test_parse_test_list() 86 ASSERT_OK(strcmp("bpf_cookie", set.tests[1].name), "test name"); in test_parse_test_list() 87 ASSERT_OK(strcmp("send_signa in test_parse_test_list() [all...] |
/foundation/arkui/ui_lite/interfaces/kits/common/ |
H A D | image.h | 181 return (!strcmp(suffix, ".png") || !strcmp(suffix, ".PNG") || !strcmp(suffix, ".jpg") || in IsImgValid() 182 !strcmp(suffix, ".JPG") || !strcmp(suffix, ".jpeg") || !strcmp(suffix, ".JPEG") || in IsImgValid() 183 !strcmp(suffix, ".BMP") || !strcmp(suffix, ".bmp") || !strcmp(suffix, ".GIF") || !strcmp(suffi in IsImgValid() [all...] |
/kernel/liteos_a/testsuites/kernel/src/ |
H A D | iCunit.c | 289 if ((strcmp(psubCase->pcCaseID, "LLT_PLAT_004") == 0) || in ICunitRunF() 290 (strcmp(psubCase->pcCaseID, "IT_FS_JFFS_MUTIPTHREAD_001") == 0) || in ICunitRunF() 291 (strcmp(psubCase->pcCaseID, "IT_FS_JFFS_PRESSURE_013") == 0) || in ICunitRunF() 292 (strcmp(psubCase->pcCaseID, "IT_FS_JFFS_PRESSURE_052") == 0) || in ICunitRunF() 293 (strcmp(psubCase->pcCaseID, "IT_FS_JFFS_026") == 0) || in ICunitRunF() 294 (strcmp(psubCase->pcCaseID, "IT_PARTITION_JFFS_004") == 0) || in ICunitRunF() 295 (strcmp(psubCase->pcCaseID, "IT_PARTITION_JFFS_009") == 0) || in ICunitRunF() 296 (strcmp(psubCase->pcCaseID, "IT_PARTITION_JFFS_013") == 0) || in ICunitRunF() 297 (strcmp(psubCase->pcCaseID, "IT_PARTITION_JFFS_017") == 0) || in ICunitRunF() 298 (strcmp(psubCas in ICunitRunF() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | ioam6_parser.c | 443 if (!strcmp("out_undef_ns", tname)) in str2id() 445 if (!strcmp("out_no_room", tname)) in str2id() 447 if (!strcmp("out_bit0", tname)) in str2id() 449 if (!strcmp("out_bit1", tname)) in str2id() 451 if (!strcmp("out_bit2", tname)) in str2id() 453 if (!strcmp("out_bit3", tname)) in str2id() 455 if (!strcmp("out_bit4", tname)) in str2id() 457 if (!strcmp("out_bit5", tname)) in str2id() 459 if (!strcmp("out_bit6", tname)) in str2id() 461 if (!strcmp("out_bit in str2id() [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-list.c | 68 if (strcmp(argv[i], "tracepoint") == 0) in cmd_list() 70 else if (strcmp(argv[i], "hw") == 0 || in cmd_list() 71 strcmp(argv[i], "hardware") == 0) in cmd_list() 74 else if (strcmp(argv[i], "sw") == 0 || in cmd_list() 75 strcmp(argv[i], "software") == 0) { in cmd_list() 79 } else if (strcmp(argv[i], "cache") == 0 || in cmd_list() 80 strcmp(argv[i], "hwcache") == 0) in cmd_list() 82 else if (strcmp(argv[i], "pmu") == 0) in cmd_list() 86 else if (strcmp(argv[i], "sdt") == 0) in cmd_list() 88 else if (strcmp(arg in cmd_list() [all...] |
/kernel/linux/linux-6.6/tools/perf/arch/ |
H A D | common.c | 156 if (!strcmp(perf_env__arch(NULL), arch)) in perf_env__lookup_binutils_path() 173 if (!strcmp(arch, "arc")) in perf_env__lookup_binutils_path() 175 else if (!strcmp(arch, "arm")) in perf_env__lookup_binutils_path() 177 else if (!strcmp(arch, "arm64")) in perf_env__lookup_binutils_path() 179 else if (!strcmp(arch, "powerpc")) in perf_env__lookup_binutils_path() 181 else if (!strcmp(arch, "riscv32")) in perf_env__lookup_binutils_path() 183 else if (!strcmp(arch, "riscv64")) in perf_env__lookup_binutils_path() 185 else if (!strcmp(arch, "sh")) in perf_env__lookup_binutils_path() 187 else if (!strcmp(arch, "s390")) in perf_env__lookup_binutils_path() 189 else if (!strcmp(arc in perf_env__lookup_binutils_path() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | license.h | 7 return (strcmp(license, "GPL") == 0 in license_is_gpl_compatible() 8 || strcmp(license, "GPL v2") == 0 in license_is_gpl_compatible() 9 || strcmp(license, "GPL and additional rights") == 0 in license_is_gpl_compatible() 10 || strcmp(license, "Dual BSD/GPL") == 0 in license_is_gpl_compatible() 11 || strcmp(license, "Dual MIT/GPL") == 0 in license_is_gpl_compatible() 12 || strcmp(license, "Dual MPL/GPL") == 0); in license_is_gpl_compatible()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | license.h | 7 return (strcmp(license, "GPL") == 0 in license_is_gpl_compatible() 8 || strcmp(license, "GPL v2") == 0 in license_is_gpl_compatible() 9 || strcmp(license, "GPL and additional rights") == 0 in license_is_gpl_compatible() 10 || strcmp(license, "Dual BSD/GPL") == 0 in license_is_gpl_compatible() 11 || strcmp(license, "Dual MIT/GPL") == 0 in license_is_gpl_compatible() 12 || strcmp(license, "Dual MPL/GPL") == 0); in license_is_gpl_compatible()
|
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_config.cpp | 46 if (strcmp(pKey, "distribution") == 0) { in SetEnableConfigInfo() 48 } else if (strcmp(pKey, "broadcast") == 0) { in SetEnableConfigInfo() 67 if (strcmp(pKey, "leaseTime") == 0) { in SetTimeConfigInfo() 69 } else if (strcmp(pKey, "renewalTime") == 0) { in SetTimeConfigInfo() 71 } else if (strcmp(pKey, "rebindingTime") == 0) { in SetTimeConfigInfo() 90 if (((strcmp(pKey, "serverId") == 0) && common) || ((strcmp(pKey, "server") == 0) && !common)) { in SetNetConfigInfo() 92 } else if (strcmp(pKey, "gateway") == 0) { in SetNetConfigInfo() 94 } else if (strcmp(pKey, "netmask") == 0) { in SetNetConfigInfo() 196 if (strcmp(pTo in SetDhcpConfig() [all...] |