Home
last modified time | relevance | path

Searched refs:NewByteArray (Results 1 – 15 of 15) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Dbyte_array_test.cpp38 JSHandle<ByteArray> byteArray = factory->NewByteArray(5, 8); in HWTEST_F_L0()
56 JSHandle<ByteArray> byteArray = factory->NewByteArray(3, sizeof(value)); in HWTEST_F_L0()
Ddump_test.cpp966 JSHandle<ByteArray> byteArray = factory->NewByteArray(4, 8); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/
Darray_native_test_3.cpp84 EXPECT_DEATH(env_->NewByteArray(-1), ""); in TEST_F()
109 ets_byteArray byteArray = env_->NewByteArray(10U); in TEST_F()
145 ets_byteArray byteArray = env_->NewByteArray(10U); in TEST_F()
Darray_native_test_2.cpp67 ets_byteArray arr = env_->NewByteArray(5U); in TEST_F()
330 ets_byteArray arr = env_->NewByteArray(5U); in TEST_F()
Darray_native_test.cpp35 ets_byteArray array2 = env_->NewByteArray(0); in TEST_F()
113 ets_byteArray array = env_->NewByteArray(src.size()); in TEST_F()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_sendable_arraybuffer_test.cpp258 JSHandle<ByteArray> byteArray = factory->NewByteArray(5, 8); in HWTEST_F_L0()
329 JSHandle<ByteArray> byteArray = factory->NewByteArray(5, 8); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dnew_object_stub_builder.h127 void NewByteArray(Variable *result, Label *exit, GateRef elementSize, GateRef length);
Dnew_object_stub_builder.cpp2271 NewByteArray(&buffer, &newByteArrayExit, elementSize, length); in NewTypedArray()
2325 NewByteArray(&buffer, &newByteArrayExit, elementSize, size); in NewFloat32ArrayWithSize()
2376 NewByteArray(&buffer, &newByteArrayExit, elementSize, length); in NewTypedArrayFromCtor()
2389 void NewObjectStubBuilder::NewByteArray(Variable *result, Label *exit, GateRef elementSize, GateRef… in NewByteArray() function in panda::ecmascript::kungfu::NewObjectStubBuilder
/arkcompiler/ets_runtime/ecmascript/base/
Dtyped_array_helper.cpp164 … thread->GetEcmaVM()->GetFactory()->NewByteArray(arrayLength, elementSize).GetTaggedValue()); in AllocateTypedArrayBuffer()
220 thread->GetEcmaVM()->GetFactory()->NewByteArray(arrayLength, elementSize, nullptr, in AllocateTypedArrayBuffer()
/arkcompiler/ets_runtime/ecmascript/
Decma_string_table.cpp577 newData.Update(vm->GetFactory()->NewByteArray( in RelocateConstantData()
Dobject_factory.h394 JSHandle<ByteArray> NewByteArray(uint32_t length, uint32_t size, void *srcData = nullptr,
Dobject_factory.cpp2865 JSHandle<ByteArray> ObjectFactory::NewByteArray(uint32_t length, uint32_t size, void *srcData, in NewByteArray() function in panda::ecmascript::ObjectFactory
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/
Dets_napi.h376 ets_byteArray (*NewByteArray)(EtsEnv *env, ets_size length); member
1325 ets_byteArray NewByteArray(ets_size length) in NewByteArray() function
1327 return native_interface->NewByteArray(this, length); in NewByteArray()
Dets_napi_native_interface.cpp2150 NO_UB_SANITIZE static ets_byteArray NewByteArray(EtsEnv *env, ets_size length) in NewByteArray() function
2946 NewByteArray,
/arkcompiler/ets_runtime/ecmascript/serializer/tests/
Dserializer_test.cpp2218 JSHandle<ByteArray> byteArray = factory->NewByteArray(byteArrayLength, sizeof(value)); in HWTEST_F_L0()