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

/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.c249 const Char* name, const Word oflag,
257 " oflag %#lx mode %#lo value %u",
259 semaphore, name, oflag, mode, value);
248 semaphore_open(const Addr semaphore, const Char* name, const Word oflag, const Word mode, const UInt value) argument
H A Ddrd_pthread_intercepts.c972 sem_t* sem_open_intercept(const char *name, int oflag, mode_t mode, argument
979 name, oflag, mode, value, 0);
980 CALL_FN_W_WWWW(ret, fn, name, oflag, mode, value);
983 name, oflag, mode, value);
988 (const char *name, int oflag, mode_t mode, unsigned int value),
989 (name, oflag, mode, value));
/external/zlib/src/
H A Dgzlib.c98 int oflag; local
214 oflag =
237 fd == -2 ? _wopen(path, oflag, 0666) :
239 open(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/valgrind/tsan/
H A Dts_valgrind_intercepts.c1907 sem_t *sem_open(const char *name, int oflag, ...);
1909 The oflag argument controls whether the semaphore is created or merely
1911 set in oflag:
1920 const char *name, int oflag,
1924 CALL_FN_W_WWWW(ret, fn, name, oflag, mode, value);
1925 if ((oflag & O_CREAT) &&
1940 PTH_FUNC(sem_t *, semZuopen, const char *name, int oflag, argument
1944 return sem_open_WRK(fn, name, oflag, mode, value);
1947 PTH_FUNC(sem_t *, semZuopenZAZa, const char *name, int oflag, argument
1951 return sem_open_WRK(fn, name, oflag, mod
1919 sem_open_WRK(OrigFn fn, const char *name, int oflag, mode_t mode, unsigned int value) argument
[all...]

Completed in 704 milliseconds