Home
last modified time | relevance | path

Searched refs:str1 (Results 1 - 25 of 41) sorted by relevance

12

/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcamera/
H A Ddcamera_source_hidumper_test.cpp78 std::string str1 = "--version"; in HWTEST_F() local
80 args.push_back(str1); in HWTEST_F()
97 std::string str1 = "--version"; in HWTEST_F() local
98 args.push_back(str1); in HWTEST_F()
114 std::string str1 = "--registered"; in HWTEST_F() local
115 args.push_back(str1); in HWTEST_F()
131 std::string str1 = "--curState"; in HWTEST_F() local
132 args.push_back(str1); in HWTEST_F()
148 std::string str1 = "-h"; in HWTEST_F() local
149 args.push_back(str1); in HWTEST_F()
165 std::string str1 = "--startdump"; HWTEST_F() local
182 std::string str1 = "--stopdump"; HWTEST_F() local
[all...]
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/test/unittest/common/distributedcamera/
H A Ddcamera_sink_hidumper_test.cpp78 std::string str1 = "--version"; in HWTEST_F() local
80 args.push_back(str1); in HWTEST_F()
97 std::string str1 = "--version"; in HWTEST_F() local
98 args.push_back(str1); in HWTEST_F()
114 std::string str1 = "--camNum"; in HWTEST_F() local
115 args.push_back(str1); in HWTEST_F()
131 std::string str1 = "--opened"; in HWTEST_F() local
132 args.push_back(str1); in HWTEST_F()
148 std::string str1 = "-h"; in HWTEST_F() local
149 args.push_back(str1); in HWTEST_F()
165 std::string str1 = "-help"; HWTEST_F() local
182 std::string str1 = "--startdump"; HWTEST_F() local
199 std::string str1 = "--stopdump"; HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/
H A Dconfig.py31 str1 = line.split('=')
32 option_list.append(str1[0][7:])
44 str1 = line.split('=')
45 if str1[0].strip() in option_list:
46 line = str1[0] + '= true\n'
48 line = str1[0] + '= false\n'
/foundation/graphic/graphic_2d/rosen/test/2d_engine/fuzztest/hm_symbol/hmsymbolrun_fuzzer/
H A Dhm_symbol_run_fuzzer.cpp35 const char* str1 = "A"; in DrawSymbolFuzzTest() local
37 auto textblob1 = Drawing::TextBlob::MakeFromText(str1, strlen(str1), font, Drawing::TextEncoding::UTF8); in DrawSymbolFuzzTest()
/foundation/ability/dmsfwk/test/fuzztest/abilityconnectionwrapperstub_fuzzer/
H A Dabilityconnectionwrapperstub_fuzzer.cpp48 std::string str1(reinterpret_cast<const char*>(data), size); in OnAbilityConnectDoneFuzzTest()
51 AppExecFwk::ElementName element(str1, str2, str3); in OnAbilityConnectDoneFuzzTest()
76 std::string str1(reinterpret_cast<const char*>(data), size); in OnAbilityDisconnectDoneFuzzTest()
81 AppExecFwk::ElementName element(str1, str2, str3); in OnAbilityDisconnectDoneFuzzTest()
/foundation/multimedia/media_foundation/engine/include/plugin/interface/
H A Dplugin_definition.h171 #define PLUGIN_PASTE_ARGS(str1, str2) str1##str2
174 #define PLUGIN_PASTE(str1, str2) PLUGIN_PASTE_ARGS(str1, str2)
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/log/
H A Dutils_log_test.cpp62 const char *str1 = "test_path"; in HWTEST_F() local
64 std::string ret = GetFileNameFromFullPath(str1); in HWTEST_F()
/foundation/multimedia/media_foundation/interface/inner_api/plugin/
H A Dplugin_definition.h291 #define PLUGIN_PASTE_ARGS(str1, str2) str1##str2
294 #define PLUGIN_PASTE(str1, str2) PLUGIN_PASTE_ARGS(str1, str2)
/foundation/filemanagement/file_api/interfaces/test/unittest/class_file/
H A Drust_test.cpp566 Str *str1 = GetParent(fd); in HWTEST_F() local
567 int result = strcmp(str1->str, "/data/test"); in HWTEST_F()
569 StrFree(str1); in HWTEST_F()
607 Str *str1 = CutFileName(myStr.c_str(), 2); in HWTEST_F() local
608 GTEST_LOG_(INFO) << "RustTest_CutFileName_0000 str1" << str1->str; in HWTEST_F()
609 GTEST_LOG_(INFO) << "RustTest_CutFileName_0000 str1" << str1->len; in HWTEST_F()
610 EXPECT_TRUE(string(str1->str).compare("<?,你好,世界!hello, world! ?XML, 你好,世") == 0); in HWTEST_F()
611 StrFree(str1); in HWTEST_F()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Ddb_types.h170 std::string str1(first.length(), ' '); in operator ()()
172 std::transform(first.begin(), first.end(), str1.begin(), ::tolower); in operator ()()
174 return str1 < str2; in operator ()()
/foundation/arkui/ace_engine/test/unittest/core/syntax/
H A Dlazy_for_each_builder_syntax_test_ng.cpp679 std::string str1 = "1"; in HWTEST_F() local
680 lazyForEachBuilder->cachedItems_[1] = LazyForEachChild(str1, nullptr); in HWTEST_F()
681 lazyForEachBuilder->expiringItem_[str1] = LazyForEachCacheChild(1, nullptr); in HWTEST_F()
849 std::string str1 = "1"; in HWTEST_F() local
850 lazyForEachBuilder->cachedItems_[1] = LazyForEachChild(str1, nullptr); in HWTEST_F()
851 lazyForEachBuilder->expiringItem_[str1] = LazyForEachCacheChild(7, nullptr); in HWTEST_F()
857 EXPECT_EQ(lazyForEachBuilder->expiringItem_[str1].first, 7); in HWTEST_F()
885 std::string str1 = "1"; in HWTEST_F() local
886 lazyForEachBuilder->cachedItems_[1] = LazyForEachChild(str1, nullptr); in HWTEST_F()
920 std::string str1 in HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/canvas/
H A Dcanvas_custom_paint_method_test_ng.cpp428 std::string str1 = "10"; in HWTEST_F() local
429 EXPECT_EQ(paintMethod->PxStrToDouble(str1), 0); in HWTEST_F()
430 str1 = "10px"; in HWTEST_F()
431 EXPECT_EQ(paintMethod->PxStrToDouble(str1), 10); in HWTEST_F()
451 std::string str1 = "10.0"; in HWTEST_F() local
452 EXPECT_EQ(paintMethod->BlurStrToDouble(str1), 10.0); in HWTEST_F()
453 str1 = "aaa"; in HWTEST_F()
454 EXPECT_EQ(paintMethod->BlurStrToDouble(str1), 0.0); in HWTEST_F()
455 str1 = "10.0px"; in HWTEST_F()
456 EXPECT_EQ(paintMethod->BlurStrToDouble(str1), 10. in HWTEST_F()
480 std::string str1 = "10"; HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/skia_test/
H A Dskia_txt_test.cpp88 std::string str1 = fontFeatures.GetFeatureSettings(); in HWTEST_F() local
91 str1 = fontFeatures.GetFeatureSettings(); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_overlay_test/
H A Dbms_bundle_overlay_info_test.cpp189 std::string str1 = jsonObject.dump(Constants::DUMP_INDENT); in HWTEST_F() local
191 EXPECT_EQ(str1, str2); in HWTEST_F()
297 std::string str1 = jsonObject.dump(Constants::DUMP_INDENT); in HWTEST_F() local
299 EXPECT_EQ(str1, str2); in HWTEST_F()
/foundation/communication/dsoftbus/core/common/utils/
H A Dsoftbus_utils.c464 int32_t StrCmpIgnoreCase(const char *str1, const char *str2) in StrCmpIgnoreCase() argument
466 if (str1 == NULL || str2 == NULL) { in StrCmpIgnoreCase()
471 for (i = 0; str1[i] != '\0' && str2[i] != '\0'; i++) { in StrCmpIgnoreCase()
472 if (ToUpperCase(str1[i]) != ToUpperCase(str2[i])) { in StrCmpIgnoreCase()
476 if (str1[i] != '\0' || str2[i] != '\0') { in StrCmpIgnoreCase()
/foundation/resourceschedule/qos_manager/test/fuzztest/concurrent_fuzzer/
H A Dconcurrent_fuzzer.cpp538 std::string str1(data1, size1); in FuzzConcurrentTaskServiceStubRequestAuthInner()
539 data3.WriteString(str1); in FuzzConcurrentTaskServiceStubRequestAuthInner()
541 std::string str1 = ""; in FuzzConcurrentTaskServiceStubRequestAuthInner() local
542 data3.WriteString(str1); in FuzzConcurrentTaskServiceStubRequestAuthInner()
883 const char* str1 = reinterpret_cast<const char*>(data + g_baseFuzzPos); in FuzzTaskControllerModifyGameState() local
885 std::string gameMsg(str1, size1); in FuzzTaskControllerModifyGameState()
903 const char* str1 = reinterpret_cast<const char*>(data + g_baseFuzzPos); in FuzzTaskControllerModifySystemRate() local
905 std::string gameMsg(str1, size1); in FuzzTaskControllerModifySystemRate()
/foundation/communication/dsoftbus/core/common/include/
H A Dsoftbus_utils.h95 int32_t StrCmpIgnoreCase(const char *str1, const char *str2);
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/
H A Dui_service_extension_context.cpp101 callback.onError = [uiExtensionCallbacks](int32_t arg, const std::string &str1, const std::string &str2) { in StartAbilityByType()
/foundation/ability/form_fwk/test/unittest/fms_form_supply_callback_test/
H A Dform_supply_callback_test.cpp401 std::string str1 = "pro"; in HWTEST_F() local
404 EXPECT_EQ(formSupplyCallback.OnAcquireStateResult(AppExecFwk::FormState::UNKNOWN, str1, wantArg, want), ERR_OK); in HWTEST_F()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/
H A Dwifi_hdi_wpa_callback_test.cpp367 const char *str1 = "AP-DISABLED"; in HWTEST_F() local
368 apCbParm.content = const_cast<char *>(str1); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_common_test.cpp791 std::string str1 = trackerObj1.GetCreateTempTriggerSql(TriggerMode::TriggerModeEnum::DELETE); in HWTEST_F() local
792 EXPECT_TRUE(str1.compare(0, str1.length(), emptyStr) != 0); in HWTEST_F()
H A Ddistributeddb_schema_object_test.cpp1105 std::string str1 = schema.GetExtractFuncName(SchemaType::NONE); in HWTEST_F() local
1107 EXPECT_TRUE(str1.compare(0, expectStr1.length(), expectStr1) == 0); in HWTEST_F()
/foundation/distributedhardware/device_manager/test/unittest/
H A DUTTest_auth_message_processor.cpp135 std::string str1 = jsonObj.dump(); in HWTEST_F() local
149 ASSERT_NE(str1, str2); in HWTEST_F()
174 std::string str1 = jsona.dump(); in HWTEST_F() local
176 ASSERT_EQ(str1, str2); in HWTEST_F()
213 std::string str1 = jsona.dump(); in HWTEST_F() local
215 ASSERT_EQ(str1, str2); in HWTEST_F()
237 std::string str1 = jsona.dump(); in HWTEST_F() local
239 ASSERT_EQ(str1, str2); in HWTEST_F()
/foundation/CastEngine/castengine_wifi_display/tests/unittest/protocol/rtsp/
H A Drtsp_unit_test.cpp48 const std::string str1 = " 123"; in HWTEST_F() local
49 auto ret1 = RtspCommon::Trim(str1); in HWTEST_F()
64 const std::string str1 = " 12 3"; in HWTEST_F() local
65 auto ret1 = RtspCommon::Trim(str1); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/
H A Dsingle_store_impl_test.cpp195 std::string str1(MAX_SINGLE_KEY_LEN, 'b'); in HWTEST_F()
196 Blob key2(str1); in HWTEST_F()
547 std::string str1(KEY_LEN, '1'); in HWTEST_F()
548 status = kvStore->GetEntries(str1, output); in HWTEST_F()
562 status = kvStore_->GetEntries(str1, output1); in HWTEST_F()

Completed in 23 milliseconds

12