| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/conditional-expression/string/expr/ |
| D | string-expression-empty.ets | 22 let emptyString: String = ""; 23 if (emptyString) {
|
| D | string-expression-empty-ternary-operator.ets | 22 let emptyString: String = ""; 23 let result = emptyString ? 1 : 0;
|
| D | string-expression-nonempty-ternary-operator.ets | 22 let emptyString: String = "Hello"; 23 let result = emptyString ? 0 : 1;
|
| D | string-expression-or-nonempty-2-operands.ets | 23 let emptyString: String = ""; 24 if (nonEmptyString || emptyString) {
|
| D | string-expression-and-nonempty-2-operands.ets | 23 let emptyString: String = ""; 24 if (nonEmptyString && emptyString) {
|
| D | string-expression-assert.ets | 22 let emptyString: String = ""; 24 assert emptyString
|
| D | string-expression-elseif.ets | 22 let emptyString: String = ""; 26 if (emptyString) {
|
| D | string-expression-lambda-no-param.ets | 24 let emptyString: String = ""; 26 if (emptyString) {
|
| D | string-expression-lambda-param-empty.ets | 37 let emptyString = ""; 38 if (l1(emptyString)) {
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | extended_conditional_expression_string.ets | 26 let emptyString = ""; 27 if (fun(emptyString)) {
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/conditional-expression/nullish_expr/loop/ |
| D | null-expression-loop-do-while.ets | 23 let emptyString: String | null = null; 30 } while(emptyString)
|
| D | null-expression-for-loop.ets | 23 let emptyString: String | null = null; 25 for (let i = 0; emptyString; i++ ) {
|
| D | null-expression-loop-while.ets | 23 let emptyString: String | null = null; 25 while(emptyString) {
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/conditional-expression/string/loop/ |
| D | string-expression-loop-do-while.ets | 23 let emptyString: String = ""; 30 } while(emptyString)
|
| D | string-expression-loop-while.ets | 23 let emptyString: String = ""; 25 while(emptyString) {
|
| D | string-expression-for-loop.ets | 23 let emptyString: String = ""; 25 for (let i = 0; emptyString; i++ ) {
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/ |
| D | ets_string_length.ets | 49 function emptyString(): String { 61 let s1 = emptyString();
|
| D | ets_string_isempty.ets | 47 function emptyString(): String { 59 let s1 = emptyString();
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
| D | escompat_RegExp.cpp | 194 VMHandle<EtsString> emptyString(coroutine, EtsString::CreateNewEmptyString()->GetCoreType()); in SetSuccessfulMatchLegacyProperties() local 203 type->SetStaticFieldObject(parenField, emptyString->AsObject()); in SetSuccessfulMatchLegacyProperties() 214 type->SetStaticFieldObject(lastParenField, emptyString->AsObject()); in SetSuccessfulMatchLegacyProperties() 232 VMHandle<EtsString> emptyString(coroutine, EtsString::CreateNewEmptyString()->GetCoreType()); in SetUnsuccessfulMatchLegacyProperties() local 236 type->SetStaticFieldObject(lastMatchField, emptyString->AsObject()); in SetUnsuccessfulMatchLegacyProperties() 240 type->SetStaticFieldObject(lastParenField, emptyString->AsObject()); in SetUnsuccessfulMatchLegacyProperties()
|
| /arkcompiler/ets_runtime/ecmascript/base/tests/ |
| D | json_parser_test.cpp | 200 JSHandle<EcmaString> emptyString(thread->GlobalConstants()->GetHandledEmptyString()); in HWTEST_F_L0() local 201 JSHandle<JSTaggedValue> result = parser.Parse(*emptyString); in HWTEST_F_L0()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/intrinsics/ |
| D | stringbuilder.ets | 16 const emptyString = ""; 60 .append(emptyString)
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | locale_helper_test.cpp | 162 JSHandle<EcmaString> emptyString = factory->GetEmptyString(); in HWTEST_F_L0() local 163 EXPECT_EQ(EcmaStringAccessor::Compare(instance, canonicalizeLocaleId, emptyString), 0); in HWTEST_F_L0()
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | object_helpers.cpp | 215 static const char *emptyString = ""; in GetFieldName() local 216 const char *ret = emptyString; in GetFieldName()
|
| /arkcompiler/ets_runtime/ecmascript/builtins/ |
| D | builtins_function.cpp | 271 JSHandle<JSTaggedValue> emptyString(factory->GetEmptyString()); in FunctionPrototypeBind() local 273 emptyString, boundName); in FunctionPrototypeBind()
|
| D | builtins_regexp.cpp | 319 JSHandle<EcmaString> emptyString = factory->GetEmptyString(); in GetAllFlagsInternal() local 322 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, emptyString.GetTaggedValue()); in GetAllFlagsInternal() 329 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, emptyString.GetTaggedValue()); in GetAllFlagsInternal() 336 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, emptyString.GetTaggedValue()); in GetAllFlagsInternal() 343 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, emptyString.GetTaggedValue()); in GetAllFlagsInternal() 350 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, emptyString.GetTaggedValue()); in GetAllFlagsInternal() 357 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, emptyString.GetTaggedValue()); in GetAllFlagsInternal() 364 RETURN_VALUE_IF_ABRUPT_COMPLETION(thread, emptyString.GetTaggedValue()); in GetAllFlagsInternal() 2008 JSHandle<JSTaggedValue> emptyString = thread->GlobalConstants()->GetHandledEmptyString(); in RegExpBuiltinExec() local 2010 globalTable->SetCapture(thread, captureIndex, emptyString.GetTaggedValue()); in RegExpBuiltinExec() [all …]
|