/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/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/bt/gd/packet/ |
D | python3_module.cc | 67 .def(py::init([](std::vector<uint8_t> bytes) { return std::make_unique<RawBuilder>(bytes); })) in PYBIND11_MODULE() 87 .def(py::init([](std::vector<uint8_t> bytes) { in PYBIND11_MODULE() 99 …PacketView<!kLittleEndian>>(m, "PacketViewBigEndian").def(py::init([](std::vector<uint8_t> bytes) { in PYBIND11_MODULE()
|
D | bit_inserter_unittest.cc | 31 std::vector<uint8_t> bytes; in TEST() local 48 std::vector<uint8_t> bytes; in TEST() local
|
D | raw_builder.cc | 33 bool RawBuilder::AddOctets(size_t octets, const vector<uint8_t>& bytes) { in AddOctets() 43 bool RawBuilder::AddOctets(const vector<uint8_t>& bytes) { in AddOctets()
|
/system/bt/gd/hci/facade/ |
D | le_scanning_manager_facade.cc | 83 std::vector<uint8_t> bytes; in on_advertisements() local 99 std::vector<uint8_t> bytes; in on_advertisements() local 117 std::vector<uint8_t> bytes; in on_advertisements() local 132 std::vector<uint8_t> bytes; in on_timeout() local
|
/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/core/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
|
/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/chre/util/ |
D | container_support.cc | 30 void *chreHeapAlloc(uint32_t bytes) { in chreHeapAlloc()
|
/system/netd/server/ |
D | BandwidthController.cpp | 571 int BandwidthController::getInterfaceSharedQuota(int64_t *bytes) { in getInterfaceSharedQuota() 575 int BandwidthController::getInterfaceQuota(const std::string& iface, int64_t* bytes) { in getInterfaceQuota() 626 int BandwidthController::updateQuota(const std::string& quotaName, int64_t bytes) { in updateQuota() 647 int64_t bytes) { in runIptablesAlertCmd() 666 int BandwidthController::setGlobalAlert(int64_t bytes) { in setGlobalAlert() 702 int BandwidthController::setSharedAlert(int64_t bytes) { in setSharedAlert() 718 int BandwidthController::setInterfaceAlert(const std::string& iface, int64_t bytes) { in setInterfaceAlert() 754 int BandwidthController::setCostlyAlert(const std::string& costName, int64_t bytes, in setCostlyAlert()
|
/system/gsid/ |
D | partition_installer.cpp | 176 auto progress = [this](uint64_t bytes, uint64_t /* total */) -> bool { in CreateImage() argument 192 bool PartitionInstaller::CommitGsiChunk(int stream_fd, int64_t bytes) { in CommitGsiChunk() 242 bool PartitionInstaller::CommitGsiChunk(const void* data, size_t bytes) { in CommitGsiChunk() 279 bool PartitionInstaller::CommitGsiChunk(size_t bytes) { in CommitGsiChunk()
|
/system/chre/apps/chqts/src/shared/ |
D | nano_endian_test.cc | 28 uint8_t bytes[] = { in swapByteTest() local 95 const uint8_t *bytes = reinterpret_cast<uint8_t*>(&value); in TEST() local
|
D | nano_endian.cc | 21 void swapBytes(uint8_t *bytes, size_t size) { in swapBytes()
|
D | nano_string.cc | 36 uint8_t *bytes = static_cast<uint8_t*>(mem); in memset() local 42 void memcpy(void *d, const void *s, size_t bytes) { in memcpy()
|
/system/chre/platform/linux/ |
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/bt/osi/test/fuzzers/include/ |
D | libosiFuzzHelperFunctions.h | 34 std::vector<char> bytes = dataProvider->ConsumeBytes<char>(buf_size); in generateBuffer() local
|
/system/bt/osi/test/fuzzers/compat/ |
D | fuzz_compat.cc | 36 std::vector<char> bytes = in LLVMFuzzerTestOneInput() local
|
/system/update_engine/payload_consumer/ |
D | extent_writer.cc | 32 bool DirectExtentWriter::Write(const void* bytes, size_t count) { in Write()
|
D | fake_extent_writer.h | 42 bool Write(const void* bytes, size_t count) override { in Write()
|
/system/bt/osi/test/fuzzers/future/ |
D | fuzz_future.cc | 33 std::vector<uint8_t> bytes = dataProvider.ConsumeBytes<uint8_t>(buf_size); in LLVMFuzzerTestOneInput() local
|
/system/core/libbacktrace/ |
D | BacktracePtrace.cpp | 64 size_t BacktracePtrace::Read(uint64_t addr, uint8_t* buffer, size_t bytes) { in Read()
|
/system/core/fs_mgr/libfs_avb/ |
D | util.cpp | 52 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()
|
/system/nfc/utils/test/ |
D | config_test.cc | 80 auto bytes = config.getBytes("BYTES_VALUE"); in TEST() local 128 auto bytes = config.getBytes("BYTES_VALUE"); in TEST_F() local
|