Home
last modified time | relevance | path

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

1234567

/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/bt/gd/packet/
Dpython3_module.cc67 .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()
Dbit_inserter_unittest.cc31 std::vector<uint8_t> bytes; in TEST() local
48 std::vector<uint8_t> bytes; in TEST() local
Draw_builder.cc33 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/
Dle_scanning_manager_facade.cc83 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/
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/core/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/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/chre/util/
Dcontainer_support.cc30 void *chreHeapAlloc(uint32_t bytes) { in chreHeapAlloc()
/system/netd/server/
DBandwidthController.cpp571 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/
Dpartition_installer.cpp176 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/
Dnano_endian_test.cc28 uint8_t bytes[] = { in swapByteTest() local
95 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.cc36 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/
Dmemory_manager.cc23 void *MemoryManager::doAlloc(Nanoapp *app, uint32_t bytes) { in doAlloc()
/system/chre/platform/slpi/
Dmemory_manager.cc24 void *MemoryManager::doAlloc(Nanoapp *app, uint32_t bytes) { in doAlloc()
/system/bt/osi/test/fuzzers/include/
DlibosiFuzzHelperFunctions.h34 std::vector<char> bytes = dataProvider->ConsumeBytes<char>(buf_size); in generateBuffer() local
/system/bt/osi/test/fuzzers/compat/
Dfuzz_compat.cc36 std::vector<char> bytes = in LLVMFuzzerTestOneInput() local
/system/update_engine/payload_consumer/
Dextent_writer.cc32 bool DirectExtentWriter::Write(const void* bytes, size_t count) { in Write()
Dfake_extent_writer.h42 bool Write(const void* bytes, size_t count) override { in Write()
/system/bt/osi/test/fuzzers/future/
Dfuzz_future.cc33 std::vector<uint8_t> bytes = dataProvider.ConsumeBytes<uint8_t>(buf_size); in LLVMFuzzerTestOneInput() local
/system/core/libbacktrace/
DBacktracePtrace.cpp64 size_t BacktracePtrace::Read(uint64_t addr, uint8_t* buffer, size_t bytes) { in Read()
/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()
/system/nfc/utils/test/
Dconfig_test.cc80 auto bytes = config.getBytes("BYTES_VALUE"); in TEST() local
128 auto bytes = config.getBytes("BYTES_VALUE"); in TEST_F() local

1234567