Home
last modified time | relevance | path

Searched refs:ConstBytePtr (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/runtime_core/libpandafile/
Dfile.cpp170 os::mem::ConstBytePtr ConstPtr = ptr.ToConst(); in OpenPandaFileFromZipFile()
291 … os::mem::ConstBytePtr ptr(reinterpret_cast<std::byte *>(mem), size_to_mmap, os::mem::MmapDeleter); in OpenPandaFileFromMemory()
308 os::mem::ConstBytePtr ptr(mem, size, nullptr); in OpenPandaFileFromSecureMemory()
411 File::File(std::string filename, os::mem::ConstBytePtr &&base) in File()
412 : base_(std::forward<os::mem::ConstBytePtr>(base)), in File()
492 …os::mem::ConstBytePtr ptr = os::mem::MapFile(file, GetProt(open_mode), os::mem::MMAP_FLAG_PRIVATE,… in Open()
521 os::mem::ConstBytePtr ptr = in OpenUncompressedArchive()
544 bool CheckHeader(const os::mem::ConstBytePtr &ptr, const std::string_view &filename) in CheckHeader()
612 std::unique_ptr<const File> File::OpenFromMemory(os::mem::ConstBytePtr &&ptr) in OpenFromMemory()
618 return std::unique_ptr<File>(new File("", std::forward<os::mem::ConstBytePtr>(ptr))); in OpenFromMemory()
[all …]
Dfile.h160 const os::mem::ConstBytePtr &GetPtr() const in GetPtr()
413 static std::unique_ptr<const File> OpenFromMemory(os::mem::ConstBytePtr &&ptr);
415 …static std::unique_ptr<const File> OpenFromMemory(os::mem::ConstBytePtr &&ptr, std::string_view fi…
433 File(std::string filename, os::mem::ConstBytePtr &&base);
435 os::mem::ConstBytePtr base_;
496 bool CheckHeader(const os::mem::ConstBytePtr &ptr, const std::string_view &filename = "");
/arkcompiler/runtime_core/tests/fuzztest/openfrommemory1arg_fuzzer/
Dopenfrommemory1arg_fuzzer.cpp23 panda::os::mem::ConstBytePtr ptr( in OpenFromMemory1ArgFuzzTest()
/arkcompiler/runtime_core/tests/fuzztest/openfrommemory2arg_fuzzer/
Dopenfrommemory2arg_fuzzer.cpp23 panda::os::mem::ConstBytePtr ptr( in OpenFromMemory2ArgFuzzTest()
/arkcompiler/runtime_core/tests/fuzztest/checkheader_fuzzer/
Dcheckheader_fuzzer.cpp32 panda::os::mem::ConstBytePtr ptr = in CheckHeaderFuzzTest()
/arkcompiler/runtime_core/libpandabase/os/
Dmem.h286 using ConstBytePtr = MapPtr<std::byte, MapPtrType::CONST>; variable
287 static_assert(ConstBytePtr::GetPtrOffset() == 0);
/arkcompiler/runtime_core/libpandafile/tests/
Dfile_test.cpp41 os::mem::ConstBytePtr ptr(reinterpret_cast<std::byte *>(data->data()), data->size(), in GetPandaFile()
303 … os::mem::ConstBytePtr ptr = os::mem::MapFile(os::file::File(fileno(fp)), os::mem::MMAP_PROT_READ,
Ddebug_info_extractor_test.cpp302 os::mem::ConstBytePtr ptr(reinterpret_cast<std::byte *>(data.data()), data.size(), in GetPandaFile()
Dfile_item_container_test.cpp224 os::mem::ConstBytePtr ptr(reinterpret_cast<std::byte *>(data.data()), data.size(), in GetPandaFile()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot.cpp177 …auto pf = panda_file::File::OpenFromMemory(os::mem::ConstBytePtr(ToNativePtr<std::byte>(pandaFileM… in Deserialize()
/arkcompiler/runtime_core/assembler/
Dassembly-emitter.cpp1451 os::mem::ConstBytePtr ptr( in Emit()