Home
last modified time | relevance | path

Searched defs:vector (Results 1 – 25 of 37) sorted by relevance

12

/arkcompiler/runtime_core/taihe/runtime/include/taihe/
Dvector.hpp154 struct vector : vector_view<T> { struct
158 … explicit vector(std::size_t cap = 0) : vector(reinterpret_cast<data_t *>(malloc(sizeof(data_t)))) in vector() argument
166 vector(vector<T> &&other) noexcept : vector(other.m_handle) in vector() argument
171 vector(vector<T> const &other) : vector(other.m_handle) in vector() function
178 vector(vector_view<T> const &other) : vector(other.m_handle) in vector() argument
185 vector &operator=(vector other) in operator =()
191 ~vector() in ~vector()
201 explicit vector(data_t *handle) : vector_view<T>(handle) {} in vector() function
221 struct std::hash<taihe::vector<T>> {
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Dsmall_vector_test.cpp54 void TestVectorGrow(Vector &vector) in TestVectorGrow()
90 SmallVector<int, 4U> vector; in TEST_F() local
94 SmallVector<int, 4U, ArenaAllocator, true> vector(GetAllocator()); in TEST_F() local
100 void CheckIteration(Vector &vector) in CheckIteration()
111 void CheckReverseIteration(Vector &vector) in CheckReverseIteration()
122 void TestVectorIteration(Vector &vector) in TestVectorIteration()
180 SmallVector<int, 4U> vector; in TEST_F() local
184 SmallVector<int, 4U, ArenaAllocator, true> vector(GetAllocator()); in TEST_F() local
225 SmallVector<Item, 1U> vector; in TEST_F() local
239 SmallVector<Item, 4U> vector; in TEST_F() local
[all …]
Dbit_vector_test.cpp56 BitVector<> vector; in TEST_F() local
120 void CheckIterator(T &vector) in CheckIterator()
164 void TestIteration(T &vector, size_t bits) in TestIteration()
243 void TestModification(T &vector) in TestModification()
314 BitVector<> vector; in TEST_F() local
/arkcompiler/runtime_core/libpandabase/tests/
Dsmall_vector_test.cpp49 void TestVectorGrow(Vector &vector) in TestVectorGrow()
85 SmallVector<int, 4> vector; in TEST_F() local
89 SmallVector<int, 4, ArenaAllocator, true> vector(GetAllocator()); in TEST_F() local
95 void TestVectorFind(Vector &vector) in TestVectorFind()
132 void TestVectorResize(Vector &vector) in TestVectorResize()
176 SmallVector<int, 4> vector; in TEST_F() local
181 SmallVector<int, 4, ArenaAllocator, true> vector(GetAllocator()); in TEST_F() local
220 SmallVector<Item, 1> vector; in TEST_F() local
234 SmallVector<Item, 4> vector; in TEST_F() local
261 SmallVector<Item, 2> vector; in TEST_F() local
[all …]
Dbit_vector_test.cpp51 BitVector<> vector; variable
113 void TestIteration1(T &vector, size_t bits) in TestIteration1()
166 void TestIteration2(T &vector, size_t bits) in TestIteration2()
239 void TestModification(T &vector) in TestModification()
310 BitVector<> vector; variable
Darena_allocator_test.cpp548 ArenaVector<size_t> vector(aa.Adapter()); variable
/arkcompiler/ets_runtime/test/fuzztest/containersvectorcommon_fuzzer/
Dcontainersvectorcommon_fuzzer.h87 JSHandle<JSAPIVector> vector = CreateJSAPIVector(thread); in GetVectorWithData() local
120 JSHandle<JSAPIVector> vector = CreateJSAPIVector(thread); in ContainersVectorAddFuzzTest() local
143 JSHandle<JSAPIVector> vector = CreateJSAPIVector(thread); in ContainersVectorGetIndexOfFuzzTest() local
173 JSHandle<JSAPIVector> vector = CreateJSAPIVector(thread); in ContainersVectorHasFuzzTest() local
203 JSHandle<JSAPIVector> vector = CreateJSAPIVector(thread); in ContainersVectorInsertFuzzTest() local
227 JSHandle<JSAPIVector> vector = CreateJSAPIVector(thread); in ContainersVectorRemoveFuzzTest() local
257 JSHandle<JSAPIVector> vector = CreateJSAPIVector(thread); in ContainersVectorSetFuzzTest() local
288 JSHandle<JSAPIVector> vector = CreateJSAPIVector(thread); in ContainersVectorGetLastIndexOfFuzzTest() local
317 JSHandle<JSAPIVector> vector = CreateJSAPIVector(thread); in ContainersVectorGetLastIndexFromFuzzTest() local
347 JSHandle<JSAPIVector> vector = CreateJSAPIVector(thread); in ContainersVectorGetIndexFromFuzzTest() local
[all …]
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_vector.cpp28 bool JSAPIVector::Add(JSThread *thread, const JSHandle<JSAPIVector> &vector, const JSHandle<JSTagge… in Add()
41 void JSAPIVector::Insert(JSThread *thread, const JSHandle<JSAPIVector> &vector, in Insert()
60 void JSAPIVector::SetLength(JSThread *thread, const JSHandle<JSAPIVector> &vector, uint32_t newSize) in SetLength()
76 void JSAPIVector::IncreaseCapacityTo(JSThread *thread, const JSHandle<JSAPIVector> &vector, int32_t… in IncreaseCapacityTo()
93 int32_t JSAPIVector::GetIndexOf(JSThread *thread, const JSHandle<JSAPIVector> &vector, in GetIndexOf()
99 int32_t JSAPIVector::GetIndexFrom(JSThread *thread, const JSHandle<JSAPIVector> &vector, in GetIndexFrom()
137 int32_t JSAPIVector::GetLastIndexOf(JSThread *thread, const JSHandle<JSAPIVector> &vector, in GetLastIndexOf()
147 int32_t JSAPIVector::GetLastIndexFrom(JSThread *thread, const JSHandle<JSAPIVector> &vector, in GetLastIndexFrom()
168 bool JSAPIVector::Remove(JSThread *thread, const JSHandle<JSAPIVector> &vector, const JSHandle<JSTa… in Remove()
183 JSTaggedValue JSAPIVector::RemoveByIndex(JSThread *thread, const JSHandle<JSAPIVector> &vector, int… in RemoveByIndex()
[all …]
Djs_api_vector_iterator.cpp37 JSHandle<JSTaggedValue> vector(thread, iter->GetIteratedVector(thread)); in Next() local
/arkcompiler/ets_runtime/ecmascript/containers/tests/
Dcontainers_vector_test.cpp68 JSHandle<JSTaggedValue> vector = GetCallArg(argv, 2); // 2 means the secode arg in TestForEachFunc() local
85 JSHandle<JSTaggedValue> vector = GetCallArg(argv, 2); // 2 means the secode arg in TestReplaceAllElementsFunc() local
131 JSHandle<JSAPIVector> vector(thread, result); in CreateJSAPIVector() local
169 JSHandle<JSAPIVector> vector = CreateJSAPIVector(); in HWTEST_F_L0() local
250 JSHandle<JSAPIVector> vector = CreateJSAPIVector(); in HWTEST_F_L0() local
322 JSHandle<JSAPIVector> vector = CreateJSAPIVector(); in HWTEST_F_L0() local
427 JSHandle<JSAPIVector> vector = CreateJSAPIVector(); in HWTEST_F_L0() local
501 JSHandle<JSAPIVector> vector = CreateJSAPIVector(); in HWTEST_F_L0() local
544 JSHandle<JSAPIVector> vector = CreateJSAPIVector(); in HWTEST_F_L0() local
670 JSHandle<JSAPIVector> vector = CreateJSAPIVector(); in HWTEST_F_L0() local
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/generic_call_params/ts_to_sts/
Dgeneric_call_params.js44 function vector(x) { function in Vector
47 vector.prototype.add = function () { class
/arkcompiler/ets_runtime/test/moduletest/container/
Dcontainer_vector.js27 let vector = new FastVector(); variable
/arkcompiler/runtime_core/static_core/libllvmbackend/object_code/
Dcreated_object_file.cpp63 std::vector<uint8_t> vector; in ContentToVector() local
/arkcompiler/ets_runtime/ecmascript/
Dweak_vector.cpp26 JSHandle<WeakVector> vector; in Create() local
Djs_finalization_registry.cpp25 …dVector> CellRecordVector::Append(const JSThread *thread, const JSHandle<CellRecordVector> &vector, in Append()
/arkcompiler/runtime_core/libpandabase/serializer/
Dserializer.h146 …e_t, const char *> BufferToType(const uint8_t *data, size_t size, /* out */ std::vector<T> &vector) in BufferToType()
/arkcompiler/runtime_core/static_core/libpandabase/serializer/
Dserializer.h146 …pected<size_t, const char *> BufferToType(const uint8_t *data, size_t size, std::vector<T> &vector) in BufferToType()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_vector_test.cpp44 …JSHandle<JSAPIVector> vector(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), … in CreateVector() local
67 JSAPIVector *vector = CreateVector(); in HWTEST_F_L0() local
/arkcompiler/runtime_core/static_core/runtime/mem/
Dregion_allocator-inl.h108 PandaVector<Region *> vector; in GetAllRegions() local
374 PandaVector<Region *> vector; in GetAllSpecificRegions() local
/arkcompiler/ets_frontend/ets2panda/ir/
DastNode.h638 …explicit VectorIterationGuard(T &vector) : vector_(vector), data_(vector_.data(), vector_.size()) … in VectorIterationGuard()
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dsmall_vector.h671 VectorType vector; member
Dbit_vector.h544 explicit BitsIndicesRange(const BitVectorBase &vector) : vector_(vector) {} in BitsIndicesRange()
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/inline_ir/
Dcleanup_inline_module.cpp70 …explicit ScopedVectorElement(llvm::SmallVectorImpl<T> *vector, T value) : vector_(vector), value_(… in ScopedVectorElement()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_vector.cpp665 JSHandle<JSAPIVector> vector = JSHandle<JSAPIVector>::Cast(self); in CopyToArray() local
704 JSHandle<JSAPIVector> vector = JSHandle<JSAPIVector>::Cast(self); in ConvertToArray() local
/arkcompiler/runtime_core/libpandabase/utils/
Dbit_vector.h500 explicit BitsIndicesRange(const BitVectorBase &vector) : vector_(vector) {} in BitsIndicesRange()

12