Searched defs:from (Results 1 - 9 of 9) sorted by relevance

/system/core/sh/
H A Dmystring.c7 * This code is derived from software contributed to Berkeley by
19 * may be used to endorse or promote products derived from this software
48 * scopy(from, to) Copy a string.
49 * scopyn(from, to, n) Like scopy, but checks for overflow.
73 * scopyn - copy a string from "from" to "to", truncating the string
79 scopyn(const char *from, char *to, int size) argument
83 if ((*to++ = *from++) == '\0')
H A Dredir.c7 * This code is derived from software contributed to Berkeley by
19 * may be used to endorse or promote products derived from this software
134 continue; /* redirect from/to same file descriptor */
377 copyfd(int from, int to) argument
381 newfd = fcntl(from, F_DUPFD, to);
386 error("%d: %s", from, strerror(errno));
/system/core/libpixelflinger/tinyutils/
H A DVector.h88 //! same as operator [], but allows to access the vector backward (from the end) with a negative index
117 //! insert on onr several items initialized from a prototype item
156 virtual void do_copy(void* dest, const void* from, 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;
164 // No user serviceable parts from here...
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 );
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_cast<const TYPE*>(from), nu
334 do_move_backward(void* dest, const void* from, size_t num) const argument
[all...]
H A DVectorImpl.cpp301 const void* from = reinterpret_cast<const uint8_t *>(mStorage) + where*mItemSize; variable
303 _do_copy(dest, from, mCount-where);
314 const void* from = reinterpret_cast<const uint8_t *>(array) + where*mItemSize; variable
315 _do_move_forward(to, from, s);
353 const void* from = reinterpret_cast<const uint8_t *>(mStorage) + (where+amount)*mItemSize;
355 _do_copy(dest, from, mCount-(where+amount));
367 const void* from = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize;
368 _do_move_backward(to, from, s);
394 void VectorImpl::_do_copy(void* dest, const void* from, size_t num) const
397 do_copy(dest, from, nu
[all...]
/system/core/libsparse/
H A Dbacked_block.c144 void backed_block_list_move(struct backed_block_list *from, argument
151 start = from->data_blocks;
163 from->last_used = NULL;
165 if (from->data_blocks == start) {
166 from->data_blocks = end->next;
168 for (bb = from->data_blocks; bb; bb = bb->next) {
263 pointer to the last bb that was added, and start searching from
H A Dsparse.c223 static struct backed_block *move_chunks_up_to_len(struct sparse_file *from, argument
241 start = backed_block_iter_new(from->backed_block_list);
259 backed_block_split(from->backed_block_list, bb, len - file_len);
269 backed_block_list_move(from->backed_block_list,
/system/core/toolbox/cp/
H A Dutils.c16 * may be used to endorse or promote products derived from this software
96 const char *from; member in struct:finfo
108 fi->from, fi->to, written, fi->size, pcent);
131 * If the file DNE, set the mode to be the from file, minus setuid
134 * other choice is 666 or'ed with the execute bits on the from file
204 fi.from = entp->fts_path;
231 * long time if the reading the data from
/system/extras/tests/framebuffer/
H A Dmdp_test.c183 int from; local
249 perror("Could not read data from file");
/system/security/keystore-engine/
H A Deng_keystore.cpp125 int keystore_rsa_priv_enc(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, argument
127 ALOGV("keystore_rsa_sign(%d, %p, %p, %p, %d)", flen, from, to, rsa, padding);
138 if (!RSA_padding_add_PKCS1_type_1(padded.get(), num, from, flen)) {
143 if (!RSA_padding_add_X931(padded.get(), num, from, flen)) {
148 if (!RSA_padding_add_none(padded.get(), num, from, flen)) {

Completed in 60 milliseconds