/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/ |
stdio_filebuf.h | 65 * @param fd An open file descriptor. 105 fd() { return this->_M_file.fd(); } function in class:stdio_filebuf
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/ |
stdio_filebuf.h | 65 * @param fd An open file descriptor. 105 fd() { return this->_M_file.fd(); } function in class:stdio_filebuf
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/ |
stdio_filebuf.h | 69 * @param fd An open file descriptor. 109 fd() { return this->_M_file.fd(); } function in class:stdio_filebuf
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/ |
stdio_filebuf.h | 110 fd() { return this->_M_file.fd(); } function in class:stdio_filebuf
|
/prebuilts/ndk/9/platforms/android-19/arch-arm64/usr/include/linux/usb/ |
f_mtp.h | 25 int fd; member in struct:mtp_file_range
|
/prebuilts/ndk/9/platforms/android-19/arch-mips64/usr/include/linux/usb/ |
f_mtp.h | 25 int fd; member in struct:mtp_file_range
|
/prebuilts/ndk/9/platforms/android-19/arch-x86_64/usr/include/linux/usb/ |
f_mtp.h | 25 int fd; member in struct:mtp_file_range
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/ |
stdio_filebuf.h | 69 * @param fd An open file descriptor. 109 fd() { return this->_M_file.fd(); } function in class:stdio_filebuf
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/ |
stdio_filebuf.h | 110 fd() { return this->_M_file.fd(); } function in class:stdio_filebuf
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/ext/ |
stdio_filebuf.h | 109 fd() { return this->_M_file.fd(); } function in class:stdio_filebuf
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/ |
stdio_filebuf.h | 109 fd() { return this->_M_file.fd(); } function in class:stdio_filebuf
|
/system/core/adb/ |
fdevent.h | 33 typedef void (*fd_func)(int fd, unsigned events, void *userdata); 36 * Note: use FD_TIMER as 'fd' to create a fd-less object 39 fdevent *fdevent_create(int fd, fd_func func, void *arg); 48 void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg); 72 int fd; member in struct:fdevent
|
/system/core/fastbootd/ |
config.c | 100 int fd; local 106 fd = open(CONFIG_PATH, O_RDONLY); 107 if (fd < 0) { 112 len = lseek(fd, 0, SEEK_END); 118 lseek(fd, 0, SEEK_SET); 127 ret = read(fd, buffer + count, len - count);
|
/system/core/include/cutils/ |
sockets.h | 51 int fd; local 70 fd = strtol(val, NULL, 10); 74 return fd; 94 extern int socket_local_client_connect(int fd, 108 extern bool socket_peer_is_trusted(int fd);
|
/system/core/init/ |
keychords.c | 67 int fd, ret; local 75 fd = open("/dev/keychord", O_RDWR); 76 if (fd < 0) { 80 fcntl(fd, F_SETFD, FD_CLOEXEC); 82 ret = write(fd, keychords, keychords_length); 85 close(fd); 86 fd = -1; 92 keychord_fd = fd;
|
/system/core/libcutils/ |
android_reboot.c | 84 int fd, cnt = 0; local 89 fd = open("/proc/sysrq-trigger", O_WRONLY); 90 if (fd < 0) { 93 write(fd, "u", 1); 94 close(fd);
|
ashmem-host.c | 53 int fd; local 71 fd = open(name, O_RDWR | O_CREAT | O_EXCL, 0600); 72 if (fd == -1) { 78 } while (fd == -1); 80 if (ftruncate(fd, size) != -1 && unlink(name) != -1) { 81 return fd; 83 close(fd); 87 int ashmem_set_prot_region(int fd __unused, int prot __unused) 92 int ashmem_pin_region(int fd __unused, size_t offset __unused, size_t len __unused) 97 int ashmem_unpin_region(int fd __unused, size_t offset __unused, size_t len __unused [all...] |
/system/core/libion/ |
ion.c | 35 int fd = open("/dev/ion", O_RDWR); local 36 if (fd < 0) 38 return fd; 41 int ion_close(int fd) 43 int ret = close(fd); 49 static int ion_ioctl(int fd, int req, void *arg) 51 int ret = ioctl(fd, req, arg); 60 int ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask, 74 ret = ion_ioctl(fd, ION_IOC_ALLOC, &data); 81 int ion_free(int fd, ion_user_handle_t handle [all...] |
/system/core/libion/tests/ |
invalid_values_test.cpp | 81 int fd; local 83 int ret = ion_alloc_fd(0, 4096, 0, m_firstHeap, 0, &fd); 86 EXPECT_EQ(-EBADF, ion_alloc_fd(-1, 4096, 0, m_firstHeap, 0, &fd)); 88 EXPECT_EQ(-ENODEV, ion_alloc_fd(m_ionFd, 4096, 0, 0, 0, &fd)); 92 EXPECT_EQ(-EINVAL, ion_alloc_fd(m_ionFd, 0, 0, heapMask, 0, &fd)); 94 EXPECT_EQ(-EINVAL, ion_alloc_fd(m_ionFd, -1, 0, heapMask, 0, &fd)); 96 EXPECT_EQ(-EINVAL, ion_alloc_fd(m_ionFd, 4096, -1, heapMask, 0, &fd)); 104 /* invalid ion fd */ 107 /* invalid ion fd */ 120 /* invalid ion fd */ [all...] |
/system/core/toolbox/ |
hd.c | 13 int fd; local 52 fd = open(argv[optind], O_RDONLY); 53 if(fd < 0) { 60 lseek(fd, base, SEEK_SET); 69 res = read(fd, &buf, read_len);
|
insmod.c | 16 int ret, fd; local 22 fd = open(filename, O_RDONLY); 23 if (fd < 0) 27 if (fstat(fd, &sb) < 0) 37 ret = read(fd, buffer, size); 45 close(fd);
|
ioctl.c | 16 int fd; local 67 fd = STDIN_FILENO; 69 fd = open(argv[optind], read_only ? O_RDONLY : (O_RDWR | O_SYNC)); 70 if (fd < 0) { 113 res = ioctl(fd, ioctl_nr, *(uint32_t*)ioctl_args); 115 res = ioctl(fd, ioctl_nr, ioctl_args); 117 res = ioctl(fd, ioctl_nr, 0);
|
r.c | 59 int fd = open("/dev/mem", O_RDWR | O_SYNC); local 60 if(fd < 0) { 70 MAP_SHARED, fd, mmap_start);
|
touch.c | 44 int i, fd, aflag = 0, mflag = 0, debug = 0, flags = 0; local 89 if ((fd=creat(file, 0666)) != -1) 90 close(fd);
|
/system/extras/tests/storage/ |
wipe_blkdev.c | 37 static u64 get_block_device_size(int fd) 42 ret = ioctl(fd, BLKGETSIZE64, &size); 50 static int wipe_block_device(int fd, u64 len, int secure) 64 ret = ioctl(fd, req, &range); 83 int fd; local 103 fd = open(devname, O_RDWR); 104 if (fd < 0) { 109 if (fstat(fd, &statbuf) < 0) { 119 len = get_block_device_size(fd); 126 ret = wipe_block_device(fd, len, secure) [all...] |