Searched defs:oflag (Results 1 - 21 of 21) 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::__anon357::__anon360
H A Dspawn-pipe.c78 nonintr_open (const char *pathname, int oflag, mode_t mode) argument
83 retval = open (pathname, oflag, mode);
/external/lldb/tools/debugserver/source/
H A DPseudoTerminal.cpp73 // Suggested value for oflag is O_RDWR|O_NOCTTY
79 PseudoTerminal::OpenFirstAvailableMaster(int oflag) argument
82 m_master_fd = ::posix_openpt (oflag);
116 PseudoTerminal::OpenSlave(int oflag) argument
126 m_slave_fd = ::open (slave_name, oflag);
/external/lldb/source/Utility/
H A DPseudoTerminal.cpp86 PseudoTerminal::OpenFirstAvailableMaster (int oflag, char *error_str, size_t error_len) argument
92 m_master_fd = ::posix_openpt (oflag);
133 PseudoTerminal::OpenSlave (int oflag, char *error_str, size_t error_len) argument
146 m_slave_fd = ::open (slave_name, oflag);
/external/lldb/source/Core/
H A DConnectionSharedMemory.cpp117 int oflag = O_RDWR; local
119 oflag |= O_CREAT;
120 m_fd = ::shm_open (m_name.c_str(), oflag, S_IRUSR|S_IWUSR);
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dkernel_wrap_dummy.cc51 int _real_open(const char* pathname, int oflag, mode_t cmode, int* newfd) { argument
H A Dkernel_wrap_win.cc131 int _open(const char* path, int oflag, ...) { argument
137 if (oflag & _O_CREAT) {
138 va_start(list, oflag);
143 return ki_open(path, oflag);
146 int _sopen(const char* path, int oflag, int shflag) { argument
147 return ki_open(path, oflag);
150 errno_t _sopen_s(int* pfh, const char* path, int oflag, int shflag, int pmode) { argument
151 *pfh = ki_open(path, oflag);
H A Dkernel_intercept.cc210 int ki_open(const char* path, int oflag) { argument
212 return s_state.kp->open(path, oflag);
/external/qemu/android/utils/
H A Dmapfile.c35 mapfile_open(const char* path, int oflag, int share_mode) argument
44 if ((oflag & O_RDWR) == O_RDWR) {
46 } else if ((oflag & O_ACCMODE) == O_RDONLY) {
48 } else if ((oflag & O_WRONLY) == O_WRONLY) {
62 if ((oflag & O_CREAT) == O_CREAT) {
63 if ((oflag & O_EXCL) == O_EXCL) {
68 } if ((oflag & O_TRUNC) == O_TRUNC) {
77 if ((oflag & O_DSYNC) == O_DSYNC ||
78 (oflag & O_RSYNC) == O_RSYNC ||
79 (oflag
[all...]
/external/qemu/distrib/zlib-1.2.8/
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/drd/
H A Ddrd_semaphore.c248 const HChar* name, const Word oflag,
256 " oflag %#lx mode %#lo value %u",
258 semaphore, name, oflag, mode, value);
247 semaphore_open(const Addr semaphore, const HChar* name, const Word oflag, const Word mode, const UInt value) argument
H A Ddrd_pthread_intercepts.c993 sem_t* sem_open_intercept(const char *name, int oflag, mode_t mode, argument
1000 name, oflag, mode, value, 0);
1001 CALL_FN_W_WWWW(ret, fn, name, oflag, mode, value);
1004 name, oflag, mode, value);
1009 (const char *name, int oflag, mode_t mode, unsigned int value),
1010 (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/lldb/source/Host/common/
H A DFile.cpp193 int oflag = 0; local
199 oflag |= O_RDWR;
201 oflag |= O_WRONLY;
204 oflag |= O_APPEND;
207 oflag |= O_TRUNC;
210 oflag |= O_CREAT;
213 oflag |= O_CREAT | O_EXCL;
217 oflag |= O_RDONLY;
221 oflag |= O_NONBLOCK;
224 if (oflag
[all...]
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
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.c1745 sem_t* sem_open(const char *name, int oflag,
1963 const char* name, long oflag,
1973 name,oflag,mode,value);
1977 CALL_FN_W_WWWW(ret, fn, name,oflag,mode,value);
1979 if (ret != SEM_FAILED && (oflag & O_CREAT)) {
1962 PTH_FUNC(sem_t*, semZuopen, const char* name, long oflag, long mode, unsigned long value) argument
/external/lldb/examples/interposing/darwin/fd_interposing/
H A DFDInterposing.cpp722 open$__interposed__ (const char *path, int oflag, int mode) argument
730 if (oflag & O_CREAT)
732 fd = ::open (path, oflag, mode);
733 description_sp->printf("pid=%i: open (path = '%s', oflag = %i, mode = %i) -> fd=%i", pid, path, oflag, mode, fd);
737 fd = ::open (path, oflag);
738 description_sp->printf("pid=%i: open (path = '%s', oflag = %i) -> fd=%i", pid, path, oflag, fd);
750 return ::open (path, oflag, mode);
758 open$NOCANCEL$__interposed__ (const char *path, int oflag, in argument
784 __open_extended$__interposed__(const char *path, int oflag, uid_t uid, gid_t gid, int mode, struct kauth_filesec *fsacl) argument
834 shm_open$__interposed__(const char *path, int oflag, int mode) argument
[all...]
/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/lldb/source/Target/
H A DProcess.cpp714 int oflag = info->m_arg; local
718 if (oflag & O_CREAT)
724 oflag,
729 "posix_spawn_file_actions_addopen (action=%p, fd=%i, path='%s', oflag=%i, mode=%i)",
730 file_actions, info->m_fd, info->m_path.c_str(), oflag, mode);

Completed in 514 milliseconds