Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 902) sorted by relevance

12345678910>>...37

/external/e2fsprogs/tests/progs/
Drandom_exercise.c50 int fd; in get_random_fd() local
59 unsigned int get_inode_num(int fd) in get_inode_num()
74 int fd; in create_random_file() local
101 void truncate_file(int fd) in truncate_file()
116 void unlink_file(int fd) in unlink_file()
130 void close_file(int fd) in close_file()
144 int i, fd; in main() local
/external/chromium/net/tools/flip_server/
Depoll_server.cc63 void OnEvent(int fd, EpollEvent* event) { in OnEvent()
72 void OnShutdown(EpollServer *eps, int fd) {} in OnShutdown()
115 int fd = cb_iter->fd; in CleanupFDToCBMap() local
190 void EpollServer::RegisterFD(int fd, CB* cb, int event_mask) { in RegisterFD()
224 int EpollServer::GetFlags(int fd) { in GetFlags()
228 void EpollServer::SetNonblocking(int fd) { in SetNonblocking()
258 void EpollServer::RegisterFDForWrite(int fd, CB* cb) { in RegisterFDForWrite()
262 void EpollServer::RegisterFDForReadWrite(int fd, CB* cb) { in RegisterFDForReadWrite()
266 void EpollServer::RegisterFDForRead(int fd, CB* cb) { in RegisterFDForRead()
270 void EpollServer::UnregisterFD(int fd) { in UnregisterFD()
[all …]
Dacceptor_thread.h52 virtual void OnRegistration(EpollServer* eps, int fd, int event_mask) {} in OnRegistration()
53 virtual void OnModification(int fd, int event_mask) {} in OnModification()
55 virtual void OnUnregistration(int fd, bool replaced) {} in OnUnregistration()
56 virtual void OnShutdown(EpollServer* eps, int fd) {} in OnShutdown()
/external/bluetooth/bluez/compat/
Dfakehid.c63 static int send_event(int fd, uint16_t type, uint16_t code, int32_t value) in send_event()
81 int fd, aux; in uinput_create() local
183 static void func(int fd) in func()
187 static void back(int fd) in back()
191 static void next(int fd) in next()
195 static void button(int fd, unsigned int button, int is_press) in button()
209 static void move(int fd, unsigned int direction) in move()
224 static inline void epox_decode(int fd, unsigned char event) in epox_decode()
292 int i, fd, sk, len; in epox_presenter() local
378 static inline void jthree_decode(int fd, unsigned char event) in jthree_decode()
[all …]
Dmsdun.c56 static int w4_str(int fd, char *str) in w4_str()
88 static int ms_server(int fd) in ms_server()
100 static int ms_client(int fd) in ms_client()
106 int ms_dun(int fd, int server, int timeo) in ms_dun()
/external/qemu/
Diolooper-select.c46 iolooper_add_fd( IoLooper* iol, int fd ) in iolooper_add_fd()
54 iolooper_del_fd( IoLooper* iol, int fd ) in iolooper_del_fd()
61 iolooper_modify( IoLooper* iol, int fd, int oldflags, int newflags ) in iolooper_modify()
87 int fd; in iolooper_fd_count() local
106 iolooper_add_read( IoLooper* iol, int fd ) in iolooper_add_read()
115 iolooper_add_write( IoLooper* iol, int fd ) in iolooper_add_write()
124 iolooper_del_read( IoLooper* iol, int fd ) in iolooper_del_read()
133 iolooper_del_write( IoLooper* iol, int fd ) in iolooper_del_write()
206 iolooper_is_read( IoLooper* iol, int fd ) in iolooper_is_read()
212 iolooper_is_write( IoLooper* iol, int fd ) in iolooper_is_write()
/external/iproute2/ip/
Dtunnel.c69 int fd; in tnl_ioctl_get_ifindex() local
86 int fd; in tnl_ioctl_get_iftype() local
104 int fd; in tnl_ioctl_get_ifname() local
121 int fd; in tnl_get_ioctl() local
137 int fd; in tnl_add_ioctl() local
156 int fd; in tnl_del_ioctl() local
175 int fd; in tnl_gen_ioctl() local
/external/bluetooth/bluez/tools/
Dhciattach.c143 int set_speed(int fd, struct termios *ti, int speed) in set_speed()
160 int read_hci_event(int fd, unsigned char* buf, int size) in read_hci_event()
206 static int ericsson(int fd, struct uart_t *u, struct termios *ti) in ericsson()
261 static int digi(int fd, struct uart_t *u, struct termios *ti) in digi()
295 static int texas(int fd, struct uart_t *u, struct termios *ti) in texas()
300 static int texas2(int fd, struct uart_t *u, struct termios *ti) in texas2()
305 static int texasalt(int fd, struct uart_t *u, struct termios *ti) in texasalt()
310 static int ath3k_ps(int fd, struct uart_t *u, struct termios *ti) in ath3k_ps()
315 static int ath3k_pm(int fd, struct uart_t *u, struct termios *ti) in ath3k_pm()
320 static int qualcomm(int fd, struct uart_t *u, struct termios *ti) in qualcomm()
[all …]
Dppporc.c69 static inline int read_n(int fd, char *buf, int len) in read_n()
90 static inline int write_n(int fd, char *buf, int len) in write_n()
114 int fd, err; in create_connection() local
142 static int process_data(int fd) in process_data()
210 int fd, err, opt; in main() local
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DFileDescriptorTest.java47 FileDescriptor fd = new FileDescriptor(); in test_Constructor() local
61 FileDescriptor fd = fos.getFD(); in test_sync() local
87 FileDescriptor fd = fos.getFD(); in test_valid() local
/external/elfutils/libdwfl/
Dfind-debuginfo.c74 int fd = TEMP_FAILURE_RETRY (open64 (fname, O_RDONLY)); in try_open() local
85 check_crc (int fd, GElf_Word debuglink_crc) in check_crc()
93 validate (Dwfl_Module *mod, int fd, bool check, GElf_Word debuglink_crc) in validate()
209 int fd = try_open (dir, subdir, debuglink_file, &fname); in find_debuginfo_in_path() local
268 int fd = INTUSE(dwfl_build_id_find_debuginfo) (mod, in dwfl_standard_find_debuginfo() local
277 int fd = find_debuginfo_in_path (mod, file_name, in dwfl_standard_find_debuginfo() local
Doffline.c126 process_file (Dwfl *dwfl, const char *name, const char *file_name, int fd, in process_file()
147 process_elf (Dwfl *dwfl, const char *name, const char *file_name, int fd, in process_elf()
181 int fd, Elf *member, Dwfl_Module **mod) in process_archive_member()
256 process_archive (Dwfl *dwfl, const char *name, const char *file_name, int fd, in process_archive()
287 const char *file_name, int fd, bool closefd, in __libdwfl_report_offline()
304 const char *file_name, int fd) in dwfl_report_offline()
/external/dropbear/
Dsvr-x11fwd.c48 int fd; in x11req() local
103 int fd; in x11accept() local
190 static int send_msg_channel_open_x11(int fd, struct sockaddr_in* addr) { in send_msg_channel_open_x11()
209 static int bindport(int fd) { in bindport()
Dsvr-agentfwd.c53 int fd; in agentreq() local
100 int fd; in agentaccept() local
190 static int send_msg_channel_open_agent(int fd) { in send_msg_channel_open_agent()
202 static int bindagent(int fd, struct ChanSess * chansess) { in bindagent()
/external/elfutils/lib/
Dsystem.h74 #define pwrite_retry(fd, buf, len, off) \ argument
76 #define write_retry(fd, buf, n) \ argument
78 #define pread_retry(fd, buf, len, off) \ argument
/external/chromium/net/base/
Dnss_memio.c189 static PRStatus PR_CALLBACK memio_Close(PRFileDesc *fd) in memio_Close()
199 static PRStatus PR_CALLBACK memio_Shutdown(PRFileDesc *fd, PRIntn how) in memio_Shutdown()
209 static int PR_CALLBACK memio_Recv(PRFileDesc *fd, void *buf, PRInt32 len, in memio_Recv()
236 static int PR_CALLBACK memio_Read(PRFileDesc *fd, void *buf, PRInt32 len) in memio_Read()
242 static int PR_CALLBACK memio_Send(PRFileDesc *fd, const void *buf, PRInt32 len, in memio_Send()
265 static int PR_CALLBACK memio_Write(PRFileDesc *fd, const void *buf, PRInt32 len) in memio_Write()
271 static PRStatus PR_CALLBACK memio_GetPeerName(PRFileDesc *fd, PRNetAddr *addr) in memio_GetPeerName()
279 static PRStatus memio_GetSocketOption(PRFileDesc *fd, PRSocketOptionData *data) in memio_GetSocketOption()
355 PRFileDesc *fd; in memio_CreateIOLayer() local
371 void memio_SetPeerName(PRFileDesc *fd, const PRNetAddr *peername) in memio_SetPeerName()
[all …]
/external/ppp/pppd/plugins/radius/
Dlock.c16 int do_lock_exclusive(int fd) in do_lock_exclusive()
35 int do_unlock(int fd) in do_unlock()
/external/libpcap/
Dpcap-dlpi.c1016 dl_doattach(int fd, int ppa, char *ebuf) in dl_doattach()
1028 dl_dohpuxbind(int fd, char *ebuf) in dl_dohpuxbind()
1081 int fd; in pcap_platform_finddevs() local
1121 send_request(int fd, char *ptr, int len, char *what, char *ebuf) in send_request()
1141 recv_ack(int fd, int size, const char *what, char *bufp, char *ebuf, int *uerror) in recv_ack()
1416 dlattachreq(int fd, bpf_u_int32 ppa, char *ebuf) in dlattachreq()
1427 dlbindreq(int fd, bpf_u_int32 sap, char *ebuf) in dlbindreq()
1447 dlbindack(int fd, char *bufp, char *ebuf, int *uerror) in dlbindack()
1454 dlpromisconreq(int fd, bpf_u_int32 level, char *ebuf) in dlpromisconreq()
1465 dlokack(int fd, const char *what, char *bufp, char *ebuf) in dlokack()
[all …]
/external/bluetooth/bluez/common/
Dandroid_bluez.c54 static int write_flush_timeout(int fd, uint16_t handle, in write_flush_timeout()
82 static int vendor_high_priority(int fd, uint16_t handle) { in vendor_high_priority()
132 static int get_acl_handle(int fd, bdaddr_t *bdaddr) { in get_acl_handle()
175 int fd = get_hci_sock(); in android_set_high_priority() local
/external/bluetooth/bluez/src/
Dandroid_bluez.c54 static int write_flush_timeout(int fd, uint16_t handle, in write_flush_timeout()
82 static int vendor_high_priority(int fd, uint16_t handle) { in vendor_high_priority()
133 static int get_acl_handle(int fd, bdaddr_t *bdaddr) { in get_acl_handle()
176 int fd = get_hci_sock(); in android_set_high_priority() local
/external/valgrind/main/none/tests/
Dpth_cancel2.c26 #define async_cancel_safe_read(fd,buf,amt) \ argument
37 #define async_cancel_safe_write(fd,buf,amt) \ argument
48 static int fd; variable
/external/ppp/pppd/plugins/rp-pppoe/
Dif.c204 initFilter(int fd, UINT16_t type, unsigned char *hwaddr) in initFilter()
277 static int fd = -1; in openInterface() local
422 int fd; in openInterface() local
710 int fd; in openInterface() local
767 void dlpromisconreq(int fd, u_long level) in dlpromisconreq()
787 void dlinforeq(int fd) in dlinforeq()
805 void dlunitdatareq(int fd, u_char *addrp, int addrlen, u_long minpri, u_long maxpri, u_char *datap,… in dlunitdatareq()
833 void dlinfoack(int fd, char *bufp) in dlinfoack()
865 void dlbindreq(int fd, u_long sap, u_long max_conind, u_long service_mode, u_long conn_mgmt, u_long… in dlbindreq()
888 void dlattachreq(int fd, u_long ppa) in dlattachreq()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
DSDL_fbelo.c134 int eloGetPacket(unsigned char* buffer, int* buffer_p, int* checksum, int fd) { in eloGetPacket()
187 int eloSendPacket(unsigned char* packet, int fd) in eloSendPacket()
215 int eloWaitForInput(int fd, int timeout) in eloWaitForInput()
232 int eloWaitReply(unsigned char type, unsigned char *reply, int fd) { in eloWaitReply()
272 int eloWaitAck(int fd) { in eloWaitAck()
298 int eloSendQuery(unsigned char *request, unsigned char* reply, int fd) { in eloSendQuery()
316 int eloSendControl(unsigned char* control, int fd) { in eloSendControl()
327 int eloInitController(int fd) { in eloInitController()
421 int eloReadPosition(_THIS, int fd, int* x, int* y, int* button_state, int* realx, int* realy) { in eloReadPosition()
/external/openssh/
Droaming_common.c54 int fd = packet_get_connection_out(); in get_snd_buf_size() local
66 int fd = packet_get_connection_in(); in get_recv_buf_size() local
138 roaming_write(int fd, const void *buf, size_t count, int *cont) in roaming_write()
162 roaming_read(int fd, void *buf, size_t count, int *cont) in roaming_read()
183 roaming_atomicio(ssize_t(*f)(int, void*, size_t), int fd, void *buf, in roaming_atomicio() argument
197 resend_bytes(int fd, u_int64_t *offset) in resend_bytes()
/external/qemu/android/
Dsnapshot.c51 read_or_die(int fd, void *buf, size_t nbyte) in read_or_die()
70 seek_or_die(int fd, off_t offset, int whence) in seek_or_die()
117 snapshot_info_read( int fd, SnapshotInfo* info ) in snapshot_info_read()
240 snapshot_print_table( int fd, uint32_t nb_snapshots, uint64_t snapshots_offset ) in snapshot_print_table()
263 snapshot_validate_qcow_file( int fd ) in snapshot_validate_qcow_file()
290 snapshot_read_qcow_header( int fd, uint32_t *nb_snapshots, uint64_t *snapshots_offset ) in snapshot_read_qcow_header()
312 int fd = open(snapstorage, O_RDONLY); in snapshot_print_and_exit() local

12345678910>>...37