Searched refs:addr (Results 1 - 25 of 66) sorted by path

123

/system/bluetooth/tools/
H A Dasocket_test.c141 struct sockaddr *addr = NULL; local
146 addr = (struct sockaddr *) &local_addr_un;
150 addr = (struct sockaddr *) &local_addr_rc;
154 addr = (struct sockaddr *) &local_addr_sco;
158 addr = (struct sockaddr *) &local_addr_l2;
162 addr = (struct sockaddr *) &local_addr_in;
168 ret = bind(fd, addr, len);
202 struct sockaddr *addr = NULL; local
206 addr = (struct sockaddr *) &remote_addr_un;
210 addr
241 struct sockaddr *addr = NULL; local
[all...]
H A Dsock_shutdown_bug_l2cap.c30 struct sockaddr_l2 addr; local
32 addr.l2_family = AF_BLUETOOTH;
33 str2ba("00:01:02:0A:0B:0C", &addr.l2_bdaddr);
34 addr.l2_psm = htobs(1);
40 connect(fd, (struct sockaddr *)&addr, sizeof(addr));
H A Dsock_shutdown_bug_rfcomm.c31 struct sockaddr_rc addr; local
33 addr.rc_family = AF_BLUETOOTH;
34 addr.rc_channel = 19;
35 str2ba("00:17:E8:2C:A8:00", &addr.rc_bdaddr);
41 ret = connect(fd, (struct sockaddr *)&addr, sizeof(addr));
52 ret = connect(fd, (struct sockaddr *)&addr, sizeof(addr));
H A Dsock_shutdown_bug_tcp.c29 struct sockaddr_in addr; local
31 addr.sin_family = AF_INET;
32 addr.sin_port = 12348;
36 ret = bind(fd, (struct sockaddr *)&addr, sizeof(addr));
54 ret = bind(fd, (struct sockaddr *)&addr, sizeof(addr));
H A Dsock_shutdown_test.c123 struct sockaddr *addr = NULL; local
128 addr = (struct sockaddr *) &local_addr_un;
132 addr = (struct sockaddr *) &local_addr_rc;
136 addr = (struct sockaddr *) &local_addr_sco;
140 addr = (struct sockaddr *) &local_addr_l2;
144 addr = (struct sockaddr *) &local_addr_in;
150 ret = bind(fd, addr, len);
171 struct sockaddr *addr = NULL; local
175 addr = (struct sockaddr *) &remote_addr_un;
179 addr
[all...]
H A Dsocktest.c140 struct sockaddr *addr = NULL; local
145 addr = (struct sockaddr *) &local_addr_un;
149 addr = (struct sockaddr *) &local_addr_rc;
153 addr = (struct sockaddr *) &local_addr_sco;
157 addr = (struct sockaddr *) &local_addr_l2;
161 addr = (struct sockaddr *) &local_addr_in;
167 ret = bind(fd, addr, len);
201 struct sockaddr *addr = NULL; local
205 addr = (struct sockaddr *) &remote_addr_un;
209 addr
254 struct sockaddr *addr = NULL; local
[all...]
/system/core/adb/
H A Dadb.c622 struct sockaddr addr; local
626 alen = sizeof(addr);
627 fd = adb_socket_accept(_fd, &addr, &alen);
648 struct sockaddr addr; local
652 alen = sizeof(addr);
653 fd = adb_socket_accept(_fd, &addr, &alen);
H A Dadb_auth_client.c209 struct sockaddr addr; local
213 alen = sizeof(addr);
215 s = adb_socket_accept(fd, &addr, &alen);
H A Djdwp_service.c452 struct sockaddr_un addr; local
455 int maxpath = sizeof(addr.sun_path);
464 memset(&addr, 0, sizeof(addr));
465 addr.sun_family = AF_UNIX;
466 memcpy(addr.sun_path, sockname, socknamelen);
475 addrlen = (pathlen + sizeof(addr.sun_family));
477 if (bind(s, (struct sockaddr*)&addr, addrlen) < 0) {
515 struct sockaddr addr; local
516 socklen_t addrlen = sizeof(addr);
[all...]
H A Dsysdeps.h214 extern int adb_socket_accept(int serverfd, struct sockaddr* addr, socklen_t *addrlen);
400 static __inline__ int adb_socket_accept(int serverfd, struct sockaddr* addr, socklen_t *addrlen) argument
404 fd = accept(serverfd, addr, addrlen);
H A Dsysdeps_win32.c582 struct sockaddr_in addr; local
591 memset(&addr, 0, sizeof(addr));
592 addr.sin_family = AF_INET;
593 addr.sin_port = htons(port);
594 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
604 if(connect(s, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
619 struct sockaddr_in addr; local
630 memset(&addr,
666 struct sockaddr_in addr; local
707 struct sockaddr_in addr; local
752 adb_socket_accept(int serverfd, struct sockaddr* addr, socklen_t *addrlen) argument
[all...]
H A Dtransport_local.c157 struct sockaddr addr; local
174 alen = sizeof(addr);
176 fd = adb_socket_accept(serverfd, &addr, &alen);
/system/core/debuggerd/arm/
H A Dmachine.c45 static void dump_memory(log_t* log, pid_t tid, uintptr_t addr, bool at_fault) { argument
50 p = addr & ~3;
52 if (p > addr) {
63 * addr contents ascii
125 uintptr_t addr = regs.uregs[reg]; variable
131 if (addr < 4096 || addr >= 0xc0000000) {
136 dump_memory(log, tid, addr, at_fault);
/system/core/debuggerd/
H A Ddebuggerd.c456 struct sockaddr addr; local
460 alen = sizeof(addr);
462 fd = accept(s, &addr, &alen);
H A Dtombstone.c157 _LOG(log, false, "signal %d (%s), code %d (%s), fault addr %08x\n",
162 _LOG(log, false, "signal %d (%s), code %d (%s), fault addr --------\n",
342 uintptr_t addr = (uintptr_t) si.si_addr; local
343 addr &= ~0xfff; /* round to 4K page boundary */
344 if (addr == 0) { /* null-pointer deref */
348 _LOG(log, false, "\nmemory map around fault addr %08x:\n", (int)si.si_addr);
358 if (addr >= map->start && addr < map->end) {
361 } else if (addr >= map->end) {
/system/core/debuggerd/mips/
H A Dmachine.c39 static void dump_memory(log_t* log, pid_t tid, uintptr_t addr, bool at_fault) { argument
44 p = addr & ~3;
46 if (p > addr) {
56 * addr contents ascii
122 uintptr_t addr = R(r.regs[reg]); variable
128 if (addr < 4096 || addr >= 0x80000000) {
133 dump_memory(log, tid, addr, at_fault);
/system/core/include/corkscrew/
H A Dmap_info.h47 const map_info_t* find_map_info(const map_info_t* milist, uintptr_t addr);
49 /* Returns true if the addr is in an readable map. */
50 bool is_readable_map(const map_info_t* milist, uintptr_t addr);
52 /* Returns true if the addr is in an executable map. */
53 bool is_executable_map(const map_info_t* milist, uintptr_t addr);
H A Dptrace.h128 uintptr_t addr, const map_info_t** out_map_info, const symbol_t** out_symbol);
H A Dsymbol_table.h53 const symbol_t* find_symbol(const symbol_table_t* table, uintptr_t addr);
/system/core/include/cutils/
H A Dabort_socket.h77 int asocket_connect(struct asocket *s, const struct sockaddr *addr,
80 int asocket_accept(struct asocket *s, struct sockaddr *addr,
H A Datomic-arm.h182 extern inline int32_t android_atomic_inc(volatile int32_t *addr) argument
184 return android_atomic_add(1, addr);
187 extern inline int32_t android_atomic_dec(volatile int32_t *addr) argument
189 return android_atomic_add(-1, addr);
H A Datomic-mips.h145 extern inline int32_t android_atomic_inc(volatile int32_t *addr) argument
147 return android_atomic_add(1, addr);
150 extern inline int32_t android_atomic_dec(volatile int32_t *addr) argument
152 return android_atomic_add(-1, addr);
H A Datomic-x86.h111 extern inline int32_t android_atomic_inc(volatile int32_t *addr) argument
113 return android_atomic_add(1, addr);
116 extern inline int32_t android_atomic_dec(volatile int32_t *addr) argument
118 return android_atomic_add(-1, addr);
H A Datomic.h68 int32_t android_atomic_inc(volatile int32_t* addr);
69 int32_t android_atomic_dec(volatile int32_t* addr);
70 int32_t android_atomic_add(int32_t value, volatile int32_t* addr);
71 int32_t android_atomic_and(int32_t value, volatile int32_t* addr);
72 int32_t android_atomic_or(int32_t value, volatile int32_t* addr);
80 int32_t android_atomic_acquire_load(volatile const int32_t* addr);
81 int32_t android_atomic_release_load(volatile const int32_t* addr);
89 void android_atomic_acquire_store(int32_t value, volatile int32_t* addr);
90 void android_atomic_release_store(int32_t value, volatile int32_t* addr);
96 * only happen when *addr
[all...]
/system/core/include/netutils/
H A Difc.h42 extern int ifc_get_addr(const char *name, in_addr_t *addr);
43 extern int ifc_set_addr(const char *name, in_addr_t addr);
53 extern int ifc_add_host_route(const char *name, in_addr_t addr);
59 extern int ifc_create_default_route(const char *name, in_addr_t addr);
61 extern int ifc_add_route(const char *name, const char *addr, int prefix_length,
65 extern int ifc_get_info(const char *name, in_addr_t *addr, int *prefixLength,

Completed in 75 milliseconds

123