Home
last modified time | relevance | path

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

/third_party/boost/libs/regex/src/
Dfileiter.cpp94 hfile = INVALID_HANDLE_VALUE; in open()
96hfile = CreateFileW(wide_file, GENERIC_READ, FILE_SHARE_READ, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NOR… in open()
100hfile = CreateFileA(win32file, GENERIC_READ, FILE_SHARE_READ, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NOR… in open()
102hfile = CreateFileA(file, GENERIC_READ, FILE_SHARE_READ, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, … in open()
104 if(hfile != INVALID_HANDLE_VALUE) in open()
106 hmap = CreateFileMapping(hfile, 0, PAGE_READONLY, 0, 0, 0); in open()
109 CloseHandle(hfile); in open()
111 hfile = 0; in open()
121 CloseHandle(hfile); in open()
123 hfile = 0; in open()
[all …]
/third_party/curl/src/
Dtool_filetime.c46 HANDLE hfile; in getfiletime() local
49 hfile = CreateFile(tchar_filename, FILE_READ_ATTRIBUTES, in getfiletime()
54 if(hfile != INVALID_HANDLE_VALUE) { in getfiletime()
56 if(GetFileTime(hfile, NULL, NULL, &ft)) { in getfiletime()
72 CloseHandle(hfile); in getfiletime()
101 HANDLE hfile; in setfiletime() local
113 hfile = CreateFile(tchar_filename, FILE_WRITE_ATTRIBUTES, in setfiletime()
118 if(hfile != INVALID_HANDLE_VALUE) { in setfiletime()
124 if(!SetFileTime(hfile, NULL, &ft, &ft)) { in setfiletime()
129 CloseHandle(hfile); in setfiletime()
/third_party/boost/libs/compatibility/
Dgenerate_cpp_c_headers.py241 for hfile in hfiles.keys():
242 HFILE = string.upper(hfile)
243 f = open(hfile, 'w')
252 print '#include <' + hfile[1:] + '.h>'
254 if (len(hfiles[hfile]) > 0):
256 for s in hfiles[hfile]:
/third_party/skia/third_party/externals/swiftshader/src/
Dcommit_id.py61 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()
/third_party/skia/third_party/externals/angle2/src/
Dcommit_id.py106 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()
/third_party/flutter/skia/third_party/externals/angle2/src/
Dcommit_id.py49 hfile = open(output_file, 'w') variable
51 hfile.write('#define ANGLE_COMMIT_HASH "%s"\n' % commit_id)
52 hfile.write('#define ANGLE_COMMIT_HASH_SIZE %d\n' % commit_id_size)
53 hfile.write('#define ANGLE_COMMIT_DATE "%s"\n' % commit_date)
55 hfile.close()
/third_party/flutter/skia/third_party/externals/sdl/visualtest/src/windows/
Dwindows_screenshot.c32 HANDLE hdib, hfile; in SaveBitmapToFile() local
96 hfile = CreateFile(filename, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, in SaveBitmapToFile()
98 if(hfile == INVALID_HANDLE_VALUE) in SaveBitmapToFile()
109 if(!WriteFile(hfile, (void*)&bfh, sizeof(BITMAPFILEHEADER), &bytes_written, NULL) || in SaveBitmapToFile()
110 !WriteFile(hfile, (void*)&bih, sizeof(BITMAPINFOHEADER), &bytes_written, NULL) || in SaveBitmapToFile()
111 !WriteFile(hfile, (void*)bmpdata, bmpsize, &bytes_written, NULL)) in SaveBitmapToFile()
119 CloseHandle(hfile); in SaveBitmapToFile()
/third_party/boost/boost/regex/v4/
Dfileiter.hpp143 HANDLE hfile; member in boost::BOOST_REGEX_DETAIL_NS::mapfile
151 mapfile(){ hfile = hmap = 0; _first = _last = 0; } in mapfile()
152 mapfile(const char* file){ hfile = hmap = 0; _first = _last = 0; open(file); } in mapfile()
159 bool valid(){ return (hfile != 0) && (hfile != INVALID_HANDLE_VALUE); } in valid()
170 std::FILE* hfile;
185 mapfile(){ hfile = 0; _size = 0; _first = _last = 0; }
186 mapfile(const char* file){ hfile = 0; _size = 0; _first = _last = 0; open(file); }
193 bool valid()const{ return hfile != 0; }
/third_party/gstreamer/gstreamer/gst/parse/
Dgen_lex.py.in6 hfile = sys.argv[2] variable
10 args = ['--header-file=' + hfile, '-o', cfile, '-Ppriv_gst_parse_yy', lfile]
Dgen_lex.py6 hfile = sys.argv[2] variable
10 args = ['--header-file=' + hfile, '-o', cfile, '-Ppriv_gst_parse_yy', lfile]
Dgen_grammar.py6 hfile = sys.argv[2] variable
Dgen_grammar.py.in6 hfile = sys.argv[2] variable
/third_party/glib/gio/
Dgasynchelper.c38 _g_win32_overlap_wait_result (HANDLE hfile, in _g_win32_overlap_wait_result() argument
71 result = CancelIo (hfile); in _g_win32_overlap_wait_result()
Dgasynchelper.h33 gboolean _g_win32_overlap_wait_result (HANDLE hfile,
/third_party/openssl/util/
Dmkerr.pl439 my $hfile = $hinc{$lib};
440 $hfile =~ s/.h$/err.h/ if $internal;
441 open( OUT, ">$hfile" ) || die "Can't write to $hfile, $!,";
546 my $hincf = $hfile;
/third_party/mindspore/mindspore/lite/micro/coder/generator/
Dgenerator.cc138 std::string hfile = net_src_file_path_ + net_weight_hfile_; in CodeWeightFile() local
139 std::ofstream hofs(hfile); in CodeWeightFile()
141 MS_LOG(INFO) << "write " << hfile; in CodeWeightFile()
/third_party/python/Lib/test/
Dtest_readline.py75 hfile = tempfile.NamedTemporaryFile(delete=False)
76 hfile.close()
77 hfilename = hfile.name
/third_party/ltp/testcases/kernel/fs/linktest/
Dlinktest.sh67 touch hlink.$$/hfile slink.$$/sfile
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dhostapd_cli.c1930 char *hfile = NULL; in hostapd_cli_interactive() local
1943 hfile = os_malloc(hfile_len); in hostapd_cli_interactive()
1944 if (hfile) in hostapd_cli_interactive()
1945 os_snprintf(hfile, hfile_len, "%s/%s", home, fname); in hostapd_cli_interactive()
1950 hostapd_cli_edit_completion_cb, NULL, hfile, NULL); in hostapd_cli_interactive()
1956 edit_deinit(hfile, NULL); in hostapd_cli_interactive()
1957 os_free(hfile); in hostapd_cli_interactive()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dhostapd_cli.c1987 char *hfile = NULL; in hostapd_cli_interactive() local
2000 hfile = os_malloc(hfile_len); in hostapd_cli_interactive()
2001 if (hfile) in hostapd_cli_interactive()
2002 os_snprintf(hfile, hfile_len, "%s/%s", home, fname); in hostapd_cli_interactive()
2007 hostapd_cli_edit_completion_cb, NULL, hfile, NULL); in hostapd_cli_interactive()
2013 edit_deinit(hfile, NULL); in hostapd_cli_interactive()
2014 os_free(hfile); in hostapd_cli_interactive()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwpa_cli.c4295 static char *hfile = NULL; variable
4315 hfile = os_malloc(hfile_len); in start_edit()
4316 if (hfile) in start_edit()
4317 os_snprintf(hfile, hfile_len, "%s/%s", home, fname); in start_edit()
4321 wpa_cli_edit_completion_cb, NULL, hfile, ps) < 0) { in start_edit()
4526 edit_deinit(hfile, wpa_cli_edit_filter_history_cb); in wpa_cli_interactive()
4527 os_free(hfile); in wpa_cli_interactive()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwpa_cli.c4595 static char *hfile = NULL; variable
4615 hfile = os_malloc(hfile_len); in start_edit()
4616 if (hfile) in start_edit()
4617 os_snprintf(hfile, hfile_len, "%s/%s", home, fname); in start_edit()
4621 wpa_cli_edit_completion_cb, NULL, hfile, ps) < 0) { in start_edit()
4826 edit_deinit(hfile, wpa_cli_edit_filter_history_cb); in wpa_cli_interactive()
4827 os_free(hfile); in wpa_cli_interactive()