/external/curl/src/ |
D | tool_filetime.c | 40 HANDLE hfile; in getfiletime() local 43 hfile = CreateFile(tchar_filename, FILE_READ_ATTRIBUTES, in getfiletime() 48 if(hfile != INVALID_HANDLE_VALUE) { in getfiletime() 50 if(GetFileTime(hfile, NULL, NULL, &ft)) { in getfiletime() 68 CloseHandle(hfile); in getfiletime() 99 HANDLE hfile; in setfiletime() local 112 hfile = CreateFile(tchar_filename, FILE_WRITE_ATTRIBUTES, in setfiletime() 117 if(hfile != INVALID_HANDLE_VALUE) { in setfiletime() 123 if(!SetFileTime(hfile, NULL, &ft, &ft)) { in setfiletime() 129 CloseHandle(hfile); in setfiletime()
|
/external/swiftshader/src/ |
D | commit_id.py | 61 hfile = open(output_file, 'w') variable 63 hfile.write('#define SWIFTSHADER_COMMIT_HASH "%s"\n' % commit_id) 64 hfile.write('#define SWIFTSHADER_COMMIT_HASH_SIZE %d\n' % commit_id_size) 65 hfile.write('#define SWIFTSHADER_COMMIT_DATE "%s"\n' % commit_date) 66 hfile.write('#define SWIFTSHADER_VERSION_STRING \\\n' 72 hfile.close()
|
/external/tensorflow/tensorflow/core/platform/windows/ |
D | windows_file_system.cc | 59 SSIZE_T pread(HANDLE hfile, char* src, size_t num_bytes, uint64_t offset) { in pread() argument 78 BOOL read_result = ::ReadFile(hfile, src, static_cast<DWORD>(num_bytes), in pread() 89 ::GetOverlappedResult(hfile, &overlapped, &bytes_read, TRUE); in pread() 110 WindowsRandomAccessFile(const string& fname, HANDLE hfile) in WindowsRandomAccessFile() argument 111 : filename_(fname), hfile_(hfile) {} in WindowsRandomAccessFile() 284 WinReadOnlyMemoryRegion(const std::string& filename, HANDLE hfile, in WinReadOnlyMemoryRegion() argument 287 hfile_(hfile), in WinReadOnlyMemoryRegion() 324 HANDLE hfile = in NewRandomAccessFile() local 328 if (INVALID_HANDLE_VALUE == hfile) { in NewRandomAccessFile() 333 result->reset(new WindowsRandomAccessFile(translated_fname, hfile)); in NewRandomAccessFile() [all …]
|
/external/angle/src/ |
D | commit_id.py | 106 hfile = open(output_file, 'w') variable 108 hfile.write('#define ANGLE_COMMIT_HASH "%s"\n' % commit_id) 109 hfile.write('#define ANGLE_COMMIT_HASH_SIZE %d\n' % commit_id_size) 110 hfile.write('#define ANGLE_COMMIT_DATE "%s"\n' % commit_date) 111 hfile.write('#define ANGLE_COMMIT_POSITION %s\n' % commit_position) 114 hfile.write('#define ANGLE_DISABLE_PROGRAM_BINARY_LOAD\n') 116 hfile.close()
|
/external/vulkan-validation-layers/build-gn/ |
D | commit_id.py | 58 hfile = open(output_file, 'w') variable 60 hfile.write('#define ANGLE_COMMIT_HASH "%s"\n' % commit_id) 61 hfile.write('#define ANGLE_COMMIT_HASH_SIZE %d\n' % commit_id_size) 62 hfile.write('#define ANGLE_COMMIT_DATE "%s"\n' % commit_date) 64 hfile.close()
|
/external/vulkan-validation-layers/scripts/ |
D | vk_validation_stats.py | 552 with open (html_filename, 'w') as hfile: 553 hfile.write(preamble) 554 hfile.write(headers) 559 hfile.write('<tr><th>%s</th>' % vuid) 563 hfile.write('<th>%s</th>' % checked) 568 hfile.write('<th>%s</th>' % test) 569 hfile.write('<th>%s</th>' % db_entry['type']) 570 hfile.write('<th>%s</th>' % db_entry['api']) 571 hfile.write('<th>%s</th>' % db_entry['ext']) 572 hfile.write('<th>%s</th></tr>\n' % db_entry['text']) [all …]
|
/external/python/oauth2client/oauth2client/contrib/ |
D | _win32_opener.py | 67 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/ |
D | lock.py | 84 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/ |
D | make_instruction_doc_aarch64.pl | 33 my $hfile = "src/aarch64/assembler-aarch64.h"; 44 open(IN, "<$hfile") or die("Can't open header file $hfile.\n");
|
/external/python/cpython3/Lib/test/ |
D | test_readline.py | 73 hfile = tempfile.NamedTemporaryFile(delete=False) 74 hfile.close() 75 hfilename = hfile.name
|
/external/python/cpython2/Lib/ |
D | mimify.py | 134 hfile = HeaderFile(ifile) 136 line = hfile.readline() 291 hfile = HeaderFile(ifile) 293 line = hfile.readline()
|
/external/ltp/testcases/kernel/fs/linktest/ |
D | linktest.sh | 67 touch hlink.$$/hfile slink.$$/sfile
|
/external/wpa_supplicant_8/hostapd/ |
D | hostapd_cli.c | 1975 char *hfile = NULL; in hostapd_cli_interactive() local 1988 hfile = os_malloc(hfile_len); in hostapd_cli_interactive() 1989 if (hfile) in hostapd_cli_interactive() 1990 os_snprintf(hfile, hfile_len, "%s/%s", home, fname); in hostapd_cli_interactive() 1995 hostapd_cli_edit_completion_cb, NULL, hfile, NULL); in hostapd_cli_interactive() 2001 edit_deinit(hfile, NULL); in hostapd_cli_interactive() 2002 os_free(hfile); in hostapd_cli_interactive()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_cli.c | 4503 static char *hfile = NULL; variable 4523 hfile = os_malloc(hfile_len); in start_edit() 4524 if (hfile) in start_edit() 4525 os_snprintf(hfile, hfile_len, "%s/%s", home, fname); in start_edit() 4529 wpa_cli_edit_completion_cb, NULL, hfile, ps) < 0) { in start_edit() 4734 edit_deinit(hfile, wpa_cli_edit_filter_history_cb); in wpa_cli_interactive() 4735 os_free(hfile); in wpa_cli_interactive()
|