Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 250) sorted by relevance

12345678910

/system/bt/build/secondary/third_party/aac/
DBUILD.gn37 # "libAACdec/src/arm/block_arm.cpp",
38 # "libFDK/src/arm/dct_arm.cpp",
39 # "libFDK/src/arm/fft_rad2_arm.cpp",
40 # "libFDK/src/arm/scale_arm.cpp",
41 # "libSBRdec/src/arm/lpp_tran_arm.cpp",
42 # "libFDK/src/mips/fft_rad2_mips.cpp",
43 # "libFDK/src/mips/mips_fft_twiddles.cpp",
44 # "libFDK/src/mips/scale_mips.cpp",
48 "libAACdec/src/aacdec_drc.cpp",
49 "libAACdec/src/aacdec_hcr_bit.cpp",
[all …]
/system/bt/btif/
DBUILD.gn19 "//audio_a2dp_hw/src/audio_a2dp_hw_utils.cc",
20 "//audio_hearing_aid_hw/src/audio_hearing_aid_hw_utils.cc",
21 "src/btif_a2dp.cc",
22 "src/btif_a2dp_audio_interface_linux.cc",
23 "src/btif_a2dp_control.cc",
24 "src/btif_a2dp_sink.cc",
25 "src/btif_a2dp_source.cc",
26 "src/btif_av.cc",
30 # "src/btif_avrcp_audio_track.cc",
31 "src/btif_avrcp_audio_track_linux.cc",
[all …]
DAndroid.bp47 "src/bluetooth.cc",
49 "src/btif_a2dp.cc",
50 "src/btif_a2dp_audio_interface.cc",
51 "src/btif_a2dp_control.cc",
52 "src/btif_a2dp_sink.cc",
53 "src/btif_a2dp_source.cc",
54 "src/btif_av.cc",
55 "src/btif_avrcp_audio_track.cc",
56 "src/btif_ble_advertiser.cc",
57 "src/btif_ble_scanner.cc",
[all …]
/system/media/audio_utils/
Dprimitives.c30 void memcpy_to_i16_from_q4_27(int16_t *dst, const int32_t *src, size_t count) in memcpy_to_i16_from_q4_27() argument
33 *dst++ = clamp16(*src++ >> 12); in memcpy_to_i16_from_q4_27()
37 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count) in memcpy_to_i16_from_u8() argument
40 src += count; in memcpy_to_i16_from_u8()
42 *--dst = (int16_t)(*--src - 0x80) << 8; in memcpy_to_i16_from_u8()
46 void memcpy_to_u8_from_i16(uint8_t *dst, const int16_t *src, size_t count) in memcpy_to_u8_from_i16() argument
49 *dst++ = (*src++ >> 8) + 0x80; in memcpy_to_u8_from_i16()
53 void memcpy_to_u8_from_float(uint8_t *dst, const float *src, size_t count) in memcpy_to_u8_from_float() argument
56 *dst++ = clamp8_from_float(*src++); in memcpy_to_u8_from_float()
60 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count) in memcpy_to_i16_from_i32() argument
[all …]
Dformat.c26 const void *src, audio_format_t src_format, size_t count) in memcpy_by_audio_format() argument
37 if (dst != src) { in memcpy_by_audio_format()
39 memcpy(dst, src, count * audio_bytes_per_sample(dst_format)); in memcpy_by_audio_format()
50 memcpy_to_i16_from_float((int16_t*)dst, (float*)src, count); in memcpy_by_audio_format()
53 memcpy_to_i16_from_u8((int16_t*)dst, (uint8_t*)src, count); in memcpy_by_audio_format()
56 memcpy_to_i16_from_p24((int16_t*)dst, (uint8_t*)src, count); in memcpy_by_audio_format()
59 memcpy_to_i16_from_i32((int16_t*)dst, (int32_t*)src, count); in memcpy_by_audio_format()
62 memcpy_to_i16_from_q8_23((int16_t*)dst, (int32_t*)src, count); in memcpy_by_audio_format()
71 memcpy_to_float_from_i16((float*)dst, (int16_t*)src, count); in memcpy_by_audio_format()
74 memcpy_to_float_from_u8((float*)dst, (uint8_t*)src, count); in memcpy_by_audio_format()
[all …]
/system/tools/hidl/docs/
DAndroid.bp22 "src/main.kt",
23 "src/writer/formatutils.kt",
24 "src/writer/elements/TypedefElement.kt",
25 "src/writer/elements/EnumElement.kt",
26 "src/writer/elements/AbstractElement.kt",
27 "src/writer/elements/CompoundElement.kt",
28 "src/writer/elements/MethodElement.kt",
29 "src/writer/files/AbstractFileWriter.kt",
30 "src/writer/files/InterfaceFileWriter.kt",
31 "src/writer/files/IndexFileWriter.kt",
[all …]
/system/core/libutils/
DUnicode.cpp160 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
170 int32_t ret = utf32_at_internal(src + index, &num_read); in utf32_from_utf8_at()
178 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len) in utf32_to_utf8_length() argument
180 if (src == nullptr || src_len == 0) { in utf32_to_utf8_length()
185 const char32_t *end = src + src_len; in utf32_to_utf8_length()
186 while (src < end) { in utf32_to_utf8_length()
187 size_t char_len = utf32_codepoint_utf8_length(*src++); in utf32_to_utf8_length()
200 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst, size_t dst_len) in utf32_to_utf8() argument
202 if (src == nullptr || src_len == 0 || dst == nullptr) { in utf32_to_utf8()
206 const char32_t *cur_utf32 = src; in utf32_to_utf8()
[all …]
/system/bt/osi/
DBUILD.gn19 "src/alarm.cc",
20 "src/allocation_tracker.cc",
21 "src/allocator.cc",
22 "src/array.cc",
23 "src/buffer.cc",
24 "src/compat.cc",
25 "src/config.cc",
26 "src/fixed_queue.cc",
27 "src/future.cc",
28 "src/hash_map_utils.cc",
[all …]
DAndroid.bp46 "src/alarm.cc",
47 "src/allocation_tracker.cc",
48 "src/allocator.cc",
49 "src/array.cc",
50 "src/buffer.cc",
51 "src/compat.cc",
52 "src/config.cc",
53 "src/fixed_queue.cc",
54 "src/future.cc",
55 "src/hash_map_utils.cc",
[all …]
/system/media/audio_utils/include/audio_utils/
Dprimitives.h68 void memcpy_to_i16_from_q4_27(int16_t *dst, const int32_t *src, size_t count);
80 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count);
93 void memcpy_to_u8_from_i16(uint8_t *dst, const int16_t *src, size_t count);
106 void memcpy_to_u8_from_float(uint8_t *dst, const float *src, size_t count);
119 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count);
134 void memcpy_to_i16_from_float(int16_t *dst, const float *src, size_t count);
149 void memcpy_to_float_from_q4_27(float *dst, const int32_t *src, size_t count);
163 void memcpy_to_float_from_i16(float *dst, const int16_t *src, size_t count);
177 void memcpy_to_float_from_u8(float *dst, const uint8_t *src, size_t count);
192 void memcpy_to_float_from_p24(float *dst, const uint8_t *src, size_t count);
[all …]
Dstring.h24 inline size_t audio_utils_strlcpy_zerofill(char *dst, const char *src, size_t dst_size) { in audio_utils_strlcpy_zerofill() argument
25 const size_t srclen = strlcpy(dst, src, dst_size); in audio_utils_strlcpy_zerofill()
38 inline size_t audio_utils_strlcpy_zerofill(char (&dst)[size], const char *src) { in audio_utils_strlcpy_zerofill() argument
39 return audio_utils_strlcpy_zerofill(dst, src, size); in audio_utils_strlcpy_zerofill()
44 inline size_t audio_utils_strlcpy(char (&dst)[size], const char *src) { in audio_utils_strlcpy() argument
45 return strlcpy(dst, src, size); in audio_utils_strlcpy()
/system/media/audio_utils/tests/
Dprimitives_benchmark.cpp30 std::vector<float> src(count); in BM_MemcpyToFloatFromFloatWithClamping() local
38 src[i] = dis(gen); in BM_MemcpyToFloatFromFloatWithClamping()
39 expected[i] = fmin(absMax, fmax(-absMax, src[i])); in BM_MemcpyToFloatFromFloatWithClamping()
44 benchmark::DoNotOptimize(src.data()); in BM_MemcpyToFloatFromFloatWithClamping()
46 memcpy_to_float_from_float_with_clamping(dst.data(), src.data(), count, 1.413); in BM_MemcpyToFloatFromFloatWithClamping()
61 std::vector<float> src(count); in BM_MemcpyFloat() local
68 src[i] = dis(gen); in BM_MemcpyFloat()
73 benchmark::DoNotOptimize(src.data()); in BM_MemcpyFloat()
75 memcpy(dst.data(), src.data(), count * sizeof(float)); in BM_MemcpyFloat()
79 if (src != dst) { in BM_MemcpyFloat()
[all …]
/system/core/libsysutils/
DAndroid.bp9 "src/SocketListener.cpp",
10 "src/FrameworkListener.cpp",
11 "src/NetlinkListener.cpp",
12 "src/NetlinkEvent.cpp",
13 "src/FrameworkCommand.cpp",
14 "src/SocketClient.cpp",
15 "src/ServiceManager.cpp",
35 "src/SocketListener_test.cpp",
/system/core/libutils/include/utils/
DUnicode.h50 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len);
89 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst, size_t dst_len);
98 int32_t utf32_from_utf8_at(const char *src, size_t src_len, size_t index, size_t *next_index);
104 ssize_t utf16_to_utf8_length(const char16_t *src, size_t src_len);
111 void utf16_to_utf8(const char16_t* src, size_t src_len, char* dst, size_t dst_len);
129 ssize_t utf8_length(const char *src);
134 size_t utf8_to_utf32_length(const char *src, size_t src_len);
141 void utf8_to_utf32(const char* src, size_t src_len, char32_t* dst);
149 ssize_t utf8_to_utf16_length(const uint8_t* src, size_t srcLen, bool overreadIsFatal = false);
159 const uint8_t* src, size_t srcLen, char16_t* dst, size_t dstLen);
[all …]
/system/bt/hci/
DAndroid.bp18 "src/btsnoop.cc",
19 "src/btsnoop_mem.cc",
20 "src/btsnoop_net.cc",
21 "src/buffer_allocator.cc",
22 "src/hci_inject.cc",
23 "src/hci_layer.cc",
24 "src/hci_layer_android.cc",
25 "src/hci_packet_factory.cc",
26 "src/hci_packet_parser.cc",
27 "src/packet_fragmenter.cc",
DBUILD.gn19 "src/btsnoop.cc",
20 "src/btsnoop_mem.cc",
21 "src/btsnoop_net.cc",
22 "src/buffer_allocator.cc",
23 "src/hci_inject.cc",
24 "src/hci_layer.cc",
25 "src/hci_layer_linux.cc",
26 "src/hci_packet_factory.cc",
27 "src/hci_packet_parser.cc",
28 "src/packet_fragmenter.cc",
/system/core/storaged/
Dstoraged_diskstats.cpp110 void convert_hal_disk_stats(struct disk_stats* dst, const DiskStats& src) { in convert_hal_disk_stats() argument
111 dst->read_ios = src.reads; in convert_hal_disk_stats()
112 dst->read_merges = src.readMerges; in convert_hal_disk_stats()
113 dst->read_sectors = src.readSectors; in convert_hal_disk_stats()
114 dst->read_ticks = src.readTicks; in convert_hal_disk_stats()
115 dst->write_ios = src.writes; in convert_hal_disk_stats()
116 dst->write_merges = src.writeMerges; in convert_hal_disk_stats()
117 dst->write_sectors = src.writeSectors; in convert_hal_disk_stats()
118 dst->write_ticks = src.writeTicks; in convert_hal_disk_stats()
119 dst->io_in_flight = src.ioInFlight; in convert_hal_disk_stats()
[all …]
/system/bt/osi/src/
Dcompat.cc64 size_t strlcpy(char* dst, const char* src, size_t siz) { in strlcpy() argument
66 const char* s = src; in strlcpy()
83 return (s - src - 1); /* count does not include NUL */ in strlcpy()
95 size_t strlcat(char* dst, const char* src, size_t siz) { in strlcat() argument
97 const char* s = src; in strlcat()
119 return (dlen + (s - src)); /* count does not include NUL */ in strlcat()
/system/bt/bta/pan/
Dbta_pan_ci.cc124 const RawAddress& src, uint16_t protocol, in bta_pan_ci_rx_write() argument
131 ((tBTA_PAN_DATA_PARAMS*)p_buf)->src = src; in bta_pan_ci_rx_write()
161 const RawAddress& src, uint16_t protocol, in bta_pan_ci_rx_writebuf() argument
164 ((tBTA_PAN_DATA_PARAMS*)p_buf)->src = src; in bta_pan_ci_rx_writebuf()
184 BT_HDR* bta_pan_ci_readbuf(uint16_t handle, RawAddress& src, RawAddress& dst, in bta_pan_ci_readbuf() argument
193 src = ((tBTA_PAN_DATA_PARAMS*)p_buf)->src; in bta_pan_ci_readbuf()
242 UNUSED_ATTR const RawAddress& src, in bta_pan_ci_rx_writebuf() argument
248 UNUSED_ATTR RawAddress& src, in bta_pan_ci_readbuf() argument
/system/media/camera/src/
Dcamera_metadata.c224 const camera_metadata_t *src, in allocate_copy_camera_metadata_checked() argument
227 if (src == NULL) { in allocate_copy_camera_metadata_checked()
238 memcpy(buffer, src, src_size); in allocate_copy_camera_metadata_checked()
346 const camera_metadata_t *src) { in copy_camera_metadata() argument
347 size_t memory_needed = get_camera_metadata_compact_size(src); in copy_camera_metadata()
357 place_camera_metadata(dst, dst_size, src->entry_count, src->data_count); in copy_camera_metadata()
359 metadata->flags = src->flags; in copy_camera_metadata()
360 metadata->entry_count = src->entry_count; in copy_camera_metadata()
361 metadata->data_count = src->data_count; in copy_camera_metadata()
362 metadata->vendor_id = src->vendor_id; in copy_camera_metadata()
[all …]
/system/netd/resolv/
Dhostent.h59 #define HENT_COPY(dst, src, slen, ptr, len) do { \ argument
61 memcpy(ptr, src, (size_t) slen); \
67 #define HENT_SCOPY(dst, src, ptr, len) do { \ argument
68 size_t _len = strlen(src) + 1; \
69 HENT_COPY(dst, src, _len, ptr, len); \
/system/core/libpixelflinger/tests/arch-mips/col32cb16blend/
Dcol32cb16blend_test.c63 void scanline_col32cb16blend_mips(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()
/system/core/libpixelflinger/tests/arch-mips64/col32cb16blend/
Dcol32cb16blend_test.c63 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()
/system/core/libpixelflinger/tests/arch-arm64/col32cb16blend/
Dcol32cb16blend_test.c63 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-mips/t32cb16blend/
Dt32cb16blend_test.c65 void scanline_t32cb16blend_c(uint16_t * dst, uint32_t* src, size_t count) in scanline_t32cb16blend_c() argument
70 uint32_t s = *src++; in scanline_t32cb16blend_c()
94 uint32_t src[16]; in scanline_t32cb16blend_test() local
111 src[j] = test.src_color; in scanline_t32cb16blend_test()
114 scanline_t32cb16blend_c(dst_c,src,test.count); in scanline_t32cb16blend_test()
115 scanline_t32cb16blend_mips(dst_asm,src,test.count); in scanline_t32cb16blend_test()

12345678910