Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 19 of 19) sorted by relevance

/system/core/libcutils/
Dstrdup8to16.c154 char16_t *dest = utf16Str; in strcpy8to16() local
162 *dest++ = (char16_t) ret; in strcpy8to16()
167 *dest++ = 0xd800 | ((ret - 0x10000) >> 10); in strcpy8to16()
168 *dest++ = 0xdc00 | ((ret - 0x10000) & 0x3ff); in strcpy8to16()
170 *dest++ = UTF16_REPLACEMENT_CHAR; in strcpy8to16()
174 *out_len = dest - utf16Str; in strcpy8to16()
190 char16_t *dest = utf16Str; in strcpylen8to16() local
199 *dest++ = (char16_t) ret; in strcpylen8to16()
204 *dest++ = 0xd800 | ((ret - 0x10000) >> 10); in strcpylen8to16()
205 *dest++ = 0xdc00 | ((ret - 0x10000) & 0x3ff); in strcpylen8to16()
[all …]
/system/keymaster/
Dserializable.cpp28 bool copy_from_buf(const uint8_t** buf_ptr, const uint8_t* end, void* dest, size_t size) { in copy_from_buf() argument
31 memcpy(dest, *buf_ptr, size); in copy_from_buf()
37 UniquePtr<uint8_t[]>* dest) { in copy_size_and_data_from_buf() argument
42 dest->reset(); in copy_size_and_data_from_buf()
45 dest->reset(new uint8_t[*size]); in copy_size_and_data_from_buf()
46 if (dest->get() == NULL) in copy_size_and_data_from_buf()
48 return copy_from_buf(buf_ptr, end, dest->get(), *size); in copy_size_and_data_from_buf()
106 bool Buffer::read(uint8_t* dest, size_t read_length) { in read() argument
109 memcpy(dest, buffer_.get() + read_position_, read_length); in read()
/system/core/include/utils/
DSortedVector.h129 virtual void do_copy(void* dest, const void* from, size_t num) const;
130 virtual void do_splat(void* dest, const void* item, size_t num) const;
131 virtual void do_move_forward(void* dest, const void* from, size_t num) const;
132 virtual void do_move_backward(void* dest, const void* from, size_t num) const;
253 void SortedVector<TYPE>::do_copy(void* dest, const void* from, size_t num) const {
254 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num );
258 void SortedVector<TYPE>::do_splat(void* dest, const void* item, size_t num) const {
259 splat_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(item), num );
263 void SortedVector<TYPE>::do_move_forward(void* dest, const void* from, size_t num) const {
264 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num );
[all …]
DVectorImpl.h104 virtual void do_copy(void* dest, const void* from, size_t num) const = 0;
105 virtual void do_splat(void* dest, const void* item, size_t num) const = 0;
106 virtual void do_move_forward(void* dest, const void* from, size_t num) const = 0;
107 virtual void do_move_backward(void* dest, const void* from, size_t num) const = 0;
115 inline void _do_copy(void* dest, const void* from, size_t num) const;
116 inline void _do_splat(void* dest, const void* item, size_t num) const;
117 inline void _do_move_forward(void* dest, const void* from, size_t num) const;
118 inline void _do_move_backward(void* dest, const void* from, size_t num) const;
DVector.h204 virtual void do_copy(void* dest, const void* from, size_t num) const;
205 virtual void do_splat(void* dest, const void* item, size_t num) const;
206 virtual void do_move_forward(void* dest, const void* from, size_t num) const;
207 virtual void do_move_backward(void* dest, const void* from, size_t num) const;
399 void Vector<TYPE>::do_copy(void* dest, const void* from, size_t num) const {
400 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num );
404 void Vector<TYPE>::do_splat(void* dest, const void* item, size_t num) const {
405 splat_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(item), num );
409 void Vector<TYPE>::do_move_forward(void* dest, const void* from, size_t num) const {
410 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num );
[all …]
/system/core/include/cutils/
Djstring.h34 extern char * strncpy16to8 (char *dest, const char16_t*s, size_t n);
38 extern char16_t * strcpy8to16 (char16_t *dest, const char*s, size_t *out_len);
39 extern char16_t * strcpylen8to16 (char16_t *dest, const char*s, int length,
/system/core/libpixelflinger/codeflinger/
Dtexturing.cpp1172 component_t& dest, in modulate() argument
1190 RSB(AL, 0, dest.reg, texel.reg, reg_imm(texel.reg, LSL, incoming.h)); in modulate()
1191 AND(AL, 0, dest.reg, dest.reg, incoming.reg); in modulate()
1192 dest.l = incoming.l; in modulate()
1193 dest.h = incoming.h; in modulate()
1194 dest.flags |= (incoming.flags & CLEAR_LO); in modulate()
1196 MOV(AL, 0, dest.reg, reg_imm(incoming.reg, LSL, 31-incoming.h)); in modulate()
1197 AND(AL, 0, dest.reg, texel.reg, reg_imm(dest.reg, ASR, 31)); in modulate()
1198 dest.l = 0; in modulate()
1199 dest.h = Nt; in modulate()
[all …]
DGGLAssembler.h364 void modulate( component_t& dest,
368 void decal( component_t& dest,
372 void blend( component_t& dest,
376 void add( component_t& dest,
382 void load(const pointer_t& addr, const pixel_t& dest, uint32_t flags=0);
/system/core/libutils/
DVectorImpl.cpp428 void* dest = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; in _grow() local
429 _do_copy(dest, from, mCount-where); in _grow()
495 void* dest = reinterpret_cast<uint8_t *>(array) + where*mItemSize; in _shrink() local
496 _do_copy(dest, from, new_size - where); in _shrink()
534 void VectorImpl::_do_copy(void* dest, const void* from, size_t num) const in _do_copy() argument
537 do_copy(dest, from, num); in _do_copy()
539 memcpy(dest, from, num*itemSize()); in _do_copy()
543 void VectorImpl::_do_splat(void* dest, const void* item, size_t num) const { in _do_splat() argument
544 do_splat(dest, item, num); in _do_splat()
547 void VectorImpl::_do_move_forward(void* dest, const void* from, size_t num) const { in _do_move_forward() argument
[all …]
DProcessCallStack.cpp252 String8 dest; in toString() local
253 String8Printer printer(&dest, prefix); in toString()
256 return dest; in toString()
/system/extras/tests/sdcard/
Dsdcard_perf_test.cpp311 char *dest = chunk; in readData() local
327 ssize_t s = read(fd, dest, chunk_size); in readData()
335 dest += s; in readData()
443 const char *dest = chunk; in writeData() local
460 ssize_t s = write(fd, dest, chunk_size); in writeData()
468 dest += s; in writeData()
573 char *dest = chunk; in writeTestFile() local
584 ssize_t s = write(fd, dest, chunk_size); in writeTestFile()
590 dest += s; in writeTestFile()
/system/keymaster/include/keymaster/
Dgoogle_keymaster_utils.h85 template <typename T, size_t N> inline void copy_array(const T (&arr)[N], T* dest) { in copy_array() argument
87 dest[i] = arr[i]; in copy_array()
Dserializable.h126 bool copy_from_buf(const uint8_t** buf_ptr, const uint8_t* end, void* dest, size_t size);
136 UniquePtr<uint8_t[]>* dest);
204 bool read(uint8_t* dest, size_t read_length);
/system/extras/tests/bionic/libc/other/
Dtest_zlib.c45 int def(FILE *source, FILE *dest, int level) in def() argument
78 if (fwrite(out, 1, have, dest) != have || ferror(dest)) { in def()
/system/core/libnetutils/
Dpacket.c114 udp.dest = htons(dport); in send_packet()
196 } else if (packet.udp.dest != htons(PORT_BOOTP_CLIENT)) { in receive_packet()
198 ALOGD("UDP dest port (%d) is not DHCP client", ntohs(packet.udp.dest)); in receive_packet()
/system/core/fastboot/
Dfastboot.h56 void fb_queue_query_save(const char *var, char *dest, unsigned dest_size);
Dengine.c320 void fb_queue_query_save(const char *var, char *dest, unsigned dest_size) in fb_queue_query_save() argument
324 a->data = (void *)dest; in fb_queue_query_save()
/system/core/adb/
Dcommandline.c694 char *dest; in escape_arg() local
714 dest = ret; in escape_arg()
718 *dest++ = '\\'; in escape_arg()
720 *dest++ = *ts; in escape_arg()
722 *dest++ = '\0'; in escape_arg()
/system/core/toolbox/
Dnewfs_msdos.c1038 static void mklabel(u_int8_t *dest, const char *src) in mklabel() argument
1044 *dest++ = !i && c == '\xe5' ? 5 : c; in mklabel()
1051 static void setstr(u_int8_t *dest, const char *src, size_t len) in setstr() argument
1054 *dest++ = *src ? *src++ : ' '; in setstr()