/external/strace/tests-m32/ |
libmmsg.c | 45 recv_mmsg(const int fd, struct mmsghdr *const vec, 50 fd, (long) vec, vlen, flags, (long) timeout); 59 send_mmsg(const int fd, struct mmsghdr *const vec, 63 fd, (long) vec, vlen, flags, 0);
|
netlink_netfilter.c | 40 test_nlmsg_type(const int fd) 50 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 54 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); 58 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 63 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); 66 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 70 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); 75 skip_if_unavailable("/proc/self/fd/"); 77 int fd = create_nl_socket(NETLINK_NETFILTER); local 79 test_nlmsg_type(fd); [all...] |
netlink_protocol.c | 46 send_query(const int fd) 64 rc = sendto(fd, NULL, sizeof(*req), MSG_DONTWAIT, NULL, 0); 66 fd, (unsigned) sizeof(*req), sprintrc(rc)); 69 rc = sendto(fd, req, 0, MSG_DONTWAIT, NULL, 0); 71 fd, sprintrc(rc)); 74 rc = sendto(fd, NULL, 0, MSG_DONTWAIT, NULL, 0); 76 fd, sprintrc(rc)); 80 rc = sendto(fd, efault, sizeof(struct nlmsghdr), MSG_DONTWAIT, NULL, 0); 82 fd, efault, (unsigned) sizeof(struct nlmsghdr), sprintrc(rc)); 85 rc = sendto(fd, req->magic, sizeof(req->magic), MSG_DONTWAIT, NULL, 0) 407 const int fd = create_nl_socket(NETLINK_SOCK_DIAG); local [all...] |
netlink_route.c | 86 test_nlmsg_type(const int fd) 95 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 99 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); 103 test_nlmsg_flags(const int fd) 112 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 116 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); 120 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 124 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); 128 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 132 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)) 461 int fd = create_nl_socket(NETLINK_ROUTE); local [all...] |
/external/strace/tests-mx32/ |
libmmsg.c | 45 recv_mmsg(const int fd, struct mmsghdr *const vec, 50 fd, (long) vec, vlen, flags, (long) timeout); 59 send_mmsg(const int fd, struct mmsghdr *const vec, 63 fd, (long) vec, vlen, flags, 0);
|
netlink_netfilter.c | 40 test_nlmsg_type(const int fd) 50 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 54 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); 58 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 63 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); 66 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 70 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); 75 skip_if_unavailable("/proc/self/fd/"); 77 int fd = create_nl_socket(NETLINK_NETFILTER); local 79 test_nlmsg_type(fd); [all...] |
netlink_protocol.c | 46 send_query(const int fd) 64 rc = sendto(fd, NULL, sizeof(*req), MSG_DONTWAIT, NULL, 0); 66 fd, (unsigned) sizeof(*req), sprintrc(rc)); 69 rc = sendto(fd, req, 0, MSG_DONTWAIT, NULL, 0); 71 fd, sprintrc(rc)); 74 rc = sendto(fd, NULL, 0, MSG_DONTWAIT, NULL, 0); 76 fd, sprintrc(rc)); 80 rc = sendto(fd, efault, sizeof(struct nlmsghdr), MSG_DONTWAIT, NULL, 0); 82 fd, efault, (unsigned) sizeof(struct nlmsghdr), sprintrc(rc)); 85 rc = sendto(fd, req->magic, sizeof(req->magic), MSG_DONTWAIT, NULL, 0) 407 const int fd = create_nl_socket(NETLINK_SOCK_DIAG); local [all...] |
netlink_route.c | 86 test_nlmsg_type(const int fd) 95 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 99 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); 103 test_nlmsg_flags(const int fd) 112 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 116 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); 120 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 124 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)); 128 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0); 132 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc)) 461 int fd = create_nl_socket(NETLINK_ROUTE); local [all...] |
/external/syslinux/com32/lib/ |
fopen.c | 13 int fd; local 37 fd = open(file, flags, 0666); 39 if (fd < 0) 42 return fdopen(fd, mode);
|
fopendev.c | 13 int fd; local 37 fd = opendev(file, flags); 39 if (fd < 0) 42 return fdopen(fd, mode);
|
/external/syslinux/com32/lib/sys/ |
zfopen.c | 14 int fd; local 38 fd = zopen(file, flags, 0666); 40 if (fd < 0) 43 return fdopen(fd, mode);
|
/external/valgrind/memcheck/tests/ |
sendmsg.c | 14 int fd; local 19 fd = socket (AF_INET, SOCK_DGRAM, 0); 20 if (fd == -1) 29 if (connect (fd, (struct sockaddr *) &sa, sizeof (sa)) == -1) 46 size_t s = sendmsg (fd, &msg, 0); 52 fd = socket (AF_INET, SOCK_DGRAM, 0); 53 if (fd == -1) 59 if (connect (fd, (struct sockaddr *) &sa, sizeof (sa)) == -1) 65 s = sendmsg (fd, &msg, 0);
|
/external/valgrind/none/tests/ |
mmap_fcntl_bug.c | 21 int fd, status; local 27 fd = open(file, O_RDWR); 28 if (fd < 0) 31 // reproduce bug 297991: mmap interferes with fd position 32 initial = lseek(fd, 123, SEEK_SET); 35 if (lseek(fd, 0, SEEK_CUR) != 123) 44 if (fcntl(fd, F_SETLK, &fl) != 0) 48 if (mmap(NULL, getpagesize(), PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0) == MAP_FAILED) 50 if (lseek(fd, 0, SEEK_CUR) != 123) 56 if (fcntl(fd, F_SETLK, &fl) == 0 [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
AudioCollections.cpp | 38 status_t AudioRouteVector::dump(int fd, int spaces) const 47 write(fd, buffer, strlen(buffer)); 50 write(fd, buffer, strlen(buffer)); 51 itemAt(i)->dump(fd, 4);
|
/frameworks/base/core/java/android/app/backup/ |
BackupDataOutput.java | 77 public BackupDataOutput(FileDescriptor fd) { 78 this(fd, /*quota=*/ -1, /*transportFlags=*/ 0); 83 public BackupDataOutput(FileDescriptor fd, long quota) { 84 this(fd, quota, /*transportFlags=*/ 0); 88 public BackupDataOutput(FileDescriptor fd, long quota, int transportFlags) { 89 if (fd == null) throw new NullPointerException(); 92 mBackupWriter = ctor(fd); 94 throw new RuntimeException("Native initialization failed with fd=" + fd); 168 private native static long ctor(FileDescriptor fd); [all...] |
/frameworks/native/libs/binder/ |
IShellCallback.cpp | 51 int fd = reply.readParcelFileDescriptor(); local 52 return fd >= 0 ? fcntl(fd, F_DUPFD_CLOEXEC, 0) : fd; 70 int fd = openFile(path, seLinuxContext, mode); local 73 if (fd >= 0) { 75 reply->writeParcelFileDescriptor(fd, true); 79 } else if (fd >= 0) { 80 close(fd);
|
/frameworks/native/services/surfaceflinger/tests/waitforvsync/ |
waitforvsync.cpp | 33 int fd = open("/dev/graphics/fb0", O_RDWR); local 34 if (fd >= 0) { 37 int err = ioctl(fd, FBIO_WAITFORVSYNC, &crt); 43 close(fd);
|
/hardware/intel/common/libva/va/drm/ |
va_drm_auth_x11.h | 33 va_drm_authenticate_x11(int fd, uint32_t magic);
|
/hardware/intel/common/libva/va/ |
va_drmcommon.h | 66 int fd; member in struct:drm_state
|
/hardware/invensense/6515/libsensors_iio/ |
MPLSupport.h | 23 int read_attribute_sensor(int fd, char* data, unsigned int size); 24 int enable_sysfs_sensor(int fd, int en); 25 int write_attribute_sensor(int fd, long data); 26 int write_attribute_sensor_continuous(int fd, long data);
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
ml_load_dmp.h | 28 inv_error_t inv_load_dmp(FILE *fd);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
ml_load_dmp.h | 28 inv_error_t inv_load_dmp(FILE *fd);
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/ |
mm_camera_sock.h | 55 int fd, 61 int fd, 68 int fd, 73 void mm_camera_socket_close(int fd);
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/inc/ |
mm_qcamera_socket.h | 37 #define __FD_SET(fd, fdsetp) \ 38 (((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] |= (1LU<<((fd) & 31))) 41 #define __FD_CLR(fd, fdsetp) \ 42 (((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] &= ~(1LU<<((fd) & 31))) 45 #define __FD_ISSET(fd, fdsetp) \ 46 ((((fd_set *)(fdsetp))->fds_bits[(fd) >> 5] & (1LU<<((fd) & 31))) != 0)
|
/hardware/qcom/display/msm8226/libgralloc/ |
memalloc.h | 45 int fd; member in struct:gralloc::alloc_data 60 // and fd are returned in the alloc_data struct 65 unsigned int offset, int fd) = 0; 69 unsigned int offset, int fd) = 0; 77 unsigned int offset, int fd, int op) = 0;
|