Home
last modified time | relevance | path

Searched refs:file_h (Results 1 – 25 of 74) sorted by relevance

123

/dports/databases/tiledb/TileDB-2.5.2/tiledb/sm/filesystem/
H A Dwin.cc127 if (file_h == INVALID_HANDLE_VALUE || CloseHandle(file_h) == 0) { in touch()
232 CloseHandle(file_h); in file_size()
237 CloseHandle(file_h); in file_size()
257 file_h, in filelock_lock()
263 CloseHandle(file_h); in filelock_lock()
269 *fd = file_h; in filelock_lock()
379 CloseHandle(file_h); in read()
387 CloseHandle(file_h); in read()
421 CloseHandle(file_h); in sync()
512 HANDLE file_h, in write_at() argument
[all …]
/dports/graphics/rawstudio/rawstudio-2.0/plugins/load-rawspeed/rawspeed/
H A DFileReader.cpp74 HANDLE file_h; // File handle in readFile()
75file_h = CreateFile(mFilename, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_FLAG_SEQUE… in readFile()
76 if (file_h == INVALID_HANDLE_VALUE) { in readFile()
81 GetFileSizeEx(file_h , &f_size); in readFile()
89 if (! ReadFile(file_h, fileData->getDataWrt(0), fileData->getSize(), &bytes_read, NULL)) { in readFile()
90 CloseHandle(file_h); in readFile()
94 CloseHandle(file_h); in readFile()
/dports/databases/p5-Cache-Memcached-Fast/Cache-Memcached-Fast-0.27/src/
H A Dgencrc32.pl18 my ($file_c, $file_h) = @ARGV;
69 #include "$file_h"
81 my $guard = uc $file_h;
84 open(my $fh, '>', $file_h)
85 or die "open(> $file_h): $!";
125 or die "close($file_h): $!";
H A Dgenparser.pl18 my ($keyword_file, $file_c, $file_h) = @ARGV;
171 #include "$file_h"
196 my $guard = uc $file_h;
199 open(my $fh, '>', $file_h)
200 or die "open(> $file_h): $!";
222 or die "close($file_h): $!";
/dports/graphics/darktable38/darktable-3.8.0/src/external/rawspeed/src/librawspeed/io/
H A DFileWriter.cpp61 HANDLE file_h; // File handle in writeFile() local
62 file_h = in writeFile()
65 if (file_h == INVALID_HANDLE_VALUE) { in writeFile()
70 if (!WriteFile(file_h, filemap.getData(0, filemap.getSize()), in writeFile()
72 CloseHandle(file_h); in writeFile()
75 CloseHandle(file_h); in writeFile()
/dports/graphics/darktable/darktable-3.6.1/src/external/rawspeed/src/librawspeed/io/
H A DFileWriter.cpp61 HANDLE file_h; // File handle in writeFile() local
62 file_h = in writeFile()
65 if (file_h == INVALID_HANDLE_VALUE) { in writeFile()
70 if (!WriteFile(file_h, filemap.getData(0, filemap.getSize()), in writeFile()
72 CloseHandle(file_h); in writeFile()
75 CloseHandle(file_h); in writeFile()
/dports/graphics/photoflow/PhotoFlow-8472024f/src/external/rawspeed/src/librawspeed/io/
H A DFileWriter.cpp61 HANDLE file_h; // File handle in writeFile() local
62 file_h = in writeFile()
65 if (file_h == INVALID_HANDLE_VALUE) { in writeFile()
70 if (!WriteFile(file_h, filemap->getData(0, filemap->getSize()), in writeFile()
72 CloseHandle(file_h); in writeFile()
75 CloseHandle(file_h); in writeFile()
/dports/security/ossec-hids-server/ossec-hids-3.6.0/src/rootcheck/util/
H A Dads_dump.c32 HANDLE file_h; in os_get_streams() local
40 file_h = CreateFile(full_path, in os_get_streams()
48 if (file_h == INVALID_HANDLE_VALUE) { in os_get_streams()
59 if (BackupRead(file_h, (LPBYTE) &sid, shs, &dwRead, in os_get_streams()
69 if (BackupRead(file_h, (LPBYTE)stream_name, in os_get_streams()
86 if (!BackupSeek(file_h, sid.Size.LowPart, sid.Size.HighPart, in os_get_streams()
92 CloseHandle(file_h); in os_get_streams()
/dports/security/ossec-hids-local/ossec-hids-3.6.0/src/rootcheck/util/
H A Dads_dump.c32 HANDLE file_h; in os_get_streams() local
40 file_h = CreateFile(full_path, in os_get_streams()
48 if (file_h == INVALID_HANDLE_VALUE) { in os_get_streams()
59 if (BackupRead(file_h, (LPBYTE) &sid, shs, &dwRead, in os_get_streams()
69 if (BackupRead(file_h, (LPBYTE)stream_name, in os_get_streams()
86 if (!BackupSeek(file_h, sid.Size.LowPart, sid.Size.HighPart, in os_get_streams()
92 CloseHandle(file_h); in os_get_streams()
/dports/security/ossec-hids-agent/ossec-hids-3.6.0/src/rootcheck/util/
H A Dads_dump.c32 HANDLE file_h; in os_get_streams() local
40 file_h = CreateFile(full_path, in os_get_streams()
48 if (file_h == INVALID_HANDLE_VALUE) { in os_get_streams()
59 if (BackupRead(file_h, (LPBYTE) &sid, shs, &dwRead, in os_get_streams()
69 if (BackupRead(file_h, (LPBYTE)stream_name, in os_get_streams()
86 if (!BackupSeek(file_h, sid.Size.LowPart, sid.Size.HighPart, in os_get_streams()
92 CloseHandle(file_h); in os_get_streams()
/dports/math/dbcsr/dbcsr-2.1.0/src/acc/libsmm_acc/
H A Dgenerate_kernels.py77 file_h = smm_acc_header
82 file_h += "\n" + separator + cpp_function_to_string(kernel, kernel_name) + "\n"
83 file_h += "#endif // SMM_ACC_H\n"
84 file_h += "//EOF"
85 file_h += "\n\n"
90 f.write(file_h)
H A Dgenerate_parameters.py43 file_h = "parameters.h"
45 print("Printing them to file {}".format(file_h))
46 with open(file_h, "w") as f:
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/exts/dbcsr/src/acc/libsmm_acc/
H A Dgenerate_kernels.py77 file_h = smm_acc_header
82 file_h += "\n" + separator + cpp_function_to_string(kernel, kernel_name) + "\n"
83 file_h += "#endif // SMM_ACC_H\n"
84 file_h += "//EOF"
85 file_h += "\n\n"
90 f.write(file_h)
H A Dgenerate_parameters.py43 file_h = "parameters.h"
45 print("Printing them to file {}".format(file_h))
46 with open(file_h, "w") as f:
/dports/multimedia/obs-studio/obs-studio-27.1.3/cmake/Modules/
H A DIDLFileHelper.cmake7 set(file_h ${file_we}.h) variable
8 set(bin_file_h ${CMAKE_CURRENT_BINARY_DIR}/${file_h})
23 COMMAND midl /h ${file_h} /iid ${file_c} ${tlb_opt} ${CMAKE_CURRENT_SOURCE_DIR}/${filename}
51 OUTPUT ${file_h}
53 COMMAND ${CMAKE_WIDL} ${include_params} -h -o ${file_h} ${CMAKE_CURRENT_SOURCE_DIR}/${filename}
56 file(WRITE ${bin_file_c} "#include <initguid.h>\n#include <${file_h}>\n")
/dports/security/ossec-hids-server/ossec-hids-3.6.0/src/rootcheck/
H A Dwin-common.c27 HANDLE file_h; in os_check_ads() local
35 file_h = CreateFile(full_path, in os_check_ads()
43 if (file_h == INVALID_HANDLE_VALUE) { in os_check_ads()
54 if (BackupRead(file_h, (LPBYTE) &sid, shs, &dwRead, in os_check_ads()
64 if (BackupRead(file_h, (LPBYTE)stream_name, in os_check_ads()
100 if (!BackupSeek(file_h, sid.Size.LowPart, sid.Size.HighPart, in os_check_ads()
106 CloseHandle(file_h); in os_check_ads()
/dports/security/ossec-hids-agent/ossec-hids-3.6.0/src/rootcheck/
H A Dwin-common.c27 HANDLE file_h; in os_check_ads() local
35 file_h = CreateFile(full_path, in os_check_ads()
43 if (file_h == INVALID_HANDLE_VALUE) { in os_check_ads()
54 if (BackupRead(file_h, (LPBYTE) &sid, shs, &dwRead, in os_check_ads()
64 if (BackupRead(file_h, (LPBYTE)stream_name, in os_check_ads()
100 if (!BackupSeek(file_h, sid.Size.LowPart, sid.Size.HighPart, in os_check_ads()
106 CloseHandle(file_h); in os_check_ads()
/dports/security/ossec-hids-local/ossec-hids-3.6.0/src/rootcheck/
H A Dwin-common.c27 HANDLE file_h; in os_check_ads() local
35 file_h = CreateFile(full_path, in os_check_ads()
43 if (file_h == INVALID_HANDLE_VALUE) { in os_check_ads()
54 if (BackupRead(file_h, (LPBYTE) &sid, shs, &dwRead, in os_check_ads()
64 if (BackupRead(file_h, (LPBYTE)stream_name, in os_check_ads()
100 if (!BackupSeek(file_h, sid.Size.LowPart, sid.Size.HighPart, in os_check_ads()
106 CloseHandle(file_h); in os_check_ads()
/dports/graphics/py-pivy/pivy-0.6.6/
H A Dinstall_helpers.py28 file_h = file_i[:-2] + ".h"
29 from_file = os.path.join(includedir, file_h)
31 file_h = file[:-2] + ".h"
32 to_file = os.path.abspath(file_h)
/dports/games/xonotic/Xonotic/source/qcsrc/tools/
H A Dheaderstyle.sh19 declare -l file_h="${file%.qc}.qh"
20 if [[ ! -f "$file_h" ]]; then echo "#pragma once" > "$file_h"; fi
/dports/sysutils/py-dlipower/dlipower-1.0.176/dlipower/
H A Ddlipower.py351 file_h = open(CONFIG_FILE, 'r')
353 config = json.load(file_h)
357 file_h.close()
373 file_h = open(CONFIG_FILE, 'w')
376 os.fchmod(file_h.fileno(), 0o0600)
377 if file_h:
378 json.dump(config, file_h, sort_keys=True, indent=4)
379 file_h.close()
/dports/x11-toolkits/open-motif/motif-2.3.8/demos/programs/fileview/
H A Dfile.h33 #define file_h macro
37 #undef file_h
/dports/games/crafty/crafty-25.2_1/
H A Depddefs.h179 # define file_h 7 /* KR */ macro
198 # define sq_h1 map_sq(rank_1, file_h)
206 # define sq_h2 map_sq(rank_2, file_h)
214 # define sq_h3 map_sq(rank_3, file_h)
222 # define sq_h4 map_sq(rank_4, file_h)
230 # define sq_h5 map_sq(rank_5, file_h)
238 # define sq_h6 map_sq(rank_6, file_h)
246 # define sq_h7 map_sq(rank_7, file_h)
254 # define sq_h8 map_sq(rank_8, file_h)
/dports/devel/py-pluginbase/pluginbase-1.0.0/
H A Dsetup.py13 with open(os.path.join(base_directory, 'README.md'), 'r') as file_h:
14 long_description = file_h.read()
/dports/games/nazghul/nazghul-0.7.1/src/
H A Dfile.h20 #ifndef file_h
21 #define file_h macro

123