Searched defs:oflag (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dsem_open.c54 sem_open (const char *name, int oflag, mode_t mode, unsigned int value) argument
/external/bison/lib/
H A Dspawn_faction_addopen.c37 int fd, const char *path, int oflag,
48 return posix_spawn_file_actions_addopen (file_actions, fd, path, oflag, mode);
64 rec->action.open_action.oflag = oflag;
36 posix_spawn_file_actions_addopen(posix_spawn_file_actions_t *file_actions, int fd, const char *path, int oflag, mode_t mode) argument
H A Dspawn_int.h44 int oflag; member in struct:__spawn_action::__anon354::__anon357
H A Dspawn-pipe.c78 nonintr_open (const char *pathname, int oflag, mode_t mode) argument
83 retval = open (pathname, oflag, mode);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dkernel_wrap_dummy.cc47 int _real_open(const char* pathname, int oflag, mode_t cmode, int* newfd) { argument
H A Dkernel_wrap_win.cc120 int _open(const char* path, int oflag, ...) { argument
126 if (oflag & _O_CREAT) {
127 va_start(list, oflag);
132 return ki_open(path, oflag);
135 int _sopen(const char* path, int oflag, int shflag) { argument
136 return ki_open(path, oflag);
139 errno_t _sopen_s(int* pfh, const char* path, int oflag, int shflag, int pmode) { argument
140 *pfh = ki_open(path, oflag);
H A Dkernel_wrap_newlib.cc171 int WRAP(open)(const char* pathname, int oflag, mode_t cmode, int* newfd) { argument
172 *newfd = ki_open(pathname, oflag);
294 int _real_open(const char* pathname, int oflag, mode_t cmode, int* newfd) { argument
296 return REAL(open)(pathname, oflag, cmode, newfd);
H A Dkernel_wrap_glibc.cc230 int WRAP(open)(const char* pathname, int oflag, mode_t cmode, int* newfd) { argument
231 *newfd = ki_open(pathname, oflag);
366 int _real_open(const char* pathname, int oflag, mode_t cmode, int* newfd) { argument
368 return REAL(open)(pathname, oflag, cmode, newfd);
H A Dkernel_intercept.cc149 int ki_open(const char *path, int oflag) { argument
151 return s_kp->open(path, oflag);
/external/qemu/android/utils/
H A Dmapfile.c33 mapfile_open(const char* path, int oflag, int share_mode) argument
42 if ((oflag & O_RDWR) == O_RDWR) {
44 } else if ((oflag & O_ACCMODE) == O_RDONLY) {
46 } else if ((oflag & O_WRONLY) == O_WRONLY) {
60 if ((oflag & O_CREAT) == O_CREAT) {
61 if ((oflag & O_EXCL) == O_EXCL) {
66 } if ((oflag & O_TRUNC) == O_TRUNC) {
75 if ((oflag & O_DSYNC) == O_DSYNC ||
76 (oflag & O_RSYNC) == O_RSYNC ||
77 (oflag
[all...]
/external/valgrind/main/drd/
H A Ddrd_semaphore.c248 const Char* name, const Word oflag,
256 " oflag %#lx mode %#lo value %u",
258 semaphore, name, oflag, mode, value);
247 semaphore_open(const Addr semaphore, const Char* name, const Word oflag, const Word mode, const UInt value) argument
H A Ddrd_pthread_intercepts.c1010 sem_t* sem_open_intercept(const char *name, int oflag, mode_t mode, argument
1017 name, oflag, mode, value, 0);
1018 CALL_FN_W_WWWW(ret, fn, name, oflag, mode, value);
1021 name, oflag, mode, value);
1026 (const char *name, int oflag, mode_t mode, unsigned int value),
1027 (name, oflag, mode, value));
/external/zlib/src/
H A Dgzlib.c98 int oflag; local
220 oflag =
243 fd == -2 ? _wopen(path, oflag, 0666) :
245 open((const char *)path, oflag, 0666));
/external/valgrind/main/helgrind/
H A Dhg_intercepts.c1665 sem_t* sem_open(const char *name, int oflag,
1883 const char* name, long oflag,
1893 name,oflag,mode,value);
1897 CALL_FN_W_WWWW(ret, fn, name,oflag,mode,value);
1899 if (ret != SEM_FAILED && (oflag & O_CREAT)) {
1882 PTH_FUNC(sem_t*, semZuopen, const char* name, long oflag, long mode, unsigned long value) argument
/external/yaffs2/yaffs2/direct/
H A Dyaffsfs.c336 int yaffs_open(const char *path, int oflag, int mode) argument
352 // todo sanity check oflag (eg. can't have O_TRUNC without WRONLY or RDWR
394 if(((oflag & O_EXCL) && alreadyOpen) || alreadyExclusive)
400 if((oflag & O_EXCL) && (oflag & O_CREAT))
408 if( (oflag & (O_RDWR | O_WRONLY)) == 0 && // ie O_RDONLY
414 if( (oflag & O_RDWR) &&
420 if( (oflag & (O_RDWR | O_WRONLY)) &&
428 else if((oflag & O_CREAT))
446 h->readOnly = (oflag
[all...]
/external/kernel-headers/original/linux/
H A Daudit.h537 extern void __audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr);
579 static inline void audit_mq_open(int oflag, umode_t mode, struct mq_attr *attr) argument
582 __audit_mq_open(oflag, mode, attr);

Completed in 4352 milliseconds