/system/media/camera/src/ |
D | camera_metadata.c | 174 camera_metadata_t *place_camera_metadata(void *dst, in place_camera_metadata() argument 178 if (dst == NULL) return NULL; in place_camera_metadata() 185 camera_metadata_t *metadata = (camera_metadata_t*)dst; in place_camera_metadata() 251 camera_metadata_t* copy_camera_metadata(void *dst, size_t dst_size, in copy_camera_metadata() argument 255 if (dst == NULL) return NULL; in copy_camera_metadata() 259 place_camera_metadata(dst, dst_size, src->entry_count, src->data_count); in copy_camera_metadata() 274 int append_camera_metadata(camera_metadata_t *dst, in append_camera_metadata() argument 276 if (dst == NULL || src == NULL ) return ERROR; in append_camera_metadata() 278 if (dst->entry_capacity < src->entry_count + dst->entry_count) return ERROR; in append_camera_metadata() 279 if (dst->data_capacity < src->data_count + dst->data_count) return ERROR; in append_camera_metadata() [all …]
|
/system/media/audio_utils/ |
D | primitives.c | 33 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count) in memcpy_to_i16_from_u8() argument 35 dst += count; in memcpy_to_i16_from_u8() 38 *--dst = (int16_t)(*--src - 0x80) << 8; in memcpy_to_i16_from_u8() 42 void downmix_to_mono_i16_from_stereo_i16(int16_t *dst, const int16_t *src, size_t count) in downmix_to_mono_i16_from_stereo_i16() argument 45 *dst++ = (int16_t)(((int32_t)src[0] + (int32_t)src[1]) >> 1); in downmix_to_mono_i16_from_stereo_i16() 50 void upmix_to_stereo_i16_from_mono_i16(int16_t *dst, const int16_t *src, size_t count) in upmix_to_stereo_i16_from_mono_i16() argument 54 dst[0] = temp; in upmix_to_stereo_i16_from_mono_i16() 55 dst[1] = temp; in upmix_to_stereo_i16_from_mono_i16() 56 dst += 2; in upmix_to_stereo_i16_from_mono_i16()
|
/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/core/libcutils/ |
D | memory.c | 20 void android_memset16(uint16_t* dst, uint16_t value, size_t size) in android_memset16() argument 24 *dst++ = value; in android_memset16() 30 void android_memset32(uint32_t* dst, uint32_t value, size_t size) in android_memset32() argument 34 *dst++ = value; in android_memset32() 67 strlcpy(char *dst, const char *src, size_t siz) in strlcpy() argument 69 char *d = dst; in strlcpy()
|
/system/core/libdiskconfig/ |
D | diskutils.c | 33 write_raw_image(const char *dst, const char *src, loff_t offset, int test) in write_raw_image() argument 43 ALOGI("Writing RAW image '%s' to '%s' (offset=%llu)", src, dst, offset); in write_raw_image() 50 if ((dst_fd = open(dst, O_RDWR)) < 0) { in write_raw_image() 51 ALOGE("Could not open '%s' for read/write (errno=%d).", dst, errno); in write_raw_image() 56 ALOGE("Could not seek to offset %lld in %s.", offset, dst); in write_raw_image() 87 ALOGE("Error (%d) while writing to '%s'", errno, dst); in write_raw_image() 104 ALOGI("Wrote %llu bytes to %s @ %lld", total, dst, offset); in write_raw_image()
|
/system/media/camera/include/system/ |
D | camera_metadata.h | 178 camera_metadata_t *place_camera_metadata(void *dst, size_t dst_size, 252 camera_metadata_t *copy_camera_metadata(void *dst, size_t dst_size, 262 int append_camera_metadata(camera_metadata_t *dst, const camera_metadata_t *src); 294 int add_camera_metadata_entry(camera_metadata_t *dst, 305 int sort_camera_metadata(camera_metadata_t *dst); 347 int delete_camera_metadata_entry(camera_metadata_t *dst, 360 int update_camera_metadata_entry(camera_metadata_t *dst, 372 int set_camera_metadata_user_pointer(camera_metadata_t *dst, void* user); 379 int get_camera_metadata_user_pointer(camera_metadata_t *dst, void** user);
|
/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/core/libpixelflinger/ |
D | scanline.cpp | 122 extern "C" void scanline_t32cb16_arm(uint16_t *dst, uint32_t *src, size_t ct); 123 extern "C" void scanline_col32cb16blend_neon(uint16_t *dst, uint32_t *col, size_t ct); 124 extern "C" void scanline_col32cb16blend_arm(uint16_t *dst, uint32_t col, size_t ct); 448 const pixel_t* src, const pixel_t* dst); 482 blend_factor(c, &df, c->state.blend.dst, fragment, fb); in blending() 526 uint32_t factor, const pixel_t* src, const pixel_t* dst) in blend_factor() argument 542 r->c[1] = blendfactor(dst->c[1], dst->s[1]); in blend_factor() 543 r->c[2] = blendfactor(dst->c[2], dst->s[2]); in blend_factor() 544 r->c[3] = blendfactor(dst->c[3], dst->s[3]); in blend_factor() 545 r->c[0] = blendfactor(dst->c[0], dst->s[0]); 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()
|
D | raster.cpp | 108 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data) in ggl_copyPixels() local 117 dst += height * bpr; in ggl_copyPixels() 119 dst -= bpr; in ggl_copyPixels() 121 memcpy(dst, src, rowsize); in ggl_copyPixels() 127 memmove(dst, src, rowsize); in ggl_copyPixels() 128 dst += bpr; in ggl_copyPixels() 134 memcpy(dst, src, rowsize); in ggl_copyPixels() 135 dst += bpr; in ggl_copyPixels()
|
D | buffer.cpp | 58 void ggl_set_surface(context_t* c, surface_t* dst, const GGLSurface* src) in ggl_set_surface() argument 60 dst->width = src->width; in ggl_set_surface() 61 dst->height = src->height; in ggl_set_surface() 62 dst->stride = src->stride; in ggl_set_surface() 63 dst->data = src->data; in ggl_set_surface() 64 dst->format = src->format; in ggl_set_surface() 65 dst->dirty = 1; in ggl_set_surface() 66 if (__builtin_expect(dst->stride < 0, false)) { in ggl_set_surface() 67 const GGLFormat& pixelFormat(c->formats[dst->format]); in ggl_set_surface() 68 const int32_t bpr = -dst->stride * pixelFormat.size; in ggl_set_surface() [all …]
|
D | buffer.h | 28 void ggl_set_surface(context_t* c, surface_t* dst, const GGLSurface* src);
|
/system/core/libnetutils/ |
D | ifc_utils.c | 504 int ifc_act_on_ipv4_route(int action, const char *ifname, struct in_addr dst, int prefix_length, in ifc_act_on_ipv4_route() argument 518 init_sockaddr_in(&rt.rt_dst, dst.s_addr); in ifc_act_on_ipv4_route() 562 int ifc_add_host_route(const char *name, in_addr_t dst) in ifc_add_host_route() argument 566 in_dst.s_addr = dst; in ifc_add_host_route() 820 int ifc_act_on_ipv6_route(int action, const char *ifname, struct in6_addr dst, int prefix_length, in ifc_act_on_ipv6_route() argument 836 rtmsg.rtmsg_dst = dst; in ifc_act_on_ipv6_route() 867 int ifc_act_on_route(int action, const char *ifname, const char *dst, int prefix_length, in ifc_act_on_route() argument 879 ret = getaddrinfo(dst, NULL, &hints, &addr_ai); in ifc_act_on_route() 882 printerr("getaddrinfo failed: invalid address %s\n", dst); in ifc_act_on_route() 909 printerr("ifc_add_route: different address families: %s and %s\n", dst, gw); in ifc_act_on_route() [all …]
|
/system/extras/tests/memtest/ |
D | memtest.cpp | 150 char* dst = (char*)malloc(MAX_SIZE+4+8+32); in memcpy_test() local 152 memset(dst, 0, MAX_SIZE+4+8+32); in memcpy_test() 188 char* ddd = (char*)((long(dst+31)&~31) + 4); in memcpy_test() 192 memcpy(dst, src, size); // just make sure to load the caches I/D in memcpy_test() 219 char* d = dst + 1024; in memcpy_test() 233 free(dst); in memcpy_test() 278 char* dst = (char*)malloc(MAX_SIZE+4+8); in memset_test() local 306 if (j==0) preload(dst, DCACHE_SIZE*4); // flush D in memset_test() 307 else preload(dst, size); // load D in memset_test() 311 memset(dst, 0, size); in memset_test() [all …]
|
/system/media/audio_utils/include/audio_utils/ |
D | primitives.h | 45 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count); 55 void downmix_to_mono_i16_from_stereo_i16(int16_t *dst, const int16_t *src, size_t count); 65 void upmix_to_stereo_i16_from_mono_i16(int16_t *dst, const int16_t *src, size_t count);
|
/system/bluetooth/bluez-clean-headers/bluetooth/ |
D | rfcomm.h | 60 bdaddr_t dst; member 75 bdaddr_t dst; member
|
/system/extras/tests/framebuffer/ |
D | mdp_test.c | 305 req->dst.width = dst_imgw; in main() 306 req->dst.height = dst_imgh; in main() 307 req->dst.format = dst_fmt; in main() 308 req->dst.offset = 0; in main() 309 req->dst.memory_id = fb_fd; in main()
|
/system/core/run-as/ |
D | package.c | 52 string_copy(char* dst, size_t dstlen, const char* src, size_t srclen) in string_copy() argument 55 const char* dstend = dst + dstlen; in string_copy() 62 while (dst < dstend && src < srcend && *src != '\0') in string_copy() 63 *dst++ = *src++; in string_copy() 65 *dst = '\0'; /* zero-terminate result */ in string_copy()
|
/system/core/libpixelflinger/arch-mips/ |
D | t32cb16blend.S | 52 ext $t8,\dreg,\shift+6+5,5 # dst[\shift:15..11] 54 ext $t0,\dreg,\shift+5,6 # start green extraction dst[\shift:10..5] 58 ins \fb,$t8,\shift+6+5,5 # dst[\shift:15..11] 62 ext $t0,\dreg,\shift,5 # start blue extraction dst[\shift:4..0] 69 ins \fb,$t8,\shift+5,6 # finish green insertion dst[\shift:10..5]
|
/system/core/init/ |
D | init_parser.h | 34 int expand_props(char *dst, const char *src, int len);
|
D | init_parser.c | 173 static int push_chars(char **dst, int *len, const char *chars, int cnt) in push_chars() argument 178 memcpy(*dst, chars, cnt); in push_chars() 179 *dst += cnt; in push_chars() 185 int expand_props(char *dst, const char *src, int dst_size) in expand_props() argument 188 char *dst_ptr = dst; in expand_props() 195 if (!src || !dst || dst_size == 0) in expand_props()
|
/system/vold/ |
D | Volume.cpp | 530 int Volume::doMoveMount(const char *src, const char *dst, bool force) { in doMoveMount() argument 535 if (!mount(src, dst, "", flags, NULL)) { in doMoveMount() 537 SLOGD("Moved mount %s -> %s sucessfully", src, dst); in doMoveMount() 541 SLOGE("Failed to move mount %s -> %s (%s)", src, dst, strerror(errno)); in doMoveMount() 554 src, dst, strerror(errno), retries, action); in doMoveMount() 560 SLOGE("Giving up on move %s -> %s (%s)", src, dst, strerror(errno)); in doMoveMount()
|
/system/core/adb/ |
D | file_sync_client.c | 563 const char *dst; member 592 ci->dst = ci->src + ssize; in mkcopyinfo() 594 snprintf((char*) ci->dst, dsize, isdir ? "%s%s/" : "%s%s", dpath, name); in mkcopyinfo() 666 local_build_list(filelist, ci->src, ci->dst); in local_build_list() 703 if(sync_start_readtime(fd, ci->dst)) { in copy_local_dir_remote() 722 fprintf(stderr,"%spush: %s -> %s\n", listonly ? "would " : "", ci->src, ci->dst); in copy_local_dir_remote() 724 sync_send(fd, ci->src, ci->dst, ci->time, ci->mode, 0 /* no verify APK */)){ in copy_local_dir_remote() 861 if (remote_build_list(syncfd, filelist, dirlist->src, dirlist->dst)) { in remote_build_list() 905 if (sync_start_readtime(fd, ci->dst)) { in copy_remote_dir_local() 925 fprintf(stderr, "pull: %s -> %s\n", ci->src, ci->dst); in copy_remote_dir_local() [all …]
|
/system/core/include/netutils/ |
D | ifc.h | 63 extern int ifc_remove_route(const char *ifname, const char *dst,
|