/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
H A D | builtins_segmenter_test.cpp | 75 JSHandle<JSTaggedValue> &granularity, JSHandle<JSTaggedValue> &stringValue) in JSSegmentsCreateTest() 83 ecmaRuntimeCallInfo->SetCallArg(0, stringValue.GetTaggedValue()); in JSSegmentsCreateTest() 119 JSHandle<JSTaggedValue> stringValue(factory->NewFromUtf8("这句话是中文")); in HWTEST_F_L0() 126 ecmaRuntimeCallInfo->SetCallArg(0, stringValue.GetTaggedValue()); in HWTEST_F_L0() 217 JSHandle<JSTaggedValue> stringValue(factory->NewFromUtf8("这句话是中文。这句还是中文!")); in HWTEST_F_L0() 218 JSHandle<JSTaggedValue> segments(thread, JSSegmentsCreateTest(thread, locale, granularity, stringValue)); in HWTEST_F_L0() 244 JSHandle<JSTaggedValue> stringValue(factory->NewFromUtf8("Que ma joie demeure")); in HWTEST_F_L0() 245 JSHandle<JSTaggedValue> segments(thread, JSSegmentsCreateTest(thread, locale, granularity, stringValue)); in HWTEST_F_L0() 271 JSHandle<JSTaggedValue> stringValue(factory->NewFromUtf8("Que ma joie demeure")); in HWTEST_F_L0() 272 JSHandle<JSTaggedValue> segments(thread, JSSegmentsCreateTest(thread, locale, granularity, stringValue)); in HWTEST_F_L0() 74 JSSegmentsCreateTest(JSThread *thread, JSHandle<JSTaggedValue> &locale, JSHandle<JSTaggedValue> &granularity, JSHandle<JSTaggedValue> &stringValue) JSSegmentsCreateTest() argument [all...] |
H A D | builtins_displaynames_test.cpp | 92 JSHandle<JSTaggedValue> stringValue(factory->NewFromASCII("fr"));
in HWTEST_F_L0() 96 ecmaRuntimeCallInfo->SetCallArg(0, stringValue.GetTaggedValue());
in HWTEST_F_L0() 116 JSHandle<JSTaggedValue> stringValue(factory->NewFromASCII("419"));
in HWTEST_F_L0() 120 ecmaRuntimeCallInfo->SetCallArg(0, stringValue.GetTaggedValue());
in HWTEST_F_L0() 140 JSHandle<JSTaggedValue> stringValue(factory->NewFromASCII("EUR"));
in HWTEST_F_L0() 144 ecmaRuntimeCallInfo->SetCallArg(0, stringValue.GetTaggedValue());
in HWTEST_F_L0()
|
H A D | builtins_symbol_test.cpp | 245 JSTaggedValue stringValue(*string); in HWTEST_F_L0() 246 ASSERT_EQ(tableHandle->ContainsKey(stringValue), true); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_list_format.cpp | 361 JSHandle<EcmaString> stringValue; in FormatList() local 365 THROW_RANGE_ERROR_AND_RETURN(thread, "icu listformat failed", stringValue); in FormatList() 369 THROW_RANGE_ERROR_AND_RETURN(thread, "formatted list toString failed", stringValue); in FormatList() 371 stringValue = intl::LocaleHelper::UStringToString(thread, result); in FormatList() 372 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, stringValue); in FormatList() 374 return stringValue; in FormatList()
|
H A D | js_number_format.cpp | 813 JSHandle<EcmaString> stringValue = intl::LocaleHelper::UStringToString(thread, result); in FormatNumeric() local 814 return JSHandle<JSTaggedValue>::Cast(stringValue); in FormatNumeric()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_segmenter.cpp | 90 JSHandle<JSTaggedValue> stringValue = GetCallArg(argv, 0); in Segment() local 91 JSHandle<EcmaString> string = JSTaggedValue::ToString(thread, stringValue); in Segment()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_number_format_test.cpp | 56 JSHandle<EcmaString> stringValue = intl::LocaleHelper::UStringToString(thread, result); in HWTEST_F_L0() local 57 EXPECT_STREQ("-123,456", EcmaStringAccessor(stringValue).ToCString().c_str()); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
H A D | const_array_resolver.cpp | 337 std::string stringValue = irInterface_->GetStringIdByOffset(rawElemInst->CastToLoadString()->GetTypeId()); in FillLiteral() local 338 literal->value = stringValue; in FillLiteral()
|
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/ |
H A D | ets_intrinsics_peephole.cpp | 63 auto stringValue = runtime->GetStringValue(method, typeId); in ReplaceTypeofWithIsInstance() local 66 if (stringValue == "string") { in ReplaceTypeofWithIsInstance() 72 auto found = n2n.find(stringValue); in ReplaceTypeofWithIsInstance()
|
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/ |
H A D | emitter.cpp | 315 std::string stringValue {elem->AsStringLiteral()->Str().Utf8()}; in ProcessArrayExpressionInLiteralArray() 320 pandasm::LiteralArray::Literal {panda::panda_file::LiteralTag::STRING, stringValue}); in ProcessArrayExpressionInLiteralArray() 381 std::string_view stringValue {initValue->AsStringLiteral()->Str().Utf8()}; in CreateAnnotationElement() 384 pandasm::ScalarValue::Create<pandasm::Value::Type::STRING>(stringValue))}; in CreateAnnotationElement() 851 std::string_view stringValue {value->AsStringLiteral()->Str().Utf8()}; in CreateEnumProp() 853 panda::pandasm::ScalarValue::Create<panda::pandasm::Value::Type::STRING>(stringValue)); in CreateEnumProp() 906 std::string_view stringValue {value->AsStringLiteral()->Str().Utf8()}; in CreateAnnotationProp() 908 panda::pandasm::ScalarValue::Create<panda::pandasm::Value::Type::STRING>(stringValue)); in CreateAnnotationProp()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | enumLowering.cpp | 465 util::StringView stringValue; 468 stringValue = init->AsStringLiteral()->Str(); 472 stringValue = util::UString(str, Allocator()).View(); 475 auto *const enumValueStringLiteral = checker_->AllocNode<ir::StringLiteral>(stringValue);
|
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/ |
H A D | heap_snapshot.cpp | 967 JSTaggedValue stringValue = vm_->GetJSThread()->GlobalConstants()->GetStringString(); in GeneratePrivateStringNode() local 968 auto originStr = static_cast<EcmaString *>(stringValue.GetTaggedObject()); in GeneratePrivateStringNode() 971 strContent.append(EntryVisitor::ConvertKey(stringValue)); in GeneratePrivateStringNode() 972 JSTaggedType addr = stringValue.GetRawData(); in GeneratePrivateStringNode()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
H A D | jsnapi_sample.cpp | 1791 Local<StringRef> stringValue = StringRef::NewFromUtf8(vm_, inputString.c_str()); in HWTEST_F_L0() local 1793 ArrayRef::SetValueAt(vm_, arrayObject, i, stringValue); in HWTEST_F_L0() 1795 stringValue->WriteUtf8(vm_, setBuffer, inputString.length()); in HWTEST_F_L0() 1805 bool setResult = ArrayRef::SetValueAt(vm_, arrayObject, arrayLength, stringValue); in HWTEST_F_L0()
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
H A D | cocos_worker_test.js | [all...] |