/prebuilts/ndk/8/platforms/android-5/arch-arm/usr/include/asm/ |
poll.h | 31 int fd; member in struct:pollfd
|
/prebuilts/ndk/8/platforms/android-5/arch-arm/usr/include/asm-generic/ |
poll.h | 41 int fd; member in struct:pollfd
|
/prebuilts/ndk/8/platforms/android-5/arch-mips/usr/include/asm-generic/ |
poll.h | 41 int fd; member in struct:pollfd
|
/prebuilts/ndk/8/platforms/android-5/arch-x86/usr/include/asm-generic/ |
poll.h | 41 int fd; member in struct:pollfd
|
/prebuilts/ndk/8/platforms/android-8/arch-arm/usr/include/asm/ |
poll.h | 31 int fd; member in struct:pollfd
|
/prebuilts/ndk/8/platforms/android-8/arch-arm/usr/include/asm-generic/ |
poll.h | 41 int fd; member in struct:pollfd
|
/prebuilts/ndk/8/platforms/android-8/arch-mips/usr/include/asm-generic/ |
poll.h | 41 int fd; member in struct:pollfd
|
/prebuilts/ndk/8/platforms/android-8/arch-x86/usr/include/asm-generic/ |
poll.h | 41 int fd; member in struct:pollfd
|
/prebuilts/ndk/8/platforms/android-9/arch-arm/usr/include/asm/ |
poll.h | 31 int fd; member in struct:pollfd
|
/prebuilts/ndk/8/platforms/android-9/arch-arm/usr/include/asm-generic/ |
poll.h | 41 int fd; member in struct:pollfd
|
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/asm-generic/ |
poll.h | 41 int fd; member in struct:pollfd
|
/prebuilts/ndk/8/platforms/android-9/arch-x86/usr/include/asm-generic/ |
poll.h | 41 int fd; member in struct:pollfd
|
/system/core/adb/ |
backup_service.c | 27 int fd; member in struct:__anon43988 45 adb_close(params->fd); 144 params->fd = s[0];
|
remount_service.c | 36 int fd; local 43 fd = unix_open("/proc/mounts", O_RDONLY); 44 if (fd < 0) 48 size = adb_read(fd, buf, sizeof(buf) - 1); 49 adb_close(fd); 92 static void write_string(int fd, const char* str) 94 writex(fd, str, strlen(str)); 97 void remount_service(int fd, void *cookie) 102 write_string(fd, "remount succeeded\n"); 106 write_string(fd, buffer) [all...] |
/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/ |
record_stream.c | 34 int fd; member in struct:RecordStream 45 extern RecordStream *record_stream_new(int fd, size_t maxRecordLen) 53 ret->fd = fd; 115 * Reads the next record from stream fd 166 countRead = read (p_rs->fd, p_rs->read_end, p_rs->buffer_end - p_rs->read_end);
|
zygote.c | 45 static int send_request(int fd, int sendStdio, int argc, const char **argv) 93 ret = sendmsg(fd, &msg, MSG_NOSIGNAL); 100 // Only send the fd's once 125 ret = sendmsg(fd, &msg, MSG_NOSIGNAL); 145 ret = recvmsg(fd, &msg, MSG_NOSIGNAL | MSG_WAITALL); 164 int fd; local 169 fd = socket_local_client(ZYGOTE_SOCKET, 172 if (fd < 0) { 181 pid = send_request(fd, 1, argc + 1, newargv); 190 err = read(fd, &dummy, sizeof(dummy)) 218 int fd = -1; local [all...] |
/system/core/libsync/ |
sync_test.c | 31 int fd[2]; member in struct:sync_thread_data 42 err = sync_wait(sync_data->fd[i], 10000); 51 info = sync_fence_info(sync_data->fd[i]); 95 int fd = sw_sync_fence_create(sync_timeline_fd, str, val); local 96 if (fd < 0) { 100 sync_data[i].fd[j] = fd; 101 printf("sync_data[%d].fd[%d] = %d;\n", i, j, fd); 109 sync_data[3].fd[j] = sync_merge(str, sync_data[0].fd[j], sync_data[1].fd[j]) [all...] |
/system/core/toolbox/ |
syren.c | 68 int fd; local 97 fd = open("/dev/eac", O_RDONLY); 98 if (fd < 0) { 113 if (ioctl(fd, cmd, &sio) < 0) { 120 close(fd); 139 if (ioctl(fd, cmd, &sio) < 0) { 150 close(fd);
|
uptime.c | 60 int fd, result; local 62 fd = open("/dev/alarm", O_RDONLY); 63 if (fd < 0) 64 return fd; 66 result = ioctl(fd, ANDROID_ALARM_GET_TIME(ANDROID_ALARM_ELAPSED_REALTIME), &ts); 67 close(fd);
|
/system/extras/ext4_utils/ |
make_ext4fs_main.c | 62 int fd; local 169 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644); 170 if (fd < 0) { 175 fd = STDOUT_FILENO; 178 exitcode = make_ext4fs_internal(fd, directory, mountpoint, fs_config_func, gzip, 180 close(fd);
|
/system/extras/fatblock/ |
fdpool.c | 29 .fd = INVALID_FD, 79 pfd->fd = INVALID_FD; 85 close(pfd->fd); 97 static void fdpool_pool(struct pooled_fd *pfd, int fd) 103 pfd->fd = fd; 122 int fd; local 124 if (pfd->fd != INVALID_FD) { 126 return pfd->fd; 129 fd = open(pathname, flags) [all...] |
/system/extras/tests/ext4/ |
rand_emmc_perf.c | 45 int fd, fd2, write_mode = 0, iops = 0; local 86 if ((fd = open(argv[optind + 1], O_RDWR | o_sync)) < 0) { 104 if (lseek64(fd, (rand() % max_blocks) * TST_BLK_SIZE, SEEK_SET) < 0) { 108 if (write(fd, buf, sizeof(buf)) != sizeof(buf)) { 112 if (read(fd, buf, sizeof(buf)) != sizeof(buf)) { 120 close(fd);
|
/system/netd/ |
main.cpp | 102 int dfd, fd; local 106 fd = openat(dfd, "uevent", O_WRONLY); 107 if(fd >= 0) { 108 write(fd, "add\n", 4); 109 close(fd); 121 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY); 122 if(fd < 0) 125 d2 = fdopendir(fd); 127 close(fd);
|
/system/vold/ |
Fat.cpp | 155 int fd; local
|