Home
last modified time | relevance | path

Searched defs:array (Results 1 – 25 of 77) sorted by relevance

1234

/ark/js_runtime/ecmascript/tooling/base/
Dpt_returns.cpp33 std::unique_ptr<PtJson> array = PtJson::CreateArray(); in ToJson() local
62 std::unique_ptr<PtJson> array = PtJson::CreateArray(); in ToJson() local
89 std::unique_ptr<PtJson> array = PtJson::CreateArray(); in ToJson() local
104 std::unique_ptr<PtJson> array = PtJson::CreateArray(); in ToJson() local
139 std::unique_ptr<PtJson> array = PtJson::CreateArray(); in ToJson() local
162 std::unique_ptr<PtJson> array = PtJson::CreateArray(); in ToJson() local
259 std::unique_ptr<PtJson> array = PtJson::CreateArray(); in ToJson() local
283 std::unique_ptr<PtJson> array = PtJson::CreateArray(); in ToJson() local
299 std::unique_ptr<PtJson> array = PtJson::CreateArray(); in ToJson() local
Dpt_events.cpp37 std::unique_ptr<PtJson> array = PtJson::CreateArray(); in ToJson() local
219 std::unique_ptr<PtJson> array = PtJson::CreateArray(); in ToJson() local
239 std::unique_ptr<PtJson> array = PtJson::CreateArray(); in ToJson() local
/ark/js_runtime/ecmascript/tests/
Dweak_ref_old_gc_test.cpp69 JSHandle<TaggedArray> array = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(2); in ArrayTestCreate() local
76 auto array = vm->GetFactory()->NewTaggedArray(2, JSTaggedValue::Undefined(), true); in HWTEST_F_L0() local
94 JSHandle<TaggedArray> array = ecmaVM->GetFactory()->NewTaggedArray(2); in HWTEST_F_L0() local
113 JSHandle<TaggedArray> array = ecmaVM->GetFactory()->NewTaggedArray(2); in HWTEST_F_L0() local
135 JSTaggedValue array(ArrayTestCreate(thread)); in HWTEST_F_L0() local
146 JSHandle<TaggedArray> array(thread, ArrayTestCreate(thread)); in HWTEST_F_L0() local
Dweak_ref_semi_gc_test.cpp68 JSHandle<TaggedArray> array = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(2); in ArrayTestCreate() local
75 JSHandle<TaggedArray> array = ecmaVM->GetFactory()->NewTaggedArray(2); in HWTEST_F_L0() local
94 JSHandle<TaggedArray> array = ecmaVM->GetFactory()->NewTaggedArray(2); in HWTEST_F_L0() local
116 JSTaggedValue array(ArrayTestCreate(thread)); in HWTEST_F_L0() local
127 JSHandle<TaggedArray> array(thread, ArrayTestCreate(thread)); in HWTEST_F_L0() local
Djs_iterator_test.cpp67 JSHandle<JSTaggedValue> array(JSArray::CreateArrayFromList(thread, data)); in HWTEST_F_L0() local
81 JSHandle<JSTaggedValue> array(JSArray::CreateArrayFromList(thread, data)); in HWTEST_F_L0() local
94 JSHandle<JSTaggedValue> array(JSArray::CreateArrayFromList(thread, data)); in HWTEST_F_L0() local
112 JSHandle<JSTaggedValue> array(JSArray::CreateArrayFromList(thread, data)); in HWTEST_F_L0() local
125 JSHandle<JSTaggedValue> array(JSArray::CreateArrayFromList(thread, data)); in HWTEST_F_L0() local
Dconcurrent_marking_test.cpp82 …auto array = CreateTaggedArray(subArrayLength, JSTaggedValue::Undefined(), MemSpaceType::OLD_SPACE… in HWTEST_F_L0() local
89 …auto array = CreateTaggedArray(subArrayLength, JSTaggedValue::Undefined(), MemSpaceType::OLD_SPACE… in HWTEST_F_L0() local
102 …auto array = CreateTaggedArray(subArrayLength, JSTaggedValue::Undefined(), MemSpaceType::OLD_SPACE… in HWTEST_F_L0() local
108 …auto array = CreateTaggedArray(subArrayLength, JSTaggedValue::Undefined(), MemSpaceType::OLD_SPACE… in HWTEST_F_L0() local
Djs_arguments_test.cpp66 char array[] = "x"; in HWTEST_F_L0() local
89 char array[] = "x"; in HWTEST_F_L0() local
111 char array[] = "delete"; in HWTEST_F_L0() local
Dhuge_object_test.cpp72 JSHandle<TaggedArray> array = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(SIZE); in LargeArrayTestCreate() local
79 TaggedArray *array = LargeArrayTestCreate(thread); in HWTEST_F_L0() local
Djs_array_iterator_test.cpp114 uint32_t array[10] = {0, 6, 8, 99, 200, 1, -1, -199, 33, 100}; in HWTEST_F_L0() local
148 uint32_t array[10] = {0, 6, 8, 99, 200, 1, -1, -199, 33, 100}; in HWTEST_F_L0() local
Dnative_pointer_test.cpp60 char array[] = "Hello World!"; in HWTEST_F_L0() local
/ark/runtime_core/runtime/coretypes/
Darray.cpp52 auto *array = AllocateArray(array_class, elem_size, length, space_type); in Create() local
73 auto *array = AllocateArray(array_class, elem_size, length, space_type); in Create() local
92 auto *array = AllocateArray(array_class, elem_size, length, space_type); in Create() local
111 auto *array = AllocateArray(array_class, elem_size, length, space_type, vm); in CreateTagged() local
/ark/js_runtime/ecmascript/ic/
Dproto_change_details.cpp20 …<ChangeListener> ChangeListener::Add(const JSThread *thread, const JSHandle<ChangeListener> &array, in Add()
56 uint32_t ChangeListener::CheckHole(const JSHandle<ChangeListener> &array) in CheckHole()
Dprofile_type_info.cpp262 TaggedArray *array = TaggedArray::Cast(profileData.GetHeapObject()); in GetICState() local
266 TaggedArray *array = TaggedArray::Cast(profileData.GetHeapObject()); in GetICState() local
276 TaggedArray *array = TaggedArray::Cast(profileData.GetHeapObject()); in GetICState() local
/ark/js_runtime/ecmascript/ic/tests/
Dic_invoke_test.cpp62 JSHandle<TaggedArray> array = factory->NewTaggedArray(10); in HWTEST_F_L0() local
91 JSHandle<TaggedArray> array = factory->NewTaggedArray(10); in HWTEST_F_L0() local
/ark/js_runtime/ecmascript/base/
Dbuiltins_base.cpp26 JSHandle<TaggedArray> array = factory->NewTaggedArray(length); in GetArgsArray() local
Dstring_helper.cpp28 const uint8_t *array = string->GetDataUtf8(); in CheckDuplicate() local
/ark/ts2abc/ts2panda/scripts/
Dgenerate_plugin.py50 def split_array_by_n(array, max_len): argument
/ark/js_runtime/ecmascript/
Djs_array.cpp172 void JSArray::SetCapacity(JSThread *thread, const JSHandle<JSObject> &array, uint32_t oldLen, uint3… in SetCapacity()
221 bool JSArray::ArraySetLength(JSThread *thread, const JSHandle<JSObject> &array, const PropertyDescr… in ArraySetLength()
298 bool JSArray::DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &array, const JSHandle<J… in DefineOwnProperty()
322 bool JSArray::DefineOwnProperty(JSThread *thread, const JSHandle<JSObject> &array, uint32_t index, in DefineOwnProperty()
Djs_object-inl.h232 TaggedArray *array = TaggedArray::Cast(GetProperties().GetTaggedObject()); in GetProperty() local
241 TaggedArray *array = TaggedArray::Cast(GetProperties().GetTaggedObject()); in SetProperty() local
298 JSHandle<TaggedArray> array = thread->GetEcmaVM()->GetFactory()->NewTaggedArray(len); in CreateListFromArrayLike() local
Djs_array_iterator.cpp43 JSHandle<JSTaggedValue> array(thread, iter->GetIteratedArray()); in Next() local
Dtemplate_map.h33 JSArray *array = JSArray::Cast(obj.GetHeapObject()); in Hash() local
Dobject_factory-inl.h71 LexicalEnv *array = LexicalEnv::Cast(header); in InlineNewLexicalEnv() local
Djs_api_tree_set_iterator.cpp69 JSHandle<TaggedArray> array(factory->NewTaggedArray(2)); // 2 means the length of array in Next() local
/ark/js_runtime/ecmascript/builtins/tests/
Dbuiltins_function_test.cpp145 JSHandle<JSObject> array(JSArray::ArrayCreate(thread, JSTaggedNumber(2))); in HWTEST_F_L0() local
200 JSHandle<TaggedArray> array(thread, resultFunc->GetBoundArguments()); in HWTEST_F_L0() local
249 JSHandle<TaggedArray> array(thread, resultFunc->GetBoundArguments()); in HWTEST_F_L0() local
305 JSHandle<TaggedArray> array(thread, resultFunc->GetBoundArguments()); in HWTEST_F_L0() local
/ark/runtime_core/runtime/tests/
Darray_test.cpp61 Array *array = Array::Create(klass, n); in TestArrayObjectSize() local

1234