/system/media/audio_utils/ |
D | primitives.c | 35 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count) in memcpy_to_i16_from_u8() argument 38 src += count; in memcpy_to_i16_from_u8() 40 *--dst = (int16_t)(*--src - 0x80) << 8; in memcpy_to_i16_from_u8() 44 void memcpy_to_u8_from_i16(uint8_t *dst, const int16_t *src, size_t count) in memcpy_to_u8_from_i16() argument 47 *dst++ = (*src++ >> 8) + 0x80; in memcpy_to_u8_from_i16() 51 void memcpy_to_u8_from_float(uint8_t *dst, const float *src, size_t count) in memcpy_to_u8_from_float() argument 54 *dst++ = clamp8_from_float(*src++); in memcpy_to_u8_from_float() 58 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count) in memcpy_to_i16_from_i32() argument 61 *dst++ = *src++ >> 16; in memcpy_to_i16_from_i32() 65 void memcpy_to_i16_from_float(int16_t *dst, const float *src, size_t count) in memcpy_to_i16_from_float() argument [all …]
|
D | format.c | 25 const void *src, audio_format_t src_format, size_t count) in memcpy_by_audio_format() argument 36 memcpy(dst, src, count * audio_bytes_per_sample(dst_format)); in memcpy_by_audio_format() 46 memcpy_to_i16_from_float((int16_t*)dst, (float*)src, count); in memcpy_by_audio_format() 49 memcpy_to_i16_from_u8((int16_t*)dst, (uint8_t*)src, count); in memcpy_by_audio_format() 52 memcpy_to_i16_from_p24((int16_t*)dst, (uint8_t*)src, count); in memcpy_by_audio_format() 55 memcpy_to_i16_from_i32((int16_t*)dst, (int32_t*)src, count); in memcpy_by_audio_format() 58 memcpy_to_i16_from_q8_23((int16_t*)dst, (int32_t*)src, count); in memcpy_by_audio_format() 67 memcpy_to_float_from_i16((float*)dst, (int16_t*)src, count); in memcpy_by_audio_format() 70 memcpy_to_float_from_u8((float*)dst, (uint8_t*)src, count); in memcpy_by_audio_format() 73 memcpy_to_float_from_p24((float*)dst, (uint8_t*)src, count); in memcpy_by_audio_format() [all …]
|
/system/bt/btif/ |
D | Android.mk | 26 src/bluetooth.c \ 31 src/btif_av.c \ 32 src/btif_avrcp_audio_track.cpp \ 33 src/btif_config.c \ 34 src/btif_config_transcode.cpp \ 35 src/btif_core.c \ 36 src/btif_debug.c \ 37 src/btif_debug_btsnoop.c \ 38 src/btif_debug_conn.c \ 39 src/btif_debug_l2c.c \ [all …]
|
D | BUILD.gn | 19 "src/btif_av.c", 22 # "src/btif_avrcp_audio_track.cpp", 23 "src/btif_config.c", 24 "src/btif_core.c", 25 "src/btif_debug.c", 26 "src/btif_debug_btsnoop.c", 27 "src/btif_debug_conn.c", 28 "src/btif_dm.c", 29 "src/btif_gatt.c", 30 "src/btif_gatt_client.c", [all …]
|
/system/bt/osi/ |
D | BUILD.gn | 19 "src/alarm.c", 20 "src/allocation_tracker.c", 21 "src/allocator.c", 22 "src/array.c", 23 "src/buffer.c", 24 "src/compat.c", 25 "src/config.c", 26 "src/data_dispatcher.c", 27 "src/eager_reader.c", 28 "src/fixed_queue.c", [all …]
|
D | Android.mk | 27 ./src/alarm.c \ 28 ./src/allocation_tracker.c \ 29 ./src/allocator.c \ 30 ./src/array.c \ 31 ./src/buffer.c \ 32 ./src/compat.c \ 33 ./src/config.c \ 34 ./src/data_dispatcher.c \ 35 ./src/eager_reader.c \ 36 ./src/fixed_queue.c \ [all …]
|
/system/core/libutils/ |
D | Unicode.cpp | 154 int32_t utf32_from_utf8_at(const char *src, size_t src_len, size_t index, size_t *next_index) in utf32_from_utf8_at() argument 164 int32_t ret = utf32_at_internal(src + index, &num_read); in utf32_from_utf8_at() 172 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len) in utf32_to_utf8_length() argument 174 if (src == NULL || src_len == 0) { in utf32_to_utf8_length() 179 const char32_t *end = src + src_len; in utf32_to_utf8_length() 180 while (src < end) { in utf32_to_utf8_length() 181 ret += utf32_codepoint_utf8_length(*src++); in utf32_to_utf8_length() 186 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst, size_t dst_len) in utf32_to_utf8() argument 188 if (src == NULL || src_len == 0 || dst == NULL) { in utf32_to_utf8() 192 const char32_t *cur_utf32 = src; in utf32_to_utf8() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/ |
D | BUILD.gn | 3 "src/bt_vendor.cc", 4 "src/command_packet.cc", 5 "src/dual_mode_controller.cc", 6 "src/event_packet.cc", 7 "src/hci_transport.cc", 8 "src/packet.cc", 9 "src/packet_stream.cc", 10 "src/test_channel_transport.cc", 11 "src/vendor_manager.cc", 28 "src/command_packet.cc", [all …]
|
D | Android.mk | 10 src/bt_vendor.cc \ 11 src/command_packet.cc \ 12 src/dual_mode_controller.cc \ 13 src/event_packet.cc \ 14 src/hci_transport.cc \ 15 src/packet.cc \ 16 src/packet_stream.cc \ 17 src/test_channel_transport.cc \ 18 src/vendor_manager.cc 50 src/command_packet.cc \ [all …]
|
/system/bt/hci/ |
D | Android.mk | 8 src/btsnoop.c \ 9 src/btsnoop_mem.c \ 10 src/btsnoop_net.c \ 11 src/buffer_allocator.c \ 12 src/hci_audio.c \ 13 src/hci_hal.c \ 14 src/hci_hal_h4.c \ 15 src/hci_hal_mct.c \ 16 src/hci_inject.c \ 17 src/hci_layer.c \ [all …]
|
D | BUILD.gn | 19 "src/btsnoop.c", 20 "src/btsnoop_mem.c", 21 "src/btsnoop_net.c", 22 "src/buffer_allocator.c", 23 "src/hci_audio.c", 24 "src/hci_hal.c", 25 "src/hci_hal_h4.c", 26 "src/hci_hal_mct.c", 27 "src/hci_inject.c", 28 "src/hci_layer.c", [all …]
|
/system/media/audio_utils/include/audio_utils/ |
D | primitives.h | 64 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count); 77 void memcpy_to_u8_from_i16(uint8_t *dst, const int16_t *src, size_t count); 90 void memcpy_to_u8_from_float(uint8_t *dst, const float *src, size_t count); 103 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count); 118 void memcpy_to_i16_from_float(int16_t *dst, const float *src, size_t count); 133 void memcpy_to_float_from_q4_27(float *dst, const int32_t *src, size_t count); 146 void memcpy_to_float_from_i16(float *dst, const int16_t *src, size_t count); 159 void memcpy_to_float_from_u8(float *dst, const uint8_t *src, size_t count); 173 void memcpy_to_float_from_p24(float *dst, const uint8_t *src, size_t count); 187 void memcpy_to_i16_from_p24(int16_t *dst, const uint8_t *src, size_t count); [all …]
|
/system/core/include/utils/ |
D | Unicode.h | 54 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len); 91 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst, size_t dst_len); 100 int32_t utf32_from_utf8_at(const char *src, size_t src_len, size_t index, size_t *next_index); 106 ssize_t utf16_to_utf8_length(const char16_t *src, size_t src_len); 113 void utf16_to_utf8(const char16_t* src, size_t src_len, char* dst, size_t dst_len); 131 ssize_t utf8_length(const char *src); 136 size_t utf8_to_utf32_length(const char *src, size_t src_len); 143 void utf8_to_utf32(const char* src, size_t src_len, char32_t* dst); 148 ssize_t utf8_to_utf16_length(const uint8_t* src, size_t srcLen); 155 char16_t* utf8_to_utf16_no_null_terminator(const uint8_t* src, size_t srcLen, char16_t* dst); [all …]
|
/system/core/libsysutils/ |
D | Android.mk | 6 src/SocketListener.cpp \ 7 src/FrameworkListener.cpp \ 8 src/NetlinkListener.cpp \ 9 src/NetlinkEvent.cpp \ 10 src/FrameworkCommand.cpp \ 11 src/SocketClient.cpp \ 12 src/ServiceManager.cpp \
|
/system/connectivity/shill/ |
D | routing_table_entry.h | 35 src(IPAddress::kFamilyUnknown), in RoutingTableEntry() 50 src(src_in), in RoutingTableEntry() 66 src(src_in), in RoutingTableEntry() 83 src(src_in), in RoutingTableEntry() 93 src(b.src), in RoutingTableEntry() 103 src = b.src; 118 src.Equals(b.src) && in Equals() 128 IPAddress src; member
|
/system/extras/memcpy-perf/ |
D | memcpy-perf.cpp | 19 void __attribute__((noinline)) memcpy_noinline(void *dst, void *src, size_t size); 21 uint64_t __attribute__((noinline)) sum(volatile void *src, size_t size); 46 unique_ptr<uint8_t[]> src(new uint8_t[size_end]); in main() local 48 memset(src.get(), 1, size_end); in main() 66 memcpy_noinline(src.get(), dst.get(), cur_size); in main() 76 memcpy_noinline(dst.get(), src.get(), cur_size); in main() 77 memcpy_noinline(src.get(), dst.get(), cur_size); in main() 80 memcpy_noinline(dst.get(), src.get(), cur_size); in main() 87 s += sum(src.get(), cur_size); in main() 90 s += sum(src.get(), cur_size); in main()
|
/system/media/camera/src/ |
D | camera_metadata.c | 178 const camera_metadata_t *src, in allocate_copy_camera_metadata_checked() argument 181 if (src == NULL) { in allocate_copy_camera_metadata_checked() 186 memcpy(buffer, src, src_size); in allocate_copy_camera_metadata_checked() 281 const camera_metadata_t *src) { in copy_camera_metadata() argument 282 size_t memory_needed = get_camera_metadata_compact_size(src); in copy_camera_metadata() 288 place_camera_metadata(dst, dst_size, src->entry_count, src->data_count); in copy_camera_metadata() 290 metadata->flags = src->flags; in copy_camera_metadata() 291 metadata->entry_count = src->entry_count; in copy_camera_metadata() 292 metadata->data_count = src->data_count; in copy_camera_metadata() 294 memcpy(get_entries(metadata), get_entries(src), in copy_camera_metadata() [all …]
|
/system/bt/bta/pan/ |
D | bta_pan_ci.c | 124 void bta_pan_ci_rx_write(UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, in bta_pan_ci_rx_write() argument 132 bdcpy(((tBTA_PAN_DATA_PARAMS *)p_buf)->src, src); in bta_pan_ci_rx_write() 161 void bta_pan_ci_rx_writebuf(UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, in bta_pan_ci_rx_writebuf() argument 166 bdcpy(((tBTA_PAN_DATA_PARAMS *)p_buf)->src, src); in bta_pan_ci_rx_writebuf() 189 BT_HDR * bta_pan_ci_readbuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16* p_protocol, in bta_pan_ci_readbuf() argument 200 bdcpy(src,((tBTA_PAN_DATA_PARAMS *)p_buf)->src); in bta_pan_ci_readbuf() 264 void bta_pan_ci_rx_writebuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 protocol, BT_HDR *p_buf… in bta_pan_ci_rx_writebuf() argument 267 UNUSED(src); in bta_pan_ci_rx_writebuf() 274 BT_HDR * bta_pan_ci_readbuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 *p_protocol, in bta_pan_ci_readbuf() argument 278 UNUSED(src); in bta_pan_ci_readbuf()
|
/system/bt/osi/src/ |
D | compat.c | 69 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() argument 72 const char *s = src; in strlcpy() 91 return(s - src - 1); /* count does not include NUL */ in strlcpy() 104 strlcat(char *dst, const char *src, size_t siz) in strlcat() argument 107 const char *s = src; in strlcat() 131 return (dlen + (s - src)); /* count does not include NUL */ in strlcat()
|
/system/extras/tests/net_test/ |
D | packets.py | 62 ip(src=srcaddr, dst=dstaddr) / 67 packet = (scapy.IP(src=srcaddr, dst=dstaddr, ttl=39, tos=0x83) / 71 packet = (scapy.IPv6(src=srcaddr, dst=dstaddr, 82 ip(src=srcaddr, dst=dstaddr) / 92 ip(src=srcaddr, dst=dstaddr) / 101 ip(src=srcaddr, dst=dstaddr) / 114 ip(src=srcaddr, dst=dstaddr) / 126 ip(src=srcaddr, dst=dstaddr) / 133 ip = scapy.IP(src=srcaddr, dst=dstaddr, proto=net_test.IPPROTO_GRE) 135 ip = scapy.IPv6(src=srcaddr, dst=dstaddr, nh=net_test.IPPROTO_GRE) [all …]
|
/system/bt/btcore/ |
D | BUILD.gn | 19 "src/bdaddr.c", 20 "src/device_class.c", 21 "src/hal_util.c", 22 "src/module.c", 23 "src/property.c", 24 "src/uuid.c", 25 "src/osi_module.c",
|
D | Android.mk | 24 src/bdaddr.c \ 25 src/device_class.c \ 26 src/hal_util.c \ 27 src/module.c \ 28 src/osi_module.c \ 29 src/property.c \ 30 src/uuid.c
|
/system/bt/btif/co/ |
D | bta_pan_co.c | 162 BD_ADDR src; in bta_pan_co_tx_path() local 186 if ((p_buf = bta_pan_ci_readbuf(handle, src, dst, &protocol, in bta_pan_co_tx_path() 192 if(is_empty_eth_addr(conn->eth_addr) && is_valid_bt_eth_addr(src)) in bta_pan_co_tx_path() 196 bdaddr_to_string((bt_bdaddr_t *)src, bdstr, sizeof(bdstr)); in bta_pan_co_tx_path() 198 bdaddr_to_string((bt_bdaddr_t *)src, bdstr, sizeof(bdstr))); in bta_pan_co_tx_path() 199 memcpy(conn->eth_addr, src, sizeof(conn->eth_addr)); in bta_pan_co_tx_path() 202 btpan_tap_send(btpan_cb.tap_fd, src, dst, protocol, in bta_pan_co_tx_path() 243 void bta_pan_co_tx_write(UINT16 handle, UINT8 app_id, BD_ADDR src, BD_ADDR dst, in bta_pan_co_tx_write() argument 249 UNUSED(src); in bta_pan_co_tx_write() 273 void bta_pan_co_tx_writebuf(UINT16 handle, UINT8 app_id, BD_ADDR src, in bta_pan_co_tx_writebuf() argument [all …]
|
/system/core/libpixelflinger/tests/arch-arm64/col32cb16blend/ |
D | col32cb16blend_test.c | 63 void scanline_col32cb16blend_arm64(uint16_t *dst, int32_t src, size_t count); 64 void scanline_col32cb16blend_c(uint16_t * dst, int32_t src, size_t count) in scanline_col32cb16blend_c() argument 66 int srcAlpha = (src>>24); in scanline_col32cb16blend_c() 74 int srcR = (src >> ( 3))&0x1F; in scanline_col32cb16blend_c() 75 int srcG = (src >> ( 8+2))&0x3F; in scanline_col32cb16blend_c() 76 int srcB = (src >> (16+3))&0x1F; in scanline_col32cb16blend_c()
|
/system/core/libpixelflinger/tests/arch-mips64/col32cb16blend/ |
D | col32cb16blend_test.c | 63 void scanline_col32cb16blend_mips64(uint16_t *dst, uint32_t src, size_t count); 64 void scanline_col32cb16blend_c(uint16_t * dst, uint32_t src, size_t count) in scanline_col32cb16blend_c() argument 66 uint32_t srcAlpha = (src>>24); in scanline_col32cb16blend_c() 75 int srcR = (src >> ( 3))&0x1F; in scanline_col32cb16blend_c() 76 int srcG = (src >> ( 8+2))&0x3F; in scanline_col32cb16blend_c() 77 int srcB = (src >> (16+3))&0x1F; in scanline_col32cb16blend_c()
|