Searched refs:FileDescriptorOrHandle (Results 1 – 5 of 5) sorted by relevance
/external/libtextclassifier/native/lang_id/common/file/ |
D | mmap.h | 95 using FileDescriptorOrHandle = HANDLE; variable 97 using FileDescriptorOrHandle = int; variable 102 MmapHandle MmapFile(FileDescriptorOrHandle fd); 107 MmapHandle MmapFile(FileDescriptorOrHandle fd, size_t offset_in_bytes, 121 explicit ScopedMmap(FileDescriptorOrHandle fd) : handle_(MmapFile(fd)) {} in ScopedMmap() 123 explicit ScopedMmap(FileDescriptorOrHandle fd, size_t offset_in_bytes, in ScopedMmap()
|
/external/libtextclassifier/native/lang_id/fb_model/ |
D | lang-id-from-fb.h | 40 FileDescriptorOrHandle fd); 45 FileDescriptorOrHandle fd, size_t offset, size_t num_bytes);
|
D | model-provider-from-fb.h | 44 explicit ModelProviderFromFlatbuffer(FileDescriptorOrHandle fd); 48 ModelProviderFromFlatbuffer(FileDescriptorOrHandle fd, std::size_t offset,
|
D | lang-id-from-fb.cc | 38 FileDescriptorOrHandle fd) { in GetLangIdFromFlatbufferFileDescriptor() 48 FileDescriptorOrHandle fd, size_t offset, size_t num_bytes) { in GetLangIdFromFlatbufferFileDescriptor()
|
D | model-provider-from-fb.cc | 42 FileDescriptorOrHandle fd) in ModelProviderFromFlatbuffer() 52 FileDescriptorOrHandle fd, std::size_t offset, std::size_t size) in ModelProviderFromFlatbuffer()
|