/system/core/base/include/base/ |
H A D | memory.h | 27 static inline T get_unaligned(const T* address) { argument 31 const unaligned* p = reinterpret_cast<const unaligned*>(address); 36 static inline void put_unaligned(T* address, T v) { argument 40 unaligned* p = reinterpret_cast<unaligned*>(address);
|
/system/bt/device/src/classic/ |
H A D | peer.c | 34 bt_bdaddr_t address; member in struct:classic_peer_t 84 classic_peer_t *classic_peer_by_address(bt_bdaddr_t *address) { argument 86 assert(address != NULL); 88 classic_peer_t *peer = hash_map_get(peers_by_address, address); 94 peer = hash_map_get(peers_by_address, address); 100 peer->address = *address; 101 hash_map_set(peers_by_address, &peer->address, peer); 112 return &peer->address; 117 // Wrapper for bdaddr_equals used in the hash map of peers by address [all...] |
/system/core/libpixelflinger/codeflinger/ |
H A D | disassem.c | 77 * a - address operand of ldr/str instruction 78 * e - address operand of ldrh/strh instruction 86 * b - branch address 87 * t - thumb branch address (bits 24, 0-23) 300 static u_int disassemble_readword(u_int address); 301 static void disassemble_printaddr(u_int address); 382 /* a - address operand of ldr/str instruction */ 386 /* e - address operand of ldrh/strh instruction */ 421 /* b - branch address */ 428 /* t - blx address */ 692 disassemble_readword(u_int address) argument 698 disassemble_printaddr(u_int address) argument 708 disassemble(u_int address) argument [all...] |
/system/core/run-as/ |
H A D | package.c | 75 /* Open 'filename' and map it into our address-space. 76 * Returns buffer address, or NULL on error 85 void* address = NULL; local 135 address = mmap(NULL, length, PROT_READ, MAP_PRIVATE, fd, 0); 136 } while (address == MAP_FAILED && errno == EINTR); 137 if (address == MAP_FAILED) { 138 address = NULL; 151 return address; 156 unmap_file(void* address, size_t size) argument 159 TEMP_FAILURE_RETRY(munmap(address, siz [all...] |
/system/extras/procmem/ |
H A D | procmem.c | 58 unsigned long address; uint64_t mapentry; local 193 address = pm_map_start(mi->map) + j * ker->pagesize;
|
/system/netd/server/ |
H A D | DnsProxyListener.cpp | 129 // struct sockaddr *ai_addr; /* binary address */ 428 void* address, 434 mAddress(address), 427 GetHostByAddrHandler(SocketClient* c, void* address, int addressLen, int addressFamily, unsigned netId, uint32_t mark) argument
|
H A D | NetdConstants.cpp | 145 int parsePrefix(const char *prefix, uint8_t *family, void *address, int size, uint8_t *prefixlen) { argument 146 if (!prefix || !family || !address || !prefixlen) { 150 // Find the '/' separating address from prefix length. 165 // Copy the address part of the prefix to a local buffer. We have to copy 166 // because inet_pton and getaddrinfo operate on null-terminated address 167 // strings, but prefix is const and has '/' after the address. 170 // Parse the address. 180 // Convert the address string to raw address bytes. 214 memcpy(address, rawAddres [all...] |
H A D | NetlinkHandler.cpp | 77 const char *address = evt->findParam("ADDRESS"); local 80 if (action == NetlinkEvent::Action::kAddressRemoved && iface && address) { 81 int resetMask = strchr(address, ':') ? RESET_IPV6_ADDRESSES : RESET_IPV4_ADDRESSES; 84 ALOGE("ifc_reset_connections failed on iface %s for address %s (%s)", iface, 85 address, strerror(ret)); 89 notifyAddressChanged(action, address, iface, flags, scope);
|
/system/bt/device/src/ |
H A D | controller.c | 57 static bt_bdaddr_t address; variable 114 // Read the bluetooth address off the controller next 116 packet_parser->parse_read_bd_addr_response(response, &address); 273 return &address;
|
/system/bt/stack/btm/ |
H A D | btm_ble_bgconn.c | 56 bt_bdaddr_t address; member in struct:background_connection_t 72 static void background_connection_add(bt_bdaddr_t *address) { argument 73 assert(address); 75 background_connection_t *connection = hash_map_get(background_connections, address); 78 connection->address = *address; 79 hash_map_set(background_connections, &(connection->address), connection); 83 static void background_connection_remove(bt_bdaddr_t *address) { argument 84 if (address && background_connections) 85 hash_map_erase(background_connections, address); [all...] |
/system/core/debuggerd/ |
H A D | tombstone.cpp | 348 _LOG(log, logtype::MAPS, "memory map: (fault address prefixed with --->)\n"); 350 _LOG(log, logtype::MAPS, "--->Fault address falls at %s before any mapped regions\n", 361 _LOG(log, logtype::MAPS, "--->Fault address falls at %s between mapped regions\n", 405 _LOG(log, logtype::MAPS, "--->Fault address falls at %s after any mapped regions\n", 611 static void dump_abort_message(Backtrace* backtrace, log_t* log, uintptr_t address) { argument 612 if (address == 0) { 616 address += sizeof(size_t); // Skip the buffer length. 624 if (!backtrace->ReadWord(address, &data)) { 627 address += sizeof(word_t); 756 struct sockaddr_un address; local [all...] |
/system/core/libnetutils/ |
H A D | ifc_utils.c | 244 * Adds or deletes an IP address on an interface. 247 * - RTM_NEWADDR (to add a new address) 248 * - RTM_DELADDR (to delete an existing address) 252 int ifc_act_on_address(int action, const char *name, const char *address, argument 261 // Allow for IPv6 address, headers, and padding. 280 ret = string_to_ip(address, &ss); 285 // Determine address type and length. 307 // Interface address message header. 312 // Routing attribute. Contains the actual IP address. 342 int ifc_add_address(const char *name, const char *address, in argument 346 ifc_del_address(const char *name, const char * address, int prefixlen) argument 663 ifc_configure(const char *ifname, in_addr_t address, uint32_t prefixLength, in_addr_t gateway, in_addr_t dns1, in_addr_t dns2) argument [all...] |
/system/extras/f2fs_utils/ |
H A D | f2fs_sparseblock.c | 324 off64_t address = info->sit_blkaddr + sit_block; local 327 address += info->blocks_per_sit; 329 SLOGD("Reading cache block starting at block %"PRIu64, address); 330 if (read_structure(fd, address * F2FS_BLKSIZE, &info->sit_blocks[sit_block], sizeof(struct f2fs_sit_block))) { 331 SLOGE("Could not read sit block at block %"PRIu64, address);
|
/system/extras/perfprofd/tests/ |
H A D | perfprofd_test.cc | 257 auto address = mod.address_samples(k).address(l); local 258 ss << " address: " << address << "\n"; local 533 load_module_id: 9 address_samples { address: 296100 count: 1 } 544 address_samples { address: 28030244 count: 1 } 545 address_samples { address: 29657840 count: 1 }
|
/system/bt/audio_a2dp_hw/ |
H A D | audio_a2dp_hw.c | 1016 const char *address) 1023 UNUSED(address); 1220 const char *address, 1226 UNUSED(address); 1010 adev_open_output_stream(struct audio_hw_device *dev, audio_io_handle_t handle, audio_devices_t devices, audio_output_flags_t flags, struct audio_config *config, struct audio_stream_out **stream_out, const char *address) argument 1214 adev_open_input_stream(struct audio_hw_device *dev, audio_io_handle_t handle, audio_devices_t devices, struct audio_config *config, struct audio_stream_in **stream_in, audio_input_flags_t flags, const char *address, audio_source_t source) argument
|
/system/media/audio/include/system/ |
H A D | audio.h | 35 /* device address used to refer to the standard remote submix */ 915 /* maximum audio device address length */ 923 char address[AUDIO_DEVICE_MAX_ADDRESS_LEN]; /* device address. "" if N/A */ member in struct:audio_port_config_device_ext 986 char address[AUDIO_DEVICE_MAX_ADDRESS_LEN]; member in struct:audio_port_device_ext 1406 /* converts device address to string sent to audio HAL via set_parameters */ 1407 static inline char *audio_device_address_to_parameter(audio_devices_t device, const char *address) argument 1413 snprintf(param, kSize, "%s=%s", "a2dp_sink_address", address); 1415 snprintf(param, kSize, "%s=%s", "mix", address); 1417 snprintf(param, kSize, "%s", address); [all...] |