Home
last modified time | relevance | path

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

1234

/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmendian.h125 #define htol16_ua_store(val, bytes) ({ \ argument
132 #define htol32_ua_store(val, bytes) ({ \ argument
141 #define hton16_ua_store(val, bytes) ({ \ argument
148 #define hton32_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
216 htol16_ua_store(uint16 val, uint8 *bytes) in htol16_ua_store()
226 htol32_ua_store(uint32 val, uint8 *bytes) in htol32_ua_store()
[all …]
/hardware/google/aemu/base/include/aemu/base/
DAllocator.h28 size_t bytes = sizeof(T) * count; in allocArray() local
34 size_t bytes = strlen(toCopy) + 1; in strDup() local
51 void* dupArray(const void* buf, size_t bytes) { in dupArray()
DSubAllocator.h60 size_t bytes = sizeof(T) * count; in allocArray() local
66 size_t bytes = strlen(toCopy) + 1; in strDup() local
83 void* dupArray(const void* buf, size_t bytes) { in dupArray()
DUuid.h54 const uint8_t* bytes() const { in bytes() function
/hardware/google/gfxstream/guest/android-emu/aemu/base/
DAllocator.h37 size_t bytes = sizeof(T) * count; in allocArray() local
43 size_t bytes = strlen(toCopy) + 1; in strDup() local
60 void* dupArray(const void* buf, size_t bytes) { in dupArray()
Dring_buffer.c69 bool ring_buffer_can_write(const struct ring_buffer* r, uint32_t bytes) { in ring_buffer_can_write()
75 bool ring_buffer_can_read(const struct ring_buffer* r, uint32_t bytes) { in ring_buffer_can_read()
242 uint32_t bytes) { in ring_buffer_view_can_write()
252 uint32_t bytes) { in ring_buffer_view_can_read()
413 uint32_t bytes) { in ring_buffer_wait_write()
432 uint32_t bytes) { in ring_buffer_wait_read()
451 uint32_t bytes) { in get_step_size()
463 uint32_t bytes) { in ring_buffer_write_fully()
471 uint32_t bytes) { in ring_buffer_read_fully()
479 uint32_t bytes, in ring_buffer_write_fully_with_abort()
[all …]
/hardware/google/gfxstream/scripts/print_gfx_logs/
Dprint_gfx_logs.py86 def read_uint32(buf: bytes, pos: int) -> int:
91 def read_uint64(buf: bytes, pos: int) -> int:
96 def process_command(buf: bytes, version: int) -> Command:
/hardware/interfaces/radio/aidl/minradio/libminradio/sim/
DIccUtils.cpp64 aidl::IccIoResult toIccIoResult(std::span<uint8_t const> bytes) { in toIccIoResult()
68 aidl::IccIoResult toIccIoResult(std::vector<uint8_t>&& bytes) { in toIccIoResult()
83 std::vector<uint8_t> bytes(str.size() / 2); in hexStringToBytes() local
102 std::string bytesToHexString(std::span<uint8_t const> bytes) { in bytesToHexString()
111 std::string bytesToHexString(std::vector<uint8_t>&& bytes) { in bytesToHexString()
117 std::string bchToHexString(std::span<uint8_t const> bytes) { in bchToHexString()
/hardware/google/aemu/base/
Dring_buffer.cpp46 bool ring_buffer_can_write(const struct ring_buffer* r, uint32_t bytes) { in ring_buffer_can_write()
52 bool ring_buffer_can_read(const struct ring_buffer* r, uint32_t bytes) { in ring_buffer_can_read()
219 uint32_t bytes) { in ring_buffer_view_can_write()
229 uint32_t bytes) { in ring_buffer_view_can_read()
428 uint32_t bytes, in ring_buffer_wait_write()
467 uint32_t bytes, in ring_buffer_wait_read()
510 uint32_t bytes) { in get_step_size()
522 uint32_t bytes) { in ring_buffer_write_fully()
530 uint32_t bytes) { in ring_buffer_read_fully()
538 uint32_t bytes, in ring_buffer_write_fully_with_abort()
[all …]
/hardware/google/gfxstream/host/gl/
DBufferGl.cpp42 void BufferGl::read(uint64_t offset, uint64_t size, void* bytes) { in read()
68 void BufferGl::subUpdate(uint64_t offset, uint64_t size, const void* bytes) { in subUpdate()
/hardware/google/gfxstream/host/vulkan/
DColorBufferVk.cpp65 bool ColorBufferVk::updateFromBytes(const std::vector<uint8_t>& bytes) { in updateFromBytes()
70 const void* bytes) { in updateFromBytes()
DBufferVk.cpp46 bool BufferVk::updateFromBytes(uint64_t offset, uint64_t size, const void* bytes) { in updateFromBytes()
/hardware/interfaces/bluetooth/audio/utils/session/
DBluetoothAudioSessionControl_2_1.h137 const void* buffer, size_t bytes) { in OutWritePcmData()
148 size_t bytes) { in InReadPcmData()
/hardware/interfaces/audio/aidl/default/stub/
DApeHeader.cpp29 auto advanceBy = [&](size_t bytes) -> void* { in findApeHeader()
/hardware/google/gfxstream/host/tests/
DTextureDraw_unittest.cpp35 const int bytes = width * height * bpp; in TestTextureDrawBasic() local
100 const int bytes = width * height * bpp; in TestTextureDrawLayer() local
/hardware/google/gfxstream/codegen/generic-apigen/
DVarType.h50 size_t bytes() const { return m_byteSize; } in bytes() function
/hardware/interfaces/bluetooth/audio/utils/aidl_session/
DBluetoothAudioSessionControl.h204 const void* buffer, size_t bytes) { in OutWritePcmData()
217 size_t bytes) { in InReadPcmData()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DJsonFakeValueGenerator.cpp231 hidl_vec<uint8_t> bytes(byteSize % 8 == 0 ? byteSize / 8 : byteSize / 8 + 1); in generateDiagnosticBytes() local
249 void JsonFakeValueGenerator::setBit(hidl_vec<uint8_t>& bytes, size_t idx) { in setBit()
/hardware/google/aemu/host-common/
DHostGoldfishPipe_unittest.cpp49 size_t bytes = strlen(kResponse) + 1; in TEST_F() local
/hardware/google/gfxstream/guest/rendercontrol/
DRenderControl.cpp59 int DoCompose(std::vector<uint8_t>& bytes) { in DoCompose()
107 std::vector<uint8_t> bytes(bytesNeeded); in rcCompose() local
/hardware/google/aemu/base/include/aemu/base/async/
DAsyncSocketAdapter.h202 int bytes = mSocket->recv(buffer, sizeof(buffer)); in onRead() local
/hardware/interfaces/automotive/vehicle/aidl/impl/current/fake_impl/GeneratorHub/src/
DJsonFakeValueGenerator.cpp51 void setBit(std::vector<uint8_t>& bytes, size_t idx) { in setBit()
84 std::vector<uint8_t> bytes((byteSize + 7) / 8); in generateDiagnosticBytes() local
/hardware/interfaces/automotive/vehicle/aidl/impl/3/fake_impl/GeneratorHub/src/
DJsonFakeValueGenerator.cpp51 void setBit(std::vector<uint8_t>& bytes, size_t idx) { in setBit()
84 std::vector<uint8_t> bytes((byteSize + 7) / 8); in generateDiagnosticBytes() local
/hardware/google/gfxstream/host/
DBuffer.cpp122 bool Buffer::updateFromBytes(uint64_t offset, uint64_t size, const void* bytes) { in updateFromBytes()
/hardware/libhardware_legacy/audio/
DAudioHardwareStub.cpp128 ssize_t AudioStreamOutStub::write(const void* buffer, size_t bytes) in write()
175 ssize_t AudioStreamInStub::read(void* buffer, ssize_t bytes) in read()

1234