Searched refs:tmpStr (Results 1 – 6 of 6) sorted by relevance
/arkcompiler/toolchain/tooling/test/ |
D | debugger_events_test.cpp | 165 std::string tmpStr; in HWTEST_F_L0() local 166 ASSERT_EQ(params->GetString("scriptId", &tmpStr), Result::SUCCESS); in HWTEST_F_L0() 167 EXPECT_EQ("100", tmpStr); in HWTEST_F_L0() 169 ASSERT_EQ(params->GetString("url", &tmpStr), Result::SUCCESS); in HWTEST_F_L0() 170 EXPECT_EQ("use/test.js", tmpStr); in HWTEST_F_L0() 188 ASSERT_EQ(params->GetString("hash", &tmpStr), Result::SUCCESS); in HWTEST_F_L0() 189 EXPECT_EQ("hash0001", tmpStr); in HWTEST_F_L0() 191 ASSERT_EQ(params->GetString("sourceMapURL", &tmpStr), Result::SUCCESS); in HWTEST_F_L0() 192 EXPECT_EQ("usr/", tmpStr); in HWTEST_F_L0() 207 ASSERT_EQ(params->GetString("scriptLanguage", &tmpStr), Result::SUCCESS); in HWTEST_F_L0() [all …]
|
D | debugger_types_test.cpp | 241 std::string tmpStr; in HWTEST_F_L0() local 251 ret = objJson->GetString("type", &tmpStr); in HWTEST_F_L0() 253 EXPECT_EQ(std::string(ObjectType::Object.c_str()), tmpStr); in HWTEST_F_L0() 255 ret = objJson->GetString("subtype", &tmpStr); in HWTEST_F_L0() 257 EXPECT_EQ(std::string(ObjectSubType::Array.c_str()), tmpStr); in HWTEST_F_L0() 259 ret = objJson->GetString("className", &tmpStr); in HWTEST_F_L0() 261 EXPECT_EQ("TestClass", tmpStr); in HWTEST_F_L0() 263 ret = objJson->GetString("unserializableValue", &tmpStr); in HWTEST_F_L0() 265 EXPECT_EQ("Test", tmpStr); in HWTEST_F_L0() 267 ret = objJson->GetString("description", &tmpStr); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | string_helper.h | 131 std::u16string tmpStr = str; in ToUpper() local 132 const char16_t *constChar16tData = tmpStr.data(); in ToUpper() 142 std::u16string tmpStr = str; in ToLocaleUpper() local 143 const char16_t *constChar16tData = tmpStr.data(); in ToLocaleUpper() 153 std::u16string tmpStr = str; in ToLower() local 154 const char16_t *constChar16tData = tmpStr.data(); in ToLower() 164 std::u16string tmpStr = str; in ToLocaleLower() local 165 const char16_t *constChar16tData = tmpStr.data(); in ToLocaleLower() 175 std::u16string tmpStr = Utf16ToU16String(u16Data, 1); in FindFromU16ToUpper() local 176 const char16_t *constChar16tData = tmpStr.data(); in FindFromU16ToUpper() [all …]
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_global.cpp | 268 std::stringstream tmpStr; in Encode() local 271 tmpStr << '%' << hexStr.at((joct >> 4U) & BIT_MASK) // NOLINT in Encode() 274 resStr.append(StringHelper::StringToU16string(tmpStr.str())); in Encode()
|
/arkcompiler/ets_frontend/ts2panda/ts2abc/ |
D | ts2abc.cpp | 208 std::string tmpStr = data.substr(startIdx, index - 1 - startIdx) + in ParseUnicodeEscapeString() local 210 newData += ConvertUtf8ToMUtf8(tmpStr); in ParseUnicodeEscapeString() 213 std::string tmpStr = data.substr(startIdx, index - startIdx); in ParseUnicodeEscapeString() local 214 newData += ConvertUtf8ToMUtf8(tmpStr); in ParseUnicodeEscapeString() 222 std::string tmpStr = data.substr(startIdx); in ParseUnicodeEscapeString() local 223 newData += ConvertUtf8ToMUtf8(tmpStr); in ParseUnicodeEscapeString()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | tagged_value_test.cpp | 844 JSTaggedValue tmpStr = str.GetTaggedValue(); in HWTEST_F_L0() local 845 …sult = JSTaggedValue::CanonicalNumericIndexString(thread, JSHandle<JSTaggedValue>(thread, tmpStr)); in HWTEST_F_L0()
|