/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)
|
/bionic/libc/dns/resolv/ |
res_query.c | 137 u_int oflags; local 139 oflags = statp->_flags; 169 ((oflags ^ statp->_flags) & RES_F_EDNS0ERR) != 0) {
|
/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...] |
/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...] |
UnixSecureDirectoryStream.java | 341 int oflags = O_RDONLY; local 343 oflags |= O_NOFOLLOW; 345 return openat(dfd, file.asByteArray(), oflags, 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...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
UnixAPIChecker.cpp | 129 // Now check if oflags has O_CREAT set. 137 NonLoc oflags = V.castAs<NonLoc>(); local 141 oflags, ocreateFlag,
|
/external/iproute2/ip/ |
link_gre.c | 83 __u16 oflags = 0; local 138 oflags = rta_getattr_u16(greinfo[IFLA_GRE_OFLAGS]); 188 oflags |= GRE_KEY; 220 oflags |= GRE_KEY; 233 oflags |= GRE_SEQ; 237 oflags |= GRE_SEQ; 240 oflags |= GRE_CSUM; 244 oflags |= GRE_CSUM; 353 oflags |= GRE_KEY; 364 addattr_l(n, 1024, IFLA_GRE_OFLAGS, &oflags, 2) 396 unsigned int oflags = 0; local [all...] |
link_gre6.c | 93 __u16 oflags = 0; local 146 oflags = rta_getattr_u16(greinfo[IFLA_GRE_OFLAGS]); 191 oflags |= GRE_KEY; 223 oflags |= GRE_KEY; 236 oflags |= GRE_SEQ; 240 oflags |= GRE_SEQ; 243 oflags |= GRE_CSUM; 247 oflags |= GRE_CSUM; 380 addattr_l(n, 1024, IFLA_GRE_OFLAGS, &oflags, 2); 405 unsigned int oflags = 0 local [all...] |
/external/toybox/toys/pending/ |
stty.c | 100 static const struct flag oflags[] = { variable in typeref:struct:flag 233 !set_flag(&new->c_oflag, oflags, ARRAY_LEN(oflags), option, on) && 444 show_flags(old.c_oflag, sane.c_oflag, oflags, ARRAY_LEN(oflags));
|
/external/valgrind/coregrind/m_coredump/ |
coredump-elf.c | 604 Int oflags = VKI_O_CREAT|VKI_O_WRONLY|VKI_O_EXCL|VKI_O_TRUNC; local 616 oflags |= VKI_O_LARGEFILE; 619 sres = VG_(open)(buf, oflags, VKI_S_IRUSR|VKI_S_IWUSR);
|
coredump-solaris.c | 885 Int oflags = VKI_O_CREAT|VKI_O_WRONLY|VKI_O_EXCL|VKI_O_TRUNC; local 896 oflags |= VKI_O_LARGEFILE; 899 SysRes sres = VG_(open)(filename, oflags, [all...] |
/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:__anon62440
|
aufs_type.h | 190 uint32_t oflags; member in struct:aufs_wbr_fd
|
/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...] |
/external/f2fs-tools/tools/sg_write_buffer/ |
sg_pt_linux.c | 349 int oflags = O_NONBLOCK; local 351 oflags |= (read_only ? O_RDONLY : O_RDWR); 352 return scsi_pt_open_flags(device_name, oflags, verbose);
|
/external/dhcpcd-6.8.2/ |
if-bsd.c | 1454 unsigned int oflags; local [all...] |
/bionic/libc/dns/net/ |
getaddrinfo.c | 2180 u_int oflags; local [all...] |
/external/blktrace/btreplay/ |
btreplay.c | 1320 int oflags; local [all...] |
/toolchain/binutils/binutils-2.27/bfd/ |
coffgen.c | 236 flagword oflags = abfd->flags; local 308 abfd->flags = oflags; [all...] |
mmo.c | 2356 flagword oflags = 0; local 2383 flagword oflags = 0; local [all...] |
/external/syslinux/core/fs/xfs/ |
xfs_fs.h | 342 uint32_t oflags; /* open flags */ member in struct:xfs_fsop_handlereq
|