Home
last modified time | relevance | path

Searched defs:bytes (Results 1 – 25 of 123) sorted by relevance

12345

/system/nfc/tools/casimir/scripts/
Drf_packets.py15 def parse_all(cls, span: bytes) -> 'Packet':
145 def parse(span: bytes) -> Tuple['RfPacket', bytes]:
198 def serialize(self, payload: bytes = None) -> bytes:
226 def parse(fields: dict, span: bytes) -> Tuple['PollCommand', bytes]:
231 def serialize(self, payload: bytes = None) -> bytes:
250 def parse(fields: dict, span: bytes) -> Tuple['NfcAPollResponse', bytes]:
268 def serialize(self, payload: bytes = None) -> bytes:
296 def parse(fields: dict, span: bytes) -> Tuple['T4ATSelectCommand', bytes]:
305 def serialize(self, payload: bytes = None) -> bytes:
327 def parse(fields: dict, span: bytes) -> Tuple['T4ATSelectResponse', bytes]:
[all …]
/system/update_engine/payload_consumer/
Dxor_extent_writer.cc28 bool XORExtentWriter::WriteXorCowOp(const uint8_t* bytes, in WriteXorCowOp()
60 bool XORExtentWriter::WriteXorExtent(const uint8_t* bytes, in WriteXorExtent()
109 bool XORExtentWriter::WriteExtent(const void* bytes, in WriteExtent()
161 const void* bytes, in WriteReplaceExtents()
Dblock_extent_writer.cc42 bool BlockExtentWriter::WriteExtent(const void* bytes, const size_t count) { in WriteExtent()
108 bool BlockExtentWriter::Write(const void* bytes, size_t count) { in Write()
Dsnapshot_extent_writer.cc28 bool SnapshotExtentWriter::WriteExtent(const void* bytes, in WriteExtent()
Dextent_writer.cc32 bool DirectExtentWriter::Write(const void* bytes, size_t count) { in Write()
Dfake_extent_writer.h41 bool Write(const void* bytes, size_t count) override { in Write()
/system/update_engine/
Dfake_file_writer.h44 virtual ssize_t Write(const void* bytes, size_t count) { in Write()
59 const brillo::Blob& bytes() { return bytes_; } in bytes() function
/system/core/fastboot/
Dudp.cpp60 static uint16_t ExtractUint16(const uint8_t* bytes) { in ExtractUint16()
71 const uint8_t* bytes() const { return bytes_; } in bytes() function in udp::Header
229 ssize_t bytes = SendSinglePacketHelper(&header, tx_data, packet_data_length, rx_data, in SendData() local
267 ssize_t bytes = 0; in SendSinglePacketHelper() local
331 ssize_t bytes = SendData(kIdFastboot, nullptr, 0, reinterpret_cast<uint8_t*>(data), length, in Read() local
349 ssize_t bytes = SendData(kIdFastboot, reinterpret_cast<const uint8_t*>(data), length, nullptr, in Write() local
/system/nfc/src/fuzzers/integration/fakes/
Dnfc_adaptation_libmain_fakes.cc14 std::vector<uint8_t> bytes = g_fuzzed_data->ConsumeBytes<uint8_t>(nbytes); in nfa_nv_co_read() local
22 std::vector<uint8_t> bytes(pBuffer, pBuffer + nbytes); in nfa_nv_co_write() local
/system/media/audio_utils/fuzz/format_fuzzer/
Dformat_fuzzer.cpp42 static void fillBuffer(const uint8_t bytes[], int16_t(&buffer)[size], size_t input_size) in fillBuffer()
59 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *bytes, size_t size) { in LLVMFuzzerTestOneInput()
/system/netd/server/
DBandwidthController.cpp462 int BandwidthController::getInterfaceSharedQuota(int64_t *bytes) { in getInterfaceSharedQuota()
466 int BandwidthController::getInterfaceQuota(const std::string& iface, int64_t* bytes) { in getInterfaceQuota()
517 int BandwidthController::updateQuota(const std::string& quotaName, int64_t bytes) { in updateQuota()
538 int64_t bytes) { in runIptablesAlertCmd()
557 int BandwidthController::setGlobalAlert(int64_t bytes) { in setGlobalAlert()
593 int BandwidthController::setInterfaceAlert(const std::string& iface, int64_t bytes) { in setInterfaceAlert()
629 int BandwidthController::setCostlyAlert(const std::string& costName, int64_t bytes, in setCostlyAlert()
/system/core/fs_mgr/libfs_avb/tests/
Dutil_test.cpp108 uint8_t bytes[16]; in TEST() local
118 uint8_t bytes[16]; in TEST() local
127 const uint8_t bytes[16]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}; in TEST() local
141 uint8_t bytes[16]; in TEST() local
148 uint8_t bytes[8]; in TEST() local
/system/gsid/
Dpartition_installer.cpp174 auto progress = [this](uint64_t bytes, uint64_t /* total */) -> bool { in CreateImage() argument
190 bool PartitionInstaller::CommitGsiChunk(int stream_fd, int64_t bytes) { in CommitGsiChunk()
240 bool PartitionInstaller::CommitGsiChunk(const void* data, size_t bytes) { in CommitGsiChunk()
280 bool PartitionInstaller::CommitGsiChunk(size_t bytes) { in CommitGsiChunk()
/system/unwinding/libunwindstack/tests/
DMemoryRangesTest.cpp52 size_t bytes = ranges_->Read(0, dst.data(), dst.size()); in TEST_F() local
82 size_t bytes = ranges_->Read(6000, dst.data(), dst.size()); in TEST_F() local
/system/chre/test/simulation/
Dmemory_test.cc49 auto bytes = static_cast<const uint32_t *>(event->data); in TEST_F() local
118 auto bytes = static_cast<const uint32_t *>(event->data); in TEST_F() local
174 auto bytes = static_cast<const uint32_t *>(event->data); in TEST_F() local
/system/chre/apps/test/chqts/src/shared/
Dnano_endian_test.cc27 uint8_t bytes[] = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, in swapByteTest() local
91 const uint8_t *bytes = reinterpret_cast<uint8_t *>(&value); in TEST() local
Dnano_endian.cc21 void swapBytes(uint8_t *bytes, size_t size) { in swapBytes()
Dnano_string.cc34 uint8_t *bytes = static_cast<uint8_t *>(mem); in memset() local
40 void memcpy(void *d, const void *s, size_t bytes) { in memcpy()
/system/media/audio_utils/fuzz/metadata_fuzzer/
Dmetadata_fuzzer.cpp21 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *bytes, size_t size) { in LLVMFuzzerTestOneInput()
/system/chre/platform/slpi/
Dmemory_manager.cc24 void *MemoryManager::doAlloc(Nanoapp *app, uint32_t bytes) { in doAlloc()
/system/chre/platform/embos/
Dmemory_manager.cc25 void *MemoryManager::doAlloc(Nanoapp * /* app */, uint32_t bytes) { in doAlloc()
/system/chre/platform/linux/
Dmemory_manager.cc23 void *MemoryManager::doAlloc(Nanoapp * /* app */, uint32_t bytes) { in doAlloc()
/system/chre/platform/freertos/
Dmemory_manager.cc23 void *MemoryManager::doAlloc(Nanoapp *app, uint32_t bytes) { in doAlloc()
/system/libbase/
Dhex.cpp24 std::string HexString(const void* bytes, size_t len) { in HexString()
/system/core/fs_mgr/libfs_avb/
Dutil.cpp52 bool HexToBytes(uint8_t* bytes, size_t bytes_len, const std::string& hex) { in HexToBytes()
75 std::string BytesToHex(const uint8_t* bytes, size_t bytes_len) { in BytesToHex()

12345