Searched defs:fd (Results 126 - 150 of 1450) sorted by relevance

1234567891011>>

/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/socket/
H A Drecvfrom.c10 ssize_t recvfrom(int fd, void* buf, size_t len, int flags, argument
12 return ki_recvfrom(fd, buf, len, flags, addr, addrlen);
H A Dsendto.c10 ssize_t sendto(int fd, const void* buf, size_t len, int flags, argument
12 return ki_sendto(fd, buf, len, flags, addr, addrlen);
H A Dsetsockopt.c10 int setsockopt(int fd, int lvl, int optname, const void* optval, argument
12 return ki_setsockopt(fd, lvl, optname, optval, len);
/external/chromium_org/net/third_party/nss/ssl/
H A Dprelib.c20 PEHeader *SSL_PreencryptedStreamToFile(PRFileDesc *fd, PEHeader *inHeader, argument
27 PEHeader *SSL_PreencryptedFileToStream(PRFileDesc *fd, PEHeader *header, argument
/external/chromium_org/third_party/mesa/src/src/gallium/targets/dri-r600/
H A Dtarget.c6 static struct pipe_screen *create_screen(int fd) argument
11 radeon = radeon_drm_winsys_create(fd);
/external/chromium_org/third_party/mesa/src/src/gallium/targets/dri-radeonsi/
H A Dtarget.c6 static struct pipe_screen *create_screen(int fd) argument
11 radeon = radeon_drm_winsys_create(fd);
/external/chromium_org/third_party/mesa/src/src/gallium/targets/dri-vmwgfx/
H A Dtarget.c9 create_screen(int fd) argument
14 sws = svga_drm_winsys_screen_create(fd);
/external/chromium_org/third_party/npapi/npspy/extern/nspr/private/
H A Dpprio.h66 NSPR_API(void) PR_FreeFileDesc(PRFileDesc *fd); variable
112 NSPR_API(PRStatus) PR_DestroySocketPollFd(PRFileDesc *fd); variable
145 NSPR_API(PRStatus) PR_LockFile(PRFileDesc *fd); variable
155 NSPR_API(PRStatus) PR_TLockFile(PRFileDesc *fd); variable
165 NSPR_API(PRStatus) PR_UnlockFile(PRFileDesc *fd); variable
227 NSPR_API(PRFileDesc*) PR_NTFast_Accept(PRFileDesc *fd, PRNetAddr *addr,
244 ** Cancel IO operations on fd.
246 NSPR_API(PRStatus) PR_NT_CancelIo(PRFileDesc *fd); variable
/external/chromium_org/third_party/webrtc/base/
H A Dplatform_file.cc27 int fd = _open_osfhandle(reinterpret_cast<intptr_t>(file), 0); local
28 if (fd < 0)
31 return _fdopen(fd, "w");
/external/chromium_org/tools/android/forwarder2/
H A Dcommon.cc20 void CloseFD(int fd) { argument
22 if (IGNORE_EINTR(close(fd)) < 0) {
/external/compiler-rt/test/asan/TestCases/Posix/
H A Dioctl.cc14 int fd = socket(AF_INET, SOCK_DGRAM, 0); local
17 int res = ioctl(fd, FIONBIO, &nonblock + 1);
22 close(fd);
/external/compiler-rt/test/msan/Linux/
H A Dtcgetattr.cc11 int fd = getpt(); local
12 assert(fd >= 0);
15 int res = tcgetattr(fd, &t);
/external/compiler-rt/test/msan/
H A Dioctl.cc11 int fd = socket(AF_INET, SOCK_DGRAM, 0); local
14 int res = ioctl(fd, FIOGETOWN, &z);
16 close(fd);
H A Dioctl_custom.cc17 int fd = socket(AF_INET, SOCK_STREAM, 0); local
25 int res = ioctl(fd, SIOCGIFCONF, (void *)&ifc);
H A Dioctl_sound.cc16 int fd = open("/dev/snd/controlC0", O_RDONLY); local
17 if (fd < 0) {
24 assert(ioctl(fd, SNDRV_CTL_IOCTL_CARD_INFO, info) >= 0);
26 close(fd);
/external/compiler-rt/test/tsan/
H A Drace_on_read.cc11 int fd; variable
16 read(fd, &buf, 1);
21 fd = open("/dev/random", O_RDONLY);
22 if (fd < 0) {
31 close(fd);
H A Drace_on_write.cc9 int fd; variable
19 write(fd, &buf, 1);
24 fd = open("/dev/null", O_WRONLY);
25 if (fd < 0) return 1;
32 close(fd);
/external/e2fsprogs/e2fsck/
H A Dflushb.c40 int fd; local
46 fd = open(argv[1], O_RDONLY, 0);
47 if (fd < 0) {
56 if (ioctl(fd, BLKFLSBUF, 0) < 0) {
/external/fio/os/windows/posix/include/sys/
H A Dpoll.h8 int fd; member in struct:pollfd
/external/libnfc-nci/src/nfa/include/
H A Dnfa_nv_ci.h39 int fd; member in struct:__anon24050
48 int fd; member in struct:__anon24051
/external/libselinux/src/
H A Ddeny_unknown.c14 int fd, ret, deny_unknown = 0; local
24 fd = open(path, O_RDONLY);
25 if (fd < 0)
29 ret = read(fd, buf, sizeof(buf) - 1);
30 close(fd);
H A Dfgetfilecon.c10 int fgetfilecon(int fd, char ** context) argument
22 ret = fgetxattr(fd, XATTR_NAME_SELINUX, buf, size - 1);
26 size = fgetxattr(fd, XATTR_NAME_SELINUX, NULL, 0);
37 ret = fgetxattr(fd, XATTR_NAME_SELINUX, buf, size - 1);
H A Dgetenforce.c14 int fd, ret, enforce = 0; local
24 fd = open(path, O_RDONLY);
25 if (fd < 0)
29 ret = read(fd, buf, sizeof buf - 1);
30 close(fd);
H A Dload_policy.c22 int fd, ret; local
30 fd = open(path, O_RDWR);
31 if (fd < 0)
34 ret = write(fd, data, len);
35 close(fd);
H A Dpolicyvers.c15 int fd, ret; local
26 fd = open(path, O_RDONLY);
27 if (fd < 0) {
34 ret = read(fd, buf, sizeof buf - 1);
35 close(fd);

Completed in 356 milliseconds

1234567891011>>