/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...] |
/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...] |
/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...] |
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...] |
/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...] |
/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...] |
/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()
|
H A D | process_group_test.cpp | 30 if (!strcmp(stringItem, "error")) { in CovertSchedPolicyStringToEnumType() 33 if (!strcmp(policyStr, stringItem)) { in CovertSchedPolicyStringToEnumType() 112 if (!strcmp(operation, "SetThreadSchedPolicyTest")) { in main() 114 } else if (!strcmp(operation, "SetThreadGroupSchedPolicyTest")) { in main() 116 } else if (!strcmp(operation, "GetThreadSchedPolicyTest")) { in main() 118 } else if (!strcmp(operation, "GetSchedPolicyShortenedNameTest")) { in main() 120 } else if (!strcmp(operation, "GetSchedPolicyFullNameTest")) { in main()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | input_event_tdd_test.cpp | 892 EXPECT_FALSE((textValue == nullptr) || (strcmp(textValue, "english"))); in HWTEST_F() 901 EXPECT_FALSE((fontFamily == nullptr) || (strcmp(fontFamily, "HYQiHei-65S.otf"))); in HWTEST_F() 956 EXPECT_FALSE((textValue == nullptr) || (strcmp(textValue, "clickOne"))); in HWTEST_F() 965 EXPECT_FALSE((textValue == nullptr) || (strcmp(textValue, "pressOne"))); in HWTEST_F() 975 EXPECT_FALSE((textValue == nullptr) || (strcmp(textValue, "clickNo"))); in HWTEST_F() 984 EXPECT_FALSE((textValue == nullptr) || (strcmp(textValue, "pressNo"))); in HWTEST_F() 1015 EXPECT_FALSE((value == nullptr) || (strcmp(value, "true"))); in HWTEST_F() 1027 EXPECT_FALSE((value == nullptr) || (strcmp(value, "true"))); in HWTEST_F() 1058 EXPECT_FALSE((clickValue == nullptr) || (strcmp(clickValue, "clicked"))); in HWTEST_F() 1061 EXPECT_FALSE((pressValue == nullptr) || (strcmp(pressValu in HWTEST_F() [all...] |
H A D | list_tdd_test.cpp | 72 if (strcmp(className, typeid(*listView).name()) == 0 && in ListTest001() 78 EXPECT_TRUE(strcmp(className, typeid(*listView).name()) == 0 && in ListTest001() 114 if (strcmp(className, typeid(*listView).name()) == 0 && in ListTest002() 120 EXPECT_TRUE(strcmp(className, typeid(*listView).name()) == 0 && in ListTest002() 156 if (strcmp(className, typeid(*listView).name()) == 0 && in ListTest003() 162 EXPECT_TRUE(strcmp(className, typeid(*listView).name()) == 0 && in ListTest003() 198 if (strcmp(className, typeid(*listView).name()) == 0 && in ListTest004() 204 EXPECT_TRUE(strcmp(className, typeid(*listView).name()) == 0 && in ListTest004()
|
/foundation/arkui/ui_lite/test/uitest/test_edit_text/ |
H A D | custom_input_method.cpp | 264 if ((strcmp(title, "shift") == 0) || (strcmp(title, "del") == 0) || (strcmp(title, "123") == 0) || in SetupButton() 265 (strcmp(title, "ABC") == 0) || (strcmp(title, "#+=") == 0)) { in SetupButton() 267 } else if (strcmp(title, "space") == 0) { in SetupButton() 269 } else if (strcmp(title, "return") == 0) { in SetupButton() 317 if (strcmp(key, "shift") == 0) { in DealKeyEvent() 324 } else if (strcmp(key, "123") == 0) { in DealKeyEvent() 327 } else if (strcmp(ke in DealKeyEvent() [all...] |
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/common/ |
H A D | renderer_sink_adapter.c | 65 adapter->deviceClass = !strcmp(device, DEVICE_CLASS_PRIMARY) ? CLASS_TYPE_PRIMARY : adapter->deviceClass; in LoadSinkAdapter() 66 adapter->deviceClass = !strcmp(device, DEVICE_CLASS_USB) ? CLASS_TYPE_USB : adapter->deviceClass; in LoadSinkAdapter() 67 adapter->deviceClass = !strcmp(device, DEVICE_CLASS_A2DP) ? CLASS_TYPE_A2DP : adapter->deviceClass; in LoadSinkAdapter() 68 adapter->deviceClass = !strcmp(device, DEVICE_CLASS_FILE) ? CLASS_TYPE_FILE : adapter->deviceClass; in LoadSinkAdapter() 69 adapter->deviceClass = !strcmp(device, DEVICE_CLASS_REMOTE) ? CLASS_TYPE_REMOTE : adapter->deviceClass; in LoadSinkAdapter() 70 adapter->deviceClass = !strcmp(device, DEVICE_CLASS_OFFLOAD) ? CLASS_TYPE_OFFLOAD : adapter->deviceClass; in LoadSinkAdapter() 71 adapter->deviceClass = !strcmp(device, DEVICE_CLASS_DP) ? CLASS_TYPE_DP : adapter->deviceClass; in LoadSinkAdapter()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_data_cloud_sync.c | 61 if (strcmp(fieldName, DEVICE_INFO_BROADCAST_CIPHER_KEY) == 0 && valueLength < SESSION_KEY_STR_LEN) { in DBCipherInfoSyncToCache() 67 } else if (strcmp(fieldName, DEVICE_INFO_BROADCAST_CIPHER_IV) == 0 && valueLength < BROADCAST_IV_STR_LEN) { in DBCipherInfoSyncToCache() 73 } else if (strcmp(fieldName, DEVICE_INFO_JSON_BROADCAST_KEY_TABLE) == 0) { in DBCipherInfoSyncToCache() 75 } else if (strcmp(fieldName, DEVICE_INFO_DISTRIBUTED_SWITCH) == 0) { in DBCipherInfoSyncToCache() 87 if (strcmp(fieldName, DEVICE_INFO_DEVICE_NAME) == 0 && valueLength < DEVICE_NAME_BUF_LEN) { in DBDeviceNameInfoSyncToCache() 96 } else if (strcmp(fieldName, DEVICE_INFO_UNIFIED_DEVICE_NAME) == 0 && valueLength < DEVICE_NAME_BUF_LEN) { in DBDeviceNameInfoSyncToCache() 101 } else if (strcmp(fieldName, DEVICE_INFO_UNIFIED_DEFAULT_DEVICE_NAME) == 0 && valueLength < DEVICE_NAME_BUF_LEN) { in DBDeviceNameInfoSyncToCache() 106 } else if (strcmp(fieldName, DEVICE_INFO_SETTINGS_NICK_NAME) == 0 && valueLength < DEVICE_NAME_BUF_LEN) { in DBDeviceNameInfoSyncToCache() 120 if (strcmp(fieldName, DEVICE_INFO_DEVICE_UDID) == 0 && valueLength < UDID_BUF_LEN) { in DBDeviceBasicInfoSyncToCache() 129 } else if (strcmp(fieldNam in DBDeviceBasicInfoSyncToCache() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/context/test/unittest/common/ |
H A D | jsfwk_tdd_test.cpp | 149 if (strcmp(g_targetJSAbility->GetPackageName(), packageName)) { in ACELiteFrameworkInitialization003() 152 EXPECT_TRUE(!strcmp(g_targetJSAbility->GetPackageName(), packageName)); in ACELiteFrameworkInitialization003() 184 if (strcmp(buildStamp, firstVersionBuildStamp) == 0) { in ACELiteFrameworkInitialization009() 188 EXPECT_TRUE(strcmp(buildStamp, firstVersionBuildStamp) != 0); in ACELiteFrameworkInitialization009() 214 if (strcmp(g_targetJSAbility->GetPackageName(), packageName)) { in ACELiteFrameworkInitialization011() 217 EXPECT_TRUE(!strcmp(g_targetJSAbility->GetPackageName(), packageName)); in ACELiteFrameworkInitialization011() 243 if (strcmp(g_targetJSAbility->GetPackageName(), packageName)) { in ACELiteFrameworkInitialization012() 246 EXPECT_TRUE(!strcmp(g_targetJSAbility->GetPackageName(), packageName)); in ACELiteFrameworkInitialization012()
|
/foundation/communication/dsoftbus/core/common/dfx/hidumper_adapter/ |
H A D | softbus_hidumper_buscenter.c | 45 if (argc == 0 || strcmp(argv[0], "-h") == 0) { in SoftBusBusCenterDumpHander() 50 if (argc == 1 && strcmp(argv[0], "-l") == 0) { in SoftBusBusCenterDumpHander() 56 if (strcmp(argv[0], "-l") == 0) { in SoftBusBusCenterDumpHander() 60 if (strcmp(itemNode->varName, argv[1]) == 0) { in SoftBusBusCenterDumpHander()
|
H A D | softbus_hidumper_bc_mgr.c | 46 if (argc == 0 || strcmp(argv[0], "-h") == 0) { in SoftBusBcMgrDumpHander() 51 if (argc == 1 && strcmp(argv[0], "-l") == 0) { in SoftBusBcMgrDumpHander() 57 if (strcmp(argv[0], "-l") == 0) { in SoftBusBcMgrDumpHander() 61 if (strcmp(itemNode->varName, argv[1]) == 0) { in SoftBusBcMgrDumpHander()
|
H A D | softbus_hidumper_disc.c | 45 if (argc == 0 || strcmp(argv[0], "-h") == 0) { in SoftBusDiscDumpHander() 50 if (argc == 1 && strcmp(argv[0], "-l") == 0) { in SoftBusDiscDumpHander() 56 if (strcmp(argv[0], "-l") == 0) { in SoftBusDiscDumpHander() 60 if (strcmp(itemNode->varName, argv[1]) == 0) { in SoftBusDiscDumpHander()
|
H A D | softbus_hidumper_conn.c | 44 if (argc == 0 || ((argc == 1) && (strcmp(argv[0], "-h") == 0))) { in SoftBusConnDumpHander() 49 if (argc == 1 && strcmp(argv[0], "-l") == 0) { in SoftBusConnDumpHander() 55 if (strcmp(argv[0], "-l") == 0) { in SoftBusConnDumpHander() 59 if (strcmp(itemNode->varName, argv[1]) == 0) { in SoftBusConnDumpHander()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/ |
H A D | condition_arbitrator.cpp | 81 if (strcmp(condition, "screen") == 0) { in JudgeCondition() 145 result = (strcmp(trimedTargetValue, SystemInfo::GetInstance().GetDeviceType()) == 0); in JudgeConditionByStrValue() 149 if (!strcmp(trimedTargetValue, "TRUE") || !strcmp(trimedTargetValue, "true") || in JudgeConditionByStrValue() 150 !strcmp(trimedTargetValue, "1")) { in JudgeConditionByStrValue() 152 } else if (!strcmp(trimedTargetValue, "FALSE") || !strcmp(trimedTargetValue, "false") || in JudgeConditionByStrValue() 153 !(strcmp(trimedTargetValue, "0"))) { in JudgeConditionByStrValue() 295 if (strcmp(conditionName, conditionNamePair[index].nameStr) == 0) { in GetConditionName() 317 if (stack.IsEmpty() || strcmp("(", stac in IsValid() [all...] |
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/ |
H A D | ondemand_helper.cpp | 1139 if (strcmp(inputcmd, "getp") == 0) { in TestProcess() 1142 } else if (strcmp(inputcmd, "initp") == 0) { in TestProcess() 1167 if (strcmp(inputcmd, "get") == 0) { in TestSystemAbility() 1169 } else if (strcmp(inputcmd, "load") == 0) { in TestSystemAbility() 1171 } else if (strcmp(inputcmd, "device") == 0) { // get remote networkid in TestSystemAbility() 1173 } else if (strcmp(inputcmd, "loadrmt1") == 0) { // single thread with one device, one system ability, one callback in TestSystemAbility() 1175 } else if (strcmp(inputcmd, "loadrmt2") == 0) { // one device, one system ability, one callback, three threads in TestSystemAbility() 1177 } else if (strcmp(inputcmd, "loadrmt3") == 0) { // one device, one system ability, three callbacks, three threads in TestSystemAbility() 1179 } else if (strcmp(inputcmd, "loadrmt4") == 0) { // one device, three system abilities, one callback, three threads in TestSystemAbility() 1181 } else if (strcmp(inputcm in TestSystemAbility() [all...] |
/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/ |
H A D | temporal_test.cpp | 188 if (!strcmp(g_codecNameHEVC, "OMX.hisi.video.encoder.hevc")) { in HWTEST_F() 214 if (!strcmp(g_codecNameHEVC, "OMX.hisi.video.encoder.hevc")) { in HWTEST_F() 241 if (!strcmp(g_codecNameHEVC, "OMX.hisi.video.encoder.hevc")) { in HWTEST_F() 269 if (!strcmp(g_codecNameHEVC, "OMX.hisi.video.encoder.hevc")) { in HWTEST_F() 296 if (!strcmp(g_codecNameHEVC, "OMX.hisi.video.encoder.hevc")) { in HWTEST_F() 323 if (!strcmp(g_codecNameHEVC, "OMX.hisi.video.encoder.hevc")) { in HWTEST_F() 351 if (!strcmp(g_codecNameHEVC, "OMX.hisi.video.encoder.hevc")) { in HWTEST_F() 379 if (!strcmp(g_codecNameHEVC, "OMX.hisi.video.encoder.hevc")) { in HWTEST_F() 407 if (!strcmp(g_codecNameHEVC, "OMX.hisi.video.encoder.hevc")) { in HWTEST_F() 433 if (!strcmp(g_codecNameHEV in HWTEST_F() [all...] |
/foundation/ability/ability_lite/services/abilitymgr_lite/tools/src/ |
H A D | ability_tool.cpp | 79 if (strcmp(command, CMD_START_ABILITY) != 0 && in SetCommand() 80 strcmp(command, CMD_STOP_ABILITY) != 0 && in SetCommand() 81 strcmp(command, CMD_TERMINATE_APP) != 0 && in SetCommand() 82 strcmp(command, CMD_DUMP_ABILITY) != 0) { in SetCommand() 121 if (strcmp(command_, CMD_START_ABILITY) == 0) { in RunCommand() 123 } else if (strcmp(command_, CMD_STOP_ABILITY) == 0) { in RunCommand() 125 } else if (strcmp(command_, CMD_TERMINATE_APP) == 0) { in RunCommand() 127 } else if (strcmp(command_, CMD_DUMP_ABILITY) == 0) { in RunCommand() 151 if (strcmp(command_, CMD_DUMP_ABILITY) == 0) { in BuildWant()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/parameter/ |
H A D | parameter.cpp | 35 if (strcmp(g_testDeviceType, DEVICE_TYPE_OF_PHONE) == 0) {
in GetDeviceType() 38 if (strcmp(g_testDeviceType, DEVICE_TYPE_OF_DEFAULT) == 0) {
in GetDeviceType() 53 (std::strcmp(key, "persist.bms.supportCompressNativeLibs") == 0)) {
in GetParameter()
|
/foundation/arkui/ui_lite/test/unittest/common/ |
H A D | text_unit_test.cpp | 70 EXPECT_EQ(strcmp(text_->GetText(), text), 0); in HWTEST_F() 207 EXPECT_EQ(strcmp(text_->GetText(), text), 0); in HWTEST_F() 219 EXPECT_EQ(strcmp(text_->GetText(), text), 0); in HWTEST_F() 232 EXPECT_EQ(strcmp(text_->GetText(), text), 0); in HWTEST_F() 244 EXPECT_EQ(strcmp(text_->GetText(), text), 0); in HWTEST_F() 257 EXPECT_EQ(strcmp(text_->GetText(), text), 0); in HWTEST_F() 269 EXPECT_EQ(strcmp(text_->GetText(), text), 0); in HWTEST_F() 283 EXPECT_EQ(strcmp(text_->GetText(), text), 0); in HWTEST_F() 295 EXPECT_EQ(strcmp(text_->GetText(), text), 0); in HWTEST_F() 308 EXPECT_EQ(strcmp(text in HWTEST_F() [all...] |