Home
last modified time | relevance | path

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

1234567

/system/bt/gd/packet/
Dpython3_module.cc67 .def(py::init([](std::vector<uint8_t> bytes) { return std::make_unique<RawBuilder>(bytes); })) in PYBIND11_MODULE()
68 .def(py::init([](std::string bytes) { in PYBIND11_MODULE()
90 .def(py::init([](std::vector<uint8_t> bytes) { in PYBIND11_MODULE()
102 …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/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/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.cpp508 int BandwidthController::getInterfaceSharedQuota(int64_t *bytes) { in getInterfaceSharedQuota()
512 int BandwidthController::getInterfaceQuota(const std::string& iface, int64_t* bytes) { in getInterfaceQuota()
563 int BandwidthController::updateQuota(const std::string& quotaName, int64_t bytes) { in updateQuota()
584 int64_t bytes) { in runIptablesAlertCmd()
603 int BandwidthController::setGlobalAlert(int64_t bytes) { in setGlobalAlert()
639 int BandwidthController::setSharedAlert(int64_t bytes) { in setSharedAlert()
655 int BandwidthController::setInterfaceAlert(const std::string& iface, int64_t bytes) { in setInterfaceAlert()
691 int BandwidthController::setCostlyAlert(const std::string& costName, int64_t bytes, in setCostlyAlert()
/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/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.cpp170 auto progress = [this](uint64_t bytes, uint64_t /* total */) -> bool { in CreateImage() argument
186 bool PartitionInstaller::CommitGsiChunk(int stream_fd, int64_t bytes) { in CommitGsiChunk()
236 bool PartitionInstaller::CommitGsiChunk(const void* data, size_t bytes) { in CommitGsiChunk()
273 bool PartitionInstaller::CommitGsiChunk(size_t bytes) { in CommitGsiChunk()
/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/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/chre/platform/freertos/
Dmemory_manager.cc23 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/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/update_engine/payload_consumer/
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/bt/osi/test/fuzzers/compat/
Dfuzz_compat.cc36 std::vector<char> bytes = in LLVMFuzzerTestOneInput() local
/system/bt/osi/test/fuzzers/future/
Dfuzz_future.cc33 std::vector<uint8_t> bytes = dataProvider.ConsumeBytes<uint8_t>(buf_size); in LLVMFuzzerTestOneInput() local
/system/chre/util/
Dcontainer_support.cc33 void *chreHeapAlloc(uint32_t bytes) { in chreHeapAlloc()
/system/unwinding/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()

1234567