FMODE_WRITABLE 102 ext/socket/basicsocket.c if (!(fptr->mode & FMODE_WRITABLE)) { FMODE_WRITABLE 135 ext/socket/basicsocket.c fptr->mode &= ~FMODE_WRITABLE; FMODE_WRITABLE 204 ext/stringio/stringio.c if ((ptr->flags & FMODE_WRITABLE) && OBJ_FROZEN(string)) { FMODE_WRITABLE 402 ext/stringio/stringio.c if (!(ptr->flags & FMODE_WRITABLE)) { FMODE_WRITABLE 2270 file.c if (fptr->mode & FMODE_WRITABLE) { FMODE_WRITABLE 4496 file.c if (!(fptr->mode & FMODE_WRITABLE)) { FMODE_WRITABLE 4603 file.c if (fptr->mode & FMODE_WRITABLE) { FMODE_WRITABLE 104 include/ruby/io.h #define FMODE_READWRITE (FMODE_READABLE|FMODE_WRITABLE) FMODE_WRITABLE 849 io.c if (!(fptr->mode & FMODE_WRITABLE)) { FMODE_WRITABLE 1552 io.c if (fptr->mode & FMODE_WRITABLE) { FMODE_WRITABLE 4232 io.c fptr->mode &= ~(FMODE_READABLE|FMODE_WRITABLE); FMODE_WRITABLE 4249 io.c int keepgvl = !(mode & FMODE_WRITABLE); FMODE_WRITABLE 4517 io.c if (!(fptr->mode & FMODE_WRITABLE)) FMODE_WRITABLE 4537 io.c if ((fptr->mode & (FMODE_DUPLEX|FMODE_WRITABLE)) == FMODE_WRITABLE) { FMODE_WRITABLE 4577 io.c fptr->mode &= ~FMODE_WRITABLE; FMODE_WRITABLE 4625 io.c if ((fptr->mode & FMODE_WRITABLE) && fptr->wbuf.len) { FMODE_WRITABLE 4856 io.c case FMODE_WRITABLE: FMODE_WRITABLE 4888 io.c fmode |= FMODE_WRITABLE | FMODE_TRUNC | FMODE_CREATE; FMODE_WRITABLE 4891 io.c fmode |= FMODE_WRITABLE | FMODE_APPEND | FMODE_CREATE; FMODE_WRITABLE 4936 io.c fmode = FMODE_WRITABLE; FMODE_WRITABLE 4970 io.c case FMODE_WRITABLE: FMODE_WRITABLE 5317 io.c ecflags |= (fmode & FMODE_WRITABLE) ? FMODE_WRITABLE 5373 io.c ecflags |= (fmode & FMODE_WRITABLE) ? FMODE_WRITABLE 5766 io.c if ((p->modef & FMODE_READABLE) && (p->modef & FMODE_WRITABLE)) { FMODE_WRITABLE 5954 io.c switch (fmode & (FMODE_READABLE|FMODE_WRITABLE)) { FMODE_WRITABLE 5955 io.c case FMODE_READABLE|FMODE_WRITABLE: FMODE_WRITABLE 5975 io.c case FMODE_WRITABLE: FMODE_WRITABLE 6041 io.c if ((fmode & (FMODE_READABLE|FMODE_WRITABLE)) == (FMODE_READABLE|FMODE_WRITABLE)) { FMODE_WRITABLE 6051 io.c if ((fmode & FMODE_READABLE) && (fmode & FMODE_WRITABLE)) { FMODE_WRITABLE 6111 io.c fptr->mode &= ~FMODE_WRITABLE; FMODE_WRITABLE 6640 io.c (fptr->stdio_file == stdout && !(orig->mode & FMODE_WRITABLE)) || FMODE_WRITABLE 6641 io.c (fptr->stdio_file == stderr && !(orig->mode & FMODE_WRITABLE))) { FMODE_WRITABLE 6648 io.c if (fptr->mode & FMODE_WRITABLE) { FMODE_WRITABLE 6658 io.c if (orig->mode & FMODE_WRITABLE) { FMODE_WRITABLE 6790 io.c if (fptr->mode & FMODE_WRITABLE) { FMODE_WRITABLE 8044 io.c write_io = prep_io(fw, FMODE_WRITABLE, rb_cFile, fn); FMODE_WRITABLE 10773 io.c if (fptr->mode & FMODE_WRITABLE) { FMODE_WRITABLE 12382 io.c rb_stdout = prep_stdio(stdout, FMODE_WRITABLE, rb_cIO, "<STDOUT>"); FMODE_WRITABLE 12384 io.c rb_stderr = prep_stdio(stderr, FMODE_WRITABLE|FMODE_SYNC, rb_cIO, "<STDERR>");