HomeSort by relevance Sort by last modified time
    Searched full:open_flags (Results 1 - 25 of 126) sorted by null

1 2 3 4 5 6

  /external/chromium/base/
platform_file_posix.cc 35 int open_flags = 0; local
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
    [all...]
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/
mount_node_stream.cc 26 Error MountNodeStream::Init(int open_flags) {
27 MountNode::Init(open_flags);
28 if (open_flags & O_NONBLOCK)
mount_node_html5fs.cc 46 int32_t OpenFlagsToPPAPIOpenFlags(int open_flags) {
49 switch (open_flags & 3) {
62 if (open_flags & O_CREAT)
64 if (open_flags & O_TRUNC)
66 if (open_flags & O_EXCL)
264 Error MountNodeHtml5Fs::Init(int open_flags) {
265 Error error = MountNode::Init(open_flags);
286 OpenFlagsToPPAPIOpenFlags(open_flags),
mount_dev.h 19 int open_flags,
mount_node_udp.h 25 virtual Error Init(int open_flags);
mount_fuse.cc 69 int open_flags,
77 fi.flags = open_flags;
79 if (open_flags & (O_CREAT | O_EXCL)) {
107 Error error = node->Init(open_flags);
117 if (open_flags & O_TRUNC) {
135 Error error = node->Init(open_flags);
216 bool MountNodeFuse::CanOpen(int open_flags) {
223 // which will check this mode against open_flags.
224 return MountNode::CanOpen(open_flags);
mount_mem.cc 96 Error MountMem::Open(const Path& path, int open_flags,
104 if ((open_flags & O_CREAT) == 0)
114 error = node->Init(open_flags);
126 if (node->IsaDir() && (open_flags & 3) != O_RDONLY)
130 if (open_flags & O_EXCL)
133 if (open_flags & O_TRUNC)
kernel_handle.cc 39 Error KernelHandle::Init(int open_flags) {
40 handle_attr_.flags = open_flags;
42 if (!node_->CanOpen(open_flags)) {
46 if (open_flags & O_APPEND) {
mount_node_html5fs.h 45 virtual Error Init(int open_flags);
mount_node_stream.h 42 virtual Error Init(int open_flags);
mount_node_tcp.h 26 virtual Error Init(int open_flags);
  /external/e2fsprogs/lib/e2p/
fgetversion.c 34 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
36 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
45 fd = open (name, OPEN_FLAGS);
fsetversion.c 34 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
36 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
45 fd = open (name, OPEN_FLAGS);
fgetflags.c 38 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
40 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
75 fd = open (name, OPEN_FLAGS);
fsetflags.c 47 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
49 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
81 fd = open (name, OPEN_FLAGS);
  /external/chromium_org/base/files/
file_posix.cc 130 int open_flags = 0; local
132 open_flags = O_CREAT | O_EXCL;
137 DCHECK(!open_flags);
138 open_flags = O_CREAT | O_TRUNC;
142 DCHECK(!open_flags);
144 open_flags = O_TRUNC;
147 if (!open_flags && !(flags & FLAG_OPEN) && !(flags & FLAG_OPEN_ALWAYS)) {
155 open_flags |= O_RDWR;
157 open_flags |= O_WRONLY;
166 open_flags |= O_NOCTTY | O_NDELAY
    [all...]
  /external/chromium_org/base/
platform_file_posix.cc 129 int open_flags = 0; local
131 open_flags = O_CREAT | O_EXCL;
137 DCHECK(!open_flags);
138 open_flags = O_CREAT | O_TRUNC;
142 DCHECK(!open_flags);
144 open_flags = O_TRUNC;
147 if (!open_flags && !(flags & PLATFORM_FILE_OPEN) &&
157 open_flags |= O_RDWR;
159 open_flags |= O_WRONLY;
168 open_flags |= O_NOCTTY | O_NDELAY
    [all...]
  /external/chromium_org/net/base/
file_stream_context.cc 69 int open_flags,
79 &Context::OpenFileImpl, base::Unretained(this), path, open_flags),
86 int FileStream::Context::OpenSync(const base::FilePath& path, int open_flags) {
90 OpenResult result = OpenFileImpl(path, open_flags);
97 if (open_flags & base::PLATFORM_FILE_ASYNC)
199 const base::FilePath& path, int open_flags) {
204 DCHECK_EQ(open_flags & ~base::PLATFORM_FILE_ASYNC,
213 open_flags |= base::PLATFORM_FILE_SHARE_DELETE;
214 file = base::CreatePlatformFile(path, open_flags, NULL, NULL);
mock_file_stream.cc 11 int MockFileStream::OpenSync(const base::FilePath& path, int open_flags) {
13 return ReturnError(FileStream::OpenSync(path, open_flags));
file_stream_context.h 66 int open_flags,
106 int open_flags,
108 int OpenSync(const base::FilePath& path, int open_flags);
148 OpenResult OpenFileImpl(const base::FilePath& path, int open_flags);
file_stream.cc 70 int FileStream::Open(const base::FilePath& path, int open_flags,
77 open_flags_ = open_flags;
79 context_->OpenAsync(path, open_flags, callback);
83 int FileStream::OpenSync(const base::FilePath& path, int open_flags) {
91 open_flags_ = open_flags;
  /external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
fake_pepper_interface_html5fs.cc 47 FakeFileIoResource() : node(NULL), open_flags(0) {}
51 int32_t open_flags; member in class:__anon8828::FakeFileIoResource
299 int32_t open_flags,
306 bool flag_write = !!(open_flags & PP_FILEOPENFLAG_WRITE);
307 bool flag_create = !!(open_flags & PP_FILEOPENFLAG_CREATE);
308 bool flag_truncate = !!(open_flags & PP_FILEOPENFLAG_TRUNCATE);
309 bool flag_exclusive = !!(open_flags & PP_FILEOPENFLAG_EXCLUSIVE);
310 bool flag_append = !!(open_flags & PP_FILEOPENFLAG_APPEND);
337 file_io_resource->open_flags = open_flags;
    [all...]
  /external/chromium_org/ppapi/tests/
test_file_io.h 60 size_t open_flags,
  /external/chromium_org/ppapi/thunk/
ppb_file_io_api.h 24 int32_t open_flags,
ppb_file_io_thunk.cc 38 int32_t open_flags,
45 open_flags,

Completed in 991 milliseconds

1 2 3 4 5 6