/system/core/libcutils/arch-mips/ |
H A D | android_memset.c | 20 void _memset16(uint16_t* dst, uint16_t value, size_t size); 21 void _memset32(uint32_t* dst, uint32_t value, size_t size); 23 void android_memset16(uint16_t* dst, uint16_t value, size_t size) argument 25 _memset16(dst, value, size); 28 void android_memset32(uint32_t* dst, uint32_t value, size_t size) argument 30 _memset32(dst, value, size);
|
/system/media/audio_utils/ |
H A D | primitives.c | 35 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count) argument 37 dst += 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_i16_from_i32(int16_t *dst, const int32_t *src, size_t count) argument 54 *dst++ = *src++ >> 16; 58 void memcpy_to_i16_from_float(int16_t *dst, const float *src, size_t count) argument 61 *dst++ = clamp16_from_float(*src++); 65 void memcpy_to_float_from_q4_27(float *dst, cons argument 72 memcpy_to_float_from_i16(float *dst, const int16_t *src, size_t count) argument 79 memcpy_to_float_from_p24(float *dst, const uint8_t *src, size_t count) argument 87 memcpy_to_i16_from_p24(int16_t *dst, const uint8_t *src, size_t count) argument 99 memcpy_to_p24_from_i16(uint8_t *dst, const int16_t *src, size_t count) argument 114 memcpy_to_p24_from_float(uint8_t *dst, const float *src, size_t count) argument 131 memcpy_to_p24_from_q8_23(uint8_t *dst, const int32_t *src, size_t count) argument 148 memcpy_to_q8_23_from_i16(int32_t *dst, const int16_t *src, size_t count) argument 155 memcpy_to_q8_23_from_float_with_clamp(int32_t *dst, const float *src, size_t count) argument 162 memcpy_to_q4_27_from_float(int32_t *dst, const float *src, size_t count) argument 169 memcpy_to_i16_from_q8_23(int16_t *dst, const int32_t *src, size_t count) argument 176 memcpy_to_float_from_q8_23(float *dst, const int32_t *src, size_t count) argument 183 memcpy_to_i32_from_i16(int32_t *dst, const int16_t *src, size_t count) argument 190 memcpy_to_i32_from_float(int32_t *dst, const float *src, size_t count) argument 197 memcpy_to_float_from_i32(float *dst, const int32_t *src, size_t count) argument 204 downmix_to_mono_i16_from_stereo_i16(int16_t *dst, const int16_t *src, size_t count) argument 212 upmix_to_stereo_i16_from_mono_i16(int16_t *dst, const int16_t *src, size_t count) argument 289 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 356 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 D | format.c | 24 void memcpy_by_audio_format(void *dst, audio_format_t dst_format, argument 35 memcpy(dst, src, count * audio_bytes_per_sample(dst_format)); 45 memcpy_to_i16_from_float((int16_t*)dst, (float*)src, count); 48 memcpy_to_i16_from_p24((int16_t*)dst, (uint8_t*)src, count); 51 memcpy_to_i16_from_i32((int16_t*)dst, (int32_t*)src, count); 54 memcpy_to_i16_from_q8_23((int16_t*)dst, (int32_t*)src, count); 63 memcpy_to_float_from_i16((float*)dst, (int16_t*)src, count); 66 memcpy_to_float_from_p24((float*)dst, (uint8_t*)src, count); 69 memcpy_to_float_from_i32((float*)dst, (int32_t*)src, count); 72 memcpy_to_float_from_q8_23((float*)dst, (int32_ [all...] |
/system/core/libcutils/ |
H A D | memory.c | 20 void android_memset16(uint16_t* dst, uint16_t value, size_t size) argument 24 *dst++ = value; 30 void android_memset32(uint32_t* dst, uint32_t value, size_t size) argument 34 *dst++ = value; 62 * Copy src to string dst of size siz. At most siz-1 characters 67 strlcpy(char *dst, const char *src, size_t siz) argument 69 char *d = dst; 81 /* Not enough room in dst, add NUL and traverse rest of src */ 84 *d = '\0'; /* NUL-terminate dst */
|
/system/core/include/cutils/ |
H A 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/vold/tests/ |
H A D | VolumeManager_test.cpp | 39 char* dst = reinterpret_cast<char*>(&buffer); local 46 EXPECT_TRUE(VolumeManager::asecHash(exp1, dst, 0) == NULL && errno == ESPIPE) 48 EXPECT_TRUE(VolumeManager::asecHash((const char*)NULL, dst, sizeof(buffer)) == NULL && errno == ESPIPE) 51 EXPECT_FALSE(VolumeManager::asecHash(src1, dst, sizeof(buffer)) == NULL) 53 EXPECT_STREQ(exp1, dst) 58 EXPECT_FALSE(VolumeManager::asecHash(src2, dst, sizeof(buffer)) == NULL) 60 EXPECT_STREQ(exp2, dst)
|
/system/core/libcutils/arch-arm64/ |
H A D | android_memset.S | 41 #define dst x0 define 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], # [all...] |
/system/core/libdiskconfig/ |
H A D | diskutils.c | 34 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); 51 if ((dst_fd = open(dst, O_RDWR)) < 0) { 52 ALOGE("Could not open '%s' for read/write (errno=%d).", dst, errno); 57 ALOGE("Could not seek to offset %lld in %s.", (long long)offset, dst); 88 ALOGE("Error (%d) while writing to '%s'", errno, dst); 105 ALOGI("Wrote %" PRIu64 " bytes to %s @ %lld", total, dst, (long long)offset);
|
/system/media/camera/src/ |
H A D | camera_metadata.c | 207 camera_metadata_t *place_camera_metadata(void *dst, argument 211 if (dst == NULL) return NULL; 217 camera_metadata_t *metadata = (camera_metadata_t*)dst; 279 camera_metadata_t* copy_camera_metadata(void *dst, size_t dst_size, argument 283 if (dst == NULL) return NULL; 287 place_camera_metadata(dst, dst_size, src->entry_count, src->data_count); 458 int append_camera_metadata(camera_metadata_t *dst, argument 460 if (dst == NULL || src == NULL ) return ERROR; 462 if (dst->entry_capacity < src->entry_count + dst 519 add_camera_metadata_entry_raw(camera_metadata_t *dst, uint32_t tag, uint8_t type, const void *data, size_t data_count) argument 556 add_camera_metadata_entry(camera_metadata_t *dst, uint32_t tag, const void *data, size_t data_count) argument 582 sort_camera_metadata(camera_metadata_t *dst) argument 664 delete_camera_metadata_entry(camera_metadata_t *dst, size_t index) argument 703 update_camera_metadata_entry(camera_metadata_t *dst, size_t index, const void *data, size_t data_count, camera_metadata_entry_t *updated_entry) argument [all...] |
/system/core/include/utils/ |
H A D | Unicode.h | 62 * Stores a UTF-8 string converted from "src" in "dst", if "dst_length" is not 64 * into "dst" as much as possible. See the examples for more detail. 66 * dst" is not null-terminated when dst_len is fully used (like strncpy). 74 * "dst" becomes \xE3\x81\x82\xE3\x81\x84\0 75 * (note that "dst" is null-terminated) 83 * "dst" becomes \xE3\x81\x82\0 84 * (note that "dst" is null-terminated, but \u3044 is not stored in "dst" 85 * since "dst" does not have enough size to store the character) 93 * "dst" become [all...] |
/system/media/audio_utils/include/audio_utils/ |
H A D | primitives.h | 26 /* The memcpy_* conversion routines are designed to work in-place on same dst as src 52 * dst Destination buffer 58 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count); 62 * dst Destination buffer 69 void memcpy_to_u8_from_i16(uint8_t *dst, const int16_t *src, size_t count); 73 * dst Destination buffer 80 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count); 86 * dst Destination buffer 93 void memcpy_to_i16_from_float(int16_t *dst, const float *src, size_t count); 100 * dst Destinatio [all...] |
H A D | format.h | 28 * dst Destination buffer 52 * Logs a fatal error if dst or src format is not allowed by the conversion rules above. 54 void memcpy_by_audio_format(void *dst, audio_format_t dst_format,
|
/system/core/init/ |
H A D | init_parser.h | 34 int expand_props(char *dst, const char *src, int len);
|
/system/media/camera/include/system/ |
H A D | camera_metadata.h | 202 camera_metadata_t *place_camera_metadata(void *dst, size_t dst_size, 231 * its dst buffer. 272 * the start of dst. 279 camera_metadata_t *copy_camera_metadata(void *dst, size_t dst_size, 300 * Append camera metadata in src to an existing metadata structure in dst. This 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, [all...] |
/system/core/libmincrypt/ |
H A D | dsa_sig.c | 35 static inline int trim_to_p256_bytes(unsigned char dst[P256_NBYTES], unsigned char *src, argument 46 memset(dst, 0, dst_offset); 47 memcpy(dst + dst_offset, src, src_len);
|
/system/core/libutils/ |
H A D | Unicode.cpp | 191 void utf32_to_utf8(const char32_t* src, size_t src_len, char* dst) argument 193 if (src == NULL || src_len == 0 || dst == NULL) { 199 char *cur = dst; 240 char16_t *strcpy16(char16_t *dst, const char16_t *src) argument 242 char16_t *q = dst; 250 return dst; 262 char16_t *strncpy16(char16_t *dst, const char16_t *src, size_t n) argument 264 char16_t *q = dst; 277 return dst; 333 void utf16_to_utf8(const char16_t* src, size_t src_len, char* dst) argument 473 utf8_to_utf32(const char* src, size_t src_len, char32_t* dst) argument 577 utf8_to_utf16_n(const uint8_t* src, size_t srcLen, char16_t* dst, size_t dstLen) argument [all...] |
/system/media/camera/docs/ |
H A D | metadata-generate | 159 local dst="$2" # Absolute path 165 if ! [[ -d $dst ]]; then 166 echo "FAIL: Destination directory $dst does not exist" >& 2 170 cp -R "$src" "$dst" 174 echo "ERROR: Failed to copy $(relpath "$src") to $(relpath "$dst")" >& 2 176 echo "OK: Copied $(relpath "$src") to $(relpath "$dst")"
|
/system/core/libpixelflinger/ |
H A D | buffer.h | 28 void ggl_set_surface(context_t* c, surface_t* dst, const GGLSurface* src);
|
H A D | picker.cpp | 54 uint32_t dst = c->state.blend.dst; local 67 if ((dst == GGL_ONE_MINUS_DST_ALPHA) || 68 (dst == GGL_DST_ALPHA)) { 69 dst = GGL_ONE; 78 dst = ggl_blendfactor_to_needs(dst); 83 n |= GGL_BUILD_NEEDS( dst, BLEND_DST ); 89 n |= GGL_BUILD_NEEDS( dst, BLEND_DSTA );
|
H A D | raster.cpp | 108 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data) local 117 dst += height * bpr; 119 dst -= bpr; 121 memcpy(dst, src, rowsize); 127 memmove(dst, src, rowsize); 128 dst += bpr; 134 memcpy(dst, src, rowsize); 135 dst += bpr;
|
H A D | scanline.cpp | 131 extern "C" void scanline_t32cb16_arm(uint16_t *dst, uint32_t *src, size_t ct); 132 extern "C" void scanline_col32cb16blend_neon(uint16_t *dst, uint32_t *col, size_t ct); 133 extern "C" void scanline_col32cb16blend_arm(uint16_t *dst, uint32_t col, size_t ct); 136 extern "C" void scanline_col32cb16blend_arm64(uint16_t *dst, uint32_t col, size_t ct); 207 "565 fb, 8888 tx, blend dst:ONE_MINUS_SRCA src:SRCA", scanline_t32cb16blend_srca, init_y_noop }, 464 const pixel_t* src, const pixel_t* dst); 498 blend_factor(c, &df, c->state.blend.dst, fragment, fb); 542 uint32_t factor, const pixel_t* src, const pixel_t* dst) 558 r->c[1] = blendfactor(dst->c[1], dst 541 blend_factor(context_t* , pixel_t* r, uint32_t factor, const pixel_t* src, const pixel_t* dst) argument 1169 write(uint32_t s, uint16_t* dst) argument 1191 write(uint32_t s, uint16_t* dst, ditherer& di) argument 1226 write(uint32_t s, uint16_t* dst) argument 1270 write(uint32_t s, uint16_t* dst) argument 1300 write(uint32_t s, uint16_t* dst, ditherer& di) argument 1342 write(uint32_t s, uint16_t* dst) argument 1364 write(uint32_t s, uint16_t* dst, ditherer& di) argument 1397 write(uint16_t s16, uint16_t* dst) argument 1439 uint16_t* dst; member in struct:android::dst_iterator16 2093 uint16_t* dst; member in union:android::__anon211 2134 uint16_t* dst; member in union:android::__anon212 2183 uint16_t* dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y)); local 2252 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data) + local 2271 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data) + (x+(cb->stride*y)); local 2282 uint16_t* dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y)); local 2293 uint32_t* dst = reinterpret_cast<uint32_t*>(cb->data) + (x+(cb->stride*y)); local 2305 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data) + local 2318 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data) + local 2343 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data) + local [all...] |
H A D | clear.cpp | 55 uint8_t* dst = (uint8_t*)s.data + (l + t*s.stride)*size; local 67 memset(dst, packed, w); 68 dst += stride; 73 android_memset16((uint16_t*)dst, packed, w); 74 dst += stride; 81 android_memset32((uint32_t*)dst, packed, w); 82 dst += stride;
|
H A D | buffer.cpp | 58 void ggl_set_surface(context_t* c, surface_t* dst, const GGLSurface* src) argument 60 dst->width = src->width; 61 dst->height = src->height; 62 dst->stride = src->stride; 63 dst->data = src->data; 64 dst->format = src->format; 65 dst->dirty = 1; 66 if (__builtin_expect(dst->stride < 0, false)) { 67 const GGLFormat& pixelFormat(c->formats[dst->format]); 68 const int32_t bpr = -dst [all...] |
/system/core/libpixelflinger/tests/arch-arm64/col32cb16blend/ |
H A 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) argument 70 uint16_t d = *dst; 80 *dst++ = (uint16_t)((srcR<<11)|(srcG<<5)|srcB);
|
/system/core/libpixelflinger/tests/arch-arm64/t32cb16blend/ |
H A D | t32cb16blend_test.c | 65 void scanline_t32cb16blend_c(uint16_t * dst, uint32_t* src, size_t count) argument 69 uint16_t d = *dst; 87 *dst++ = (uint16_t)((srcR<<11)|(srcG<<5)|srcB);
|