| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/15.Semantic_Rules/Compatibility_Features/Extended_Conditional_Expressions/string/expr/ |
| D | string-expression-or-nonempty-2-operands.sts | 23 let emptyString: String = ""; 24 if (nonEmptyString || emptyString) {
|
| D | string-expression-empty-ternary-operator.sts | 22 let emptyString: String = ""; 23 let result = emptyString ? 1 : 0;
|
| D | string-expression-nonempty-ternary-operator.sts | 22 let emptyString: String = "Hello"; 23 let result = emptyString ? 0 : 1;
|
| D | string-expression-empty.sts | 22 let emptyString: String = ""; 23 if (emptyString) {
|
| D | string-expression-and-nonempty-2-operands.sts | 23 let emptyString: String = ""; 24 if (nonEmptyString && emptyString) {
|
| D | string-expression-assert.sts | 22 let emptyString: String = ""; 24 assert !!emptyString
|
| D | string-expression-elseif.sts | 22 let emptyString: String = ""; 26 if (emptyString) {
|
| D | string-expression-lambda-no-param.sts | 24 let emptyString: String = ""; 26 if (emptyString) {
|
| D | string-expression-lambda-param-empty.sts | 37 let emptyString = ""; 38 if (l1(emptyString)) {
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | extended_conditional_expression_string.sts | 26 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/ |
| D | string-expression-for-loop.sts | 23 let emptyString: String = ""; 25 for (let i = 0; emptyString; i++ ) {
|
| D | string-expression-loop-do-while.sts | 23 let emptyString: String = ""; 30 } while(emptyString)
|
| D | string-expression-loop-while.sts | 23 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/ |
| D | null-expression-loop-do-while.sts | 23 let emptyString: String | null = null; 30 } while(emptyString)
|
| D | null-expression-for-loop.sts | 23 let emptyString: String | null = null; 25 for (let i = 0; emptyString; i++ ) {
|
| D | null-expression-loop-while.sts | 23 let emptyString: String | null = null; 25 while(emptyString) {
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/ |
| D | ets_string_length.sts | 54 function emptyString(): String { 66 let s1 = emptyString();
|
| D | ets_string_isempty.sts | 52 function emptyString(): String { 64 let s1 = emptyString();
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | escompat_RegExp.cpp | 217 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/ |
| D | locale_helper_test.cpp | 129 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/ |
| D | ason_test.cpp | 184 JSHandle<EcmaString> emptyString(thread->GlobalConstants()->GetHandledEmptyString()); in HWTEST_F_L0() local 185 JSHandle<JSTaggedValue> result = parser.Parse(emptyString); in HWTEST_F_L0()
|
| D | json_parser_test.cpp | 253 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/ |
| D | stringbuilder.sts | 16 const emptyString = ""; 75 .append(emptyString)
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_regexp.cpp | 393 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/ |
| D | object_helpers.cpp | 246 static const char *emptyString = ""; in GetFieldName() local 247 const char *ret = emptyString; in GetFieldName()
|