/external/tensorflow/tensorflow/core/platform/windows/ |
D | windows_file_system.cc | 54 SSIZE_T pread(HANDLE hfile, char* src, size_t num_bytes, uint64_t offset) { in pread() argument 73 BOOL read_result = ::ReadFile(hfile, src, static_cast<DWORD>(num_bytes), in pread() 84 ::GetOverlappedResult(hfile, &overlapped, &bytes_read, TRUE); in pread() 105 WindowsRandomAccessFile(const string& fname, HANDLE hfile) in WindowsRandomAccessFile() argument 106 : filename_(fname), hfile_(hfile) {} in WindowsRandomAccessFile() 203 WinReadOnlyMemoryRegion(const std::string& filename, HANDLE hfile, in WinReadOnlyMemoryRegion() argument 206 hfile_(hfile), in WinReadOnlyMemoryRegion() 242 HANDLE hfile = in NewRandomAccessFile() local 246 if (INVALID_HANDLE_VALUE == hfile) { in NewRandomAccessFile() 251 result->reset(new WindowsRandomAccessFile(translated_fname, hfile)); in NewRandomAccessFile() [all …]
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | lock.py | 80 hfile = win32file._get_osfhandle(target_file.fileno()) 82 win32file.LockFileEx(hfile, flags, 0, -0x10000, _OVERLAPPED) 92 hfile = win32file._get_osfhandle(target_file.fileno()) 94 win32file.UnlockFileEx(hfile, 0, -0x10000, _OVERLAPPED)
|
/external/vixl/tools/ |
D | make_instruction_doc_aarch64.pl | 33 my $hfile = "src/aarch64/assembler-aarch64.h"; 41 open(IN, "<$hfile") or die("Can't open header file $hfile.\n");
|
/external/python/cpython3/Lib/test/ |
D | test_readline.py | 56 hfile = tempfile.NamedTemporaryFile(delete=False) 57 hfile.close() 58 hfilename = hfile.name
|
/external/libedit/examples/ |
D | wtc1.c | 18 static const char hfile[] = ".whistory"; variable 129 history_w(hist, &ev, H_LOAD, hfile); in main() 271 history_w(hist, &ev, H_SAVE, hfile); in main()
|
/external/python/cpython2/Lib/ |
D | mimify.py | 134 hfile = HeaderFile(ifile) 136 line = hfile.readline() 291 hfile = HeaderFile(ifile) 293 line = hfile.readline()
|
/external/wpa_supplicant_8/hostapd/ |
D | hostapd_cli.c | 1839 char *hfile = NULL; in hostapd_cli_interactive() local 1852 hfile = os_malloc(hfile_len); in hostapd_cli_interactive() 1853 if (hfile) in hostapd_cli_interactive() 1854 os_snprintf(hfile, hfile_len, "%s/%s", home, fname); in hostapd_cli_interactive() 1859 hostapd_cli_edit_completion_cb, NULL, hfile, NULL); in hostapd_cli_interactive() 1865 edit_deinit(hfile, NULL); in hostapd_cli_interactive() 1866 os_free(hfile); in hostapd_cli_interactive()
|
/external/ltp/testcases/kernel/fs/linktest/ |
D | linktest.sh | 40 mkdir hlink.$$ slink.$$ && touch hlink.$$/hfile slink.$$/sfile
|
/external/curl/src/ |
D | tool_operate.c | 187 HANDLE hfile; in setfiletime() local 200 hfile = CreateFileA(filename, FILE_WRITE_ATTRIBUTES, in setfiletime() 204 if(hfile != INVALID_HANDLE_VALUE) { in setfiletime() 210 if(!SetFileTime(hfile, NULL, &ft, &ft)) { in setfiletime() 216 CloseHandle(hfile); in setfiletime()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_cli.c | 4110 static char *hfile = NULL; variable 4130 hfile = os_malloc(hfile_len); in start_edit() 4131 if (hfile) in start_edit() 4132 os_snprintf(hfile, hfile_len, "%s/%s", home, fname); in start_edit() 4136 wpa_cli_edit_completion_cb, NULL, hfile, ps) < 0) { in start_edit() 4307 edit_deinit(hfile, wpa_cli_edit_filter_history_cb); in wpa_cli_interactive() 4308 os_free(hfile); in wpa_cli_interactive()
|