Searched refs:src (Results 1 - 25 of 111) sorted by relevance

12345

/system/core/libsysutils/
H A DAndroid.mk6 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/media/audio_utils/
H A Dprimitives.c35 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count) argument
38 src += count;
40 *--dst = (int16_t)(*--src - 0x80) << 8;
44 void memcpy_to_u8_from_i16(uint8_t *dst, const int16_t *src, size_t count) argument
47 *dst++ = (*src++ >> 8) + 0x80;
51 void memcpy_to_u8_from_float(uint8_t *dst, const float *src, size_t count) argument
54 *dst++ = clamp8_from_float(*src++);
58 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count) argument
61 *dst++ = *src++ >> 16;
65 void memcpy_to_i16_from_float(int16_t *dst, const float *src, size_ argument
72 memcpy_to_float_from_q4_27(float *dst, const int32_t *src, size_t count) argument
79 memcpy_to_float_from_i16(float *dst, const int16_t *src, size_t count) argument
86 memcpy_to_float_from_u8(float *dst, const uint8_t *src, size_t count) argument
93 memcpy_to_float_from_p24(float *dst, const uint8_t *src, size_t count) argument
101 memcpy_to_i16_from_p24(int16_t *dst, const uint8_t *src, size_t count) argument
113 memcpy_to_i32_from_p24(int32_t *dst, const uint8_t *src, size_t count) argument
125 memcpy_to_p24_from_i16(uint8_t *dst, const int16_t *src, size_t count) argument
140 memcpy_to_p24_from_float(uint8_t *dst, const float *src, size_t count) argument
157 memcpy_to_p24_from_q8_23(uint8_t *dst, const int32_t *src, size_t count) argument
174 memcpy_to_p24_from_i32(uint8_t *dst, const int32_t *src, size_t count) argument
191 memcpy_to_q8_23_from_i16(int32_t *dst, const int16_t *src, size_t count) argument
198 memcpy_to_q8_23_from_float_with_clamp(int32_t *dst, const float *src, size_t count) argument
205 memcpy_to_q8_23_from_p24(int32_t *dst, const uint8_t *src, size_t count) argument
217 memcpy_to_q4_27_from_float(int32_t *dst, const float *src, size_t count) argument
224 memcpy_to_i16_from_q8_23(int16_t *dst, const int32_t *src, size_t count) argument
231 memcpy_to_float_from_q8_23(float *dst, const int32_t *src, size_t count) argument
238 memcpy_to_i32_from_i16(int32_t *dst, const int16_t *src, size_t count) argument
245 memcpy_to_i32_from_float(int32_t *dst, const float *src, size_t count) argument
252 memcpy_to_float_from_i32(float *dst, const int32_t *src, size_t count) argument
259 downmix_to_mono_i16_from_stereo_i16(int16_t *dst, const int16_t *src, size_t count) argument
267 upmix_to_stereo_i16_from_mono_i16(int16_t *dst, const int16_t *src, size_t count) argument
277 downmix_to_mono_float_from_stereo_float(float *dst, const float *src, size_t frames) argument
285 upmix_to_stereo_float_from_mono_float(float *dst, const float *src, size_t frames) argument
362 memcpy_by_channel_mask(void *dst, uint32_t dst_mask, const void *src, uint32_t src_mask, size_t sample_size, size_t count) argument
429 memcpy_by_index_array(void *dst, uint32_t dst_channels, const void *src, uint32_t src_channels, const int8_t *idxary, size_t sample_size, size_t count) argument
[all...]
H A Dformat.c25 const void *src, audio_format_t src_format, size_t count)
36 memcpy(dst, src, count * audio_bytes_per_sample(dst_format));
46 memcpy_to_i16_from_float((int16_t*)dst, (float*)src, count);
49 memcpy_to_i16_from_u8((int16_t*)dst, (uint8_t*)src, count);
52 memcpy_to_i16_from_p24((int16_t*)dst, (uint8_t*)src, count);
55 memcpy_to_i16_from_i32((int16_t*)dst, (int32_t*)src, count);
58 memcpy_to_i16_from_q8_23((int16_t*)dst, (int32_t*)src, count);
67 memcpy_to_float_from_i16((float*)dst, (int16_t*)src, count);
70 memcpy_to_float_from_u8((float*)dst, (uint8_t*)src, count);
73 memcpy_to_float_from_p24((float*)dst, (uint8_t*)src, coun
24 memcpy_by_audio_format(void *dst, audio_format_t dst_format, const void *src, audio_format_t src_format, size_t count) argument
[all...]
/system/bt/hci/
H A DAndroid.mk6 src/btsnoop.c \
7 src/btsnoop_mem.c \
8 src/btsnoop_net.c \
9 src/buffer_allocator.c \
10 src/hci_audio.c \
11 src/hci_hal.c \
12 src/hci_hal_h4.c \
13 src/hci_hal_mct.c \
14 src/hci_inject.c \
15 src/hci_laye
[all...]
/system/bt/main/
H A DAndroid.mk11 ../btif/src/bluetooth.c
23 ../btif/src/btif_av.c \
24 ../btif/src/btif_config.c \
25 ../btif/src/btif_config_transcode.cpp \
26 ../btif/src/btif_core.c \
27 ../btif/src/btif_debug.c \
28 ../btif/src/btif_debug_btsnoop.c \
29 ../btif/src/btif_debug_conn.c \
30 ../btif/src/btif_dm.c \
31 ../btif/src/btif_gat
[all...]
/system/bt/osi/
H A DAndroid.mk31 ./src/alarm.c \
32 ./src/allocation_tracker.c \
33 ./src/allocator.c \
34 ./src/array.c \
35 ./src/buffer.c \
36 ./src/config.c \
37 ./src/data_dispatcher.c \
38 ./src/eager_reader.c \
39 ./src/fixed_queue.c \
40 ./src/futur
[all...]
/system/bt/osi/src/
H A Dcompat.c62 * Copy src to string dst of size siz. At most siz-1 characters
64 * Returns strlen(src); if retval >= siz, truncation occurred.
67 strlcpy(char *dst, const char *src, size_t siz) argument
70 const char *s = src;
81 /* Not enough room in dst, add NUL and traverse rest of src */
89 return(s - src - 1); /* count does not include NUL */
95 * Appends src to string dst of size siz (unlike strncat, siz is the
98 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
102 strlcat(char *dst, const char *src, size_t siz) argument
105 const char *s = src;
[all...]
/system/core/include/utils/
H A DUnicode.h53 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len);
56 * Stores a UTF-8 string converted from "src" in "dst", if "dst_length" is not
57 * large enough to store the string, the part of the "src" string is stored
63 * "src" == \u3042\u3044 (\xE3\x81\x82\xE3\x81\x84)
72 * "src" == \u3042\u3044 (\xE3\x81\x82\xE3\x81\x84)
82 * "src" == \u3042\u3044 (\xE3\x81\x82\xE3\x81\x84)
90 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst);
99 int32_t utf32_from_utf8_at(const char *src, size_t src_len, size_t index, size_t *next_index);
103 * Returns the UTF-8 length of UTF-16 string "src".
105 ssize_t utf16_to_utf8_length(const char16_t *src, size_
[all...]
H A DFileMap.h107 FileMap(const FileMap& src);
108 const FileMap& operator=(const FileMap& src);
/system/core/libcutils/
H A Dstrlcpy.c28 * Copy src to string dst of size siz. At most siz-1 characters
30 * Returns strlen(src); if retval >= siz, truncation occurred.
33 strlcpy(char *dst, const char *src, size_t siz) argument
36 const char *s = src;
47 /* Not enough room in dst, add NUL and traverse rest of src */
55 return(s - src - 1); /* count does not include NUL */
/system/bt/osi/include/
H A Dcompat.h29 /* Copy src to string dst of size siz. */
30 size_t strlcpy(char *dst, const char *src, size_t siz);
32 /* Appends src to string dst of size siz. */
33 size_t strlcat(char *dst, const char *src, size_t siz);
/system/extras/tests/bionic/libc/other/
H A Dtest_jpeg.c59 SourceMgr src = (SourceMgr) cinfo->src; local
61 src->jpeg_mgr.next_input_byte = (unsigned char*)src->base,
62 src->jpeg_mgr.bytes_in_buffer = src->end - src->base;
68 SourceMgr src = (SourceMgr) cinfo->src; local
77 SourceMgr src local
90 SourceMgr src = (SourceMgr) cinfo->src; local
104 _source_init( SourceMgr src, char* base, long size ) argument
[all...]
/system/core/libutils/
H A DUnicode.cpp153 int32_t utf32_from_utf8_at(const char *src, size_t src_len, size_t index, size_t *next_index) argument
163 int32_t ret = utf32_at_internal(src + index, &num_read);
171 ssize_t utf32_to_utf8_length(const char32_t *src, size_t src_len) argument
173 if (src == NULL || src_len == 0) {
178 const char32_t *end = src + src_len;
179 while (src < end) {
180 ret += utf32_codepoint_utf8_length(*src++);
185 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst) argument
187 if (src == NULL || src_len == 0 || dst == NULL) {
191 const char32_t *cur_utf32 = src;
234 strcpy16(char16_t *dst, const char16_t *src) argument
256 strncpy16(char16_t *dst, const char16_t *src, size_t n) argument
327 utf16_to_utf8(const char16_t* src, size_t src_len, char* dst) argument
358 utf8_length(const char *src) argument
401 utf16_to_utf8_length(const char16_t *src, size_t src_len) argument
442 utf8_to_utf32_length(const char *src, size_t src_len) argument
467 utf8_to_utf32(const char* src, size_t src_len, char32_t* dst) argument
484 utf8_to_utf32_codepoint(const uint8_t *src, size_t length) argument
571 utf8_to_utf16_n(const uint8_t* src, size_t srcLen, char16_t* dst, size_t dstLen) argument
[all...]
/system/media/audio_utils/include/audio_utils/
H A Dprimitives.h26 /* The memcpy_* conversion routines are designed to work in-place on same dst as src
53 * src Source buffer
58 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count);
63 * src Source buffer
69 void memcpy_to_u8_from_i16(uint8_t *dst, const int16_t *src, size_t count);
74 * src Source buffer
80 void memcpy_to_u8_from_float(uint8_t *dst, const float *src, size_t count);
85 * src Source buffer
91 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count);
98 * src Sourc
[all...]
H A Dformat.h30 * src Source buffer
53 * Logs a fatal error if dst or src format is not allowed by the conversion rules above.
56 const void *src, audio_format_t src_format, size_t count);
69 * idxary Updated array of indices of channels in the src frame for the dst frame
/system/core/libdiskconfig/
H A Ddiskutils.c34 write_raw_image(const char *dst, const char *src, loff_t offset, int test) argument
44 ALOGI("Writing RAW image '%s' to '%s' (offset=%llu)", src, dst, (unsigned long long)offset);
45 if ((src_fd = open(src, O_RDONLY)) < 0) {
46 ALOGE("Could not open %s for reading (errno=%d).", src, errno);
67 ALOGE("Error (%d) while reading from '%s'", errno, src);
/system/core/include/cutils/
H A Dmemory.h35 size_t strlcpy(char *dst, const char *src, size_t size);
/system/core/libmincrypt/
H A Ddsa_sig.c35 static inline int trim_to_p256_bytes(unsigned char dst[P256_NBYTES], unsigned char *src, argument
38 while (*src == '\0' && src_len > 0) {
39 src++;
47 memcpy(dst + dst_offset, src, src_len);
/system/bt/btcore/
H A DAndroid.mk32 src/bdaddr.c \
33 src/counter.c \
34 src/device_class.c \
35 src/module.c \
36 src/osi_module.c \
37 src/property.c \
38 src/uuid.c
/system/core/libpixelflinger/tests/arch-arm64/col32cb16blend/
H A 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) argument
66 int srcAlpha = (src>>24);
74 int srcR = (src >> ( 3))&0x1F;
75 int srcG = (src >> ( 8+2))&0x3F;
76 int srcB = (src >> (16+3))&0x1F;
/system/core/libpixelflinger/tests/arch-arm64/t32cb16blend/
H A Dt32cb16blend_test.c65 void scanline_t32cb16blend_c(uint16_t * dst, uint32_t* src, size_t count) argument
70 uint32_t s = *src++;
94 uint32_t src[16]; local
111 src[j] = test.src_color;
114 scanline_t32cb16blend_c(dst_c,src,test.count);
115 scanline_t32cb16blend_arm64(dst_asm,src,test.count);
/system/bt/bta/pan/
H A Dbta_pan_ci.c129 void bta_pan_ci_rx_write(UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, argument
141 bdcpy(((tBTA_PAN_DATA_PARAMS *)p_buf)->src, src);
172 void bta_pan_ci_rx_writebuf(UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, argument
177 bdcpy(((tBTA_PAN_DATA_PARAMS *)p_buf)->src, src);
200 BT_HDR * bta_pan_ci_readbuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16* p_protocol, argument
212 bdcpy(src,((tBTA_PAN_DATA_PARAMS *)p_buf)->src);
276 void bta_pan_ci_rx_writebuf(UINT16 handle, BD_ADDR src, BD_ADD argument
286 bta_pan_ci_readbuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 *p_protocol, BOOLEAN* p_ext, BOOLEAN* p_forward) argument
[all...]
/system/bt/bta/include/
H A Dbta_pan_ci.h99 extern void bta_pan_ci_rx_writebuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 protocol, BT_HDR *p_buf, BOOLEAN ext);
114 extern BT_HDR * bta_pan_ci_readbuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 *p_protocol,
/system/bt/btcore/include/
H A Dbdaddr.h41 // Returns destination bdaddr |dest| after copying |src| to |dest|.
42 // |dest| and |src| must not be NULL.
43 bt_bdaddr_t *bdaddr_copy(bt_bdaddr_t *dest, const bt_bdaddr_t *src);
/system/bt/utils/
H A DAndroid.mk16 ./src/bt_utils.c

Completed in 697 milliseconds

12345