Searched defs:fd (Results 176 - 200 of 1450) sorted by relevance

1234567891011>>

/external/chromium_org/sandbox/linux/tests/
H A Dscoped_temporary_file.h19 int fd() const { return fd_; } function in class:sandbox::ScopedTemporaryFile
/external/chromium_org/third_party/libevent/sample/
H A Dsignal-test.c33 signal_cb(int fd, short event, void *arg) argument
/external/chromium_org/third_party/libva/va/
H A Dva_drmcommon.h66 int fd; member in struct:drm_state
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/
H A Dos_mman.h64 static INLINE void *os_mmap(void *addr, size_t length, int prot, int flags, int fd, loff_t offset) argument
72 return __mmap2(addr, length, prot, flags, fd, (size_t) (offset >> 12));
77 # define os_mmap(addr, length, prot, flags, fd, offset) mmap(addr, length, prot, flags, fd, offset)
/external/chromium_org/third_party/mesa/src/src/gbm/main/
H A Dcommon.c40 _gbm_udev_device_new_from_fd(struct udev *udev, int fd) argument
45 if (fstat(fd, &buf) < 0) {
46 fprintf(stderr, "gbm: failed to stat fd %d", fd);
53 "gbm: could not create udev device for fd %d", fd);
61 _gbm_fd_get_device_name(int fd) argument
69 device = _gbm_udev_device_new_from_fd(udev, fd);
/external/chromium_org/ui/events/ozone/evdev/
H A Devent_converter_evdev.cc13 EventConverterEvdev::EventConverterEvdev(int fd, const base::FilePath& path) argument
14 : fd_(fd), path_(path) {
30 void EventConverterEvdev::OnFileCanWriteWithoutBlocking(int fd) { argument
/external/chromium_org/ui/events/platform/x11/
H A Dx11_event_source_libevent.cc35 int fd = ConnectionNumber(display()); local
36 base::MessageLoopForUI::current()->WatchFileDescriptor(fd, true,
47 virtual void OnFileCanReadWithoutBlocking(int fd) OVERRIDE {
51 virtual void OnFileCanWriteWithoutBlocking(int fd) OVERRIDE {
/external/clang/test/CodeGen/
H A Dinit-with-member-expr.c15 int is_rar_archive(int fd) { argument
/external/compiler-rt/test/tsan/
H A Dgetline_nohang.cc12 int fd[2]; local
13 pipe(fd);
15 FILE *stream = fdopen(fd[0], "r");
/external/e2fsprogs/lib/e2p/
H A Dfgetversion.c43 int fd, r, ver, save_errno = 0; local
45 fd = open (name, OPEN_FLAGS);
46 if (fd == -1)
48 r = ioctl (fd, EXT2_IOC_GETVERSION, &ver);
52 close (fd);
H A Dfsetversion.c43 int fd, r, ver, save_errno = 0; local
45 fd = open (name, OPEN_FLAGS);
46 if (fd == -1)
49 r = ioctl (fd, EXT2_IOC_SETVERSION, &ver);
52 close (fd);
/external/e2fsprogs/misc/
H A Dpartinfo.c29 int fd, i; local
47 fd = open(argv[i], O_RDONLY);
49 if (fd < 0) {
55 if (ioctl(fd, HDIO_GETGEO, &loc) < 0) {
58 close(fd);
63 if (ioctl(fd, BLKGETSIZE, &size) < 0) {
66 close(fd);
74 close(fd);
/external/elfutils/0.153/libdwfl/
H A Ddwfl_build_id_find_debuginfo.c64 int fd = -1; local
68 fd = __libdwfl_open_by_build_id (mod, true, debuginfo_file_name);
69 if (fd >= 0)
74 Dwfl_Error error = __libdw_open_file (&fd, &mod->debug.elf, true, false);
82 return fd;
89 close (fd);
90 fd = -1;
96 return fd;
/external/iptables/include/libipq/
H A Dlibipq.h50 int fd; member in struct:ipq_handle
/external/jemalloc/test/unit/
H A Dprof_idump.c14 int fd; local
18 fd = open("/dev/null", O_WRONLY);
19 assert_d_ne(fd, -1, "Unexpected open() failure");
21 return (fd);
/external/libselinux/src/
H A Dcanonicalize_context.c18 int fd, ret; local
26 fd = open(path, O_RDWR);
27 if (fd < 0)
38 ret = write(fd, buf, strlen(buf) + 1);
43 ret = read(fd, buf, size - 1);
59 close(fd);
H A Dcompute_create.c21 int fd, ret; local
29 fd = open(path, O_RDWR);
30 if (fd < 0)
41 ret = write(fd, buf, strlen(buf));
46 ret = read(fd, buf, size - 1);
59 close(fd);
H A Denabled.c75 int fd, ret, enabled = 0; local
81 fd = open(path, O_RDONLY);
82 if (fd < 0)
88 ret = read(fd, buf, sizeof buf - 1);
90 close(fd);
H A Dget_initial_context.c19 int fd, ret; local
28 fd = open(path, O_RDONLY);
29 if (fd < 0)
39 ret = read(fd, buf, size - 1);
52 close(fd);
H A Dgetpeercon.c14 int getpeercon(int fd, char ** context) argument
26 ret = getsockopt(fd, SOL_SOCKET, SO_PEERSEC, buf, &size);
36 ret = getsockopt(fd, SOL_SOCKET, SO_PEERSEC, buf, &size);
/external/mesa3d/src/gallium/auxiliary/os/
H A Dos_mman.h64 static INLINE void *os_mmap(void *addr, size_t length, int prot, int flags, int fd, loff_t offset) argument
72 return __mmap2(addr, length, prot, flags, fd, (size_t) (offset >> 12));
77 # define os_mmap(addr, length, prot, flags, fd, offset) mmap(addr, length, prot, flags, fd, offset)
/external/mesa3d/src/gbm/main/
H A Dcommon.c40 _gbm_udev_device_new_from_fd(struct udev *udev, int fd) argument
45 if (fstat(fd, &buf) < 0) {
46 fprintf(stderr, "gbm: failed to stat fd %d", fd);
53 "gbm: could not create udev device for fd %d", fd);
61 _gbm_fd_get_device_name(int fd) argument
69 device = _gbm_udev_device_new_from_fd(udev, fd);
/external/nanopb-c/examples/network_server/
H A Dcommon.c13 int fd = (intptr_t)stream->state; local
14 return send(fd, buf, count, 0) == count;
19 int fd = (intptr_t)stream->state; local
22 result = recv(fd, buf, count, MSG_WAITALL);
30 pb_ostream_t pb_ostream_from_socket(int fd) argument
32 pb_ostream_t stream = {&write_callback, (void*)(intptr_t)fd, SIZE_MAX, 0};
36 pb_istream_t pb_istream_from_socket(int fd) argument
38 pb_istream_t stream = {&read_callback, (void*)(intptr_t)fd, SIZE_MAX};
/external/netcat/
H A Datomicio.c41 atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) argument
48 pfd.fd = fd;
51 res = (f) (fd, s + pos, n - pos);
/external/qemu/android/base/files/
H A DScopedFd_unittest.cpp51 int fd = f.release(); local
53 EXPECT_NE(-1, fd);
54 ::close(fd);

Completed in 560 milliseconds

1234567891011>>