Searched refs:addr (Results 26 - 50 of 66) sorted by relevance

123

/system/core/libpixelflinger/codeflinger/
H A Dload_store.cpp31 void GGLAssembler::store(const pointer_t& addr, const pixel_t& s, uint32_t flags) argument
33 const int bits = addr.size;
37 if (inc) STR(AL, s.reg, addr.reg, immed12_post(4));
38 else STR(AL, s.reg, addr.reg);
43 STRB(AL, s.reg, addr.reg, immed12_pre(0));
45 STRB(AL, s.reg, addr.reg, immed12_pre(1));
47 STRB(AL, s.reg, addr.reg, immed12_pre(2));
52 ADD(AL, 0, addr.reg, addr.reg, imm(3));
55 if (inc) STRH(AL, s.reg, addr
65 load(const pointer_t& addr, const pixel_t& s, uint32_t flags) argument
[all...]
/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/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/libcorkscrew/arch-mips/
H A Dbacktrace-mips.c82 uintptr_t addr; local
95 for (addr = state->pc; maxcheck-- > 0 && !found_start; addr -= 4) {
97 if (!try_get_word(memory, addr, &op))
100 // ALOGV("@0x%08x: 0x%08x\n", addr, op);
109 ALOGV("@0x%08x: found stack adjustment=%d\n", addr, stack_size);
115 ALOGV("@0x%08x: found ra offset=%d\n", addr, ra_offset);
118 ALOGV("@0x%08x: found function boundary\n", addr);
/system/core/libcorkscrew/
H A Dmap_info.c100 const map_info_t* find_map_info(const map_info_t* milist, uintptr_t addr) { argument
102 while (mi && !(addr >= mi->start && addr < mi->end)) {
108 bool is_readable_map(const map_info_t* milist, uintptr_t addr) { argument
109 const map_info_t* mi = find_map_info(milist, addr);
113 bool is_executable_map(const map_info_t* milist, uintptr_t addr) { argument
114 const map_info_t* mi = find_map_info(milist, addr);
H A Dsymbol_table.c49 uintptr_t addr = *(const uintptr_t*)key; local
51 if (addr < symbol->start) return -1;
52 if (addr >= symbol->end) return 1;
215 const symbol_t* find_symbol(const symbol_table_t* table, uintptr_t addr) { argument
217 return (const symbol_t*)bsearch(&addr, table->symbols, table->num_symbols,
H A Dptrace.c135 uintptr_t addr, const map_info_t** out_map_info, const symbol_t** out_symbol) {
136 const map_info_t* mi = find_map_info(context->map_info_list, addr);
141 symbol = find_symbol(data->symbol_table, addr - mi->start);
134 find_symbol_ptrace(const ptrace_context_t* context, uintptr_t addr, const map_info_t** out_map_info, const symbol_t** out_symbol) argument
/system/netd/
H A DSecondaryTableController.cpp137 const char *SecondaryTableController::getVersion(const char *addr) { argument
138 if (strchr(addr, ':') != NULL) {
159 const char *addr) {
165 asprintf(&cmd, "%s %s rule %s from %s table %d", IP_PATH, getVersion(addr),
166 action, addr, tableIndex + BASE_TABLE_NUMBER);
176 const char *iface, const char *addr) {
185 asprintf(&cmd, "%s route %s %s dev %s table %d", IP_PATH, action, addr, iface,
158 modifyFromRule(int tableIndex, const char *action, const char *addr) argument
175 modifyLocalRoute(int tableIndex, const char *action, const char *iface, const char *addr) argument
H A DDnsProxyListener.cpp194 void* addr = malloc(sizeof(struct in6_addr)); local
196 int result = inet_pton(addrFamily, addrStr, addr);
202 free(addr);
209 new DnsProxyListener::GetHostByAddrHandler(cli, addr, addrLen, addrFamily);
/system/core/init/
H A Dutil.c90 struct sockaddr_un addr; local
102 memset(&addr, 0 , sizeof(addr));
103 addr.sun_family = AF_UNIX;
104 snprintf(addr.sun_path, sizeof(addr.sun_path), ANDROID_SOCKET_DIR"/%s",
107 ret = unlink(addr.sun_path);
116 ret = selabel_lookup(sehandle, &secon, addr.sun_path, S_IFSOCK);
122 ret = bind(fd, (struct sockaddr *) &addr, sizeof (addr));
[all...]
/system/core/include/cutils/
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-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);
/system/core/libnetutils/
H A Difc_utils.c87 static const char *ipaddr_to_string(in_addr_t addr) argument
91 in_addr.s_addr = addr;
217 static void init_sockaddr_in(struct sockaddr *sa, in_addr_t addr) argument
222 sin->sin_addr.s_addr = addr;
225 int ifc_set_addr(const char *name, in_addr_t addr) argument
231 init_sockaddr_in(&ifr.ifr_addr, addr);
251 void *addr; local
283 addr = &sin->sin_addr;
287 addr = &sin6->sin6_addr;
312 memcpy(RTA_DATA(rta), addr, addrle local
398 unsigned count, addr; local
454 ifc_get_addr(const char *name, in_addr_t *addr) argument
471 ifc_get_info(const char *name, in_addr_t *addr, int *prefixLength, unsigned *flags) argument
584 unsigned addr, count; local
655 struct in_addr addr; local
744 struct in_addr addr; local
[all...]
/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 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/libcutils/
H A Dsocket_local_client.c127 struct sockaddr_un addr; local
132 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen);
138 if(connect(fd, (struct sockaddr *) &addr, alen) < 0) {
H A Dproperties.c98 struct sockaddr_un addr; local
107 strcpy(addr.sun_path, fileName); // max 108 bytes
108 addr.sun_family = AF_UNIX;
109 cc = connect(sock, (struct sockaddr*) &addr, SUN_LEN(&addr));
H A Dabort_socket.c59 int asocket_connect(struct asocket *s, const struct sockaddr *addr, argument
65 ret = connect(s->fd, addr, addrlen);
119 int asocket_accept(struct asocket *s, struct sockaddr *addr, argument
154 ret = accept(s->fd, addr, addrlen);
/system/core/adb/
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_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 Dadb_auth_client.c209 struct sockaddr addr; local
213 alen = sizeof(addr);
215 s = adb_socket_accept(fd, &addr, &alen);
/system/extras/tests/iptables/qtaguid/
H A DsocketTag.cpp41 SockInfo() : fd(-1), addr(NULL) {};
45 void *addr; member in class:android::SockInfo
122 * return it when *addr == NULL.
152 if (addr) {
154 asprintf(&match_template, "sock=%lx %s", addr, "tag=0x%llx (uid=%u)");
167 if (pos && !addr) {
171 &addr, &k_tag, &k_uid, &dummy_pid, &dummy_count );
173 testPrintE("Unable to read sock addr res=%d", res);
174 addr = 0;
177 testPrintI("Got sock_addr %lx", addr);
[all...]
/system/core/include/corkscrew/
H A Dptrace.h128 uintptr_t addr, const map_info_t** out_map_info, const symbol_t** out_symbol);
/system/core/toolbox/
H A Dnetstat.c74 /* addr + : + port + \0 */
77 static void addr2str(int af, const void *addr, unsigned port, char *buf) argument
79 if (inet_ntop(af, addr, buf, ADDR_LEN) == NULL) {
/system/extras/ext4_utils/
H A Dext4_utils.h49 static inline void *mmap64(void *addr, size_t length, int prot, int flags, argument
52 return __mmap2(addr, length, prot, flags, fd, offset >> 12);

Completed in 157 milliseconds

123