Searched refs:ArrayMode (Results 1 – 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
D | js_array.h | 25 enum class ArrayMode : uint8_t { UNDEFINED = 0, DICTIONARY, LITERAL }; enum 34 ArrayMode mode = ArrayMode::UNDEFINED); 37 ArrayMode mode = ArrayMode::UNDEFINED);
|
D | js_array.cpp | 67 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/ |
D | program_object.h | 383 … JSHandle<JSArray> arr(JSArray::ArrayCreate(thread, JSTaggedNumber(length), ArrayMode::LITERAL)); in GetLiteralFromCache()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_regexp.cpp | 1550 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()
|