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/conditional-expression/string/expr/
Dstring-expression-empty.ets22 let emptyString: String = "";
23 if (emptyString) {
Dstring-expression-empty-ternary-operator.ets22 let emptyString: String = "";
23 let result = emptyString ? 1 : 0;
Dstring-expression-nonempty-ternary-operator.ets22 let emptyString: String = "Hello";
23 let result = emptyString ? 0 : 1;
Dstring-expression-or-nonempty-2-operands.ets23 let emptyString: String = "";
24 if (nonEmptyString || emptyString) {
Dstring-expression-and-nonempty-2-operands.ets23 let emptyString: String = "";
24 if (nonEmptyString && emptyString) {
Dstring-expression-assert.ets22 let emptyString: String = "";
24 assert emptyString
Dstring-expression-elseif.ets22 let emptyString: String = "";
26 if (emptyString) {
Dstring-expression-lambda-no-param.ets24 let emptyString: String = "";
26 if (emptyString) {
Dstring-expression-lambda-param-empty.ets37 let emptyString = "";
38 if (l1(emptyString)) {
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
Dextended_conditional_expression_string.ets26 let emptyString = "";
27 if (fun(emptyString)) {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/conditional-expression/nullish_expr/loop/
Dnull-expression-loop-do-while.ets23 let emptyString: String | null = null;
30 } while(emptyString)
Dnull-expression-for-loop.ets23 let emptyString: String | null = null;
25 for (let i = 0; emptyString; i++ ) {
Dnull-expression-loop-while.ets23 let emptyString: String | null = null;
25 while(emptyString) {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/conditional-expression/string/loop/
Dstring-expression-loop-do-while.ets23 let emptyString: String = "";
30 } while(emptyString)
Dstring-expression-loop-while.ets23 let emptyString: String = "";
25 while(emptyString) {
Dstring-expression-for-loop.ets23 let emptyString: String = "";
25 for (let i = 0; emptyString; i++ ) {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/checked/
Dets_string_length.ets49 function emptyString(): String {
61 let s1 = emptyString();
Dets_string_isempty.ets47 function emptyString(): String {
59 let s1 = emptyString();
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Descompat_RegExp.cpp194 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/
Djson_parser_test.cpp200 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/
Dstringbuilder.ets16 const emptyString = "";
60 .append(emptyString)
/arkcompiler/ets_runtime/ecmascript/tests/
Dlocale_helper_test.cpp162 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/
Dobject_helpers.cpp215 static const char *emptyString = ""; in GetFieldName() local
216 const char *ret = emptyString; in GetFieldName()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_function.cpp271 JSHandle<JSTaggedValue> emptyString(factory->GetEmptyString()); in FunctionPrototypeBind() local
273 emptyString, boundName); in FunctionPrototypeBind()
Dbuiltins_regexp.cpp319 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 …]

12