Searched refs:dest (Results 1 - 25 of 25) sorted by last modified time

/system/core/adb/
H A Dcommandline.c502 char *dest; local
518 dest = ret;
522 *dest++ = '\\';
525 *dest++ = *ts;
528 *dest++ = '\0';
/system/core/fastboot/
H A Dengine.c552 void fb_queue_query_save(const char *var, char *dest, unsigned dest_size) argument
556 a->data = (void *)dest;
H A Dfastboot.h56 void fb_queue_query_save(const char *var, char *dest, unsigned dest_size);
/system/core/include/cutils/
H A Djstring.h31 extern char * strncpy16to8 (char *dest, const char16_t*s, size_t n);
35 extern char16_t * strcpy8to16 (char16_t *dest, const char*s, size_t *out_len);
36 extern char16_t * strcpylen8to16 (char16_t *dest, const char*s, int length,
/system/core/libcutils/
H A Dstrdup8to16.c154 char16_t *dest = utf16Str; local
162 *dest++ = (char16_t) ret;
167 *dest++ = 0xd800 | ((ret - 0x10000) >> 10);
168 *dest++ = 0xdc00 | ((ret - 0x10000) & 0x3ff);
170 *dest++ = UTF16_REPLACEMENT_CHAR;
174 *out_len = dest - utf16Str;
190 char16_t *dest = utf16Str; local
199 *dest++ = (char16_t) ret;
204 *dest++ = 0xd800 | ((ret - 0x10000) >> 10);
205 *dest
[all...]
/system/core/libnetutils/
H A Difc_utils.c651 in_addr_t dest, gway, mask; local
668 ifname, &dest, &gway, &flags, &refcnt, &use, &metric, &mask,
679 init_sockaddr_in(&rt.rt_dst, dest);
682 addr.s_addr = dest;
704 in_addr_t dest, gway, mask; local
721 name, &dest, &gway, &flags, &refcnt, &use, &metric, &mask,
727 && dest == 0
H A Dpacket.c114 udp.dest = htons(dport);
196 } else if (packet.udp.dest != htons(PORT_BOOTP_CLIENT)) {
198 ALOGD("UDP dest port (%d) is not DHCP client", ntohs(packet.udp.dest));
/system/core/libnl_2/
H A Dattr.c231 int nla_memcpy(void *dest, struct nlattr *src, int count) argument
233 if (!src || !dest)
237 memcpy(dest, nla_data(src), count);
/system/core/libpixelflinger/codeflinger/
H A DGGLAssembler.h358 void modulate( component_t& dest,
362 void decal( component_t& dest,
366 void blend( component_t& dest,
370 void add( component_t& dest,
376 void load(const pointer_t& addr, const pixel_t& dest, uint32_t flags=0);
H A Dtexturing.cpp138 comment("load initial iterated color (dest format packed)");
1172 component_t& dest,
1189 // dest = incoming & ((texel << incoming.h)-texel)
1190 RSB(AL, 0, dest.reg, texel.reg, reg_imm(texel.reg, LSL, incoming.h));
1191 AND(AL, 0, dest.reg, dest.reg, incoming.reg);
1192 dest.l = incoming.l;
1193 dest.h = incoming.h;
1194 dest.flags |= (incoming.flags & CLEAR_LO);
1196 MOV(AL, 0, dest
1171 modulate( component_t& dest, const component_t& incoming, const pixel_t& incomingTexel, int component) argument
1261 decal( component_t& dest, const component_t& incoming, const pixel_t& incomingTexel, int component) argument
1292 blend( component_t& dest, const component_t& incoming, const pixel_t& incomingTexel, int component, int tmu) argument
1330 add( component_t& dest, const component_t& incoming, const pixel_t& incomingTexel, int component) argument
[all...]
/system/core/libpixelflinger/tinyutils/
H A DSortedVector.h127 virtual void do_copy(void* dest, const void* from, size_t num) const;
128 virtual void do_splat(void* dest, const void* item, size_t num) const;
129 virtual void do_move_forward(void* dest, const void* from, size_t num) const;
130 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_cas
[all...]
H A DVector.h156 virtual void do_copy(void* dest, const void* from, size_t num) const;
157 virtual void do_splat(void* dest, const void* item, size_t num) const;
158 virtual void do_move_forward(void* dest, const void* from, size_t num) const;
159 virtual void do_move_backward(void* dest, const void* from, size_t num) const;
319 void Vector<TYPE>::do_copy(void* dest, const void* from, size_t num) const { argument
320 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num );
324 void Vector<TYPE>::do_splat(void* dest, const void* item, size_t num) const { argument
325 splat_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(item), num );
329 void Vector<TYPE>::do_move_forward(void* dest, const void* from, size_t num) const { argument
330 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cas
334 do_move_backward(void* dest, const void* from, size_t num) const argument
[all...]
H A DVectorImpl.cpp302 void* dest = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; variable
303 _do_copy(dest, from, mCount-where);
354 void* dest = reinterpret_cast<uint8_t *>(array) + where*mItemSize;
355 _do_copy(dest, from, mCount-(where+amount));
394 void VectorImpl::_do_copy(void* dest, const void* from, size_t num) const
397 do_copy(dest, from, num);
399 memcpy(dest, from, num*itemSize());
403 void VectorImpl::_do_splat(void* dest, const void* item, size_t num) const {
404 do_splat(dest, item, num);
407 void VectorImpl::_do_move_forward(void* dest, cons
[all...]
H A DVectorImpl.h88 virtual void do_copy(void* dest, const void* from, size_t num) const = 0;
89 virtual void do_splat(void* dest, const void* item, size_t num) const = 0;
90 virtual void do_move_forward(void* dest, const void* from, size_t num) const = 0;
91 virtual void do_move_backward(void* dest, const void* from, size_t num) const = 0;
109 inline void _do_copy(void* dest, const void* from, size_t num) const;
110 inline void _do_splat(void* dest, const void* item, size_t num) const;
111 inline void _do_move_forward(void* dest, const void* from, size_t num) const;
112 inline void _do_move_backward(void* dest, const void* from, size_t num) const;
/system/core/sh/
H A Darith_lex.c1056 register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; local
1090 *(dest++) = *(source++);
1248 register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ local
1254 *--dest = *--source;
1256 yy_cp += (int) (dest - source);
1257 yy_bp += (int) (dest - source);
H A Dcd.c81 const char *dest; local
94 dest = *argptr;
95 if (dest == NULL) {
96 dest = bltinlookup("HOME", 1);
97 if (dest == NULL)
104 p = strstr(curdir, dest);
110 strcat(d, p + strlen(dest));
111 dest = d;
116 if (dest[0] == '-' && dest[
150 docd(char *dest, int print) argument
[all...]
H A Dexpand.c415 char *dest = expdest; local
419 int startloc = dest - stackblock();
430 p = grabstackstr(dest);
432 ungrabstackstr(p, dest);
454 STPUTC(CTLESC, dest);
455 STPUTC(lastc, dest);
461 while (dest > p && dest[-1] == '\n')
462 STUNPUTC(dest);
471 recordregion(startloc, dest
[all...]
H A Dhistedit.c450 char *dest; local
453 STARTSTACKSTR(dest);
457 STPUTC(*r++, dest);
461 STPUTC(*s++, dest);
463 STACKSTRNUL(dest);
464 dest = grabstackstr(dest);
466 return (dest);
H A Doutput.c147 emptyoutbuf(struct output *dest) argument
151 if (dest->fd == BLOCK_OUT) {
152 dest->nextc = out_junk;
153 dest->nleft = sizeof out_junk;
154 dest->flags |= OUTPUT_ERR;
155 } else if (dest->buf == NULL) {
157 dest->buf = ckmalloc(dest->bufsize);
158 dest->nextc = dest
185 flushout(struct output *dest) argument
280 doformat(struct output *dest, const char *f, va_list ap) argument
[all...]
/system/core/toolbox/
H A Dmv.c11 const char* dest; local
21 dest = argv[argc - 1];
22 if (stat(dest, &st)) {
25 fprintf(stderr, "failed on %s - %s\n", dest, strerror(errno));
34 /* assume we build "dest/source", and let rename() fail on pathsize */
35 if (strlen(dest) + 1 + strlen(source) + 1 > sizeof(fullDest)) {
39 strcpy(fullDest, dest);
H A Dnewfs_msdos.c1033 mklabel(u_int8_t *dest, const char *src) argument
1039 *dest++ = !i && c == '\xe5' ? 5 : c;
1047 setstr(u_int8_t *dest, const char *src, size_t len) argument
1050 *dest++ = *src ? *src++ : ' ';
/system/extras/tests/bionic/libc/other/
H A Dtest_zlib.c45 int def(FILE *source, FILE *dest, int level) argument
78 if (fwrite(out, 1, have, dest) != have || ferror(dest)) {
/system/extras/tests/sdcard/
H A Dsdcard_perf_test.cpp311 char *dest = chunk; local
327 ssize_t s = read(fd, dest, chunk_size);
335 dest += s;
443 const char *dest = chunk; local
460 ssize_t s = write(fd, dest, chunk_size);
468 dest += s;
573 char *dest = chunk; local
584 ssize_t s = write(fd, dest, chunk_size);
590 dest += s;
/system/netd/
H A DSecondaryTableController.cpp63 int SecondaryTableController::addRoute(SocketClient *cli, char *iface, char *dest, int prefix, argument
79 return modifyRoute(cli, ADD, iface, dest, prefix, gateway, tableIndex);
83 char *dest, int prefix, char *gateway, int tableIndex) {
89 IP_PATH, action, dest, prefix, iface, tableIndex+BASE_TABLE_NUMBER);
92 IP_PATH, action, dest, prefix, gateway, iface, tableIndex+BASE_TABLE_NUMBER);
97 IP_PATH, action, dest, prefix, gateway, iface, tableIndex+BASE_TABLE_NUMBER);
145 int SecondaryTableController::removeRoute(SocketClient *cli, char *iface, char *dest, int prefix, argument
155 return modifyRoute(cli, DEL, iface, dest, prefix, gateway, tableIndex);
82 modifyRoute(SocketClient *cli, const char *action, char *iface, char *dest, int prefix, char *gateway, int tableIndex) argument
H A DSecondaryTableController.h38 int addRoute(SocketClient *cli, char *iface, char *dest, int prefixLen, char *gateway);
39 int removeRoute(SocketClient *cli, char *iface, char *dest, int prefixLen, char *gateway);
45 int modifyRoute(SocketClient *cli, const char *action, char *iface, char *dest, int prefix,

Completed in 226 milliseconds