Home
last modified time | relevance | path

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

/system/core/adb/
Dsysdeps_win32.cpp132 #define fh_handle u.handle macro
252 f->fh_handle = INVALID_HANDLE_VALUE; in _fh_file_init()
256 CloseHandle( f->fh_handle ); in _fh_file_close()
257 f->fh_handle = INVALID_HANDLE_VALUE; in _fh_file_close()
264 if ( !ReadFile( f->fh_handle, buf, (DWORD)len, &read_bytes, NULL ) ) { in _fh_file_read()
277 if ( !WriteFile( f->fh_handle, buf, (DWORD)len, &wrote_bytes, NULL ) ) { in _fh_file_write()
301 result = SetFilePointer( f->fh_handle, pos, NULL, method ); in _fh_file_lseek()
352 f->fh_handle = CreateFileW( path_wide.c_str(), desiredAccess, shareMode, in adb_open()
355 if ( f->fh_handle == INVALID_HANDLE_VALUE ) { in adb_open()
396 f->fh_handle = CreateFileW( path_wide.c_str(), GENERIC_WRITE, in adb_creat()
[all …]