Searched refs:flags (Results 1 - 25 of 658) sorted by relevance

1234567891011>>

/bionic/libc/kernel/uapi/asm-arm/asm/
H A Dmman.h20 #define arch_mmap_check(addr,len,flags) (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? - EINVAL : 0)
/bionic/libc/versioner-dependencies/arm/kernel_uapi_asm-arm/asm/
H A Dmman.h20 #define arch_mmap_check(addr,len,flags) (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? - EINVAL : 0)
/bionic/libc/versioner-dependencies/common/kernel_uapi/asm-arm/asm/
H A Dmman.h20 #define arch_mmap_check(addr,len,flags) (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? - EINVAL : 0)
/bionic/tools/versioner/dependencies/arm/kernel_uapi_asm-arm/asm/
H A Dmman.h20 #define arch_mmap_check(addr,len,flags) (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? - EINVAL : 0)
/bionic/tools/versioner/dependencies/common/kernel_uapi/asm-arm/asm/
H A Dmman.h20 #define arch_mmap_check(addr,len,flags) (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? - EINVAL : 0)
/bionic/libc/bionic/
H A Dopen.cpp38 static inline int force_O_LARGEFILE(int flags) { argument
40 return flags; // No need, and aarch64's strace gets confused.
42 return flags | O_LARGEFILE;
51 int open(const char* pathname, int flags, ...) { argument
54 if ((flags & O_CREAT) != 0) {
56 va_start(args, flags);
61 return __openat(AT_FDCWD, pathname, force_O_LARGEFILE(flags), mode);
65 int __open_2(const char* pathname, int flags) { argument
66 if (__predict_false((flags & O_CREAT) != 0)) {
70 return __openat(AT_FDCWD, pathname, force_O_LARGEFILE(flags),
73 openat(int fd, const char *pathname, int flags, ...) argument
87 __openat_2(int fd, const char* pathname, int flags) argument
[all...]
H A Dlfs64_support.cpp26 int mkostemp64(char* path, int flags) { argument
27 return mkostemp(path, flags);
32 int mkostemps64(char* path, int suffix_length, int flags) { argument
33 return mkostemps(path, suffix_length, flags);
46 int nopenfd, int flags) {
47 return nftw(dirpath, reinterpret_cast<nftw_fn>(fn), nopenfd, flags);
44 nftw64(const char * dirpath, int (*fn)(const char*, const struct stat64*, int, struct FTW*), int nopenfd, int flags) argument
H A Daccept4.cpp21 int accept4(int sockfd, sockaddr* addr, socklen_t* addrlen, int flags) { argument
22 return __netdClientDispatch.accept4(sockfd, addr, addrlen, flags);
H A Drecv.cpp32 ssize_t recv(int socket, void *buf, size_t len, int flags) { argument
33 return recvfrom(socket, buf, len, flags, NULL, 0);
H A Dsend.cpp31 ssize_t send(int socket, const void* buf, size_t len, int flags) __overloadable {
32 return sendto(socket, buf, len, flags, NULL, 0);
H A Dsignalfd.cpp33 extern "C" int __signalfd4(int fd, kernel_sigset_t* mask, size_t sizemask, int flags);
35 int signalfd(int fd, const sigset_t* mask, int flags) { argument
37 return __signalfd4(fd, &in_set, sizeof(in_set), flags);
H A Dsync_file_range.cpp34 int sync_file_range(int fd, off64_t offset, off64_t length, unsigned int flags) { argument
36 return __sync_file_range2(fd, flags, offset, length);
38 return __sync_file_range(fd, offset, length, flags);
H A Dsys_shm.cpp34 void* shmat(int id, const void* address, int flags) { argument
36 return reinterpret_cast<void*>(syscall(SYS_shmat, id, address, flags));
40 if (syscall(SYS_ipc, SHMAT, id, flags, &result, address, 0) == -1) {
68 int shmget(key_t key, size_t size, int flags) { argument
70 return syscall(SYS_shmget, key, size, flags);
72 return syscall(SYS_ipc, SHMGET, key, size, flags, 0, 0);
H A Dmremap.cpp39 void* mremap(void* old_address, size_t old_size, size_t new_size, int flags, ...) { argument
50 if ((flags & MREMAP_FIXED) != 0) {
52 va_start(ap, flags);
56 return ___mremap(old_address, old_size, new_size, flags, new_address);
H A Dsys_msg.cpp47 int msgget(key_t key, int flags) { argument
49 return syscall(SYS_msgget, key, flags);
51 return syscall(SYS_ipc, MSGGET, key, flags, 0, 0, 0);
55 ssize_t msgrcv(int id, void* msg, size_t n, long type, int flags) { argument
57 return syscall(SYS_msgrcv, id, msg, n, type, flags);
59 return syscall(SYS_ipc, IPCCALL(1, MSGRCV), id, n, flags, msg, type);
63 int msgsnd(int id, const void* msg, size_t n, int flags) { argument
65 return syscall(SYS_msgsnd, id, msg, n, flags);
67 return syscall(SYS_ipc, MSGSND, id, n, flags, msg, 0);
/bionic/libc/kernel/uapi/linux/netfilter/
H A Dxt_socket.h28 __u8 flags; member in struct:xt_socket_mtinfo1
32 __u8 flags; member in struct:xt_socket_mtinfo2
36 __u8 flags; member in struct:xt_socket_mtinfo3
H A Dxt_rpfilter.h29 __u8 flags; member in struct:xt_rpfilter_info
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/netfilter/
H A Dxt_socket.h28 __u8 flags; member in struct:xt_socket_mtinfo1
32 __u8 flags; member in struct:xt_socket_mtinfo2
36 __u8 flags; member in struct:xt_socket_mtinfo3
H A Dxt_rpfilter.h29 __u8 flags; member in struct:xt_rpfilter_info
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/netfilter/
H A Dxt_socket.h28 __u8 flags; member in struct:xt_socket_mtinfo1
32 __u8 flags; member in struct:xt_socket_mtinfo2
36 __u8 flags; member in struct:xt_socket_mtinfo3
H A Dxt_rpfilter.h29 __u8 flags; member in struct:xt_rpfilter_info
/bionic/libc/stdio/
H A Dvfwscanf.c111 int flags; /* flags as defined above */ local
154 flags = 0;
173 flags |= SUPPRESS;
176 flags |= MAXINT;
179 flags |= LONGDBL;
184 flags |= SHORTSHORT;
186 flags |= SHORT;
192 flags |= LLONG;
194 flags |
[all...]
/bionic/libc/include/
H A Dfcntl.h117 int open(const char* pathname, int flags, mode_t modes, ...) __overloadable
121 int open(const char* pathname, int flags) __overloadable
122 __enable_if(flags & O_CREAT, __open_too_few_args_error)
133 int flags) __overloadable {
134 return __open_2(pathname, flags);
138 int open(const char* const __pass_object_size pathname, int flags, mode_t modes)
140 return __open_real(pathname, flags, modes);
144 int openat(int dirfd, const char* pathname, int flags) __overloadable
145 __enable_if(flags & O_CREAT, __open_too_few_args_error)
149 int openat(int dirfd, const char* pathname, int flags, mode_
172 open(const char* pathname, int flags, ...) argument
191 openat(int dirfd, const char* pathname, int flags, ...) argument
[all...]
/bionic/tools/versioner/current/
H A Dfcntl.h117 int open(const char* pathname, int flags, mode_t modes, ...) __overloadable
121 int open(const char* pathname, int flags) __overloadable
122 __enable_if(flags & O_CREAT, __open_too_few_args_error)
133 int flags) __overloadable {
134 return __open_2(pathname, flags);
138 int open(const char* const __pass_object_size pathname, int flags, mode_t modes)
140 return __open_real(pathname, flags, modes);
144 int openat(int dirfd, const char* pathname, int flags) __overloadable
145 __enable_if(flags & O_CREAT, __open_too_few_args_error)
149 int openat(int dirfd, const char* pathname, int flags, mode_
172 open(const char* pathname, int flags, ...) argument
191 openat(int dirfd, const char* pathname, int flags, ...) argument
[all...]
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dsetvbuf.c45 int ret, flags; local
71 flags = fp->_flags;
72 if (flags & __SMBF)
74 flags &= ~(__SLBF | __SNBF | __SMBF | __SOPT | __SNPT | __SEOF);
85 flags |= __swhatbuf(fp, &iosize, &ttyflag);
107 fp->_flags = flags | __SNBF;
114 flags |= __SMBF;
131 flags |= __SNPT;
137 flags |= __SLBF;
138 fp->_flags = flags;
[all...]

Completed in 680 milliseconds

1234567891011>>