Home
last modified time | relevance | path

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

12345678910

/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/update_engine/common/
Daction_pipe.h71 static void Bond(FromAction* from, ToAction* to) { in Bond() argument
73 from->set_out_pipe(pipe); in Bond()
91 void BondActions(FromAction* from, ToAction* to) { in BondActions() argument
96 ActionPipe<typename FromAction::OutputObjectType>::Bond(from, to); in BondActions()
/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/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/simpleperf/
Devent_fd.cpp156 char* from = mmap_data_buffer_ + read_head; in GetAvailableMmapData() local
158 memcpy(to, from, n); in GetAvailableMmapData()
161 char* from = mmap_data_buffer_ + read_head; in GetAvailableMmapData() local
163 memcpy(to, from, n); in GetAvailableMmapData()
165 from = mmap_data_buffer_; in GetAvailableMmapData()
167 memcpy(to, from, n); in GetAvailableMmapData()
/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.cpp431 … const void* from = reinterpret_cast<const uint8_t *>(mStorage) + where*mItemSize; in _grow() local
433 _do_copy(dest, from, mCount-where); in _grow()
444 const void* from = reinterpret_cast<const uint8_t *>(array) + where*mItemSize; in _grow() local
446 _do_move_forward(to, from, mCount - where); in _grow()
498 … const void* from = reinterpret_cast<const uint8_t *>(mStorage) + (where+amount)*mItemSize; in _shrink() local
500 _do_copy(dest, from, new_size - where); in _shrink()
513 const void* from = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; in _shrink() local
514 _do_move_backward(to, from, new_size - where); in _shrink()
538 void VectorImpl::_do_copy(void* dest, const void* from, size_t num) const in _do_copy() argument
541 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.
/system/bt/
DEventLogTags.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/core/liblog/
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/sepolicy/
Dbinderservicedomain.te3 # Allow dumpstate to collect information from binder services
9 # Allow dumpsys to work from adb shell or the serial console
13 # Receive and write to a pipe received over Binder from an app.
Didmap.te5 # Use open file to /data/resource-cache file inherited from installd.
9 # Open and read from target and overlay apk files passed by argument.
Dwpa.te22 # Create a socket for receiving info from wpa
29 # WPA (wifi) has a restricted set of permissions from the default.
46 # wpa_supplicant should not trust any data from sdcards
Dshared_relro.te4 # The shared relro process is a Java program forked from the zygote, so it
5 # inherits from app to get basic permissions it needs to run.
Dblkid.te1 # blkid called from vold
17 # Only allow entry from vold
Dsgdisk.te1 # sgdisk called from vold
19 # Only allow entry from vold
Dvdc.te1 # vdc spawned from init for the following services:
5 # We also transition into this domain from dumpstate, when
/system/core/libmemunreachable/
DREADME.md6 …ting any unreachable blocks as leaks. It is similar to the [Heap Checker from tcmalloc](http://ht…
43 …ed using a normal `fork()`. The sweeper process has a copy of all memory from the original proces…
44 8. Collection process releases all threads from `ptrace` and exits
47 …11. A list of all roots is produced from globals (.data and .bss sections of binaries), and regist…
48 12. The mark-and-sweep pass is performed starting from roots.
61 - `LeakPipe.cpp`: transfers data describing leaks from the sweeper process to the original process.
68 - `malloc_disable()`: prevent any thread from mutating internal allocator state.
71 …- `malloc_backtrace()`: return the backtrace from when the allocation at the given address was all…
/system/bt/service/common/
DREADME5 only include other headers from common/bluetooth and must use "bluetooth" as the
14 It is however OK to include from the package root when including common headers
15 from source files as these are pre-compiled. For example,
/system/extras/perfprofd/
Dperf_profile.proto10 // An entry of the map from a stack of addresses to count.
28 // An entry of the map from address_range to count.
56 // Map from a stack of addresses to count.
59 // Map from a range triplet (start, end, to) to count.
72 // A compressed representation of a perf profile, which contains samples from
99 // to first value from /proc/loadavg multiplied by 100 then
/system/extras/ANRdaemon/
DREADME17 $ systrace.py --from-file=<path to compressed trace file>
22 from some other process to the daemon. Then sometime later (say 20 secs later),
24 the first entry in /d/tracing/trace logged by sched is switching away from the
27 whole 20secs (because from systrace's view, the two 20 sec apart sched trace
/system/connectivity/shill/shims/protos/
Dcrypto_util.proto21 // process return code instead, or use definitions from elsewhere, but this
31 // This protobuf is for sending credential information from shill to the
42 // The returned response from an EncryptData call.
69 // The response from a call to VerifyCredentials.
/system/update_engine/update_manager/
Dupdate_manager.conf.example3 # Normally this file is loaded from /etc/update_manager.conf. If
13 # command "restart update-engine" from a root shell to make your

12345678910