Home
last modified time | relevance | path

Searched refs:FileLoadOption (Results 1 – 4 of 4) sorted by relevance

/external/executorch/backends/apple/coreml/runtime/test/
DInMemoryFileSystemTests.mm88 InMemoryFileSystem::FileLoadOption file_load_option;
227 InMemoryFileSystem::FileLoadOption::Malloc,
271 case InMemoryFileSystem::FileLoadOption::LazyMMap: {
300 .file_load_option = InMemoryFileSystem::FileLoadOption::Malloc,
306 .file_load_option = InMemoryFileSystem::FileLoadOption::Malloc,
312 .file_load_option = InMemoryFileSystem::FileLoadOption::MMap,
318 .file_load_option = InMemoryFileSystem::FileLoadOption::MMap,
324 .file_load_option = InMemoryFileSystem::FileLoadOption::LazyMMap,
330 .file_load_option = InMemoryFileSystem::FileLoadOption::LazyMMap,
/external/executorch/backends/apple/coreml/runtime/inmemoryfs/
Dinmemory_filesystem_py.cpp76 …auto fs = InMemoryFileSystem::make_from_directory(dir_path, InMemoryFileSystem::FileLoadOption::La… in get_bytes_from_external_memory()
140 …ryFileSystem::make_from_directory(canonical_path, InMemoryFileSystem::FileLoadOption::MMap, error); in flatten_directory_contents()
Dinmemory_filesystem.cpp141 MemoryBuffer::ReadOption to_memory_buffer_read_option(InMemoryFileSystem::FileLoadOption option) { in to_memory_buffer_read_option()
143 case InMemoryFileSystem::FileLoadOption::Malloc: in to_memory_buffer_read_option()
146 case InMemoryFileSystem::FileLoadOption::MMap: in to_memory_buffer_read_option()
149 case InMemoryFileSystem::FileLoadOption::LazyMMap: in to_memory_buffer_read_option()
155 make_file_node(const std::filesystem::path& path, InMemoryFileSystem::FileLoadOption option, std::e… in make_file_node()
170 … InMemoryFileSystem::FileLoadOption option, in make_directory_node()
197 make_node(const std::filesystem::path& path, InMemoryFileSystem::FileLoadOption option, std::error_… in make_node()
697 FileLoadOption option, in make_from_directory()
Dinmemory_filesystem.hpp35 enum class FileLoadOption: int8_t { enum in inmemoryfs::InMemoryFileSystem
277 FileLoadOption option,