/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | resource_adapter_impl.cpp | 288 std::string strResult = ""; in GetString() local 290 CHECK_NULL_RETURN(manager, strResult); in GetString() 291 manager->GetStringById(resId, strResult); in GetString() 292 return strResult; in GetString() 297 std::string strResult = ""; in GetStringByName() local 300 CHECK_NULL_RETURN(manager, strResult); in GetStringByName() 301 manager->GetStringByName(actualResName.c_str(), strResult); in GetStringByName() 302 return strResult; in GetStringByName() 307 std::string strResult = ""; in GetPluralString() local 309 CHECK_NULL_RETURN(manager, strResult); in GetPluralString() 319 std::string strResult = ""; GetPluralStringByName() local [all...] |
H A D | resource_adapter_impl_v2.cpp | 383 std::string strResult = ""; in GetString() local 385 CHECK_NULL_RETURN(manager, strResult); in GetString() 386 auto state = manager->GetStringById(resId, strResult); in GetString() 390 return strResult; in GetString() 395 std::string strResult = ""; in GetStringByName() local 398 CHECK_NULL_RETURN(manager, strResult); in GetStringByName() 399 auto state = manager->GetStringByName(actualResName.c_str(), strResult); in GetStringByName() 404 return strResult; in GetStringByName() 409 std::string strResult = ""; in GetPluralString() local 411 CHECK_NULL_RETURN(manager, strResult); in GetPluralString() 422 std::string strResult = ""; GetPluralStringByName() local [all...] |
/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | resource_adapter_impl_standard.cpp | 270 std::string strResult = ""; in GetString() local 272 auto state = resourceManager_->GetStringById(resId, strResult); in GetString() 277 return strResult; in GetString() 282 std::string strResult = ""; in GetStringByName() local 285 auto state = resourceManager_->GetStringByName(actualResName.c_str(), strResult); in GetStringByName() 291 return strResult; in GetStringByName() 296 std::string strResult = ""; in GetPluralString() local 298 auto state = resourceManager_->GetPluralStringById(resId, quantity, strResult); in GetPluralString() 303 return strResult; in GetPluralString() 308 std::string strResult in GetPluralStringByName() local [all...] |
H A D | resource_adapter_impl.cpp | 351 std::string strResult = ""; in GetString() local 352 auto ret = resourceManger_.GetString(static_cast<int32_t>(resId), strResult); in GetString() 356 return strResult; in GetString()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/rtsp/src/ |
H A D | rtsp_parse.cpp | 164 std::string strResult = leftStr.substr(0, strPos); in GetTargetStr() local 165 if (strResult.length() == 0) { in GetTargetStr() 169 return Utils::Trim(strResult); in GetTargetStr()
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/rtsp/src/ |
H A D | rtsp_parse.cpp | 164 std::string strResult = leftStr.substr(0, strPos); in GetTargetStr() local 165 if (strResult.length() == 0) { in GetTargetStr() 169 return Utils::Trim(strResult); in GetTargetStr()
|
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/process_group/src/ |
H A D | process_group_util.cpp | 39 std::string strResult; in FormatString() local 44 strResult.append(buffer, 0, nWritten); in FormatString() 47 return strResult; in FormatString()
|
/foundation/arkui/ace_engine/test/unittest/core/property/ |
H A D | border_property_test_ng.cpp | 300 string strResult = borderColorProperty.ToString(); in HWTEST_F() local 302 EXPECT_EQ(strTemp, strResult); in HWTEST_F() 307 strResult = borderColorProperty.ToString(); in HWTEST_F() 308 EXPECT_NE(strTemp, strResult); in HWTEST_F()
|
/foundation/arkui/ace_engine/interfaces/napi/kits/component_test/ |
H A D | js_component_test.cpp | 250 bool strResult = expectStr.find(actualStr) != std::string::npos; in JSAssertContain() local 251 ComponentTestRecord(strResult, "Expect '" + expectStr + "' to contain '" + actualStr + "'."); in JSAssertContain() 252 if (!strResult) { in JSAssertContain()
|
/foundation/communication/netmanager_base/test/netmanagerutils/unittest/netmanager_base_common_test/ |
H A D | ut_netmanager_base_common.cpp | 585 std::string strResult = CommonUtils::Trim(str); in HWTEST_F() local 586 EXPECT_STREQ(strResult.c_str(), "trim"); in HWTEST_F()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/jsi/ |
H A D | jsi_pa_engine.cpp | 136 std::string strResult; in ToJSONStringInt() local 137 strResult.append(szDoubleQuotes); in ToJSONStringInt() 138 strResult.append(sKey); in ToJSONStringInt() 139 strResult.append(szDoubleQuotes); in ToJSONStringInt() 141 strResult.append(szColon); in ToJSONStringInt() 142 strResult.append(sValue); in ToJSONStringInt() 143 return strResult; in ToJSONStringInt()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_engine.cpp | 2242 std::string strResult; variable 2243 strResult.append("{"); 2248 strResult.append("\"") 2254 strResult.append(","); 2257 strResult.append("}"); 2258 clipboard->SetData(strResult); 2281 std::string strResult; in AppSetData() local 2282 strResult.append("{"); in AppSetData() 2287 strResult.append("\"").append(key).append("\":").append(val); in AppSetData() 2290 strResult in AppSetData() [all...] |
/foundation/distributeddatamgr/udmf/framework/common/unittest/ |
H A D | tlv_util_test.cpp | 227 std::string strResult; in HWTEST_F() local 242 TLVUtil::ReadTlv(strResult, tlvObject, TAG::TAG_STRING); in HWTEST_F() 243 EXPECT_EQ(str, strResult); in HWTEST_F()
|
/foundation/communication/netstack/test/unittest/utils/common_utils/ |
H A D | NetStackCommonUtilsTest.cpp | 82 std::string strResult = Trim(str); in HWTEST_F() local 83 EXPECT_STREQ(strResult.c_str(), "trim"); in HWTEST_F()
|
/foundation/communication/netstack/test/unittest/websocket_test/ |
H A D | NetStackCommonUtilsTest.cpp | 82 std::string strResult = Trim(str);
in HWTEST_F() local 83 EXPECT_STREQ(strResult.c_str(), "trim");
in HWTEST_F()
|
/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/ |
H A D | profile_storage_test.cpp | 543 std::string strResult = "returnresult"; in HWTEST_F() local 544 DeviceProfileStorageManager::GetInstance().DumpLocalProfile(strResult); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_common_modifier.cpp | 2926 CalcLength strResult; in SetMinWidth() local 2928 strResult = CalcLength(minWidth->string); in SetMinWidth() 2929 ViewAbstract::SetMinWidth(frameNode, strResult); in SetMinWidth() 2948 CalcLength strResult; in SetMaxWidth() local 2950 strResult = CalcLength(maxWidth->string); in SetMaxWidth() 2951 ViewAbstract::SetMaxWidth(frameNode, strResult); in SetMaxWidth() 2970 CalcLength strResult; in SetMinHeight() local 2972 strResult = CalcLength(minHeight->string); in SetMinHeight() 2973 ViewAbstract::SetMinHeight(frameNode, strResult); in SetMinHeight() 2992 CalcLength strResult; in SetMaxHeight() local [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/ |
H A D | rs_node_test.cpp | 4822 std::string strResult = rsNode->GetFrameNodeTag(); in HWTEST_F() local 4824 const char* cResult = strResult.c_str(); in HWTEST_F()
|