Home
last modified time | relevance | path

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

12

/ark/runtime_core/dprof/libstorage/dprof/
Dstorage.cpp43 std::unique_ptr<AppData> AppData::CreateByBuffer(const std::vector<uint8_t> &buffer) in CreateByBuffer()
121 std::vector<uint8_t> buffer; in SaveAppData() local
195 std::vector<uint8_t> buffer; in ForEachApps() local
/ark/runtime_core/libpandabase/tests/
Dserializer_test.cpp27 std::vector<uint8_t> buffer; member in panda::SerializatorTest
31 void SerializerTypeToBuffer(const T &type, std::vector<uint8_t> *buffer, size_t ret_val) in SerializerTypeToBuffer()
39 void SerializerBufferToType(const std::vector<uint8_t> &buffer, T &type, size_t ret_val) in SerializerBufferToType()
51 std::vector<uint8_t> buffer; in DoTest() local
/ark/js_runtime/ecmascript/builtins/
Dbuiltins_dataview.cpp125 JSTaggedValue buffer = dataView->GetViewedArrayBuffer(); in GetBuffer() local
149 JSTaggedValue buffer = dataView->GetViewedArrayBuffer(); in GetByteLength() local
179 JSTaggedValue buffer = dataView->GetViewedArrayBuffer(); in GetOffset() local
335 JSTaggedValue buffer = dataView->GetViewedArrayBuffer(); in GetViewValue() local
390 JSTaggedValue buffer = dataView->GetViewedArrayBuffer(); in SetViewValue() local
Dbuiltins_typedarray.cpp334 JSTaggedValue buffer = JSHandle<JSTypedArray>::Cast(thisHandle)->GetViewedArrayBuffer(); in GetBuffer() local
358 JSTaggedValue buffer = JSHandle<JSTypedArray>::Cast(thisHandle)->GetViewedArrayBuffer(); in GetByteLength() local
387 JSTaggedValue buffer = JSHandle<JSTypedArray>::Cast(thisHandle)->GetViewedArrayBuffer(); in GetByteOffset() local
817 JSTaggedValue buffer = JSHandle<JSTypedArray>::Cast(thisHandle)->GetViewedArrayBuffer(); in GetLength() local
1269 JSHandle<JSTaggedValue> buffer; in Sort() local
1365 JSTaggedValue buffer = JSTypedArray::Cast(*thisObj)->GetViewedArrayBuffer(); in Subarray() local
/ark/runtime_core/libpandabase/serializer/
Dserializer.h216 explicit Serializer(std::vector<uint8_t> &buffer) : buffer_(buffer) {} in Serializer()
284 bool StructToBuffer(Struct &&str, /* out */ std::vector<uint8_t> &buffer) // NOLINT(google-runtime… in StructToBuffer()
318 bool BufferToStruct(const std::vector<uint8_t> &buffer, /* out */ Struct &str) in BufferToStruct()
/ark/js_runtime/ecmascript/
Djs_typed_array.cpp92 JSTaggedValue buffer = JSTypedArray::Cast(*typedarrayObj)->GetViewedArrayBuffer(); in HasProperty() local
313 JSTaggedValue buffer = JSTypedArray::Cast(*typedarrayObj)->GetViewedArrayBuffer(); in IntegerIndexedElementGet() local
365 JSTaggedValue buffer = JSTypedArray::Cast(*typedarrayObj)->GetViewedArrayBuffer(); in FastCopyElementToArray() local
403 JSTaggedValue buffer = JSTypedArray::Cast(*typedarrayObj)->GetViewedArrayBuffer(); in FastElementGet() local
445 JSTaggedValue buffer = JSTypedArray::Cast(*typedarrayObj)->GetViewedArrayBuffer(); in IntegerIndexedElementSet() local
Djs_serializer.cpp591 void *buffer = np->GetExternalPointer(); in WriteJSArrayBuffer() local
600 void *buffer = np->GetExternalPointer(); in WriteJSArrayBuffer() local
1060 void *buffer = GetBuffer(bufferSize); in ReadJSRegExp() local
1227 const uint8_t *buffer = nullptr; in GetBuffer() local
/ark/runtime_core/libpandabase/os/unix/
Dfile.h142 std::array<char, BUFFER_SIZE> buffer = {0}; in GetExecutablePath() local
154 std::array<char, PATH_MAX> buffer = {0}; in GetAbsolutePath() local
Dnative_stack.cpp146 std::vector<char> buffer(BUFF_SIZE); in ReadOsFile() local
155 bool WriterOsFile(const void *buffer, size_t count, int fd) in WriterOsFile()
/ark/js_runtime/ecmascript/jspandafile/
Dscope_info_extractor.cpp32 auto buffer = ecmaVm->GetNativeAreaAllocator()->New<struct ScopeDebugInfo>(); in GenerateScopeInfo() local
Djs_pandafile_manager.cpp55 …le *JSPandaFileManager::LoadBufferAbc(const std::string &filename, const void *buffer, size_t size) in LoadBufferAbc()
/ark/runtime_core/runtime/
Dtime_utils.cpp65 std::array<char, TIME_BUFF_LENGTH> buffer {}; in GetCurrentTimeString() local
/ark/js_runtime/ecmascript/mem/
Dnative_area_allocator.cpp128 void NativeAreaAllocator::FreeBufferFunc(void *buffer, void* data) in FreeBufferFunc()
Dmem_controller.cpp158 …le MemController::CalculateAverageSpeed(const base::GCRingBuffer<BytesAndDuration, LENGTH> &buffer, in CalculateAverageSpeed()
186 …le MemController::CalculateAverageSpeed(const base::GCRingBuffer<BytesAndDuration, LENGTH> &buffer) in CalculateAverageSpeed()
Dtlab_allocator-inl.h109 uintptr_t buffer = heap_->AllocateYoungSync(MIN_BUFFER_SIZE); in ExpandYoung() local
Dnative_area_allocator.h46 static void FreeObjectFunc(void* buffer, void* data) in FreeObjectFunc()
/ark/runtime_core/runtime/dprofiler/
Ddprofiler.cpp96 std::vector<uint8_t> buffer; in Dump() local
/ark/runtime_core/libpandabase/os/
Dnative_stack.cpp46 bool WriterOsFile([[maybe_unused]] const void *buffer, [[maybe_unused]] size_t count, [[maybe_unuse… in WriterOsFile()
/ark/js_runtime/ecmascript/base/
Dtyped_array_helper.cpp289 JSHandle<JSTaggedValue> buffer = BuiltinsBase::GetCallArg(argv, 0); in CreateFromArrayBuffer() local
471 JSTaggedValue buffer = JSHandle<JSTypedArray>::Cast(value)->GetViewedArrayBuffer(); in ValidateTypedArray() local
481const JSHandle<JSTaggedValue> &buffer, const JSHandle<JSTaggedValue> &firstValue, in SortCompare()
Dnumber_helper.cpp588 CString buffer; in StringToDouble() local
745 std::string buffer; in StringToBigInt() local
/ark/runtime_core/libpandafile/
Dfile_writer.h139 explicit MemoryBufferWriter(uint8_t *buffer, size_t size) : sp_(buffer, size) {} in MemoryBufferWriter()
/ark/runtime_core/libpandabase/os/windows/
Dfile.h132 std::array<char, MAX_PATH_LEN> buffer = {0}; in GetAbsolutePath() local
/ark/runtime_core/assembler/
Dlexer.h80 std::string buffer; /* raw line, as read from the file */ member
/ark/js_runtime/ecmascript/regexp/
Dregexp_executor.cpp28 DynChunk buffer(buf, chunk_); in Execute() local
641 CVector<uint8_t> buffer(len + 1); in GetResult() local
/ark/js_runtime/ecmascript/hprof/
Dheap_snapshot.cpp672 std::vector<uint8_t> buffer(length); in ConvertKey() local
679 std::vector<uint16_t> buffer(length); in ConvertKey() local

12