Home
last modified time | relevance | path

Searched refs:FileDescriptorOrHandle (Results 1 – 5 of 5) sorted by relevance

/external/libtextclassifier/native/lang_id/common/file/
Dmmap.h95 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/
Dlang-id-from-fb.h40 FileDescriptorOrHandle fd);
45 FileDescriptorOrHandle fd, size_t offset, size_t num_bytes);
Dmodel-provider-from-fb.h44 explicit ModelProviderFromFlatbuffer(FileDescriptorOrHandle fd);
48 ModelProviderFromFlatbuffer(FileDescriptorOrHandle fd, std::size_t offset,
Dlang-id-from-fb.cc38 FileDescriptorOrHandle fd) { in GetLangIdFromFlatbufferFileDescriptor()
48 FileDescriptorOrHandle fd, size_t offset, size_t num_bytes) { in GetLangIdFromFlatbufferFileDescriptor()
Dmodel-provider-from-fb.cc42 FileDescriptorOrHandle fd) in ModelProviderFromFlatbuffer()
52 FileDescriptorOrHandle fd, std::size_t offset, std::size_t size) in ModelProviderFromFlatbuffer()