Home
last modified time | relevance | path

Searched refs:emptyString (Results 1 – 25 of 32) sorted by relevance

12

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/15.Semantic_Rules/Compatibility_Features/Extended_Conditional_Expressions/string/expr/
Dstring-expression-or-nonempty-2-operands.sts23 let emptyString: String = "";
24 if (nonEmptyString || emptyString) {
Dstring-expression-empty-ternary-operator.sts22 let emptyString: String = "";
23 let result = emptyString ? 1 : 0;
Dstring-expression-nonempty-ternary-operator.sts22 let emptyString: String = "Hello";
23 let result = emptyString ? 0 : 1;
Dstring-expression-empty.sts22 let emptyString: String = "";
23 if (emptyString) {
Dstring-expression-and-nonempty-2-operands.sts23 let emptyString: String = "";
24 if (nonEmptyString && emptyString) {
Dstring-expression-assert.sts22 let emptyString: String = "";
24 assert !!emptyString
Dstring-expression-elseif.sts22 let emptyString: String = "";
26 if (emptyString) {
Dstring-expression-lambda-no-param.sts24 let emptyString: String = "";
26 if (emptyString) {
Dstring-expression-lambda-param-empty.sts37 let emptyString = "";
38 if (l1(emptyString)) {
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
Dextended_conditional_expression_string.sts26 let emptyString = "";
27 if (fun(emptyString)) {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/15.Semantic_Rules/Compatibility_Features/Extended_Conditional_Expressions/string/loop/
Dstring-expression-for-loop.sts23 let emptyString: String = "";
25 for (let i = 0; emptyString; i++ ) {
Dstring-expression-loop-do-while.sts23 let emptyString: String = "";
30 } while(emptyString)
Dstring-expression-loop-while.sts23 let emptyString: String = "";
25 while(emptyString) {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/15.Semantic_Rules/Compatibility_Features/Extended_Conditional_Expressions/nullish_expr/loop/
Dnull-expression-loop-do-while.sts23 let emptyString: String | null = null;
30 } while(emptyString)
Dnull-expression-for-loop.sts23 let emptyString: String | null = null;
25 for (let i = 0; emptyString; i++ ) {
Dnull-expression-loop-while.sts23 let emptyString: String | null = null;
25 while(emptyString) {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/
Dets_string_length.sts54 function emptyString(): String {
66 let s1 = emptyString();
Dets_string_isempty.sts52 function emptyString(): String {
64 let s1 = emptyString();
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Descompat_RegExp.cpp217 VMHandle<EtsString> emptyString(coroutine, EtsString::CreateNewEmptyString()->GetCoreType()); in SetSuccessfulMatchLegacyProperties() local
226 type->SetStaticFieldObject(parenField, emptyString->AsObject()); in SetSuccessfulMatchLegacyProperties()
237 type->SetStaticFieldObject(lastParenField, emptyString->AsObject()); in SetSuccessfulMatchLegacyProperties()
254 VMHandle<EtsString> emptyString(coroutine, EtsString::CreateNewEmptyString()->GetCoreType()); in SetUnsuccessfulMatchLegacyProperties() local
258 type->SetStaticFieldObject(lastMatchField, emptyString->AsObject()); in SetUnsuccessfulMatchLegacyProperties()
262 type->SetStaticFieldObject(lastParenField, emptyString->AsObject()); in SetUnsuccessfulMatchLegacyProperties()
/arkcompiler/ets_runtime/ecmascript/tests/
Dlocale_helper_test.cpp129 JSHandle<EcmaString> emptyString = factory->GetEmptyString(); in HWTEST_F_L0() local
130 EXPECT_EQ(EcmaStringAccessor::Compare(instance, canonicalizeLocaleId, emptyString), 0); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/base/tests/
Dason_test.cpp184 JSHandle<EcmaString> emptyString(thread->GlobalConstants()->GetHandledEmptyString()); in HWTEST_F_L0() local
185 JSHandle<JSTaggedValue> result = parser.Parse(emptyString); in HWTEST_F_L0()
Djson_parser_test.cpp253 JSHandle<EcmaString> emptyString(thread->GlobalConstants()->GetHandledEmptyString()); in HWTEST_F_L0() local
254 JSHandle<JSTaggedValue> result = parser.Parse(emptyString); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/intrinsics/
Dstringbuilder.sts16 const emptyString = "";
75 .append(emptyString)
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_regexp.cpp393 JSHandle<EcmaString> emptyString = factory->GetEmptyString(); in GetAllFlagsInternal() local
396 …RETURN_VALUE_IF_ABRUPT_COMPLETION_WITH_DATA_DELETE(thread, emptyString.GetTaggedValue(), flagsStr); in GetAllFlagsInternal()
403 …RETURN_VALUE_IF_ABRUPT_COMPLETION_WITH_DATA_DELETE(thread, emptyString.GetTaggedValue(), flagsStr); in GetAllFlagsInternal()
410 …RETURN_VALUE_IF_ABRUPT_COMPLETION_WITH_DATA_DELETE(thread, emptyString.GetTaggedValue(), flagsStr); in GetAllFlagsInternal()
417 …RETURN_VALUE_IF_ABRUPT_COMPLETION_WITH_DATA_DELETE(thread, emptyString.GetTaggedValue(), flagsStr); in GetAllFlagsInternal()
424 …RETURN_VALUE_IF_ABRUPT_COMPLETION_WITH_DATA_DELETE(thread, emptyString.GetTaggedValue(), flagsStr); in GetAllFlagsInternal()
431 …RETURN_VALUE_IF_ABRUPT_COMPLETION_WITH_DATA_DELETE(thread, emptyString.GetTaggedValue(), flagsStr); in GetAllFlagsInternal()
438 …RETURN_VALUE_IF_ABRUPT_COMPLETION_WITH_DATA_DELETE(thread, emptyString.GetTaggedValue(), flagsStr); in GetAllFlagsInternal()
855 JSHandle<JSTaggedValue> emptyString(thread, globalConst->GetEmptyString()); in RegExpReplaceFast() local
860 emptyString); in RegExpReplaceFast()
[all …]
/arkcompiler/runtime_core/static_core/runtime/mem/
Dobject_helpers.cpp246 static const char *emptyString = ""; in GetFieldName() local
247 const char *ret = emptyString; in GetFieldName()

12