Home
last modified time | relevance | path

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

1234

/system/update_engine/
Dfake_file_writer.h44 virtual ssize_t Write(const void* bytes, size_t count) { in Write()
59 const brillo::Blob& 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
228 ssize_t bytes = SendSinglePacketHelper(&header, tx_data, packet_data_length, rx_data, in SendData() local
266 ssize_t bytes = 0; in SendSinglePacketHelper() local
330 ssize_t bytes = SendData(kIdFastboot, nullptr, 0, reinterpret_cast<uint8_t*>(data), length, in Read() local
348 ssize_t bytes = SendData(kIdFastboot, reinterpret_cast<const uint8_t*>(data), length, nullptr, in Write() local
/system/netd/server/
DBandwidthController.cpp535 int BandwidthController::getInterfaceSharedQuota(int64_t *bytes) { in getInterfaceSharedQuota()
539 int BandwidthController::getInterfaceQuota(const std::string& iface, int64_t* bytes) { in getInterfaceQuota()
591 int BandwidthController::updateQuota(const std::string& quotaName, int64_t bytes) { in updateQuota()
610 int64_t bytes) { in runIptablesAlertCmd()
626 int64_t bytes) { in runIptablesAlertFwdCmd()
636 int BandwidthController::setGlobalAlert(int64_t bytes) { in setGlobalAlert()
719 int BandwidthController::setSharedAlert(int64_t bytes) { in setSharedAlert()
735 int BandwidthController::setInterfaceAlert(const std::string& iface, int64_t bytes) { in setInterfaceAlert()
771 int BandwidthController::setCostlyAlert(const std::string& costName, int64_t bytes, in setCostlyAlert()
/system/chre/util/
Dcontainer_support.cc30 void *chreHeapAlloc(uint32_t bytes) { in chreHeapAlloc()
/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()
Ddumb_allocator.h76 void *alloc(size_t bytes) { in alloc()
/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/update_engine/payload_consumer/
Dextent_writer.cc32 bool DirectExtentWriter::Write(const void* bytes, size_t count) { in Write()
Dfile_writer.h50 virtual bool Write(const void* bytes, in Write()
Dfile_writer.cc31 bool DirectFileWriter::Write(const void* bytes, size_t count) { in Write()
Dfake_extent_writer.h42 bool Write(const void* bytes, size_t count) override { in Write()
Dcached_file_descriptor.cc52 auto bytes = static_cast<const uint8_t*>(buf); in Write() local
Dextent_reader.cc65 auto bytes = reinterpret_cast<uint8_t*>(buffer); in Read() local
/system/extras/memory_replay/
DLineBuffer.cpp44 ssize_t bytes = TEMP_FAILURE_RETRY(read(fd_, buffer_ + bytes_, buffer_len_ - bytes_ - 1)); in GetLine() local
/system/core/libmemunreachable/
DLineBuffer.cpp49 ssize_t bytes = TEMP_FAILURE_RETRY(read(fd_, buffer_ + bytes_, buffer_len_ - bytes_ - 1)); in GetLine() local
/system/core/libbacktrace/
DBacktracePtrace.cpp65 size_t BacktracePtrace::Read(uint64_t addr, uint8_t* buffer, size_t bytes) { in Read()
/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
/system/bt/btif/src/
Dbtif_uid.cc75 void uid_set_add_tx(uid_set_t* set, int32_t app_uid, uint64_t bytes) { in uid_set_add_tx()
83 void uid_set_add_rx(uid_set_t* set, int32_t app_uid, uint64_t bytes) { in uid_set_add_rx()
/system/core/libunwindstack/tools/
Dunwind_for_offline.cpp109 size_t bytes = fwrite(&sp_start, 1, sizeof(sp_start), fp.get()); in SaveStack() local
136 size_t bytes = memory->Read(info->start, buffer.data(), buffer.size()); in CreateElfFromMemory() local
173 size_t bytes; in CopyElfFromFile() local
/system/chre/platform/shared/
Dmemory_manager.cc23 void *MemoryManager::nanoappAlloc(Nanoapp *app, uint32_t bytes) { in nanoappAlloc()
/system/tpm/trunks/
Dtrunks_ftdi_spi.cc84 size_t bytes, in StartTransaction()
125 size_t bytes, in FtdiWriteReg()
137 size_t bytes, in FtdiReadReg()
/system/bt/vendor_libs/test_vendor_lib/src/
Dacl_packet.cc38 void AclPacket::AddPayloadOctets(size_t octets, const vector<uint8_t>& bytes) { in AddPayloadOctets()

1234