/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 37 dst += 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 | 24 void memcpy_by_audio_format(void *dst, audio_format_t dst_format, 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/core/libcutils/arch-arm64/ |
D | android_memset.S | 41 #define dst x0 macro 88 add dst, dst, tmp1 92 stp A_l, A_l, [dst, #-48] 94 stp A_l, A_l, [dst, #-32] 96 stp A_l, A_l, [dst, #-16] 100 add dst, dst, count 101 stp A_l, A_l, [dst, #-16] /* Repeat some/all of last store. */ 108 str A_l, [dst], #8 111 str A_lw, [dst], #4 114 strh A_lw, [dst], #2 [all …]
|
/system/core/libcutils/arch-mips/ |
D | android_memset.c | 36 void android_memset16(uint16_t* dst, uint16_t value, size_t size) in android_memset16() argument 45 if (((uintptr_t)dst & 2) && size) { in android_memset16() 47 *dst++ = value; in android_memset16() 53 android_memset32((uint32_t*) dst, value32, size<<1); in android_memset16() 55 dst[size-1] = value; /* fill unpaired last elem */ in android_memset16() 63 void android_memset32(uint32_t* dst, uint32_t value, size_t size) in android_memset32() argument 72 if (((uintptr_t)dst & 4) && size) { in android_memset32() 74 *dst++ = value; in android_memset32() 80 uint64_t* dst64 = (uint64_t*)dst; in android_memset32() 94 dst = (uint32_t*) dst64; in android_memset32() [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/media/camera/src/ |
D | camera_metadata.c | 208 camera_metadata_t *place_camera_metadata(void *dst, in place_camera_metadata() argument 212 if (dst == NULL) return NULL; in place_camera_metadata() 218 camera_metadata_t *metadata = (camera_metadata_t*)dst; in place_camera_metadata() 280 camera_metadata_t* copy_camera_metadata(void *dst, size_t dst_size, in copy_camera_metadata() argument 284 if (dst == NULL) return NULL; in copy_camera_metadata() 288 place_camera_metadata(dst, dst_size, src->entry_count, src->data_count); in copy_camera_metadata() 503 int append_camera_metadata(camera_metadata_t *dst, in append_camera_metadata() argument 505 if (dst == NULL || src == NULL ) return ERROR; in append_camera_metadata() 508 if (src->entry_count + dst->entry_count < src->entry_count) return ERROR; in append_camera_metadata() 509 if (src->data_count + dst->data_count < src->data_count) return ERROR; in append_camera_metadata() [all …]
|
/system/vold/tests/ |
D | VolumeManager_test.cpp | 39 char* dst = reinterpret_cast<char*>(&buffer); in TEST_F() local 46 EXPECT_TRUE(VolumeManager::asecHash(exp1, dst, 0) == NULL && errno == ESPIPE) in TEST_F() 48 …EXPECT_TRUE(VolumeManager::asecHash((const char*)NULL, dst, sizeof(buffer)) == NULL && errno == ES… in TEST_F() 51 EXPECT_FALSE(VolumeManager::asecHash(src1, dst, sizeof(buffer)) == NULL) in TEST_F() 53 EXPECT_STREQ(exp1, dst) in TEST_F() 58 EXPECT_FALSE(VolumeManager::asecHash(src2, dst, sizeof(buffer)) == NULL) in TEST_F() 60 EXPECT_STREQ(exp2, dst) in TEST_F()
|
/system/connectivity/shill/ |
D | routing_table_entry.h | 34 : dst(IPAddress::kFamilyUnknown), in RoutingTableEntry() 49 : dst(dst_in), in RoutingTableEntry() 65 : dst(dst_in), in RoutingTableEntry() 82 : dst(dst_in), in RoutingTableEntry() 92 : dst(b.dst), in RoutingTableEntry() 102 dst = b.dst; 117 return (dst.Equals(b.dst) && in Equals() 127 IPAddress dst; member
|
/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 133 bdcpy(((tBTA_PAN_DATA_PARAMS *)p_buf)->dst, dst); 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 167 bdcpy(((tBTA_PAN_DATA_PARAMS *)p_buf)->dst, dst); 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 201 bdcpy(dst,((tBTA_PAN_DATA_PARAMS *)p_buf)->dst); 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 268 UNUSED(dst); 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 279 UNUSED(dst); in bta_pan_ci_readbuf()
|
/system/core/libdiskconfig/ |
D | diskutils.c | 34 write_raw_image(const char *dst, const char *src, loff_t offset, int test) in write_raw_image() argument 44 ALOGI("Writing RAW image '%s' to '%s' (offset=%llu)", src, dst, (unsigned long long)offset); in write_raw_image() 51 if ((dst_fd = open(dst, O_RDWR)) < 0) { in write_raw_image() 52 ALOGE("Could not open '%s' for read/write (errno=%d).", dst, errno); in write_raw_image() 57 ALOGE("Could not seek to offset %lld in %s.", (long long)offset, dst); in write_raw_image() 88 ALOGE("Error (%d) while writing to '%s'", errno, dst); in write_raw_image() 105 ALOGI("Wrote %" PRIu64 " bytes to %s @ %lld", total, dst, (long long)offset); in write_raw_image()
|
/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/extras/memcpy-perf/ |
D | memcpy-perf.cpp | 19 void __attribute__((noinline)) memcpy_noinline(void *dst, void *src, size_t size); 20 void __attribute__((noinline)) memset_noinline(void *dst, int value, size_t size); 47 unique_ptr<uint8_t[]> dst(new uint8_t[size_end]); in main() local 66 memcpy_noinline(src.get(), dst.get(), cur_size); in main() 67 memset_noinline(dst.get(), 0xdeadbeef, cur_size); in main() 70 memset_noinline(dst.get(), 0xdeadbeef, 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()
|
D | test-funcs.cpp | 3 void __attribute__((noinline)) memcpy_noinline(void *dst, void *src, size_t size) in memcpy_noinline() argument 5 memcpy(dst,src,size); in memcpy_noinline() 8 void __attribute__((noinline)) memset_noinline(void *dst, int value, size_t size) in memset_noinline() argument 10 memset(dst, value, size); in memset_noinline()
|
/system/bt/osi/src/ |
D | compat.c | 69 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() argument 71 char *d = dst; in strlcpy() 104 strlcat(char *dst, const char *src, size_t siz) in strlcat() argument 106 char *d = dst; in strlcat() 114 dlen = d - dst; in strlcat()
|
/system/core/libpixelflinger/ |
D | scanline.cpp | 133 extern "C" void scanline_t32cb16_arm(uint16_t *dst, uint32_t *src, size_t ct); 134 extern "C" void scanline_col32cb16blend_neon(uint16_t *dst, uint32_t *col, size_t ct); 135 extern "C" void scanline_col32cb16blend_arm(uint16_t *dst, uint32_t col, size_t ct); 138 extern "C" void scanline_col32cb16blend_arm64(uint16_t *dst, uint32_t col, size_t ct); 143 extern "C" void scanline_col32cb16blend_mips64(uint16_t *dst, uint32_t col, size_t ct); 471 const pixel_t* src, const pixel_t* dst); 505 blend_factor(c, &df, c->state.blend.dst, fragment, fb); in blending() 549 uint32_t factor, const pixel_t* src, const pixel_t* dst) in blend_factor() argument 565 r->c[1] = blendfactor(dst->c[1], dst->s[1]); in blend_factor() 566 r->c[2] = blendfactor(dst->c[2], dst->s[2]); in blend_factor() [all …]
|
D | picker.cpp | 54 uint32_t dst = c->state.blend.dst; in ggl_pick() local 67 if ((dst == GGL_ONE_MINUS_DST_ALPHA) || in ggl_pick() 68 (dst == GGL_DST_ALPHA)) { in ggl_pick() 69 dst = GGL_ONE; in ggl_pick() 78 dst = ggl_blendfactor_to_needs(dst); in ggl_pick() 83 n |= GGL_BUILD_NEEDS( dst, BLEND_DST ); in ggl_pick() 89 n |= GGL_BUILD_NEEDS( dst, BLEND_DSTA ); in ggl_pick()
|
D | clear.cpp | 55 uint8_t* dst = (uint8_t*)s.data + (l + t*s.stride)*size; in memset2d() local 67 memset(dst, packed, w); in memset2d() 68 dst += stride; in memset2d() 73 android_memset16((uint16_t*)dst, packed, w); in memset2d() 74 dst += stride; in memset2d() 81 android_memset32((uint32_t*)dst, packed, w); in memset2d() 82 dst += stride; in memset2d()
|
/system/core/base/ |
D | stringprintf.cpp | 26 void StringAppendV(std::string* dst, const char* format, va_list ap) { in StringAppendV() argument 41 dst->append(space, result); in StringAppendV() 63 dst->append(buf, result); in StringAppendV() 77 void StringAppendF(std::string* dst, const char* format, ...) { in StringAppendF() argument 80 StringAppendV(dst, format, ap); in StringAppendF()
|
/system/core/include/utils/ |
D | Unicode.h | 91 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst, size_t dst_len); 113 void utf16_to_utf8(const char16_t* src, size_t src_len, char* dst, size_t dst_len); 143 void utf8_to_utf32(const char* src, size_t src_len, char32_t* dst); 155 char16_t* utf8_to_utf16_no_null_terminator(const uint8_t* src, size_t srcLen, char16_t* dst); 162 void utf8_to_utf16(const uint8_t* src, size_t srcLen, char16_t* dst); 169 char16_t* utf8_to_utf16_n(const uint8_t* src, size_t srcLen, char16_t* dst, size_t dstLen);
|
/system/core/libutils/ |
D | Unicode.cpp | 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() 194 char *cur = dst; in utf32_to_utf8() 243 char16_t *strcpy16(char16_t *dst, const char16_t *src) in strcpy16() argument 245 char16_t *q = dst; in strcpy16() 253 return dst; in strcpy16() 265 char16_t *strncpy16(char16_t *dst, const char16_t *src, size_t n) in strncpy16() argument 267 char16_t *q = dst; in strncpy16() 280 return dst; in strncpy16() 355 void utf16_to_utf8(const char16_t* src, size_t src_len, char* dst, size_t dst_len) in utf16_to_utf8() argument [all …]
|
/system/media/camera/include/system/ |
D | camera_metadata.h | 202 camera_metadata_t *place_camera_metadata(void *dst, size_t dst_size, 279 camera_metadata_t *copy_camera_metadata(void *dst, size_t dst_size, 306 int append_camera_metadata(camera_metadata_t *dst, const camera_metadata_t *src); 340 int add_camera_metadata_entry(camera_metadata_t *dst, 353 int sort_camera_metadata(camera_metadata_t *dst); 407 int delete_camera_metadata_entry(camera_metadata_t *dst, 420 int update_camera_metadata_entry(camera_metadata_t *dst, 540 char *dst,
|
/system/core/include/cutils/ |
D | memory.h | 28 void android_memset16(uint16_t* dst, uint16_t value, size_t size); 31 void android_memset32(uint32_t* dst, uint32_t value, size_t size); 35 size_t strlcpy(char *dst, const char *src, size_t size);
|
/system/bt/stack/pan/ |
D | pan_main.c | 435 UINT8 *dst, in pan_data_ind_cb() argument 472 if (dst[0] & 0x01) in pan_data_ind_cb() 482 BNEP_Write (pan_cb.pcb[i].handle, dst, p_data, len, protocol, src, ext); in pan_data_ind_cb() 487 (*pan_cb.pan_data_ind_cb) (pcb->handle, src, dst, protocol, p_data, len, ext, TRUE); in pan_data_ind_cb() 498 if (memcmp (pan_cb.pcb[i].rem_bda, dst, BD_ADDR_LEN) == 0) in pan_data_ind_cb() 500 BNEP_Write (pan_cb.pcb[i].handle, dst, p_data, len, protocol, src, ext); in pan_data_ind_cb() 513 (*pan_cb.pan_data_ind_cb) (pcb->handle, src, dst, protocol, p_data, len, ext, forward); in pan_data_ind_cb() 540 UINT8 *dst, in pan_data_buf_ind_cb() argument 582 if (dst[0] & 0x01) in pan_data_buf_ind_cb() 592 BNEP_Write (pan_cb.pcb[i].handle, dst, p_data, len, protocol, src, ext); in pan_data_buf_ind_cb() [all …]
|
/system/media/camera/docs/ |
D | metadata-generate | 171 local dst="$2" # Absolute path 177 if ! [[ -d $dst ]]; then 178 echo "FAIL: Destination directory $dst does not exist" >& 2 182 cp -R "$src" "$dst" 186 echo "ERROR: Failed to copy $(relpath "$src") to $(relpath "$dst")" >& 2 188 echo "OK: Copied $(relpath "$src") to $(relpath "$dst")"
|
/system/bt/btif/co/ |
D | bta_pan_co.c | 163 BD_ADDR dst; 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() 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 250 UNUSED(dst); in bta_pan_co_tx_write() 274 BD_ADDR dst, UINT16 protocol, BT_HDR *p_buf, in bta_pan_co_tx_writebuf() argument 280 UNUSED(dst); in bta_pan_co_tx_writebuf()
|