Home
last modified time | relevance | path

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

1234

/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/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/dfx/pgo_profiler/
Dpgo_profiler_loader.cpp117 bool PGOProfilerLoader::ParseProfilerHeader(void **buffer) in ParseProfilerHeader()
127 bool PGOProfilerLoader::ParsePandaFileInfo(void **buffer) in ParsePandaFileInfo()
140 void PGOProfilerLoader::ParseProfiler(void **buffer) in ParseProfiler()
/arkcompiler/runtime_core/runtime/tooling/inspector/tests/
Dtest_server.cpp39 …[connection = weak(clientConnection), &clientEventLoop](auto /* hdl */, const char *buffer, size_t… in Connect()
45 … [this, connection = weak(serverConnection)](auto /* hdl */, const char *buffer, size_t size) { in Connect()
Dtest_event_loop.h45 … void Push(const websocketpp::connection<TestConfig>::ptr &connection, std::vector<char> &&buffer) in Push()
/arkcompiler/runtime_core/dprof/libstorage/dprof/
Dstorage.cpp43 std::unique_ptr<AppData> AppData::CreateByBuffer(const std::vector<uint8_t> &buffer) in CreateByBuffer()
122 std::vector<uint8_t> buffer; in SaveAppData() local
196 std::vector<uint8_t> buffer; in ForEachApps() local
/arkcompiler/ets_runtime/ecmascript/base/
Dbit_helper.h32 inline T ReadBuffer(void **buffer) in ReadBuffer()
39 inline char *ReadBuffer(void **buffer) in ReadBuffer()
47 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/stackmap/
Dark_stackmap_builder.h35 BinaryBufferWriter(uint8_t *buffer, uint32_t length) : buffer_(buffer), length_(length) {} in BinaryBufferWriter()
/arkcompiler/ets_runtime/ecmascript/
Djs_typed_array.cpp93 JSTaggedValue buffer = typedarrayObj->GetViewedArrayBuffer(); in HasProperty() local
338 JSTaggedValue buffer = typedarrayObj->GetViewedArrayBuffer(); in IntegerIndexedElementGet() local
387 JSTaggedValue buffer = typedarrayObj->GetViewedArrayBuffer(); in IsValidIntegerIndex() local
455 JSTaggedValue buffer = typedarrayObj->GetViewedArrayBuffer(); in FastCopyElementToArray() local
490 JSTaggedValue buffer = typedarrayObj->GetViewedArrayBuffer(); in FastElementGet() local
537 JSTaggedValue buffer = typedarrayObj->GetViewedArrayBuffer(); in IntegerIndexedElementSet() local
602 JSTaggedValue buffer = typedarrayObj->GetViewedArrayBuffer(); in FastGetPropertyByIndex() local
643 JSTaggedValue buffer = typedarrayObj->GetViewedArrayBuffer(); in FastSetPropertyByIndex() 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/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/jspandafile/
Djs_pandafile_executor.cpp108const void *buffer, size_t size, std::string_view entryPoint, const CString &filename, bool needUp… in ExecuteFromBuffer()
129 JSThread *thread, const void *buffer, size_t size, const CString &filename, bool needUpdate) in ExecuteModuleBuffer()
170 bool isBundle, const CString &filename, const CString &entry, const void *buffer, size_t size) in CommonExecuteBuffer()
/arkcompiler/ets_runtime/ecmascript/platform/unix/linux/
Dbacktrace.cpp30 void *buffer[MAX_STACK_SIZE]; in Backtrace() local
/arkcompiler/ets_runtime/ecmascript/platform/unix/
Dfile.cpp40 char buffer[PATH_MAX] = { '\0' }; in RealPath() local
54 void DPrintf(fd_t fd, const std::string &buffer) in DPrintf()
/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
361 JSTaggedValue buffer = dataView->GetViewedArrayBuffer(); in GetViewValue() local
416 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/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/ecmascript/pgo_profiler/
Dpgo_profiler_info.cpp33 bool PGOProfilerHeader::ParseFromBinary(void *buffer, PGOProfilerHeader **header) in ParseFromBinary()
90 void PGOPandaFileInfos::ParseFromBinary(void *buffer, SectionInfo *const info) in ParseFromBinary()
220 bool PGOMethodInfoMap::ParseFromBinary(uint32_t threshold, void **buffer) in ParseFromBinary()
328 bool PGOMethodIdSet::ParseFromBinary(uint32_t threshold, void **buffer) in ParseFromBinary()
377 void PGORecordDetailInfos::ParseFromBinary(void *buffer, SectionInfo *const info) in ParseFromBinary()
460 void PGORecordSimpleInfos::ParseFromBinary(void *buffer, SectionInfo *const info) in ParseFromBinary()
/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
/arkcompiler/runtime_core/runtime/
Druntime_controller.cpp72 PandaVector<char> buffer(PATH_MAX, 0); in CanLoadPandaFile() local
/arkcompiler/ets_runtime/ecmascript/regexp/
Dregexp_executor.cpp29 DynChunk buffer(buf, chunk_); in Execute() local
277 CVector<uint8_t> buffer(len + 1); in GetResult() local

1234