Home
last modified time | relevance | path

Searched refs:ArrayMode (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_array.h25 enum class ArrayMode : uint8_t { UNDEFINED = 0, DICTIONARY, LITERAL }; enum
34 ArrayMode mode = ArrayMode::UNDEFINED);
37 ArrayMode mode = ArrayMode::UNDEFINED);
Djs_array.cpp67 JSHandle<JSTaggedValue> JSArray::ArrayCreate(JSThread *thread, JSTaggedNumber length, ArrayMode mod… in ArrayCreate()
76 … const JSHandle<JSTaggedValue> &newTarget, ArrayMode mode) in ArrayCreate()
99 if (mode == ArrayMode::LITERAL) { in ArrayCreate()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dprogram_object.h383 … JSHandle<JSArray> arr(JSArray::ArrayCreate(thread, JSTaggedNumber(length), ArrayMode::LITERAL)); in GetLiteralFromCache()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_regexp.cpp1550 return JSArray::ArrayCreate(thread, JSTaggedNumber(0), ArrayMode::LITERAL).GetTaggedValue(); in RegExpSplitFast()
1556 … return JSArray::ArrayCreate(thread, JSTaggedNumber(0), ArrayMode::LITERAL).GetTaggedValue(); in RegExpSplitFast()
1581 … JSHandle<JSArray> splitArray(JSArray::ArrayCreate(thread, JSTaggedNumber(1), ArrayMode::LITERAL)); in RegExpSplitFast()