Home
last modified time | relevance | path

Searched refs:TrimMode (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Decma_string.h70 enum TrimMode : uint8_t { enum
459 …g *TrimBody(const JSThread *thread, const JSHandle<EcmaString> &src, Span<T> &data, TrimMode mode);
461 …ing *Trim(const JSThread *thread, const JSHandle<EcmaString> &src, TrimMode mode = TrimMode::TRIM);
1066 const JSHandle<EcmaString> &src, EcmaString::TrimMode mode = EcmaString::TrimMode::TRIM)
Decma_string.cpp755 …ng::TrimBody(const JSThread *thread, const JSHandle<EcmaString> &src, Span<T> &data, TrimMode mode) in TrimBody()
761 if (mode == TrimMode::TRIM || mode == TrimMode::TRIM_START) { in TrimBody()
764 if (mode == TrimMode::TRIM || mode == TrimMode::TRIM_END) { in TrimBody()
868 EcmaString *EcmaString::Trim(const JSThread *thread, const JSHandle<EcmaString> &src, TrimMode mode) in Trim()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_string.cpp1705 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()