/system/bluetooth/tools/ |
D | pipetest.c | 46 static int _close(int fd) { in _close() 72 static int _write(int fd, char *buf, int len) { in _write() 83 static int _read(int fd) { in _read() 95 static int _shutdown(int fd, int how) { in _shutdown() 106 int fd = (int)args; in thread_poll() local 116 int fd = (int)args; in thread_pollin() local 126 int fd = (int)args; in thread_pollin_rand_delay() local 138 int fd = (int)args; in thread_read() local 145 int fd = (int)args; in thread_close() local 154 int fd[2]; in do_poll_poll_close() local [all …]
|
D | socktest.c | 51 int fd; member 126 static int _close(int fd, int type) { in _close() 137 static int _bind(int fd, int type) { in _bind() 174 static int _listen(int fd, int type) { in _listen() 185 static int _read(int fd) { in _read() 198 static int _accept(int fd, int type) { in _accept() 251 static int _connect(int fd, int type) { in _connect() 288 static int _write(int fd, int type) { in _write() 300 static int _shutdown(int fd, int how) { in _shutdown() 339 int fd = (int)args; in thread_poll() local [all …]
|
D | asocket_test.c | 52 int fd; member 127 static int _close(int fd, int type) { in _close() 138 static int _bind(int fd, int type) { in _bind() 175 static int _listen(int fd, int type) { in _listen() 186 static int _read(int fd) { in _read() 199 static int _accept(int fd, int type) { in _accept() 238 static int _connect(int fd, int type) { in _connect() 274 static int _write(int fd, int type) { in _write() 286 static int _shutdown(int fd, int how) { in _shutdown() 325 int fd = (int)args; in thread_poll() local [all …]
|
D | sock_shutdown_test.c | 50 int fd; member 109 static int _close(int fd) { in _close() 120 static int _bind(int fd, int type) { in _bind() 157 static int _listen(int fd, int type) { in _listen() 168 static int _accept(int fd, int type) { in _accept() 207 static int _shutdown(int fd, int how) { in _shutdown() 226 int fd; in do_accept_shutdown() local
|
/system/core/libion/ |
D | ion.c | 35 int fd = open("/dev/ion", O_RDWR); in ion_open() local 41 int ion_close(int fd) in ion_close() 46 static int ion_ioctl(int fd, int req, void *arg) in ion_ioctl() 57 int ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask, in ion_alloc() 75 int ion_free(int fd, struct ion_handle *handle) in ion_free() 83 int ion_map(int fd, struct ion_handle *handle, size_t length, int prot, in ion_map() 106 int ion_share(int fd, struct ion_handle *handle, int *share_fd) in ion_share() 124 int ion_alloc_fd(int fd, size_t len, size_t align, unsigned int heap_mask, in ion_alloc_fd() 137 int ion_import(int fd, int share_fd, struct ion_handle **handle) in ion_import() 150 int ion_sync_fd(int fd, int handle_fd) in ion_sync_fd()
|
D | ion_test.c | 26 int _ion_alloc_test(int *fd, struct ion_handle **handle) in _ion_alloc_test() 43 int fd, ret; in ion_alloc_test() local 60 int fd, map_fd, ret; in ion_map_test() local 121 int fd, share_fd, ret; in ion_share_test() local 156 int fd, recv_fd; in ion_share_test() local
|
/system/core/libcutils/ |
D | ashmem-dev.c | 44 int fd, ret; in ashmem_create_region() local 70 int ashmem_set_prot_region(int fd, int prot) in ashmem_set_prot_region() 75 int ashmem_pin_region(int fd, size_t offset, size_t len) in ashmem_pin_region() 81 int ashmem_unpin_region(int fd, size_t offset, size_t len) in ashmem_unpin_region() 87 int ashmem_get_size_region(int fd) in ashmem_get_size_region()
|
D | ashmem-host.c | 42 int fd; in ashmem_create_region() local 81 int ashmem_set_prot_region(int fd, int prot) in ashmem_set_prot_region() 86 int ashmem_pin_region(int fd, size_t offset, size_t len) in ashmem_pin_region() 91 int ashmem_unpin_region(int fd, size_t offset, size_t len) in ashmem_unpin_region() 96 int ashmem_get_size_region(int fd) in ashmem_get_size_region()
|
D | zygote.c | 45 static int send_request(int fd, int sendStdio, int argc, const char **argv) in send_request() 164 int fd; in zygote_run_wait() local 218 int fd = -1; in zygote_run_oneshot() local
|
/system/extras/ext4_utils/ |
D | ext4fixup.c | 87 static void read_sb(int fd, struct ext4_super_block *sb) in read_sb() 103 static void write_sb(int fd, unsigned long long offset, struct ext4_super_block *sb) in write_sb() 122 static int get_fs_fixup_state(int fd) in get_fs_fixup_state() 153 static int set_fs_fixup_state(int fd, int state) in set_fs_fixup_state() 199 static int read_ext(int fd) in read_ext() 258 static int read_inode(int fd, unsigned int inum, struct ext4_inode *inode) in read_inode() 282 static int read_block(int fd, unsigned long long block_num, void *block) in read_block() 301 static int write_block(int fd, unsigned long long block_num, void *block) in write_block() 339 static void check_inode_bitmap(int fd, unsigned int bg_num) in check_inode_bitmap() 371 static int update_superblocks_and_bg_desc(int fd, int state) in update_superblocks_and_bg_desc() [all …]
|
D | wipe.c | 33 int wipe_block_device(int fd, s64 len) in wipe_block_device() 57 int wipe_block_device(int fd, s64 len) in wipe_block_device()
|
/system/core/adb/ |
D | adb_client.c | 86 static int switch_socket_transport(int fd) in switch_socket_transport() 134 int adb_status(int fd) in adb_status() 174 int fd; in _adb_connect() local 212 int fd = _adb_connect("host:version"); in adb_connect() local 282 int fd = adb_connect(service); in adb_command() local 302 int fd = adb_connect(service); in adb_query() local
|
D | services.c | 43 int fd; member 59 static void dns_service(int fd, void *cookie) in dns_service() 83 int fd; in recover_service() local 110 void restart_root_service(int fd, void *cookie) in restart_root_service() 135 void restart_tcp_service(int fd, void *cookie) in restart_tcp_service() 155 void restart_usb_service(int fd, void *cookie) in restart_usb_service() 165 void reboot_service(int fd, void *arg) in reboot_service() 341 static void subproc_waiter_service(int fd, void *cookie) in subproc_waiter_service() 502 static void wait_for_state(int fd, void* cookie) in wait_for_state() 553 int fd = create_service_thread(wait_for_state, sinfo); in host_service_to_socket() local
|
D | sysdeps.h | 79 static __inline__ void close_on_exec(int fd) in close_on_exec() 121 static __inline__ int unix_close(int fd) in unix_close() 128 static __inline__ int unix_read(int fd, void* buf, size_t len) in unix_read() 135 static __inline__ int unix_write(int fd, const void* buf, size_t len) in unix_write() 199 int fd; member 219 static __inline__ int adb_socket_setbufsize( int fd, int bufsize ) in adb_socket_setbufsize() 304 static __inline__ void close_on_exec(int fd) in close_on_exec() 334 int fd = open( pathname, options ); in adb_open() local 343 static __inline__ int adb_shutdown(int fd) in adb_shutdown() 350 static __inline__ int adb_close(int fd) in adb_close() [all …]
|
D | console.c | 8 int fd, port; in connect_to_console() local 29 int fd, nn; in adb_send_emulator_command() local
|
D | remount_service.c | 36 int fd; in find_mount() local 92 static void write_string(int fd, const char* str) in write_string() 97 void remount_service(int fd, void *cookie) in remount_service()
|
D | file_sync_client.c | 65 void sync_quit(int fd) in sync_quit() 77 int sync_ls(int fd, const char *path, sync_ls_cb func, void *cookie) in sync_ls() 126 int sync_readtime(int fd, const char *path, unsigned *timestamp) in sync_readtime() 151 static int sync_start_readtime(int fd, const char *path) in sync_start_readtime() 167 static int sync_finish_readtime(int fd, unsigned int *timestamp, in sync_finish_readtime() 185 int sync_readmode(int fd, const char *path, unsigned *mode) in sync_readmode() 210 static int write_data_file(int fd, const char *path, syncsendbuf *sbuf) in write_data_file() 247 static int write_data_buffer(int fd, char* file_buffer, int size, syncsendbuf *sbuf) in write_data_buffer() 273 static int write_data_link(int fd, const char *path, syncsendbuf *sbuf) in write_data_link() 297 static int sync_send(int fd, const char *lpath, const char *rpath, in sync_send() [all …]
|
D | commandline.c | 203 static void stdin_raw_init(int fd) in stdin_raw_init() 220 static void stdin_raw_restore(int fd) in stdin_raw_restore() 227 static void read_and_dump(int fd) in read_and_dump() 279 int fd, fdi; in stdin_read_thread() local 333 int fdi, fd; in interactive_shell() local 379 int fd; in adb_download_buffer() local 461 int fd; in status_window() local 610 int fd, ret; in send_shellcommand() local 688 int fd, outFd; in backup() local 742 int fd, tarFd; in restore() local [all …]
|
D | log_service.c | 33 void log_service(int fd, void *cookie) in log_service() 87 void write_log_entry(int fd, struct logger_entry *buf) in write_log_entry()
|
/system/core/libsync/ |
D | sync.c | 30 int sync_wait(int fd, int timeout) in sync_wait() 52 struct sync_fence_info_data *sync_fence_info(int fd) in sync_fence_info() 96 int sw_sync_timeline_inc(int fd, unsigned count) in sw_sync_timeline_inc() 103 int sw_sync_fence_create(int fd, const char *name, unsigned value) in sw_sync_fence_create()
|
/system/vold/ |
D | Loop.cpp | 41 int fd; in dumpState() local 83 int fd; in lookupActive() local 129 int fd; in create() local 236 int fd; in createImageFile() local 253 int fd; in lookupInfo() local
|
D | Devmapper.cpp | 57 int fd; in dumpState() local 140 int fd; in lookupActive() local 174 int fd; in create() local 271 int fd; in destroy() local
|
/system/core/libsparse/ |
D | sparse_read.c | 99 int fd, int64_t offset, unsigned int blocks, unsigned int block, in process_raw_chunk() 137 int fd, unsigned int blocks, unsigned int block, uint32_t *crc32) in process_fill_chunk() 178 int fd, unsigned int blocks, unsigned int block, uint32_t *crc32) in process_skip_chunk() 204 static int process_crc32_chunk(int fd, unsigned int chunk_size, uint32_t crc32) in process_crc32_chunk() 225 static int process_chunk(struct sparse_file *s, int fd, off64_t offset, in process_chunk() 277 static int sparse_file_read_sparse(struct sparse_file *s, int fd, bool crc) in sparse_file_read_sparse() 359 static int sparse_file_read_normal(struct sparse_file *s, int fd) in sparse_file_read_normal() 410 int sparse_file_read(struct sparse_file *s, int fd, bool sparse, bool crc) in sparse_file_read() 423 struct sparse_file *sparse_file_import(int fd, bool verbose, bool crc) in sparse_file_import() 479 struct sparse_file *sparse_file_import_auto(int fd, bool crc) in sparse_file_import_auto()
|
/system/core/init/ |
D | bootchart.c | 50 unix_read(int fd, void* buff, int len) in unix_read() 58 unix_write(int fd, const void* buff, int len) in unix_write() 69 int fd = open(filename, O_RDONLY); in proc_read() local 82 int fd; member 161 close_on_exec(int fd) in close_on_exec() 188 int fd, ret, len; in do_log_uptime() local 217 int fd; in do_log_file() local 258 int fd; in do_log_procs() local 342 int fd = open( LOG_ACCT, O_WRONLY|O_CREAT|O_TRUNC,0644); in bootchart_init() local
|
/system/core/libdiskconfig/ |
D | diskconfig.c | 239 sync_ptable(int fd) in sync_ptable() 273 int fd; in validate() local 387 validate_and_config(struct disk_info *dinfo, int *fd, struct write_list **lst) in validate_and_config() 422 int fd; in process_disk_config() local 436 int fd; in apply_disk_config() local
|