Lines Matching defs:open_flags
35 int open_flags = 0;
37 open_flags = O_CREAT | O_EXCL;
40 DCHECK(!open_flags);
41 open_flags = O_CREAT | O_TRUNC;
44 if (!open_flags && !(flags & PLATFORM_FILE_OPEN) &&
53 open_flags |= O_RDWR;
55 open_flags |= O_WRONLY;
64 open_flags |= O_TRUNC;
70 HANDLE_EINTR(open(name.value().c_str(), open_flags, S_IRUSR | S_IWUSR));
77 open_flags |= O_CREAT;
80 open_flags |= O_EXCL; // together with O_CREAT implies O_NOFOLLOW
83 open(name.value().c_str(), open_flags, S_IRUSR | S_IWUSR));