Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 71) sorted by relevance

123

/system/core/toolbox/upstream-netbsd/bin/mv/
Dmv.c154 do_move(char *from, char *to) in do_move() argument
177 if (access(from, F_OK)) { in do_move()
178 warn("rename %s", from); in do_move()
183 if (access(from, F_OK)) { in do_move()
184 warn("rename %s", from); in do_move()
218 if (!rename(from, to)) { in do_move()
220 printf("%s -> %s\n", from, to); in do_move()
225 warn("rename %s to %s", from, to); in do_move()
246 if (lstat(from, &sb)) { in do_move()
247 warn("%s", from); in do_move()
[all …]
/system/security/keystore-engine/
Drsa_meth.cpp44 int keystore_rsa_priv_enc(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, in keystore_rsa_priv_enc() argument
46 ALOGV("keystore_rsa_priv_enc(%d, %p, %p, %p, %d)", flen, from, to, rsa, padding); in keystore_rsa_priv_enc()
57 if (!RSA_padding_add_PKCS1_type_1(padded.get(), num, from, flen)) { in keystore_rsa_priv_enc()
62 if (!RSA_padding_add_X931(padded.get(), num, from, flen)) { in keystore_rsa_priv_enc()
67 if (!RSA_padding_add_none(padded.get(), num, from, flen)) { in keystore_rsa_priv_enc()
116 int keystore_rsa_priv_dec(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, in keystore_rsa_priv_dec() argument
118 ALOGV("keystore_rsa_priv_dec(%d, %p, %p, %p, %d)", flen, from, to, rsa, padding); in keystore_rsa_priv_dec()
139 int32_t ret = service->sign(String16(reinterpret_cast<const char*>(key_id)), from, in keystore_rsa_priv_dec()
/system/core/toolbox/upstream-netbsd/lib/libc/string/
Dswab.c48 swab(const void * __restrict from, void * __restrict to, ssize_t len) in swab() argument
57 _DIAGASSERT(from != NULL); in swab()
61 fp = (const char *)from; in swab()
/system/core/libpixelflinger/codeflinger/tinyutils/
DVectorImpl.cpp303 … const void* from = reinterpret_cast<const uint8_t *>(mStorage) + where*mItemSize; in _grow() local
305 _do_copy(dest, from, mCount-where); in _grow()
316 const void* from = reinterpret_cast<const uint8_t *>(array) + where*mItemSize; in _grow() local
317 _do_move_forward(to, from, s); in _grow()
355 … const void* from = reinterpret_cast<const uint8_t *>(mStorage) + (where+amount)*mItemSize; in _shrink() local
357 _do_copy(dest, from, mCount-(where+amount)); in _shrink()
369 const void* from = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; in _shrink() local
370 _do_move_backward(to, from, s); in _shrink()
396 void VectorImpl::_do_copy(void* dest, const void* from, size_t num) const in _do_copy() argument
399 do_copy(dest, from, num); in _do_copy()
[all …]
DVectorImpl.h97 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;
DSortedVector.h128 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;
254 void SortedVector<TYPE>::do_copy(void* dest, const void* from, size_t num) const { in do_copy() argument
255 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); in do_copy()
264 void SortedVector<TYPE>::do_move_forward(void* dest, const void* from, size_t num) const { in do_move_forward() argument
265 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); in do_move_forward()
269 void SortedVector<TYPE>::do_move_backward(void* dest, const void* from, size_t num) const { in do_move_backward() argument
270 move_backward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); in do_move_backward()
DVector.h165 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;
328 void Vector<TYPE>::do_copy(void* dest, const void* from, size_t num) const { in do_copy() argument
329 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); in do_copy()
338 void Vector<TYPE>::do_move_forward(void* dest, const void* from, size_t num) const { in do_move_forward() argument
339 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); in do_move_forward()
343 void Vector<TYPE>::do_move_backward(void* dest, const void* from, size_t num) const { in do_move_backward() argument
344 move_backward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); in do_move_backward()
/system/core/include/utils/
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;
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 );
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 );
268 void SortedVector<TYPE>::do_move_backward(void* dest, const void* from, size_t num) const {
269 move_backward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num );
DVectorImpl.h104 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;
DVector.h204 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;
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 );
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 );
414 void Vector<TYPE>::do_move_backward(void* dest, const void* from, size_t num) const {
415 move_backward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num );
/system/extras/tests/mmc_tracepoints/
DREADME1 The code in this directory is used to process data from the mmc tracepoints
19 The mmc_trace_reduce script will take the output from the kernel, and convert it
24 The file mmc_trace_sample_data contains sample mmc trace data from a Nexus 10.
25 It includes read, write and discard entries. The discard entries came from
/system/core/libutils/
DVectorImpl.cpp400 … const void* from = reinterpret_cast<const uint8_t *>(mStorage) + where*mItemSize; in _grow() local
402 _do_copy(dest, from, mCount-where); in _grow()
413 const void* from = reinterpret_cast<const uint8_t *>(array) + where*mItemSize; in _grow() local
415 _do_move_forward(to, from, mCount - where); in _grow()
458 … const void* from = reinterpret_cast<const uint8_t *>(mStorage) + (where+amount)*mItemSize; in _shrink() local
460 _do_copy(dest, from, new_size - where); in _shrink()
473 const void* from = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; in _shrink() local
474 _do_move_backward(to, from, new_size - where); in _shrink()
498 void VectorImpl::_do_copy(void* dest, const void* from, size_t num) const in _do_copy() argument
501 do_copy(dest, from, num); in _do_copy()
[all …]
/system/core/logd/
Devent.logtags4 # Tag numbers are decimal integers, from 0 to 2^31. (Let's leave the
19 # The data type is a number from the following values:
25 # The data unit is a number taken from the following list:
34 # TODO: generate ".java" and ".h" files with integer constants from this file.
DREADME.auditd4 counterpart designed to gather the audit logs from the
/system/core/libsparse/
Dbacked_block.c144 void backed_block_list_move(struct backed_block_list *from, in backed_block_list_move() argument
151 start = from->data_blocks; in backed_block_list_move()
163 from->last_used = NULL; in backed_block_list_move()
165 if (from->data_blocks == start) { in backed_block_list_move()
166 from->data_blocks = end->next; in backed_block_list_move()
168 for (bb = from->data_blocks; bb; bb = bb->next) { in backed_block_list_move()
Dsparse.c224 static struct backed_block *move_chunks_up_to_len(struct sparse_file *from, in move_chunks_up_to_len() argument
242 start = backed_block_iter_new(from->backed_block_list); in move_chunks_up_to_len()
260 backed_block_split(from->backed_block_list, bb, len - file_len); in move_chunks_up_to_len()
270 backed_block_list_move(from->backed_block_list, in move_chunks_up_to_len()
Dbacked_block.h60 void backed_block_list_move(struct backed_block_list *from,
/system/extras/tests/bionic/libc/
DREADME.TXT4 these tests come from the GNU C Library, and are licensed under the
23 Contains tests that come from the GNU C Library. However, they can
/system/core/fastbootd/other/
Dpartitions.sample.cfg9 #You can generate this as output from gptedit -c
/system/core/logcat/
Devent.logtags4 # Tag numbers are decimal integers, from 0 to 2^31. (Let's leave the
19 # The data type is a number from the following values:
25 # The data unit is a number taken from the following list:
34 # TODO: generate ".java" and ".h" files with integer constants from this file.
/system/extras/tests/sdcard/
DREADME26 Download it from the Gnuplot.py web site. Extract to a temp
59 To plot the result from the profiler:
/system/core/toolbox/upstream-netbsd/bin/cp/
Dutils.c90 const char *from; member
102 fi->from, fi->to, written, fi->size, pcent); in progress()
199 fi.from = entp->fts_path; in copy_file()
/system/core/adb/
DSERVICES.TXT100 Asks the ADB server to forward local connections from <local>
122 fail it there is already a forward connection from <local>.
127 Remove any existing forward local connection from <local>.
135 List all existing forward connections from this server.
182 path from the root of the filesystem.
188 Tries to connect to tcp port <port> on machine <server-name> from
246 socket connections from a device to the host. <forward-command> is one
DSYNC.TXT11 differ from the regular adb protocol. The connection stays in sync mode until
29 RECV - Retreive a file from device
76 Retrieves a file from device to a local file. The remote path is the path to
/system/core/toolbox/
DNOTICE57 may be used to endorse or promote products derived from this software
86 may be used to endorse or promote products derived from this software
106 This code is derived from software contributed to Berkeley by
118 may be used to endorse or promote products derived from this software
147 may be used to endorse or promote products derived from this software
167 This code is derived from software contributed to Berkeley by
179 may be used to endorse or promote products derived from this software
208 may be used to endorse or promote products derived from this software
237 may be used to endorse or promote products derived from this software
257 This code is derived from software contributed to Berkeley by
[all …]

123