Home
last modified time | relevance | path

Searched refs:Trim (Results 1 – 23 of 23) sorted by relevance

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DtailRecursiveConditionalTypes.ts22 type Trim<S extends string> =
23 S extends ` ${infer T}` ? Trim<T> :
24 S extends `${infer T} ` ? Trim<T> :
27 type T10 = Trim<' …
28 type T11 = Trim<' hello …
/arkcompiler/ets_runtime/ecmascript/
Dvtable.cpp68 void VTable::Trim(const JSThread *thread, uint32_t newLength) in Trim() function in panda::ecmascript::VTable
70 TaggedArray::Trim(thread, newLength * VTable::TUPLE_SIZE); in Trim()
Dvtable.h84 void Trim(const JSThread *thread, uint32_t newLength);
Dtagged_array.h85 inline void Trim(const JSThread *thread, uint32_t newLength);
Dtagged_array-inl.h242 void TaggedArray::Trim(const JSThread *thread, uint32_t newLength) in Trim() function
Decma_string.h461 …static EcmaString *Trim(const JSThread *thread, const JSHandle<EcmaString> &src, TrimMode mode = T…
1064 static EcmaString *Trim(const JSThread *thread,
1067 return EcmaString::Trim(thread, src, mode);
Dsubtyping_operator.cpp183 vtable->Trim(thread, loc); in GenVTable()
Djs_stable_array.cpp73 elements->Trim(thread, index); in Pop()
160 srcElementsHandle->Trim(thread, newCapacity); in Splice()
207 elements->Trim(thread, index); in Shift()
Djs_object.cpp1335 retArray->Trim(thread, retArrayEffectivelength); in GetAllPropertyKeys()
1657 properties->Trim(thread, index); in EnumerableOwnPropertyNames()
1705 properties->Trim(thread, index); in EnumerableOwnPropertyNames()
Decma_string.cpp868 EcmaString *EcmaString::Trim(const JSThread *thread, const JSHandle<EcmaString> &src, TrimMode mode) in Trim() function in panda::ecmascript::EcmaString
Druntime_call_id.h714 V(String, Trim) \
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_string.h104 static JSTaggedValue Trim(EcmaRuntimeCallInfo *argv);
Dbuiltins_string.cpp1695 JSTaggedValue BuiltinsString::Trim(EcmaRuntimeCallInfo *argv) in Trim() function in panda::ecmascript::builtins::BuiltinsString
1698 BUILTINS_API_TRACE(argv->GetThread(), String, Trim); in Trim()
1705 EcmaString *res = EcmaStringAccessor::Trim(thread, thisHandle, EcmaString::TrimMode::TRIM); in Trim()
1719 … EcmaString *res = EcmaStringAccessor::Trim(thread, thisHandle, EcmaString::TrimMode::TRIM_START); in TrimStart()
1733 EcmaString *res = EcmaStringAccessor::Trim(thread, thisHandle, EcmaString::TrimMode::TRIM_END); in TrimEnd()
1747 … EcmaString *res = EcmaStringAccessor::Trim(thread, thisHandle, EcmaString::TrimMode::TRIM_START); in TrimLeft()
1761 EcmaString *res = EcmaStringAccessor::Trim(thread, thisHandle, EcmaString::TrimMode::TRIM_END); in TrimRight()
Dbuiltins.cpp1784 SetFunction(env, stringFuncPrototype, "trim", BuiltinsString::Trim, FunctionLength::ZERO); in InitializeString()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dclass_info_extractor.cpp162 keys->Trim(thread, trimOneLength); in ExtractAndReturnWhetherWithElements()
163 properties->Trim(thread, trimOneLength); in ExtractAndReturnWhetherWithElements()
169 keys->Trim(thread, pos); in ExtractAndReturnWhetherWithElements()
170 properties->Trim(thread, pos); in ExtractAndReturnWhetherWithElements()
Dliteral_data_extractor.cpp206 literals->Trim(thread, oldLength - 1); in EnumerateLiteralVals()
462 literals->Trim(thread, oldLength - 1); in GetDatasIgnoreType()
/arkcompiler/ets_runtime/ecmascript/tests/
Dtagged_array_test.cpp170 HWTEST_F_L0(TaggedArrayTest, Trim) in HWTEST_F_L0() argument
190 taggedArray->Trim(thread, newArrayLength); in HWTEST_F_L0()
/arkcompiler/toolchain/tooling/agent/
Ddebugger_impl.h147 std::string Trim(const std::string &str);
Ddebugger_impl.cpp1019 std::string DebuggerImpl::Trim(const std::string &str) in Trim() function in panda::ecmascript::tooling::DebuggerImpl
1395 varName = Trim(expression.substr(0, indexEqual)); in CmptEvaluateValue()
1396 varValue = Trim(expression.substr(indexEqual + 1, expression.length())); in CmptEvaluateValue()
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_vector.cpp441 elements->Trim(thread, length); in TrimToCurrentLength()
Djs_api_arraylist.cpp121 elements->Trim(thread, length); in TrimToCurrentLength()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_string_test.cpp865 JSTaggedValue result = BuiltinsString::Trim(ecmaRuntimeCallInfo); in HWTEST_F_L0()
888 JSTaggedValue result = BuiltinsString::Trim(ecmaRuntimeCallInfo); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot_processor.cpp507 reinterpret_cast<uintptr_t>(BuiltinsString::Trim),