Home
last modified time | relevance | path

Searched refs:file_handle (Results 1 – 2 of 2) sorted by relevance

/ndk/sources/host-tools/ndk-stack/elff/
Dmapfile.c82 HANDLE file_handle = CreateFile(path, win32_desired_access, win32_share, in mapfile_open() local
84 if (file_handle == INVALID_HANDLE_VALUE) { in mapfile_open()
88 int file_handle = open(path, oflag, share_mode); in mapfile_open()
91 return (MapFile*)(ptrdiff_t)file_handle; in mapfile_open()
Delf_file.cc96 MapFile* file_handle = mapfile_open(path, O_RDONLY | O_BINARY, 0); in Create() local
97 if (!mapfile_is_valid(file_handle)) { in Create()
100 const ssize_t read_bytes = mapfile_read(file_handle, &header, sizeof(header)); in Create()
101 mapfile_close(file_handle); in Create()