| /arkcompiler/runtime_core/libpandabase/tests/ringbuf/ |
| D | lock_free_ring_buffer_test.cpp | 33 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/ |
| D | ring_buffer_test.cpp | 25 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
|
| D | serializer_test.cpp | 27 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/ |
| D | native_stack.cpp | 30 std::vector<char> buffer(BUFF_SIZE); in ReadOsFile() local 39 bool WriterOsFile(const void *buffer, size_t count, int fd) in WriterOsFile()
|
| D | file.h | 148 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/ |
| D | pgo_profiler_loader.cpp | 117 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/ |
| D | test_server.cpp | 39 …[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()
|
| D | test_event_loop.h | 45 … void Push(const websocketpp::connection<TestConfig>::ptr &connection, std::vector<char> &&buffer) in Push()
|
| /arkcompiler/runtime_core/dprof/libstorage/dprof/ |
| D | storage.cpp | 43 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/ |
| D | bit_helper.h | 32 inline T ReadBuffer(void **buffer) in ReadBuffer() 39 inline char *ReadBuffer(void **buffer) in ReadBuffer() 47 inline T *ReadBufferInSize(void **buffer) in ReadBufferInSize()
|
| D | atomic_helper.cpp | 27 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/ |
| D | ark_stackmap_builder.h | 35 BinaryBufferWriter(uint8_t *buffer, uint32_t length) : buffer_(buffer), length_(length) {} in BinaryBufferWriter()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_typed_array.cpp | 93 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/ |
| D | atomic_helper_test.cpp | 61 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/ |
| D | native_stack.cpp | 26 bool WriterOsFile([[maybe_unused]] const void *buffer, [[maybe_unused]] size_t count, [[maybe_unuse… in WriterOsFile()
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/ |
| D | js_pandafile_executor.cpp | 108 …const 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/ |
| D | backtrace.cpp | 30 void *buffer[MAX_STACK_SIZE]; in Backtrace() local
|
| /arkcompiler/ets_runtime/ecmascript/platform/unix/ |
| D | file.cpp | 40 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/ |
| D | builtins_dataview.cpp | 126 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/ |
| D | file.cpp | 55 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/ |
| D | serializer.h | 217 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/ |
| D | pgo_profiler_info.cpp | 33 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/ |
| D | encoders_test.cpp | 74 auto buffer = GetEncoder()->GetMasm()->GetBuffer(); in TestPcRelativeLoad() local 198 auto buffer = masm->GetBuffer(); in TEST_F() local
|
| /arkcompiler/runtime_core/runtime/ |
| D | runtime_controller.cpp | 72 PandaVector<char> buffer(PATH_MAX, 0); in CanLoadPandaFile() local
|
| /arkcompiler/ets_runtime/ecmascript/regexp/ |
| D | regexp_executor.cpp | 29 DynChunk buffer(buf, chunk_); in Execute() local 277 CVector<uint8_t> buffer(len + 1); in GetResult() local
|