Home
last modified time | relevance | path

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

/system/core/adb/
Dsysdeps_win32.cpp134 #define fh_handle u.handle macro
243 f->fh_handle = INVALID_HANDLE_VALUE; in _fh_file_init()
247 CloseHandle(f->fh_handle); in _fh_file_close()
248 f->fh_handle = INVALID_HANDLE_VALUE; in _fh_file_close()
255 if (!ReadFile(f->fh_handle, buf, (DWORD)len, &read_bytes, nullptr)) { in _fh_file_read()
268 if (!WriteFile(f->fh_handle, buf, (DWORD)len, &wrote_bytes, nullptr)) { in _fh_file_write()
322 if (!SetFilePointerEx(f->fh_handle, li, &li, method)) { in _fh_file_lseek()
376 f->fh_handle = in adb_open()
379 if (f->fh_handle == INVALID_HANDLE_VALUE) { in adb_open()
419 f->fh_handle = CreateFileW(path_wide.c_str(), GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, in adb_creat()
[all …]