| /system/libbase/ |
| D | hex_test.cpp | 33 std::vector<uint8_t> bytes; in TEST() local 69 std::vector<uint8_t> bytes; in TEST() local 86 std::vector<uint8_t> bytes; in TEST() local 93 std::vector<uint8_t> bytes; in TEST() local
|
| D | hex.cpp | 24 std::string HexString(const void* bytes, size_t len) { in HexString() 54 bool HexToBytes(const std::string& hex, std::vector<uint8_t>* bytes) { in HexToBytes()
|
| /system/update_engine/payload_consumer/ |
| D | xor_extent_writer.cc | 28 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()
|
| D | block_extent_writer.cc | 42 bool BlockExtentWriter::WriteExtent(const void* bytes, const size_t count) { in WriteExtent() 108 bool BlockExtentWriter::Write(const void* bytes, size_t count) { in Write()
|
| D | snapshot_extent_writer.cc | 28 bool SnapshotExtentWriter::WriteExtent(const void* bytes, in WriteExtent()
|
| D | extent_writer.cc | 32 bool DirectExtentWriter::Write(const void* bytes, size_t count) { in Write()
|
| /system/core/fastboot/ |
| D | udp.cpp | 60 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/update_engine/ |
| D | fake_file_writer.h | 44 virtual ssize_t Write(const void* bytes, size_t count) { in Write() 59 const brillo::Blob& bytes() { return bytes_; } in bytes() function
|
| /system/netd/server/ |
| D | BandwidthController.cpp | 462 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/ |
| D | util_test.cpp | 108 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/ |
| D | partition_installer.cpp | 174 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/media/audio_utils/fuzz/format_fuzzer/ |
| D | format_fuzzer.cpp | 42 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/chre/test/simulation/ |
| D | memory_test.cc | 51 auto bytes = static_cast<const uint32_t *>(event->data); in TEST_F() local 120 auto bytes = static_cast<const uint32_t *>(event->data); in TEST_F() local 176 auto bytes = static_cast<const uint32_t *>(event->data); in TEST_F() local
|
| /system/unwinding/libunwindstack/tests/ |
| D | MemoryRangesTest.cpp | 52 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
|
| D | MapInfoCreateMemoryTest.cpp | 308 size_t bytes = mem->Read(0, buffer.data(), buffer.size()); in TEST_F() local 355 size_t bytes = mem->Read(0, buffer.data(), buffer.size()); in TEST_F() local 392 size_t bytes = mem->Read(0, buffer.data(), buffer.size()); in TEST_F() local 470 size_t bytes = mem->Read(0xfffffffffffff000UL, buffer.data(), buffer.size()); in TEST_F() local
|
| /system/chre/apps/test/chqts/src/shared/ |
| D | nano_endian_test.cc | 27 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
|
| D | nano_string.cc | 35 uint8_t *bytes = static_cast<uint8_t *>(mem); in memset() local 41 void memcpy(void *d, const void *s, size_t bytes) { in memcpy()
|
| D | nano_endian.cc | 21 void swapBytes(uint8_t *bytes, size_t size) { in swapBytes()
|
| /system/media/audio_utils/fuzz/metadata_fuzzer/ |
| D | metadata_fuzzer.cpp | 21 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *bytes, size_t size) { in LLVMFuzzerTestOneInput()
|
| /system/core/fs_mgr/libfs_avb/ |
| D | util.cpp | 53 bool HexToBytes(uint8_t* bytes, size_t bytes_len, const std::string& hex) { in HexToBytes() 76 std::string BytesToHex(const uint8_t* bytes, size_t bytes_len) { in BytesToHex()
|
| /system/chre/platform/embos/ |
| D | memory_manager.cc | 25 void *MemoryManager::doAlloc(Nanoapp * /* app */, uint32_t bytes) { in doAlloc()
|
| /system/chre/platform/linux/ |
| D | memory_manager.cc | 23 void *MemoryManager::doAlloc(Nanoapp * /* app */, uint32_t bytes) { in doAlloc()
|
| /system/chre/platform/freertos/ |
| D | memory_manager.cc | 23 void *MemoryManager::doAlloc(Nanoapp *app, uint32_t bytes) { in doAlloc()
|
| /system/chre/platform/slpi/ |
| D | memory_manager.cc | 24 void *MemoryManager::doAlloc(Nanoapp *app, uint32_t bytes) { in doAlloc()
|
| /system/apex/apexd/ |
| D | apexd_verity.cpp | 26 std::string BytesToHex(const uint8_t* bytes, size_t bytes_len) { in BytesToHex()
|