Home
last modified time | relevance | path

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

/external/curl/src/
Dtool_filetime.c38 HANDLE hfile; in getfiletime() local
40 hfile = CreateFileA(filename, FILE_READ_ATTRIBUTES, in getfiletime()
44 if(hfile != INVALID_HANDLE_VALUE) { in getfiletime()
46 if(GetFileTime(hfile, NULL, NULL, &ft)) { in getfiletime()
64 CloseHandle(hfile); in getfiletime()
95 HANDLE hfile; in setfiletime() local
106 hfile = CreateFileA(filename, FILE_WRITE_ATTRIBUTES, in setfiletime()
110 if(hfile != INVALID_HANDLE_VALUE) { in setfiletime()
116 if(!SetFileTime(hfile, NULL, &ft, &ft)) { in setfiletime()
122 CloseHandle(hfile); in setfiletime()
/external/tensorflow/tensorflow/core/platform/windows/
Dwindows_file_system.cc56 SSIZE_T pread(HANDLE hfile, char* src, size_t num_bytes, uint64_t offset) { in pread() argument
75 BOOL read_result = ::ReadFile(hfile, src, static_cast<DWORD>(num_bytes), in pread()
86 ::GetOverlappedResult(hfile, &overlapped, &bytes_read, TRUE); in pread()
107 WindowsRandomAccessFile(const string& fname, HANDLE hfile) in WindowsRandomAccessFile() argument
108 : filename_(fname), hfile_(hfile) {} in WindowsRandomAccessFile()
215 WinReadOnlyMemoryRegion(const std::string& filename, HANDLE hfile, in WinReadOnlyMemoryRegion() argument
218 hfile_(hfile), in WinReadOnlyMemoryRegion()
254 HANDLE hfile = in NewRandomAccessFile() local
258 if (INVALID_HANDLE_VALUE == hfile) { in NewRandomAccessFile()
263 result->reset(new WindowsRandomAccessFile(translated_fname, hfile)); in NewRandomAccessFile()
[all …]
/external/vulkan-validation-layers/scripts/
Dvk_validation_stats.py571 with open (html_filename, 'w') as hfile:
572 hfile.write(preamble)
573 hfile.write(headers)
578 hfile.write('<tr><th>%s</th>' % vuid)
582 hfile.write('<th>%s</th>' % checked)
587 hfile.write('<th>%s</th>' % test)
588 hfile.write('<th>%s</th>' % db_entry['type'])
589 hfile.write('<th>%s</th>' % db_entry['api'])
590 hfile.write('<th>%s</th>' % db_entry['ext'])
591 hfile.write('<th>%s</th></tr>\n' % db_entry['text'])
[all …]
/external/python/oauth2client/oauth2client/contrib/
D_win32_opener.py67 hfile = win32file._get_osfhandle(self._fh.fileno())
69 hfile,
98 hfile = win32file._get_osfhandle(self._fh.fileno())
99 win32file.UnlockFileEx(hfile, 0, -0x10000,
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dlock.py84 hfile = win32file._get_osfhandle(target_file.fileno())
86 win32file.LockFileEx(hfile, flags, 0, -0x10000, _OVERLAPPED)
96 hfile = win32file._get_osfhandle(target_file.fileno())
98 win32file.UnlockFileEx(hfile, 0, -0x10000, _OVERLAPPED)
/external/vixl/tools/
Dmake_instruction_doc_aarch64.pl33 my $hfile = "src/aarch64/assembler-aarch64.h";
41 open(IN, "<$hfile") or die("Can't open header file $hfile.\n");
/external/python/cpython2/Lib/
Dmimify.py134 hfile = HeaderFile(ifile)
136 line = hfile.readline()
291 hfile = HeaderFile(ifile)
293 line = hfile.readline()
/external/python/cpython3/Lib/test/
Dtest_readline.py73 hfile = tempfile.NamedTemporaryFile(delete=False)
74 hfile.close()
75 hfilename = hfile.name
/external/ltp/testcases/kernel/fs/linktest/
Dlinktest.sh40 mkdir hlink.$$ slink.$$ && touch hlink.$$/hfile slink.$$/sfile
/external/wpa_supplicant_8/hostapd/
Dhostapd_cli.c1921 char *hfile = NULL; in hostapd_cli_interactive() local
1934 hfile = os_malloc(hfile_len); in hostapd_cli_interactive()
1935 if (hfile) in hostapd_cli_interactive()
1936 os_snprintf(hfile, hfile_len, "%s/%s", home, fname); in hostapd_cli_interactive()
1941 hostapd_cli_edit_completion_cb, NULL, hfile, NULL); in hostapd_cli_interactive()
1947 edit_deinit(hfile, NULL); in hostapd_cli_interactive()
1948 os_free(hfile); in hostapd_cli_interactive()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_cli.c4255 static char *hfile = NULL; variable
4275 hfile = os_malloc(hfile_len); in start_edit()
4276 if (hfile) in start_edit()
4277 os_snprintf(hfile, hfile_len, "%s/%s", home, fname); in start_edit()
4281 wpa_cli_edit_completion_cb, NULL, hfile, ps) < 0) { in start_edit()
4486 edit_deinit(hfile, wpa_cli_edit_filter_history_cb); in wpa_cli_interactive()
4487 os_free(hfile); in wpa_cli_interactive()