Home
last modified time | relevance | path

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

/system/core/adb/
Dsysdeps_win32.cpp138 #define fh_handle u.handle macro
258 f->fh_handle = INVALID_HANDLE_VALUE; in _fh_file_init()
262 CloseHandle(f->fh_handle); in _fh_file_close()
263 f->fh_handle = INVALID_HANDLE_VALUE; in _fh_file_close()
270 if (!ReadFile(f->fh_handle, buf, (DWORD)len, &read_bytes, nullptr)) { in _fh_file_read()
283 if (!WriteFile(f->fh_handle, buf, (DWORD)len, &wrote_bytes, nullptr)) { in _fh_file_write()
337 if (!SetFilePointerEx(f->fh_handle, li, &li, method)) { in _fh_file_lseek()
387 f->fh_handle = in adb_open()
390 if (f->fh_handle == INVALID_HANDLE_VALUE) { in adb_open()
430 f->fh_handle = CreateFileW(path_wide.c_str(), GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, in adb_creat()
[all …]