/aosp12/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
H A D | bcmendian.h | 125 #define htol16_ua_store(val, bytes) ({ \ argument 132 #define htol32_ua_store(val, bytes) ({ \ argument 141 #define hton16_ua_store(val, bytes) ({ \ argument 157 #define ltoh16_ua(bytes) ({ \ argument 162 #define ltoh32_ua(bytes) ({ \ argument 167 #define ntoh16_ua(bytes) ({ \ argument 172 #define ntoh32_ua(bytes) ({ \ argument 260 ltoh16_ua(const void *bytes) in ltoh16_ua() 269 ltoh32_ua(const void *bytes) in ltoh32_ua() 278 ntoh16_ua(const void *bytes) in ntoh16_ua() [all …]
|
/aosp12/art/test/580-crc32/src/ |
H A D | Main.java | 157 private static long CRC32ByteArray(byte[] bytes, int off, int len) { in CRC32ByteArray() 165 private static long CRC32ByteArray(byte[] bytes) { in CRC32ByteArray() 171 private static long CRC32ByteAndByteArray(int value, byte[] bytes) { in CRC32ByteAndByteArray() 178 private static long CRC32ByteArrayAndByte(byte[] bytes, int value) { in CRC32ByteArrayAndByte() 185 private static boolean CRC32ByteArrayThrowsAIOOBE(byte[] bytes, int off, int len) { in CRC32ByteArrayThrowsAIOOBE() 217 private static long CRC32BytesUsingUpdateInt(byte[] bytes, int off, int len) { in CRC32BytesUsingUpdateInt() 347 private static long CRC32ByteBuffer(byte[] bytes, int off, int len) { in CRC32ByteBuffer() 414 private static long CRC32DirectByteBuffer(byte[] bytes, int off, int len) { in CRC32DirectByteBuffer() 423 private static long CRC32ByteAndDirectByteBuffer(int value, byte[] bytes) { in CRC32ByteAndDirectByteBuffer() 432 private static long CRC32DirectByteBufferAndByte(byte[] bytes, int value) { in CRC32DirectByteBufferAndByte()
|
/aosp12/art/libartbase/base/ |
H A D | endian_utils.h | 27 inline void AppendBytes(std::vector<uint8_t>& bytes, T data) { in AppendBytes() 33 inline void Append1BE(std::vector<uint8_t>& bytes, uint8_t value) { in Append1BE() 37 inline void Append2BE(std::vector<uint8_t>& bytes, uint16_t value) { in Append2BE() 41 inline void Append4BE(std::vector<uint8_t>& bytes, uint32_t value) { in Append4BE() 45 inline void Append8BE(std::vector<uint8_t>& bytes, uint64_t value) { in Append8BE() 49 inline void AppendUtf16BE(std::vector<uint8_t>& bytes, const uint16_t* chars, size_t char_count) { in AppendUtf16BE() 56 inline void AppendUtf16CompressedBE(std::vector<uint8_t>& bytes, in AppendUtf16CompressedBE()
|
H A D | arena_allocator.cc | 114 void ArenaAllocatorStatsImpl<kCount>::RecordAlloc(size_t bytes, ArenaAllocKind kind) { in RecordAlloc() 223 void* ArenaAllocator::AllocWithMemoryTool(size_t bytes, ArenaAllocKind kind) { in AllocWithMemoryTool() 242 void* ArenaAllocator::AllocWithMemoryToolAlign16(size_t bytes, ArenaAllocKind kind) { in AllocWithMemoryToolAlign16() 272 uint8_t* ArenaAllocator::AllocFromNewArena(size_t bytes) { in AllocFromNewArena() 296 uint8_t* ArenaAllocator::AllocFromNewArenaWithMemoryTool(size_t bytes) { in AllocFromNewArenaWithMemoryTool()
|
/aosp12/frameworks/layoutlib/bridge/src/dalvik/system/ |
H A D | VMRuntime_Delegate.java | 39 int bytes = 20 + (2 * minLength); in newUnpaddedArray() local 48 int bytes = 20 + minLength; in newUnpaddedArray() local 54 int bytes = 20 + minLength; in newUnpaddedArray() local 60 int bytes = 20 + (2 * minLength); in newUnpaddedArray() local
|
/aosp12/frameworks/base/services/core/java/com/android/server/integrity/parser/ |
H A D | RandomAccessObject.java | 34 public abstract int read(byte[] bytes, int off, int len) throws IOException; in read() 48 public static RandomAccessObject ofBytes(byte[] bytes) { in ofBytes() 78 public int read(byte[] bytes, int off, int len) throws IOException { in read() 97 RandomAccessByteArrayObject(byte[] bytes) { in RandomAccessByteArrayObject() 116 public int read(byte[] bytes, int off, int len) throws IOException { in read()
|
/aosp12/frameworks/base/core/java/android/bluetooth/ |
H A D | UidTraffic.java | 54 public void setRxBytes(long bytes) { in setRxBytes() 58 public void setTxBytes(long bytes) { in setTxBytes() 62 public void addRxBytes(long bytes) { in addRxBytes() 66 public void addTxBytes(long bytes) { in addTxBytes()
|
/aosp12/frameworks/native/libs/ftl/ |
H A D | future_test.cpp | 59 ByteVector decrement(ByteVector bytes) { in decrement() 75 [](ByteVector bytes) { return ftl::defer(decrement, std::move(bytes)); }); in TEST() 91 .then([&](ByteVector bytes) { in TEST() 96 .then([](std::future<ByteVector> bytes) { return bytes; }) in TEST() 97 .then([](const ByteVector& bytes) { return std::string(bytes.begin(), bytes.end()); }) in TEST()
|
/aosp12/bionic/libc/malloc_hooks/ |
H A D | malloc_hooks.cpp | 81 static void* default_malloc_hook(size_t bytes, const void*) { in default_malloc_hook() 85 static void* default_realloc_hook(void* pointer, size_t bytes, const void*) { in default_realloc_hook() 93 static void* default_memalign_hook(size_t alignment, size_t bytes, const void*) { in default_memalign_hook() 142 void* hooks_memalign(size_t alignment, size_t bytes) { in hooks_memalign() 149 void* hooks_realloc(void* pointer, size_t bytes) { in hooks_realloc() 156 void* hooks_calloc(size_t nmemb, size_t bytes) { in hooks_calloc() 231 void* hooks_pvalloc(size_t bytes) { in hooks_pvalloc()
|
/aosp12/system/bt/gd/packet/ |
H A D | python3_module.cc | 67 .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()
|
/aosp12/packages/apps/CertInstaller/src/com/android/certinstaller/ |
H A D | Util.java | 45 static <T> T fromBytes(byte[] bytes) { in fromBytes() 57 static String toMd5(byte[] bytes) { in toMd5() 70 private static String toHexString(byte[] bytes, String separator) { in toHexString()
|
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/imap/ |
H A D | VoicemailPayload.java | 22 private final byte[] bytes; field in VoicemailPayload 24 public VoicemailPayload(String mimeType, byte[] bytes) { in VoicemailPayload()
|
/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
H A D | AudioSample.java | 23 public final byte[] bytes; field in AudioSample 25 public AudioSample(int sampleRate, int channelCount, byte[] bytes) { in AudioSample()
|
/aosp12/frameworks/native/libs/binder/tests/parcel_fuzzer/ |
H A D | util.cpp | 24 std::string hexString(const void* bytes, size_t len) { in hexString() 39 std::string hexString(const std::vector<uint8_t>& bytes) { in hexString()
|
/aosp12/frameworks/native/libs/gralloc/types/fuzzer/ |
H A D | util.cpp | 24 std::string hexString(const void* bytes, size_t len) { in hexString() 39 std::string hexString(const std::vector<uint8_t>& bytes) { in hexString()
|
/aosp12/system/core/fastboot/ |
H A 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
|
/aosp12/frameworks/rs/ |
H A D | rsFifoSocket.cpp | 52 bool FifoSocket::writeAsync(const void *data, size_t bytes, bool waitForSpace) { in writeAsync() 76 size_t FifoSocket::read(void *data, size_t bytes) { in read() 101 void FifoSocket::readReturn(const void *data, size_t bytes) { in readReturn()
|
/aosp12/frameworks/native/libs/binder/tests/ |
H A D | binderAllocationLimits.cpp | 67 static void* lambda_malloc_hook(size_t bytes, const void* arg) { in lambda_malloc_hook() 76 static void* lambda_realloc_hook(void* ptr, size_t bytes, const void* arg) { in lambda_realloc_hook() 106 const auto on_malloc = OnMalloc([&](size_t bytes) { in TEST() 119 return OnMalloc([&](size_t bytes) { in ScopeDisallowMalloc() 168 const auto on_malloc = OnMalloc([&](size_t bytes) { in TEST()
|
/aosp12/packages/modules/GeoTZ/s2storage/src/write/java/com/android/timezone/location/storage/io/write/ |
H A D | TypedOutputStream.java | 91 public void writeBytes(byte[] bytes) throws IOException { in writeBytes() 98 public void writeBytes(byte[] bytes, int off, int len) throws IOException { in writeBytes() 105 public void writeTinyByteArray(byte[] bytes) throws IOException { in writeTinyByteArray()
|
/aosp12/bionic/libc/bionic/ |
H A D | malloc_limit.cpp | 96 static inline bool CheckLimit(size_t bytes) { in CheckLimit() 137 void* LimitMalloc(size_t bytes) { in LimitMalloc() 149 static void* LimitMemalign(size_t alignment, size_t bytes) { in LimitMemalign() 195 static void* LimitRealloc(void* old_mem, size_t bytes) { in LimitRealloc() 231 static void* LimitPvalloc(size_t bytes) { in LimitPvalloc() 243 static void* LimitValloc(size_t bytes) { in LimitValloc()
|
/aosp12/system/update_engine/ |
H A 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
|
/aosp12/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/ |
H A D | ResultPayloadUtils.java | 38 public static <T> T unmarshall(byte[] bytes, Parcelable.Creator<T> creator) { in unmarshall() 46 private static Parcel unmarshall(byte[] bytes) { in unmarshall()
|
/aosp12/frameworks/base/core/java/android/os/incremental/ |
H A D | V4Signature.java | 66 public static HashingInfo fromByteArray(@NonNull byte[] bytes) throws IOException { in fromByteArray() 100 public static SigningInfo fromByteArray(byte[] bytes) throws IOException { in fromByteArray() 140 public static V4Signature readFrom(@NonNull byte[] bytes) throws IOException { in readFrom() 212 private static int bytesSize(byte[] bytes) { in bytesSize() 268 private static void writeBytes(OutputStream stream, byte[] bytes) throws IOException { in writeBytes() 277 private static void writeBytes(ByteBuffer buffer, byte[] bytes) { in writeBytes()
|
/aosp12/bionic/tests/ |
H A D | uchar_test.cpp | 61 char bytes[MB_LEN_MAX]; in TEST() local 66 char bytes[MB_LEN_MAX]; in TEST() local 93 char bytes[MB_LEN_MAX]; in TEST() local 105 char bytes[MB_LEN_MAX]; in TEST() local 213 char bytes[MB_LEN_MAX]; in TEST() local
|
/aosp12/system/netd/server/ |
H A D | BandwidthController.cpp | 508 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()
|