Home | History | Annotate | Download | only in payload_consumer

Lines Matching defs:Open

2 // Copyright (C) 2014 The Android Open Source Project
104 bool MtdFileDescriptor::Open(const char* path, int flags, mode_t mode) {
107 // But we need to open the underlying file descriptor in O_RDWR mode because
115 EintrSafeFileDescriptor::Open(path, flags | O_CLOEXEC, mode));
132 bool MtdFileDescriptor::Open(const char* path, int flags) {
135 return Open(path, flags, 0777 & ~cur);
177 bool UbiFileDescriptor::Open(const char* path, int flags, mode_t mode) {
186 EintrSafeFileDescriptor::Open(path, flags | O_CLOEXEC, mode));
211 bool UbiFileDescriptor::Open(const char* path, int flags) {
214 return Open(path, flags, 0777 & ~cur);