Home
last modified time | relevance | path

Searched defs:data (Results 1 – 25 of 638) sorted by relevance

12345678910>>...26

/system/keymint/common/src/keyblob/legacy/
Dtests.rs9 let mut data = &buffer[..]; in test_consume_u8() localVariable
23 let mut data = &buffer[..]; in test_consume_u32() localVariable
37 let mut data = &buffer[..]; in test_consume_u64() localVariable
52 let mut data = &buffer[..]; in test_consume_vec() localVariable
62 let mut data = &buffer[..]; in test_consume_vec() localVariable
172 let data = hex::decode(hex_data).unwrap(); in test_serialize_encrypted_keyblob() localVariable
230 let data = hex::decode(hex_data).unwrap(); in test_deserialize_encrypted_keyblob_fail() localVariable
238 let data = hex::decode(concat!( in test_deserialize_encrypted_keyblob_truncated() localVariable
/system/unwinding/libunwindstack/benchmarks/
Dlocal_unwind_benchmarks.cpp41 size_t LocalCall5(size_t (*func)(void*), void* data) { in LocalCall5() argument
45 size_t LocalCall4(size_t (*func)(void*), void* data) { in LocalCall4() argument
49 size_t LocalCall3(size_t (*func)(void*), void* data) { in LocalCall3() argument
53 size_t LocalCall2(size_t (*func)(void*), void* data) { in LocalCall2() argument
57 size_t LocalCall1(size_t (*func)(void*), void* data) { in LocalCall1() argument
61 static void Run(benchmark::State& state, size_t (*func)(void*), void* data) { in Run() argument
70 UnwindData* data = reinterpret_cast<UnwindData*>(data_ptr); in Unwind() local
86 UnwindData data = {.process_memory = process_memory, .maps = &maps, .resolve_names = true}; in BM_local_unwind_uncached_process_memory() local
98 UnwindData data = {.process_memory = process_memory, .maps = &maps, .resolve_names = true}; in BM_local_unwind_cached_process_memory() local
116 unwindstack::AndroidUnwinderData data; in BM_local_android_unwind_uncached_process_memory() local
[all …]
/system/extras/simpleperf/
Dcmd_report_sample_test.cpp62 std::string data; in TEST() local
70 std::string data; in TEST() local
77 std::string data; in TEST() local
83 std::string data; in TEST() local
90 std::string data; in TEST() local
105 std::string data; in TEST() local
112 std::string data; in TEST() local
121 std::string data; in TEST() local
152 std::string data; in TEST() local
161 std::string data; in TEST() local
[all …]
/system/security/keystore/include/keystore/
DSignature.h35 const std::vector<uint8_t>& data() const & { return sig_data_; } in data() function
36 std::vector<uint8_t>& data() & { return sig_data_; } in data() function
37 std::vector<uint8_t>&& data() && { return std::move(sig_data_); } in data() function
/system/core/libutils/
DSharedBuffer.h119 const void* SharedBuffer::data() const { in data() function
123 void* SharedBuffer::data() { in data() function
131 SharedBuffer* SharedBuffer::bufferFromData(void* data) { in bufferFromData()
135 const SharedBuffer* SharedBuffer::bufferFromData(const void* data) { in bufferFromData()
139 size_t SharedBuffer::sizeFromData(const void* data) { in sizeFromData()
DJenkinsHash.cpp44 uint32_t data = bytes[i] | (bytes[i+1] << 8) | (bytes[i+2] << 16) | (bytes[i+3] << 24); in JenkinsHashMixBytes() local
48 uint32_t data = bytes[i]; in JenkinsHashMixBytes() local
63 uint32_t data = shorts[i] | (shorts[i+1] << 16); in JenkinsHashMixShorts() local
67 uint32_t data = shorts[i]; in JenkinsHashMixShorts() local
/system/extras/verity/
Dbuild_verity_tree_test.cpp52 void GenerateHashTree(const std::vector<unsigned char>& data, in GenerateHashTree()
85 std::vector<unsigned char> data(4096, 1); in TEST_F() local
95 std::vector<unsigned char> data(128 * 4096, 0); in TEST_F() local
105 std::vector<unsigned char> data(128 * 4096, 0x0); in TEST_F() local
117 std::vector<unsigned char> data(129 * 4096, 0xff); in TEST_F() local
128 std::vector<unsigned char> data(256 * 4096); in TEST_F() local
151 std::vector<unsigned char> data(256 * 4096); in TEST_F() local
173 std::vector<unsigned char> data(256 * 4096); in TEST_F() local
198 std::vector<unsigned char> data(128 * 4096, 0xff); in TEST_F() local
/system/unwinding/libunwindstack/tests/
DAndroidUnwinderTest.cpp78 AndroidUnwinderData data; in TEST() local
101 AndroidUnwinderData data; in TEST() local
115 AndroidUnwinderData data; in TEST() local
136 AndroidUnwinderData data; in TEST() local
146 AndroidUnwinderData data; in TEST() local
173 AndroidUnwinderData data; in TEST() local
182 AndroidUnwinderData data; in TEST() local
188 AndroidUnwinderData data; in TEST() local
202 AndroidUnwinderData data; in TEST() local
303 AndroidUnwinderData data; in TEST() local
[all …]
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/
DContextHubSendMessageToHostTestExecutor.java76 ContextHubTestConstants.MessageType type, byte[] data) { in handleMessageFromNanoApp()
115 private boolean isGeneralProtocolMessage(byte[] data) { in isGeneralProtocolMessage()
154 private void checkSmallData(byte[] data) { in checkSmallData()
164 private void readMessageMaxSize(byte[] data) { in readMessageMaxSize()
172 private void checkLargeData(byte[] data) { in checkLargeData()
/system/libfmq/tests/aidl/default/
DTestAidlMsgQ.cpp70 std::vector<int32_t> data(count); in requestBlockingRead() local
82 std::vector<int32_t> data(count); in requestBlockingReadDefaultEventFlagBits() local
93 std::vector<int32_t> data(count); in requestBlockingReadRepeat() local
109 std::vector<int32_t> data(count); in requestReadFmqSync() local
116 std::vector<int32_t> data(count); in requestReadFmqUnsync() local
123 std::vector<int32_t> data(count); in requestWriteFmqSync() local
133 std::vector<int32_t> data(count); in requestWriteFmqUnsync() local
/system/unwinding/libunwindstack/
DAndroidUnwinder.cpp123 bool AndroidUnwinder::Unwind(AndroidUnwinderData& data) { in Unwind()
127 bool AndroidUnwinder::Unwind(std::optional<pid_t> tid, AndroidUnwinderData& data) { in Unwind()
135 bool AndroidUnwinder::Unwind(void* ucontext, AndroidUnwinderData& data) { in Unwind()
149 bool AndroidUnwinder::Unwind(Regs* initial_regs, AndroidUnwinderData& data) { in Unwind()
179 bool AndroidLocalUnwinder::InternalUnwind(std::optional<pid_t> tid, AndroidUnwinderData& data) { in InternalUnwind()
227 bool AndroidRemoteUnwinder::InternalUnwind(std::optional<pid_t> tid, AndroidUnwinderData& data) { in InternalUnwind()
/system/libziparchive/
Dzip_writer_test.cc62 ZipEntry data; in TEST_F() local
87 ZipEntry data; in TEST_F() local
113 ZipEntry data; in TEST_F() local
145 ZipEntry data; in TEST_F() local
180 ZipEntry data; in TEST_F() local
214 ZipEntry data; in TEST_F() local
242 ZipEntry data; in TEST_F() local
264 ZipEntry data; in TEST_F() local
292 ZipEntry data; in TEST_F() local
325 ZipEntry data; in TEST_F() local
[all …]
/system/chre/util/include/chre/util/
Draw_storage.h44 ElementType *data() { in data() function
47 const ElementType *data() const { in data() function
/system/keymaster/km_openssl/
Dhmac.cpp49 bool HmacSha256::Sign(const Buffer& data, uint8_t* out_digest, size_t digest_len) const { in Sign() argument
53 bool HmacSha256::Sign(const uint8_t* data, size_t data_len, uint8_t* out_digest, in Sign()
69 bool HmacSha256::Verify(const Buffer& data, const Buffer& digest) const { in Verify() argument
74 bool HmacSha256::Verify(const uint8_t* data, size_t data_len, const uint8_t* digest, in Verify()
/system/core/fastboot/
Dmock_transport.h37 explicit RawDataMatcher(const char* data) : data_(data) {} in RawDataMatcher()
38 explicit RawDataMatcher(std::string_view data) : data_(data) {} in RawDataMatcher()
57 static inline ::testing::PolymorphicMatcher<RawDataMatcher> RawData(T data) { in RawData()
/system/core/fastboot/device/
Dusb_iouring.cpp22 static int prep_async_read(struct io_uring* ring, int fd, void* data, size_t len, int64_t offset) { in prep_async_read()
36 static int prep_async_write(struct io_uring* ring, int fd, const void* data, size_t len, in prep_async_write()
52 int prep_async_io(struct io_uring* ring, int fd, T* data, size_t len, int64_t offset) { in prep_async_io()
68 static int usb_ffs_do_aio(usb_handle* h, T* const data, const int len) { in usb_ffs_do_aio()
118 static int usb_ffs_io_uring_read(usb_handle* h, void* data, int len, bool /* allow_partial */) { in usb_ffs_io_uring_read()
122 static int usb_ffs_io_uring_write(usb_handle* h, const void* data, int len) { in usb_ffs_io_uring_write()
/system/nvram/messages/include/nvram/messages/
Dblob.h47 uint8_t* data() { return data_; } in data() function
48 const uint8_t* data() const { return data_; } in data() function
/system/update_engine/scripts/
Dscan_lz4.py8 def scan_legacy_lz4_frames(data): argument
30 def scan_lz4_frames(data): argument
/system/libbase/
Dabi_compatibility.cpp33 ssize_t SendFileDescriptorVector(int sockfd, const void* data, size_t len, in SendFileDescriptorVector()
38 ssize_t ReceiveFileDescriptorVector(int sockfd, void* data, size_t len, size_t max_fds, in ReceiveFileDescriptorVector()
56 bool ReadFully(int fd, void* data, size_t byte_count) { in ReadFully()
60 bool ReadFullyAtOffset(int fd, void* data, size_t byte_count, off64_t offset) { in ReadFullyAtOffset()
64 bool WriteFully(int fd, const void* data, size_t byte_count) { in WriteFully()
/system/keymint/wire/src/
Dtests.rs13 let data = hex::decode(hexdata).unwrap(); in test_read_to_value_ok() localVariable
27 let data = hex::decode(hexdata).unwrap(); in test_read_to_value_fail() localVariable
/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
Dcow_writer.cpp75 bool ICowWriter::AddRawBlocks(uint64_t new_block_start, const void* data, size_t size) { in AddRawBlocks()
90 bool ICowWriter::AddXorBlocks(uint32_t new_block_start, const void* data, size_t size, in AddXorBlocks()
122 bool ICowWriter::AddSequenceData(size_t num_ops, const uint32_t* data) { in AddSequenceData()
365 std::string data(header_.buffer_size, 0); in OpenForWrite() local
439 bool CowWriter::EmitRawBlocks(uint64_t new_block_start, const void* data, size_t size) { in EmitRawBlocks()
443 bool CowWriter::EmitXorBlocks(uint32_t new_block_start, const void* data, size_t size, in EmitXorBlocks()
448 bool CowWriter::CompressBlocks(size_t num_blocks, const void* data) { in CompressBlocks()
482 bool CowWriter::EmitBlocks(uint64_t new_block_start, const void* data, size_t size, in EmitBlocks()
521 auto data = [&, this]() { in EmitBlocks() local
523 auto data = std::move(*buf_iter_); in EmitBlocks() local
[all …]
/system/libfmq/tests/
Dfmq_unit_tests.cpp240 inline void initData(uint8_t* data, size_t count) { in initData()
254 uint8_t data[dataLen]; in ReaderThreadBlocking() local
287 uint8_t data[dataLen]; in ReaderThreadBlocking2() local
412 uint8_t data[dataLen] = {12, 11, 10, 9}; in TEST_F() local
448 uint8_t data[dataLen] = {12, 11, 10, 9}; in TEST_F() local
611 uint8_t data[dataLen] = {0}; in TYPED_TEST() local
648 uint8_t data[dataLen] = {0}; in TYPED_TEST() local
702 uint8_t data[dataLen] = {0}; in TYPED_TEST() local
716 uint8_t data[dataLen]; in TYPED_TEST() local
733 uint8_t data[dataLen]; in TYPED_TEST() local
[all …]
/system/libfmq/benchmarks/
Dmsgq_benchmark_client.cpp117 uint8_t* data = new (std::nothrow) uint8_t[kPacketSize64]; in TEST_F() local
153 uint8_t* data = new (std::nothrow) uint8_t[kPacketSize64]; in TEST_F() local
186 uint8_t* data = new (std::nothrow) uint8_t[kPacketSize128]; in TEST_F() local
220 uint8_t* data = new (std::nothrow) uint8_t[kPacketSize256]; in TEST_F() local
253 uint8_t* data = new (std::nothrow) uint8_t[kPacketSize512]; in TEST_F() local
284 uint8_t* data = new (std::nothrow) uint8_t[kPacketSize64]; in TEST_F() local
318 uint8_t* data = new (std::nothrow) uint8_t[kPacketSize128]; in TEST_F() local
351 uint8_t* data = new (std::nothrow) uint8_t[kPacketSize256]; in TEST_F() local
383 uint8_t* data = new (std::nothrow) uint8_t[kPacketSize512]; in TEST_F() local
422 uint8_t* data = new (std::nothrow) uint8_t[kPacketSize64]; in TEST_F() local
/system/update_engine/common/
Dhttp_fetcher.cc30 void HttpFetcher::SetPostData(const void* data, in SetPostData()
40 void HttpFetcher::SetPostData(const void* data, size_t size) { in SetPostData()
/system/logging/logd/
DSerializedData.h48 uint8_t* data() { return data_.get(); } in data() function
49 const uint8_t* data() const { return data_.get(); } in data() function

12345678910>>...26