Home
last modified time | relevance | path

Searched refs:GENERIC_READ (Results 1 – 25 of 91) sorted by relevance

1234

/external/gptfdisk/
Ddiskio-windows.cc63 fd = CreateFile(realFilename.c_str(),GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, in OpenForRead()
91 fd = CreateFile(realFilename.c_str(), GENERIC_READ | GENERIC_WRITE, in OpenForWrite()
98 fd = CreateFile(realFilename.c_str(), GENERIC_READ | GENERIC_WRITE, in OpenForWrite()
/external/ltp/testcases/kernel/io/disktest/
Dio.c119 OPEN_READ_WRITE |= GENERIC_READ; in Open()
125 OPEN_READ_WRITE |= (GENERIC_READ | GENERIC_WRITE); in Open()
/external/flac/src/share/grabbag/
Dfile.c137 …h1 = CreateFile_utf8(f1, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL… in grabbag__file_are_same()
138 …h2 = CreateFile_utf8(f2, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL… in grabbag__file_are_same()
/external/llvm-project/lld/test/ELF/
Dlink-open-file.test32 GENERIC_READ = 0x80000000
39 h = CreateFileA(filename.encode('mbcs'), GENERIC_READ, share_flags,
/external/zlib/google/
Dzip_internal.cc48 desired_access = GENERIC_READ; in ZipOpenFunc()
52 desired_access = GENERIC_WRITE | GENERIC_READ; in ZipOpenFunc()
55 desired_access = GENERIC_WRITE | GENERIC_READ; in ZipOpenFunc()
/external/angle/third_party/zlib/google/
Dzip_internal.cc48 desired_access = GENERIC_READ; in ZipOpenFunc()
52 desired_access = GENERIC_WRITE | GENERIC_READ; in ZipOpenFunc()
55 desired_access = GENERIC_WRITE | GENERIC_READ; in ZipOpenFunc()
/external/rust/crates/parking_lot_core/src/thread_parker/windows/
Dkeyed_event.rs24 ACCESS_MASK, BOOLEAN, GENERIC_READ, GENERIC_WRITE, HANDLE, LARGE_INTEGER, LPCSTR,
95 GENERIC_READ | GENERIC_WRITE, in create()
/external/llvm-project/compiler-rt/test/asan/TestCases/Windows/
Dbind_io_completion_callback.cpp44 argv[0], GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, in main()
/external/compiler-rt/test/asan/TestCases/Windows/
Dbind_io_completion_callback.cc49 argv[0], GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, in main()
/external/perfetto/src/profiling/symbolizer/
Dscoped_read_mmap_windows.cc29 file_ = CreateFileA(fName, GENERIC_READ, FILE_SHARE_READ, nullptr, in ScopedReadMmap()
Dfilesystem_windows.cc57 CreateFileA(file_path.c_str(), GENERIC_READ, FILE_SHARE_READ, nullptr, in GetFileSize()
/external/python/cpython3/PC/bdist_wininst/
Dextract.c72 GENERIC_WRITE | GENERIC_READ, in map_new_file()
82 GENERIC_WRITE|GENERIC_READ, in map_new_file()
/external/python/cpython2/PC/bdist_wininst/
Dextract.c73 GENERIC_WRITE | GENERIC_READ, in map_new_file()
83 GENERIC_WRITE|GENERIC_READ, in map_new_file()
/external/zlib/contrib/minizip/
Diowin32.c66 *lpdwDesiredAccess = GENERIC_READ; in win32_translate_open_mode()
72 *lpdwDesiredAccess = GENERIC_WRITE | GENERIC_READ; in win32_translate_open_mode()
77 *lpdwDesiredAccess = GENERIC_WRITE | GENERIC_READ; in win32_translate_open_mode()
/external/rust/crates/libz-sys/src/zlib/contrib/minizip/
Diowin32.c61 *lpdwDesiredAccess = GENERIC_READ; in win32_translate_open_mode()
67 *lpdwDesiredAccess = GENERIC_WRITE | GENERIC_READ; in win32_translate_open_mode()
72 *lpdwDesiredAccess = GENERIC_WRITE | GENERIC_READ; in win32_translate_open_mode()
/external/expat/xmlwf/
Dwin32filemap.c63 f = CreateFile(name, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, in filemap()
/external/lzma/C/
D7zFile.c44 writeMode ? GENERIC_WRITE : GENERIC_READ, in File_Open()
68 writeMode ? GENERIC_WRITE : GENERIC_READ, in File_OpenW()
/external/compiler-rt/lib/profile/
DInstrProfilingUtil.c107 HANDLE h = CreateFileA(ProfileName, GENERIC_READ | GENERIC_WRITE, 0, 0, in lprofOpenFileEx()
/external/webrtc/modules/desktop_capture/win/
Ddesktop.cc90 0, FALSE, GENERIC_READ | GENERIC_WRITE | GENERIC_EXECUTE); in GetInputDesktop()
/external/perfetto/src/tracing/test/
Dapi_test_support.cc114 ::CreateFileA(temp_file, GENERIC_READ | GENERIC_WRITE, in CreateTempFile()
/external/libevent/sample/
Devent-read-fifo.c93 GENERIC_READ, /* open for reading */ in main()
/external/perfetto/src/base/
Dtemp_file.cc80 ::CreateFileA(temp_file.path_.c_str(), GENERIC_READ | GENERIC_WRITE, in Create()
/external/icu/icu4c/source/common/
Dumapfile.cpp143 file=CreateFileA(path, GENERIC_READ, FILE_SHARE_READ, nullptr, in uprv_mapFile()
161 file = CreateFileW(utf16Path, GENERIC_READ, FILE_SHARE_READ, nullptr, in uprv_mapFile()
/external/harfbuzz_ng/src/
Dhb-blob.cc593 fd = CreateFile2 (wchar_file_name, GENERIC_READ, FILE_SHARE_READ, in hb_blob_create_from_file()
597 fd = CreateFileW (wchar_file_name, GENERIC_READ, FILE_SHARE_READ, nullptr, in hb_blob_create_from_file()
/external/llvm-project/lldb/source/Host/windows/
DFileSystem.cpp59 HANDLE h = ::CreateFileW(wsrc.c_str(), GENERIC_READ, in Readlink()

1234