Lines Matching refs:openMode
58 Attribute::CheckAccess(const char* name, int openMode)
72 return fInode->CheckPermissions(open_mode_to_access(openMode)
73 | (openMode & O_TRUNC ? W_OK : 0));
120 Attribute::Create(const char* name, type_code type, int openMode,
123 status_t status = CheckAccess(name, openMode);
128 if (exists && (openMode & O_EXCL) != 0)
140 cookie->open_mode = openMode;
143 if (exists && (openMode & O_TRUNC) != 0)
152 Attribute::Open(const char* name, int openMode, attr_cookie** _cookie)
154 status_t status = CheckAccess(name, openMode);
168 cookie->open_mode = openMode;
172 if ((openMode & O_TRUNC) != 0)