Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 74) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/compiler/
Dtyped_array_stub_builder.h55 GateRef GetArrayBufferData(GateRef buffer) in GetArrayBufferData()
61 GateRef GetArrayBufferByteLength(GateRef buffer) in GetArrayBufferByteLength()
67 GateRef GetExternalPointer(GateRef buffer) in GetExternalPointer()
Dtyped_array_stub_builder.cpp22 GateRef TypedArrayStubBuilder::IsDetachedBuffer(GateRef buffer) in IsDetachedBuffer()
93 GateRef buffer = GetViewedArrayBuffer(array); in FastGetPropertyByIndex() local
137 GateRef buffer = GetViewedArrayBuffer(typedArray); in FastCopyElementToArray() local
177 GateRef TypedArrayStubBuilder::GetValueFromBuffer(GateRef buffer, GateRef index, GateRef offset, Ga… in GetValueFromBuffer()
/arkcompiler/runtime_core/libpandabase/tests/ringbuf/
Dlock_free_ring_buffer_test.cpp33 LockFreeBuffer<size_t, DEFAULT_BUFFER_SIZE> buffer; in TEST() local
44 LockFreeBuffer<size_t, DEFAULT_BUFFER_SIZE> buffer; in TEST() local
57 LockFreeBuffer<size_t, DEFAULT_BUFFER_SIZE> buffer; in TEST() local
81 void PopElementsFromBuffer(LockFreeBuffer<size_t, DEFAULT_BUFFER_SIZE> *buffer, std::atomic<bool> *… in PopElementsFromBuffer()
99 LockFreeBuffer<size_t, DEFAULT_BUFFER_SIZE> buffer; in TEST() local
/arkcompiler/runtime_core/libpandabase/tests/
Dring_buffer_test.cpp25 constexpr RingBuffer<int, DEFAULT_BUFFER_SIZE> buffer; in TEST() local
38 RingBuffer<size_t, DEFAULT_BUFFER_SIZE> buffer; in TEST() local
90 RingBuffer<size_t, DEFAULT_BUFFER_SIZE> buffer; in TEST() local
Dserializer_test.cpp27 std::vector<uint8_t> buffer; member in panda::SerializatorTest
31 void SerializerTypeToBuffer(const T &type, /* out */ std::vector<uint8_t> &buffer, size_t ret_val) in SerializerTypeToBuffer()
39 void SerializerBufferToType(const std::vector<uint8_t> &buffer, /* out */ T &type, size_t ret_val) in SerializerBufferToType()
52 std::vector<uint8_t> buffer; in DoTest() local
/arkcompiler/ets_runtime/test/moduletest/dataview/
Ddataview.js22 const buffer = new ArrayBuffer(16); constant
/arkcompiler/runtime_core/platforms/unix/libpandabase/
Dnative_stack.cpp30 std::vector<char> buffer(BUFF_SIZE); in ReadOsFile() local
39 bool WriterOsFile(const void *buffer, size_t count, int fd) in WriterOsFile()
Dfile.h148 std::array<char, BUFFER_SIZE> buffer = {0}; in GetExecutablePath() local
168 std::array<char, PATH_MAX> buffer = {0}; in GetAbsolutePath() local
/arkcompiler/ets_runtime/ecmascript/base/
Dbit_helper.h33 inline T ReadBuffer(void **buffer, size_t offset) in ReadBuffer()
41 inline T ReadBuffer(void **buffer) in ReadBuffer()
48 inline char *ReadBuffer(void **buffer) in ReadBuffer()
56 inline T *ReadBufferInSize(void **buffer) in ReadBufferInSize()
Datomic_helper.cpp27 JSTaggedValue buffer = TypedArrayHelper::ValidateTypedArray(thread, typedArray); in ValidateIntegerTypedArray() local
100 JSHandle<JSTaggedValue> buffer(thread, bufferValue); in AtomicStore() local
128 JSHandle<JSTaggedValue> buffer(thread, bufferValue); in AtomicLoad() local
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
Dbinary_buffer_parser.h23 BinaryBufferParser(uint8_t *buffer, uint32_t length) : buffer_(buffer), length_(length) {} in BinaryBufferParser()
Dstub_file_info.h64 void FillAsmStubTempHolder(uint8_t *buffer, size_t bufferSize) in FillAsmStubTempHolder()
/arkcompiler/ets_runtime/test/moduletest/typedarraynan/
Dtypedarraynan.js43 var buffer = new ArrayBuffer(8); variable
/arkcompiler/runtime_core/libpandabase/os/
Dnative_stack.cpp26 bool WriterOsFile([[maybe_unused]] const void *buffer, [[maybe_unused]] size_t count, [[maybe_unuse… in WriterOsFile()
/arkcompiler/ets_runtime/ecmascript/stackmap/
Dark_stackmap_builder.h38 BinaryBufferWriter(uint8_t *buffer, uint32_t length) : buffer_(buffer), length_(length) {} in BinaryBufferWriter()
/arkcompiler/ets_runtime/ecmascript/platform/unix/linux/
Dbacktrace.cpp29 void *buffer[MAX_STACK_SIZE]; in Backtrace() local
/arkcompiler/ets_runtime/ecmascript/base/tests/
Datomic_helper_test.cpp61 JSHandle<JSArrayBuffer> buffer = factory->NewJSArrayBuffer(bufferSize); in HWTEST_F_L0() local
81 JSHandle<JSArrayBuffer> buffer = factory->NewJSArrayBuffer(bufferSize); in HWTEST_F_L0() local
111 JSHandle<JSArrayBuffer> buffer = factory->NewJSArrayBuffer(bufferSize); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Djs_pandafile_executor.cpp114const void *buffer, size_t size, std::string_view entryPoint, const CString &filename, bool needUp… in ExecuteFromBuffer()
144 JSThread *thread, const void *buffer, size_t size, const CString &filename, bool needUpdate) in ExecuteModuleBuffer()
194 bool isBundle, const CString &filename, const CString &entry, const void *buffer, size_t size) in CommonExecuteBuffer()
247 …STaggedValue, bool> JSPandaFileExecutor::ExecuteFromBufferSecure(JSThread *thread, uint8_t *buffer, in ExecuteFromBufferSecure()
300 …aggedValue, bool> JSPandaFileExecutor::ExecuteModuleBufferSecure(JSThread *thread, uint8_t *buffer, in ExecuteModuleBufferSecure()
/arkcompiler/runtime_core/libpandabase/serializer/
Dserializer.h217 explicit Serializer(std::vector<uint8_t> &buffer) : buffer_(buffer) {} in Serializer()
285 bool StructToBuffer(Struct &&str, /* out */ std::vector<uint8_t> &buffer) // NOLINT(google-runtime… in StructToBuffer()
319 bool BufferToStruct(const std::vector<uint8_t> &buffer, /* out */ Struct &str) in BufferToStruct()
/arkcompiler/ets_runtime/test/aottest/typedarray_load_store/
Dtypedarray_load_store.ts22 let buffer = new ArrayBuffer(120); variable
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_dataview.cpp126 JSTaggedValue buffer = dataView->GetViewedArrayBuffer(); in GetBuffer() local
150 JSTaggedValue buffer = dataView->GetViewedArrayBuffer(); in GetByteLength() local
180 JSTaggedValue buffer = dataView->GetViewedArrayBuffer(); in GetOffset() local
382 JSTaggedValue buffer = dataView->GetViewedArrayBuffer(); in GetViewValue() local
438 JSTaggedValue buffer = dataView->GetViewedArrayBuffer(); in SetViewValue() local
/arkcompiler/ets_runtime/ecmascript/platform/windows/
Dfile.cpp55 char buffer[PATH_MAX] = { '\0' }; in RealPath() local
64 void DPrintf(fd_t fd, const std::string &buffer) in DPrintf()
/arkcompiler/ets_runtime/ecmascript/
Djs_typed_array.cpp93 JSTaggedValue buffer = typedarrayObj->GetViewedArrayBufferOrByteArray(); in HasProperty() local
378 JSTaggedValue buffer = typedarrayObj->GetViewedArrayBufferOrByteArray(); in IntegerIndexedElementGet() local
427 JSTaggedValue buffer = typedarrayObj->GetViewedArrayBufferOrByteArray(); in IsValidIntegerIndex() local
532 JSTaggedValue buffer = typedarrayObj->GetViewedArrayBufferOrByteArray(); in FastElementGet() local
579 JSTaggedValue buffer = typedarrayObj->GetViewedArrayBufferOrByteArray(); in IntegerIndexedElementSet() local
644 JSTaggedValue buffer = typedarrayObj->GetViewedArrayBufferOrByteArray(); in FastGetPropertyByIndex() local
685 JSTaggedValue buffer = typedarrayObj->GetViewedArrayBufferOrByteArray(); in FastSetPropertyByIndex() local
/arkcompiler/ets_runtime/ecmascript/platform/unix/
Dfile.cpp42 char buffer[PATH_MAX] = { '\0' }; in RealPath() local
56 void DPrintf(fd_t fd, const std::string &buffer) in DPrintf()
/arkcompiler/runtime_core/compiler/tests/
Dencoders_test.cpp74 auto buffer = GetEncoder()->GetMasm()->GetBuffer(); in TestPcRelativeLoad() local
198 auto buffer = masm->GetBuffer(); in TEST_F() local

123