Searched refs:ConstBytePtr (Results 1 – 11 of 11) sorted by relevance
/arkcompiler/runtime_core/libpandafile/ |
D | file.cpp | 170 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 …]
|
D | file.h | 160 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/ |
D | openfrommemory1arg_fuzzer.cpp | 23 panda::os::mem::ConstBytePtr ptr( in OpenFromMemory1ArgFuzzTest()
|
/arkcompiler/runtime_core/tests/fuzztest/openfrommemory2arg_fuzzer/ |
D | openfrommemory2arg_fuzzer.cpp | 23 panda::os::mem::ConstBytePtr ptr( in OpenFromMemory2ArgFuzzTest()
|
/arkcompiler/runtime_core/tests/fuzztest/checkheader_fuzzer/ |
D | checkheader_fuzzer.cpp | 32 panda::os::mem::ConstBytePtr ptr = in CheckHeaderFuzzTest()
|
/arkcompiler/runtime_core/libpandabase/os/ |
D | mem.h | 286 using ConstBytePtr = MapPtr<std::byte, MapPtrType::CONST>; variable 287 static_assert(ConstBytePtr::GetPtrOffset() == 0);
|
/arkcompiler/runtime_core/libpandafile/tests/ |
D | file_test.cpp | 41 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,
|
D | debug_info_extractor_test.cpp | 302 os::mem::ConstBytePtr ptr(reinterpret_cast<std::byte *>(data.data()), data.size(), in GetPandaFile()
|
D | file_item_container_test.cpp | 224 os::mem::ConstBytePtr ptr(reinterpret_cast<std::byte *>(data.data()), data.size(), in GetPandaFile()
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
D | snapshot.cpp | 177 …auto pf = panda_file::File::OpenFromMemory(os::mem::ConstBytePtr(ToNativePtr<std::byte>(pandaFileM… in Deserialize()
|
/arkcompiler/runtime_core/assembler/ |
D | assembly-emitter.cpp | 1451 os::mem::ConstBytePtr ptr( in Emit()
|