O_RDONLY 478 addr2line.c fd = open(binary_filename, O_RDONLY); O_RDONLY 357 dln.c if (file == NULL || (fd = open(file, O_RDONLY)) < 0) { O_RDONLY 947 dln.c fd = open(file, O_RDONLY); O_RDONLY 1063 dln.c fd = open(file, O_RDONLY); O_RDONLY 189 ext/dbm/dbm.c dbm = dbm_open(RSTRING_PTR(file), O_RDONLY|O_CLOEXEC, 0); O_RDONLY 1098 ext/dbm/dbm.c rb_define_const(rb_cDBM, "READER", INT2FIX(O_RDONLY|RUBY_DBM_RW_BIT)); O_RDONLY 211 ext/fcntl/fcntl.c #ifdef O_RDONLY O_RDONLY 216 ext/fcntl/fcntl.c rb_define_const(mFcntl, "O_RDONLY", INT2NUM(O_RDONLY)); O_RDONLY 243 ext/fcntl/fcntl.c rb_define_const(mFcntl, "O_ACCMODE", INT2FIX(O_RDONLY | O_WRONLY | O_RDWR)); O_RDONLY 116 ext/pty/pty.c int i = rb_cloexec_open("/dev/tty", O_RDONLY, 0); O_RDONLY 221 ext/sdbm/_sdbm.c if (flags & O_RDONLY) O_RDONLY 204 ext/sdbm/init.c dbm = sdbm_open(RSTRING_PTR(file), O_RDONLY, 0); O_RDONLY 5677 file.c int mode = (O_RDONLY | O_RDONLY 6018 file.c rb_define_const(rb_mFConst, "RDONLY", INT2FIX(O_RDONLY)); O_RDONLY 99 io.c #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) O_RDONLY 4932 io.c case O_RDONLY: O_RDONLY 4968 io.c oflags |= O_RDONLY; O_RDONLY 5010 io.c int accmode = oflags & (O_RDONLY|O_WRONLY|O_RDWR); O_RDONLY 5019 io.c switch (oflags & (O_RDONLY|O_WRONLY|O_RDWR)) { O_RDONLY 5022 io.c case O_RDONLY: O_RDONLY 5285 io.c oflags = O_RDONLY; O_RDONLY 5810 io.c fd = rb_cloexec_open("/proc/self/status", O_RDONLY|O_NOCTTY, 0); O_RDONLY 6422 io.c oflags = O_RDONLY; O_RDONLY 7598 io.c int fd, fmode, oflags = O_RDONLY; O_RDONLY 7969 io.c int fr = rb_sysopen(filename, O_RDONLY, 0); O_RDONLY 7996 io.c fr = rb_sysopen(str, O_RDONLY, 0); O_RDONLY 9592 io.c args[2] = INT2FIX(O_RDONLY); O_RDONLY 9672 io.c arg->io = rb_io_open(path, INT2NUM(O_RDONLY), INT2FIX(0666), Qnil); O_RDONLY 10592 io.c args[1] = INT2NUM(O_RDONLY|common_oflags); O_RDONLY 12177 io.c {"", O_RDONLY | O_BINARY}, O_RDONLY 520 nacl/pepper_main.c if (reopen_fd(0, "/dev2/stdin", O_RDONLY) < 0) { O_RDONLY 1577 process.c flags = INT2NUM(O_RDONLY); O_RDONLY 1607 process.c flags = INT2NUM(O_RDONLY); O_RDONLY 1610 process.c flags = INT2NUM(O_RDONLY); O_RDONLY 447 random.c O_RDONLY, 0); O_RDONLY 48 ruby.c # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) O_RDONLY 1881 ruby.c # define MODE_TO_LOAD (O_RDONLY | O_NONBLOCK) O_RDONLY 1883 ruby.c # define MODE_TO_LOAD (O_RDONLY | O_NDELAY) O_RDONLY 1885 ruby.c # define MODE_TO_LOAD (O_RDONLY) O_RDONLY 1903 ruby.c #if defined HAVE_FCNTL && MODE_TO_LOAD != O_RDONLY O_RDONLY 2399 win32/win32.c fd = _open("NUL", O_RDONLY); O_RDONLY 6115 win32/win32.c switch (oflag & (O_RDWR | O_RDONLY | O_WRONLY)) { O_RDONLY 6119 win32/win32.c case O_RDONLY: O_RDONLY 6129 win32/win32.c oflag &= ~(O_RDWR | O_RDONLY | O_WRONLY);