Home
last modified time | relevance | path

Searched refs:Trim (Results 1 - 25 of 29) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_util/include/
H A Dstring_utils.h32 if (Trim(src).empty()) { in Split()
67 if (Trim(src).empty()) { in Split()
79 if (Trim(src).empty()) { in Split()
89 static std::string Trim(const std::string &s) in Trim() function in maple::StringUtils
/arkcompiler/ets_runtime/ecmascript/
H A Dvtable.cpp69 void VTable::Trim(const JSThread *thread, uint32_t newLength) in Trim() function in panda::ecmascript::VTable
71 TaggedArray::Trim(thread, newLength * VTable::TUPLE_SIZE); in Trim()
H A Dvtable.h86 void Trim(const JSThread *thread, uint32_t newLength);
H A Dtagged_array.h96 void Trim(const JSThread *thread, uint32_t newLength);
H A Dtagged_array.cpp212 void TaggedArray::Trim(const JSThread *thread, uint32_t newLength) in Trim() function in panda::ecmascript::TaggedArray
H A Djs_stable_array.cpp92 elements->Trim(thread, index); in Pop()
123 elements->Trim(thread, index); in Pop()
186 srcElementsHandle->Trim(thread, newCapacity); in UpdateArrayCapacity()
338 srcElementsHandle->Trim(thread, newCapacity); in Splice()
384 elements->Trim(thread, index); in Shift()
412 elements->Trim(thread, index); in Shift()
H A Decma_string.h631 static EcmaString *Trim(const JSThread *thread, const JSHandle<EcmaString> &src, TrimMode mode = TrimMode::TRIM);
1487 static EcmaString *Trim(const JSThread *thread, in Trim() function in panda::EcmaStringAccessor
1490 return EcmaString::Trim(thread, src, mode); in Trim()
H A Djs_object.cpp1651 retArray->Trim(thread, retArrayEffectivelength); in GetAllPropertyKeys()
1967 keyArray->Trim(thread, copyLengthOfKeys); in EnumerableOwnNames()
1973 elementArray->Trim(thread, copyLengthOfElements); in EnumerableOwnNames()
2069 properties->Trim(thread, index); in EnumerableOwnPropertyNames()
2117 properties->Trim(thread, index); in EnumerableOwnPropertyNames()
H A Druntime_call_id.h825 V(String, Trim) \
/arkcompiler/ets_runtime/ecmascript/ohos/
H A Denable_aot_list_helper.h125 static void Trim(std::string &data) in Trim() function in panda::ecmascript::ohos::EnableAotJitListHelper
156 Trim(appName); in ReadEnableList()
/arkcompiler/toolchain/websocket/
H A Dstring_utils.h36 inline void Trim(std::string &str) in Trim() function
/arkcompiler/ets_runtime/ecmascript/tests/
H A Dtagged_array_test.cpp146 HWTEST_F_L0(TaggedArrayTest, Trim) in HWTEST_F_L0()
166 taggedArray->Trim(thread, newArrayLength); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_string.h106 V("trim", Trim, 0, StringTrim) \
223 static JSTaggedValue Trim(EcmaRuntimeCallInfo *argv);
H A Dbuiltins_string.cpp2040 JSTaggedValue BuiltinsString::Trim(EcmaRuntimeCallInfo *argv) in Trim() function in BuiltinsString
2043 BUILTINS_API_TRACE(argv->GetThread(), String, Trim); in Trim()
2050 EcmaString *res = EcmaStringAccessor::Trim(thread, thisHandle, EcmaString::TrimMode::TRIM); in Trim()
2064 EcmaString *res = EcmaStringAccessor::Trim(thread, thisHandle, EcmaString::TrimMode::TRIM_START); in TrimStart()
2078 EcmaString *res = EcmaStringAccessor::Trim(thread, thisHandle, EcmaString::TrimMode::TRIM_END); in TrimEnd()
2092 EcmaString *res = EcmaStringAccessor::Trim(thread, thisHandle, EcmaString::TrimMode::TRIM_START); in TrimLeft()
2106 EcmaString *res = EcmaStringAccessor::Trim(thread, thisHandle, EcmaString::TrimMode::TRIM_END); in TrimRight()
/arkcompiler/toolchain/websocket/client/
H A Dwebsocket_client.cpp59 Trim(response.secWebSocketAccept); in ValidateServerHandShake()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
H A Dclass_info_extractor.cpp184 keys->Trim(thread, trimOneLength); in ExtractAndReturnWhetherWithElements()
185 properties->Trim(thread, trimOneLength); in ExtractAndReturnWhetherWithElements()
191 keys->Trim(thread, pos); in ExtractAndReturnWhetherWithElements()
192 properties->Trim(thread, pos); in ExtractAndReturnWhetherWithElements()
874 keys->Trim(thread, left); in FilterDuplicatedKeys()
875 properties->Trim(thread, left); in FilterDuplicatedKeys()
H A Dliteral_data_extractor.cpp235 literals->Trim(thread, oldLength - 1); in EnumerateLiteralVals()
649 literals->Trim(thread, oldLength - 1); in GetDatasIgnoreType()
/arkcompiler/ets_runtime/ecmascript/js_api/
H A Djs_api_vector.cpp226 elements->Trim(thread, newLength); in RemoveByRange()
439 elements->Trim(thread, length); in TrimToCurrentLength()
H A Djs_api_arraylist.cpp116 elements->Trim(thread, length); in TrimToCurrentLength()
255 elements->Trim(thread, newLength); in RemoveByRange()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
H A Dets_string.h208 EtsString *Trim() in Trim() function in ark::ets::EtsString
/arkcompiler/toolchain/tooling/agent/
H A Ddebugger_impl.h227 std::string Trim(const std::string &str);
H A Ddebugger_impl.cpp1594 std::string DebuggerImpl::Trim(const std::string &str) in Trim() function in panda::ecmascript::tooling::DebuggerImpl
2038 varName = Trim(expression.substr(0, indexEqual)); in CmptEvaluateValue()
2039 varValue = Trim(expression.substr(indexEqual + 1, expression.length())); in CmptEvaluateValue()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Dstd_core_String.cpp503 return thisStr->Trim(); in StdCoreStringTrim()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_string_test.cpp792 JSTaggedValue result = BuiltinsString::Trim(ecmaRuntimeCallInfo); in HWTEST_F_L0()
815 JSTaggedValue result = BuiltinsString::Trim(ecmaRuntimeCallInfo); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_call_signature.h63 V(Trim, String, Undefined()) \

Completed in 37 milliseconds

12