Home
last modified time | relevance | path

Searched refs:O_RDONLY (Results 1 – 25 of 48) sorted by relevance

12

/reactos/sdk/tools/mkisofs/schilytools/include/schily/
H A Dfcntl.h63 #ifndef O_RDONLY
64 # define O_RDONLY 0 macro
79 # define O_EXEC O_RDONLY
82 # define O_SEARCH O_RDONLY
92 #define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR|O_EXEC|O_SEARCH)
/reactos/dll/3rdparty/libtiff/
H A Dtif_open.c53 m = O_RDONLY; in _TIFFgetMode()
157 if (m == O_RDONLY )
161 if (m == O_RDONLY || m == O_RDWR)
246 if (m == O_RDONLY)
250 if (m == O_RDONLY)
254 if (m == O_RDONLY)
258 if (m == O_RDONLY)
272 if( m == O_RDONLY )
289 if (tif->tif_mode == O_RDONLY) {
499 tif->tif_mode = O_RDONLY; /* XXX avoid flush */
H A Dtif_win32.c271 case O_RDONLY: dwMode = OPEN_EXISTING; break; in TIFFOpen()
280 (m == O_RDONLY)?GENERIC_READ:(GENERIC_READ | GENERIC_WRITE), in TIFFOpen()
282 (m == O_RDONLY)?FILE_ATTRIBUTE_READONLY:FILE_ATTRIBUTE_NORMAL, in TIFFOpen()
312 case O_RDONLY: dwMode = OPEN_EXISTING; break; in TIFFOpenW()
321 (m == O_RDONLY)?GENERIC_READ:(GENERIC_READ|GENERIC_WRITE), in TIFFOpenW()
323 (m == O_RDONLY)?FILE_ATTRIBUTE_READONLY:FILE_ATTRIBUTE_NORMAL, in TIFFOpenW()
H A Dtif_flush.c34 if( tif->tif_mode == O_RDONLY ) in TIFFFlush()
84 if (tif->tif_mode == O_RDONLY) in TIFFForceStrileArrayWriting()
H A Dtif_close.c51 if (tif->tif_mode != O_RDONLY) in TIFFCleanup()
/reactos/sdk/tools/mkisofs/schilytools/libschily/stdio/
H A Dcvmod.c35 case 'r': *omode |= O_RDONLY; *flag |= FI_READ; break;
55 *omode &= ~(O_RDONLY|O_WRONLY);
/reactos/sdk/lib/3rdparty/stlport/src/details/
H A Dfstream_unistd.cpp53 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
83 case O_RDONLY: in flag_to_openmode()
176 flags = O_RDONLY; in _M_open()
H A Dfstream_stdio.cpp69 # ifndef O_RDONLY
70 # define O_RDONLY _O_RDONLY macro
81 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
H A Dfstream_win32io.cpp40 # define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
50 case O_RDONLY: in flag_to_openmode()
153 mode |= O_RDONLY;
182 mode |= O_RDONLY;
/reactos/sdk/include/crt/
H A Dfcntl.h34 #define O_RDONLY _O_RDONLY macro
/reactos/dll/directx/wine/dinput/
H A Djoystick_linux.c143 if ((sys_fd = open(sys_path, O_RDONLY)) != -1) in read_sys_id_variable()
174 if ((fd = open(joydev.device, O_RDONLY)) == -1) in find_joystick_devices()
177 if ((fd = open(joydev.device, O_RDONLY)) == -1) continue; in find_joystick_devices()
420 if ((fd = open(joystick_devices[id].device, O_RDONLY)) == -1) in joydev_enum_deviceA()
449 if ((fd = open(joystick_devices[id].device, O_RDONLY)) == -1) in joydev_enum_deviceW()
694 This->joyfd = open(This->joydev->device, O_RDONLY); in JoystickLinuxWImpl_Acquire()
/reactos/sdk/include/ucrt/
H A Dfcntl.h49 #define O_RDONLY _O_RDONLY macro
/reactos/drivers/bus/acpi/acpica/include/platform/
H A Dacwin64.h89 #define O_RDONLY _O_RDONLY macro
H A Dacwin.h108 #define O_RDONLY _O_RDONLY macro
/reactos/sdk/tools/mkisofs/schilytools/mkisofs/
H A Dboot.c414 if ((f = open(boot_files[i], O_RDONLY| O_BINARY)) < 0)
464 if ((f = open(genboot_image, O_RDONLY| O_BINARY)) < 0)
536 if ((f = open(genboot_image, O_RDONLY| O_BINARY)) < 0)
/reactos/drivers/network/tcpip/lwip/src/include/lwip/
H A Dsockets.h458 #ifndef O_RDONLY
459 #define O_RDONLY 2 macro
465 #define O_RDWR (O_RDONLY|O_WRONLY)
/reactos/sdk/tools/widl/
H A Dtypelib.c345 return open(name, O_RDONLY | O_BINARY ); in open_typelib()
347 fd = open(file_name, O_RDONLY | O_BINARY ); in open_typelib()
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/
H A Dprintercache.c173 fd = open(path, O_RDONLY); in printercache_load_blob()
H A Drdesktop.c1001 if (((fd = open("/dev/urandom", O_RDONLY)) != -1) in generate_random()
1002 || ((fd = open("/dev/random", O_RDONLY)) != -1)) in generate_random()
1403 fd = open(path, O_RDONLY); in load_licence()
H A Ddisk.c440 flags |= O_RDONLY; in disk_create()
1001 int fd = open(e->mnt_fsname, O_RDONLY); in FsVolumeInfo()
/reactos/sdk/tools/wpp/
H A Dpreproc.c162 fd = open( path, O_RDONLY ); in wpp_default_lookup()
183 fd = open( path, O_RDONLY ); in wpp_default_lookup()
/reactos/modules/rosapps/applications/sysutils/mkdosfs/
H A Dmkdosfs.c155 case O_RDONLY: in WIN32open()
791 if ((fd = open(filename, O_RDONLY)) < 0) { in count_blocks()
818 if ((fd = open (filename, O_RDONLY)) < 0) in count_blocks()
/reactos/sdk/lib/fslib/vfatlib/check/
H A Dio.c165 if ((fd = open(path, rw ? O_RDWR : O_RDONLY)) < 0) { in fs_open()
/reactos/dll/cpl/appwiz/
H A Daddons.c173 fd = _open(file_path, O_RDONLY); in install_from_unix_file()
/reactos/modules/rostests/winetests/msvcrt/
H A Dfile.c123 fd = open ("fdopen.tst", O_RDONLY | O_BINARY); in test_fdopen()
149 fd = open ("fdopen.tst", O_RDONLY | O_BINARY); in test_fileops()
196 fd = open ("fdopen.tst", O_RDONLY | O_TEXT); in test_fileops()
250 fd = open ("fdopen.tst", O_RDONLY); in test_readmode()
255 fd = open ("fdopen.tst", O_RDONLY | O_BINARY); in test_readmode()
362 fd = open("fdopen.tst", O_RDONLY); in test_readmode()

12