/external/ltp/include/ |
tst_safe_posix_ipc.h | 30 #define SAFE_MQ_OPEN(pathname, oflags, ...) \ 31 safe_mq_open(__FILE__, __LINE__, (pathname), (oflags), ##__VA_ARGS__) 34 const char *pathname, int oflags, ...) 41 va_start(ap, oflags); 56 rval = mq_open(pathname, oflags, mode, attr); 59 file, lineno, pathname, oflags, mode, attr);
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
fdopen.c | 68 int flags, oflags, fdflags, tmp;
local 72 if ((flags = __sflags(mode, &oflags)) == 0)
79 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) {
84 if (oflags & O_NONBLOCK) {
103 if ((oflags & O_APPEND) && !(fdflags & O_APPEND))
|
fopen.c | 64 int flags, oflags;
local 67 if ((flags = __sflags(mode, &oflags)) == 0)
71 if ((f = open(file, oflags, DEFFILEMODE)) < 0)
73 if (oflags & O_NONBLOCK) {
103 if (oflags & O_APPEND)
|
freopen.c | 71 int flags, isopen, oflags, sverrno, wantfd;
local 81 if ((flags = __sflags(mode, &oflags)) == 0) {
114 f = open(file, oflags, DEFFILEMODE);
120 f = open(file, oflags, DEFFILEMODE);
154 if (oflags & O_NONBLOCK) {
197 if (oflags & O_APPEND)
|
/bootable/recovery/otafault/ |
ota_io.h | 37 int ota_open(const char* path, int oflags); 39 int ota_open(const char* path, int oflags, mode_t mode);
|
ota_io.cpp | 58 int ota_open(const char* path, int oflags) { 60 int fd = open(path, oflags); 66 int ota_open(const char* path, int oflags, mode_t mode) { 67 int fd = open(path, oflags, mode);
|
/device/linaro/bootloader/edk2/StdLibPrivateInternalFiles/Include/Efi/ |
SysEfi.h | 27 Oflags2EFI( int oflags);
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/ |
Xform.c | 41 Oflags2EFI( int oflags )
46 flags = (UINT64)((oflags & O_ACCMODE) + 1); // Handle the Read/Write flags
51 if(oflags & (O_CREAT | O_TRUNC)) { // Now add the Create flag.
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
UnixChannelFactory.java | 187 // map to oflags 188 int oflags; local 190 oflags = O_RDWR; 192 oflags = (flags.write) ? O_WRONLY : O_RDONLY; 196 oflags |= O_TRUNC; 198 oflags |= O_APPEND; 211 oflags |= (O_CREAT | O_EXCL); 214 oflags |= O_CREAT; 231 oflags |= O_NOFOLLOW; 235 oflags |= O_DSYNC [all...] |
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
fmemopen.c | 121 int flags, oflags; local 128 if ((flags = __sflags(mode, &oflags)) == 0) { 133 if (buf == NULL && ((oflags & O_RDWR) == 0)) { 147 st->len = (oflags & O_WRONLY) ? 0 : size; 149 st->update = oflags & O_RDWR; 161 if (oflags & O_TRUNC) 164 if (oflags & O_APPEND) {
|
/external/iproute2/ip/ |
link_gre.c | 63 __u16 oflags = 0; local 123 oflags = rta_getattr_u16(greinfo[IFLA_GRE_OFLAGS]); 163 oflags |= GRE_KEY; 195 oflags |= GRE_KEY; 208 oflags |= GRE_SEQ; 212 oflags |= GRE_SEQ; 215 oflags |= GRE_CSUM; 219 oflags |= GRE_CSUM; 311 oflags |= GRE_KEY; 321 addattr_l(n, 1024, IFLA_GRE_OFLAGS, &oflags, 2) 347 unsigned oflags = 0; local [all...] |
link_gre6.c | 73 __u16 oflags = 0; local 129 oflags = rta_getattr_u16(greinfo[IFLA_GRE_OFLAGS]); 159 oflags |= GRE_KEY; 191 oflags |= GRE_KEY; 204 oflags |= GRE_SEQ; 208 oflags |= GRE_SEQ; 211 oflags |= GRE_CSUM; 215 oflags |= GRE_CSUM; 285 addattr_l(n, 1024, IFLA_GRE_OFLAGS, &oflags, 2); 305 unsigned oflags = 0 local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
comstats.h | 65 unsigned long oflags; member in struct:__anon54649
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
comstats.h | 65 unsigned long oflags; member in struct:__anon56566
|
aufs_type.h | 190 uint32_t oflags; member in struct:aufs_wbr_fd
|
/external/ltp/testcases/kernel/fs/doio/ |
write_log.c | 116 int omask, oflags; local 127 oflags = O_WRONLY | O_APPEND | O_CREAT | trunc; 128 wfile->w_afd = open(wfile->w_file, oflags, mode); 134 wfile->w_file, oflags, mode, strerror(errno)); 142 oflags = O_RDWR; 143 if ((wfile->w_rfd = open(wfile->w_file, oflags)) == -1) { 146 wfile->w_file, oflags, strerror(errno));
|
doio.c | 318 char *format_oflags(int oflags); 416 int alloc_fd(char *file, int oflags); 417 struct fd_cache *alloc_fdcache(char *file, int oflags); 1184 char *format_oflags(int oflags) 1189 switch (oflags & 03) { 1204 if (oflags & O_EXCL) 1207 if (oflags & O_SYNC) 1210 if (oflags & O_RAW) 1212 if (oflags & O_WELLFORMED) 1215 if (oflags & O_SSD 1406 int fd, offset, nbytes, oflags, rval; local 1601 int fd, nbytes, oflags, signo; local 2082 int fd, oflags, signo, nb, i; local 3058 int fd, offset, nbytes, nstrides, nents, oflags; local 3498 int fd, oflags, offset, nbytes; local 3602 int fd, oflags; local [all...] |
/external/libnl/lib/route/link/ |
ipgre.c | 51 uint16_t oflags; member in struct:ipgre_info 116 ipgre->oflags = nla_get_u16(tb[IFLA_GRE_OFLAGS]); 177 NLA_PUT_U16(msg, IFLA_GRE_OFLAGS, ipgre->oflags); 240 nl_dump(p, " oflags "); 241 nl_dump_line(p, "%x\n", ipgre->oflags); 448 * Set IPGRE tunnel set oflags 450 * @arg iflags gre oflags 454 int rtnl_link_ipgre_set_oflags(struct rtnl_link *link, uint16_t oflags) 460 ipgre->oflags = oflags; [all...] |
/device/linaro/bootloader/edk2/StdLib/Include/sys/ |
EfiSysCall.h | 34 int open (const char *name, int oflags, int mode);
228 @param[in] oflags Flags as defined in fcntl.h.
233 int open (const char *name, int oflags, int mode);
|
fcntl.h | 159 are set according to the value of oflags.
161 Values for oflags are constructed by a bitwise-inclusive OR of flags from
163 exactly one of { O_RDONLY, O_RDWR, O_WRONLY } in the value of oflags.
165 also be specified in oflags.
171 @param[in] oflags File status flags and file access modes of the
183 @retval EINVAL Bad value specified for oflags or mode.
188 int open(const char *Path, int oflags, int mode);
|
/external/libnl/include/netlink/route/link/ |
ipgre.h | 31 extern int rtnl_link_ipgre_set_oflags(struct rtnl_link *link, uint16_t oflags);
|
/bionic/libc/stdio/ |
stdio.cpp | 208 int oflags; local 209 int flags = __sflags(mode, &oflags); 212 int fd = open(file, oflags, DEFFILEMODE); 231 if (oflags & O_APPEND) __sseek64(fp, 0, SEEK_END); 238 int oflags; local 239 int flags = __sflags(mode, &oflags); 246 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) { 255 if ((oflags & O_APPEND) && !(fdflags & O_APPEND)) flags |= __SAPP; 258 if ((oflags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) { 270 int oflags; local [all...] |
/bionic/libc/dns/resolv/ |
res_query.c | 137 u_int oflags; local 139 oflags = statp->_flags; 169 ((oflags ^ statp->_flags) & RES_F_EDNS0ERR) != 0) {
|
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/UefiShell/ |
daShell.c | 277 if((offset != NULL) || (filp->Oflags & O_APPEND)) {
278 if(filp->Oflags & O_APPEND) {
474 int oflags;
local 482 // Convert oflags to Attributes
483 oflags = filp->Oflags;
484 OpenMode = Oflags2EFI(oflags);
515 if((oflags & O_TRUNC) || ((oflags & (O_EXCL | O_CREAT)) == (O_EXCL | O_CREAT))) {
519 if(oflags & O_TRUNC) { [all...] |
/toolchain/binutils/binutils-2.25/bfd/ |
mmo.c | 2319 flagword oflags = 0; local 2346 flagword oflags = 0; local [all...] |