Searched refs:TrimMode (Results 1 – 3 of 3) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
D | ecma_string.h | 70 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)
|
D | ecma_string.cpp | 755 …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/ |
D | builtins_string.cpp | 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()
|