Searched refs:from (Results 1 - 25 of 25) 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/security/keystore-engine/
H A Drsa_meth.cpp44 int keystore_rsa_priv_enc(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, argument
46 ALOGV("keystore_rsa_priv_enc(%d, %p, %p, %p, %d)", flen, from, to, rsa, padding);
57 if (!RSA_padding_add_PKCS1_type_1(padded.get(), num, from, flen)) {
62 if (!RSA_padding_add_X931(padded.get(), num, from, flen)) {
67 if (!RSA_padding_add_none(padded.get(), num, from, flen)) {
100 ALOGW("Error during signing from keystore: %d", ret);
116 int keystore_rsa_priv_dec(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, argument
118 ALOGV("keystore_rsa_priv_dec(%d, %p, %p, %p, %d)", flen, from, to, rsa, padding);
139 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), from,
145 ALOGW("Error during sign from keystor
[all...]
/system/core/include/utils/
H A DVectorImpl.h53 /*! must be called from subclasses destructor */
104 virtual void do_copy(void* dest, const void* from, 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;
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;
H A DSortedVector.h129 virtual void do_copy(void* dest, const void* from, 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;
141 // No user serviceable parts from here...
253 void SortedVector<TYPE>::do_copy(void* dest, const void* from, size_t num) const { argument
254 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num );
263 void SortedVector<TYPE>::do_move_forward(void* dest, const void* from, size_t num) const { argument
264 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num );
268 void SortedVector<TYPE>::do_move_backward(void* dest, const void* from, size_t num) const { argument
269 move_backward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), nu
[all...]
H A DVector.h85 * constructor, or removed from the end as needed.
141 //! insert one or several items initialized from a prototype item
204 virtual void do_copy(void* dest, const void* from, 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;
215 // No user serviceable parts from here...
399 void Vector<TYPE>::do_copy(void* dest, const void* from, size_t num) const { argument
400 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num );
409 void Vector<TYPE>::do_move_forward(void* dest, const void* from, size_t num) const { argument
410 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), nu
414 do_move_backward(void* dest, const void* from, size_t num) const argument
[all...]
/system/core/libpixelflinger/codeflinger/tinyutils/
H A DVectorImpl.h54 /*! must be called from subclasses destructor */
97 virtual void do_copy(void* dest, const void* from, size_t num) const = 0;
99 virtual void do_move_forward(void* dest, const void* from, size_t num) const = 0;
100 virtual void do_move_backward(void* dest, const void* from, size_t num) const = 0;
118 inline void _do_copy(void* dest, const void* from, size_t num) const;
120 inline void _do_move_forward(void* dest, const void* from, size_t num) const;
121 inline void _do_move_backward(void* dest, const void* from, size_t num) const;
H A DVectorImpl.cpp303 const void* from = reinterpret_cast<const uint8_t *>(mStorage) + where*mItemSize; variable
305 _do_copy(dest, from, mCount-where);
316 const void* from = reinterpret_cast<const uint8_t *>(array) + where*mItemSize; variable
317 _do_move_forward(to, from, s);
355 const void* from = reinterpret_cast<const uint8_t *>(mStorage) + (where+amount)*mItemSize; local
357 _do_copy(dest, from, mCount-(where+amount));
369 const void* from = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; local
370 _do_move_backward(to, from, s);
396 void VectorImpl::_do_copy(void* dest, const void* from, size_t num) const argument
399 do_copy(dest, from, nu
409 _do_move_forward(void* dest, const void* from, size_t num) const argument
413 _do_move_backward(void* dest, const void* from, size_t num) const argument
[all...]
H A DSortedVector.h98 //! same as operator [], but allows to access the vector backward (from the end) with a negative index
128 virtual void do_copy(void* dest, const void* from, size_t num) const;
130 virtual void do_move_forward(void* dest, const void* from, size_t num) const;
131 virtual void do_move_backward(void* dest, const void* from, size_t num) const;
137 // No user serviceable parts from here...
254 void SortedVector<TYPE>::do_copy(void* dest, const void* from, size_t num) const {
255 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num );
264 void SortedVector<TYPE>::do_move_forward(void* dest, const void* from, size_t num) const {
265 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num );
269 void SortedVector<TYPE>::do_move_backward(void* dest, const void* from, size_
[all...]
H A DVector.h97 //! same as operator [], but allows to access the vector backward (from the end) with a negative index
126 //! insert on onr several items initialized from a prototype item
165 virtual void do_copy(void* dest, const void* from, size_t num) const;
167 virtual void do_move_forward(void* dest, const void* from, size_t num) const;
168 virtual void do_move_backward(void* dest, const void* from, size_t num) const;
173 // No user serviceable parts from here...
328 void Vector<TYPE>::do_copy(void* dest, const void* from, size_t num) const { argument
329 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num );
338 void Vector<TYPE>::do_move_forward(void* dest, const void* from, size_t num) const { argument
339 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), nu
343 do_move_backward(void* dest, const void* from, size_t num) const argument
[all...]
/system/core/libutils/
H A DVectorImpl.cpp396 const void* from = reinterpret_cast<const uint8_t *>(mStorage) + where*mItemSize;
398 _do_copy(dest, from, mCount-where);
407 const void* from = reinterpret_cast<const uint8_t *>(array) + where*mItemSize;
409 _do_move_forward(to, from, mCount - where);
448 const void* from = reinterpret_cast<const uint8_t *>(mStorage) + (where+amount)*mItemSize;
450 _do_copy(dest, from, new_size - where);
461 const void* from = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize;
462 _do_move_backward(to, from, new_size - where);
486 void VectorImpl::_do_copy(void* dest, const void* from, size_t num) const
489 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 Dbacked_block.h60 void backed_block_list_move(struct backed_block_list *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/media/camera/docs/
H A DCameraCaptureResultTest.mako18 * The key entries below this point are generated from metadata
H A DCameraMetadataEnums.mako21 * The enum values below this point are generated from metadata
H A DCameraMetadataKeys.mako22 * The key entries below this point are generated from metadata
H A DCameraCharacteristicsTest.mako21 * Generated automatically from system/media/camera/docs/CameraCharacteristicsTest.mako.
68 assertNotNull(String.format("Can't get camera characteristics from: ID %s", ids[i]),
83 assertNotNull(String.format("Can't get camera characteristics keys from: ID %s",
H A Dcamera_metadata_tag_info.mako31 * Generated automatically from camera_metadata_tag_info.mako
H A Dcamera_metadata_tags.mako27 * Generated automatically from camera_metadata_tags.mako
H A Dhtml.mako19 <!-- automatically generated from html.mako. do NOT edit directly -->
/system/core/init/
H A DAndroid.mk48 # Make a symlink from /sbin/ueventd and /sbin/watchdogd to /init
/system/core/libcutils/tests/memset_mips/
H A Dmemset_cmips.S14 * contributors may be used to endorse or promote products derived from
99 subu a3,a2,t8 # subtract from a2 the reminder
114 subu t5,t7,t6 # subtract from t7 the reminder
/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/bionic/libc/
H A DAndroid.mk115 # exported from the executable.
191 # build a shared library, then call it from another

Completed in 610 milliseconds