/aosp_15_r20/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | HSWanMetricsElementTest.java | 58 ByteBuffer buffer = ByteBuffer.allocate(HSWanMetricsElement.EXPECTED_BUFFER_SIZE) in getTestBuffer() local 75 ByteBuffer buffer = ByteBuffer.allocate(HSWanMetricsElement.EXPECTED_BUFFER_SIZE) in getUninitializedBuffer() local 140 ByteBuffer buffer = ByteBuffer.allocate(HSWanMetricsElement.EXPECTED_BUFFER_SIZE - 1); in parseBufferWithLessThanExpectedSize() local 154 ByteBuffer buffer = ByteBuffer.allocate(HSWanMetricsElement.EXPECTED_BUFFER_SIZE + 1); in parseBufferWithMoreThanExpectedSize() local 168 ByteBuffer buffer = getTestBuffer(); in parseBufferWithTestData() local 184 ByteBuffer buffer = getUninitializedBuffer(); in testIsInitialized() local
|
/aosp_15_r20/external/pigweed/pw_bytes/ |
H A D | endian_test.cc | 249 std::array<std::byte, 4> buffer = Array<1, 2, 3, 4>(); in TEST() local 255 char buffer[5] = {1, 2, 3, 4, 99}; in TEST() local 261 constexpr auto buffer = Array<1, 2, 3, 4>(); in TEST() local 268 constexpr auto buffer = Array<1, 2, 3>(); in TEST() local 275 constexpr auto buffer = Array<1, 2, 3, 4>(); in TEST() local 288 constexpr auto buffer = Array<1, 2, 3, 4>(); in TEST() local
|
/aosp_15_r20/packages/modules/StatsD/statsd/tests/e2e/ |
D | ConfigUpdate_e2e_ab_test.cpp | 89 vector<uint8_t> buffer; in TEST_P() local 130 vector<uint8_t> buffer; in TEST_P() local 160 vector<uint8_t> buffer; in TEST_P() local 179 vector<uint8_t> buffer; in TEST_P() local 232 vector<uint8_t> buffer; in TEST_P() local 257 vector<uint8_t> buffer; in TEST_P() local 301 vector<uint8_t> buffer; in TEST_P() local 331 vector<uint8_t> buffer; in TEST_P() local
|
D | GaugeMetric_e2e_pull_test.cpp | 137 vector<uint8_t> buffer; in TEST() local 284 vector<uint8_t> buffer; in TEST() local 379 vector<uint8_t> buffer; in TEST() local 480 vector<uint8_t> buffer; in TEST() local 588 vector<uint8_t> buffer; in TEST() local 824 vector<uint8_t> buffer; in TEST() local 907 vector<uint8_t> buffer; in TEST() local 1000 vector<uint8_t> buffer; in TEST() local 1107 vector<uint8_t> buffer; in TEST() local 1316 vector<uint8_t> buffer; in TEST() local
|
/aosp_15_r20/external/webrtc/pc/ |
H A D | sctp_data_channel.cc | 298 bool SctpDataChannel::Send(const DataBuffer& buffer) { in Send() 440 auto buffer = std::make_unique<DataBuffer>(payload, binary); in OnDataReceived() local 590 std::unique_ptr<DataBuffer> buffer = queued_received_data_.PopFront(); in DeliverQueuedReceivedData() local 606 std::unique_ptr<DataBuffer> buffer = queued_send_data_.PopFront(); in SendQueuedDataMessages() local 615 bool SctpDataChannel::SendDataMessage(const DataBuffer& buffer, in SendDataMessage() 667 bool SctpDataChannel::QueueSendDataMessage(const DataBuffer& buffer) { in QueueSendDataMessage() 691 const rtc::CopyOnWriteBuffer& buffer) { in QueueControlMessage() 696 bool SctpDataChannel::SendControlMessage(const rtc::CopyOnWriteBuffer& buffer) { in SendControlMessage()
|
/aosp_15_r20/external/libchrome/mojo/core/ |
H A D | message_unittest.cc | 82 void* buffer; in SerializeMessageContext() local 115 void SerializePayload(void* buffer) override { NOTREACHED(); } in SerializePayload() 153 void SerializePayload(void* buffer) override { in SerializePayload() 250 void* buffer; in TEST_F() local 396 void* buffer; in TEST_F() local 453 void* buffer; in TEST_F() local 523 void* buffer = nullptr; in TEST_F() local 583 void* buffer; in TEST_F() local 642 void* buffer; in TEST_F() local 692 void* buffer; in TEST_F() local [all …]
|
/aosp_15_r20/frameworks/native/libs/gui/bufferqueue/1.0/ |
H A D | H2BGraphicBufferProducer.cpp | 236 void const*& buffer, size_t& size, int const*& fds, size_t& numFds) { in unflattenFence() 279 void*& buffer, size_t& size, int*& fds, size_t& numFds) { in flattenFence() 323 void* buffer = static_cast<void*>(baseBuffer.get()); in wrapAs() local 385 void* buffer = static_cast<void*>(baseBuffer.get()); in convertTo() local 416 inline status_t unflatten(HRegion* t, void const*& buffer, size_t& size) { in unflatten() 487 void const*& buffer, size_t& size, int const*& fds, size_t& numFds) { in unflatten() 554 void* buffer = static_cast<void*>(baseBuffer.get()); in wrapAs() local 627 void*& buffer, size_t& size, int*& fds, size_t& numFds) { in flatten() 726 void*& buffer, size_t& size, int*& fds, size_t numFds) { in flatten() 830 void*& buffer, size_t& size, int*& fds, size_t& numFds) { in flatten() [all …]
|
/aosp_15_r20/external/mesa3d/src/vulkan/runtime/ |
H A D | vk_buffer.c | 33 struct vk_buffer *buffer, in vk_buffer_init() 58 struct vk_buffer *buffer = in vk_buffer_create() local 70 vk_buffer_finish(struct vk_buffer *buffer) in vk_buffer_finish() 78 struct vk_buffer *buffer) in vk_buffer_destroy() 85 VkBuffer buffer, in vk_common_GetBufferMemoryRequirements() 136 VkBuffer buffer, in vk_common_BindBufferMemory()
|
/aosp_15_r20/external/skia/src/core/ |
H A D | SkStream.cpp | 83 char buffer[kSkStrAppendS32_MaxSize]; in writeDecAsText() local 90 char buffer[kSkStrAppendU64_MaxSize]; in writeBigDecAsText() local 104 char buffer[kSkStrAppendScalar_MaxSize]; in writeScalarAsText() local 205 size_t SkFILEStream::read(void* buffer, size_t size) { in read() 337 size_t SkMemoryStream::read(void* buffer, size_t size) { in read() 351 size_t SkMemoryStream::peek(void* buffer, size_t size) const { in peek() 426 bool SkFILEWStream::write(const void* buffer, size_t size) in write() 535 bool SkDynamicMemoryWStream::write(const void* buffer, size_t count) { in write() 609 bool SkDynamicMemoryWStream::read(void* buffer, size_t offset, size_t count) { in read() 762 size_t read(void* buffer, size_t rawCount) override { in read() [all …]
|
/aosp_15_r20/external/cronet/base/ |
H A D | sync_socket_nacl.cc | 33 size_t SyncSocket::Send(const void* buffer, size_t length) { in Send() 37 size_t SyncSocket::Receive(span<uint8_t> buffer) { in Receive() 42 size_t SyncSocket::Receive(void* buffer, size_t length) { in Receive() 46 size_t SyncSocket::ReceiveWithTimeout(span<uint8_t> buffer, TimeDelta timeout) { in ReceiveWithTimeout() 51 size_t SyncSocket::ReceiveWithTimeout(void* buffer, in ReceiveWithTimeout() 79 size_t CancelableSyncSocket::Send(const void* buffer, size_t length) { in Send()
|
/aosp_15_r20/external/pdfium/core/fxcrt/ |
H A D | fx_stream.cpp | 24 bool ReadBlockAtOffset(pdfium::span<uint8_t> buffer, in ReadBlockAtOffset() 28 size_t ReadBlock(pdfium::span<uint8_t> buffer) override { in ReadBlock() 31 bool WriteBlockAtOffset(pdfium::span<const uint8_t> buffer, in WriteBlockAtOffset() 76 bool IFX_SeekableWriteStream::WriteBlock(pdfium::span<const uint8_t> buffer) { in WriteBlock() 88 size_t IFX_SeekableReadStream::ReadBlock(pdfium::span<uint8_t> buffer) { in ReadBlock() 92 bool IFX_SeekableStream::WriteBlock(pdfium::span<const uint8_t> buffer) { in WriteBlock()
|
/aosp_15_r20/frameworks/base/core/java/android/hardware/ |
H A D | SerialPort.java | 90 public int read(ByteBuffer buffer) throws IOException { in read() 109 public void write(ByteBuffer buffer, int length) throws IOException { in write() 128 private native int native_read_array(byte[] buffer, int length) throws IOException; in native_read_array() 129 private native int native_read_direct(ByteBuffer buffer, int length) throws IOException; in native_read_direct() 130 private native void native_write_array(byte[] buffer, int length) throws IOException; in native_write_array() 131 private native void native_write_direct(ByteBuffer buffer, int length) throws IOException; in native_write_direct()
|
/aosp_15_r20/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
H A D | Utility.java | 232 StringBuilder buffer = new StringBuilder(); in arrayToRLEString() local 265 StringBuilder buffer = new StringBuilder(); in arrayToRLEString() local 298 StringBuilder buffer = new StringBuilder(); in arrayToRLEString() local 331 StringBuilder buffer = new StringBuilder(); in arrayToRLEString() local 359 private static final <T extends Appendable> void encodeRun(T buffer, int value, int length) { in encodeRun() 382 private static final <T extends Appendable> void appendInt(T buffer, int value) { in appendInt() 395 private static final <T extends Appendable> void encodeRun(T buffer, short value, int length) { in encodeRun() 427 private static final <T extends Appendable> void encodeRun(T buffer, byte value, int length, in encodeRun() 455 private static final <T extends Appendable> void appendEncodedByte(T buffer, byte value, in appendEncodedByte() 652 StringBuilder buffer = new StringBuilder(); in formatForSource() local [all …]
|
/aosp_15_r20/external/icu/icu4j/main/core/src/main/java/com/ibm/icu/impl/ |
H A D | Utility.java | 228 StringBuilder buffer = new StringBuilder(); in arrayToRLEString() local 261 StringBuilder buffer = new StringBuilder(); in arrayToRLEString() local 294 StringBuilder buffer = new StringBuilder(); in arrayToRLEString() local 327 StringBuilder buffer = new StringBuilder(); in arrayToRLEString() local 355 private static final <T extends Appendable> void encodeRun(T buffer, int value, int length) { in encodeRun() 378 private static final <T extends Appendable> void appendInt(T buffer, int value) { in appendInt() 391 private static final <T extends Appendable> void encodeRun(T buffer, short value, int length) { in encodeRun() 423 private static final <T extends Appendable> void encodeRun(T buffer, byte value, int length, in encodeRun() 451 private static final <T extends Appendable> void appendEncodedByte(T buffer, byte value, in appendEncodedByte() 648 StringBuilder buffer = new StringBuilder(); in formatForSource() local [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/lite/ |
H A D | quantize_weights_test.cc | 203 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local 226 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local 256 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local 314 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local 373 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local 434 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local 468 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local 509 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local 547 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local 594 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local [all …]
|
/aosp_15_r20/external/ms-tpm-20-ref/TPMCmd/tpm/src/support/ |
H A D | TableDrivenMarshal.c | 115 UINT8 **buffer, // IN/OUT: source of the input data in UnmarshalBytes() 133 UINT8 **buffer, in MarshalBytes() 153 UINT8 **buffer, // IN/OUT: place to get the data in ArrayUnmarshal() 179 UINT8 **buffer, // IN/OUT: place to put the data in ArrayMarshal() 204 UINT8 **buffer, // IN/OUT: the data source buffer in UnmarshalUnion() 240 UINT8 **buffer, // IN/OUT: the data source buffer in MarshalUnion() 271 UINT8 **buffer, // IN/OUT: source of the data in UnmarshalInteger() 339 UINT8 **buffer, // IN/OUT: the data source buffer in Unmarshal() 727 UINT8 **buffer, // IN/OUT: the data source buffer in Marshal()
|
/aosp_15_r20/external/intel-media-driver/media_driver/media_softlet/agnostic/gen12/codec/hal/dec/av1/features/ |
H A D | decode_av1_temporal_buffers_g12.cpp | 76 MOS_STATUS Av1TempBufferOpInfG12::Resize(Av1RefAssociatedBufs* &buffer) in Resize() 127 void Av1TempBufferOpInfG12::RecordSegIdBufInfo(Av1RefAssociatedBufs *buffer) in RecordSegIdBufInfo() 160 void Av1TempBufferOpInfG12::RecordCdfTableBufInfo(Av1RefAssociatedBufs *buffer) in RecordCdfTableBufInfo() 189 MOS_STATUS Av1TempBufferOpInfG12::Deactive(Av1RefAssociatedBufs* &buffer) in Deactive() 196 bool Av1TempBufferOpInfG12::IsAvailable(Av1RefAssociatedBufs* &buffer) in IsAvailable() 217 void Av1TempBufferOpInfG12::Destroy(Av1RefAssociatedBufs* &buffer) in Destroy()
|
/aosp_15_r20/external/intel-media-driver/media_softlet/agnostic/common/codec/hal/dec/av1/features/ |
H A D | decode_av1_temporal_buffers.cpp | 77 MOS_STATUS Av1TempBufferOpInf::Resize(Av1RefAssociatedBufs* &buffer) in Resize() 129 void Av1TempBufferOpInf::RecordSegIdBufInfo(Av1RefAssociatedBufs *buffer) in RecordSegIdBufInfo() 162 void Av1TempBufferOpInf::RecordCdfTableBufInfo(Av1RefAssociatedBufs *buffer) in RecordCdfTableBufInfo() 191 MOS_STATUS Av1TempBufferOpInf::Deactive(Av1RefAssociatedBufs* &buffer) in Deactive() 198 bool Av1TempBufferOpInf::IsAvailable(Av1RefAssociatedBufs* &buffer) in IsAvailable() 219 void Av1TempBufferOpInf::Destroy(Av1RefAssociatedBufs* &buffer) in Destroy()
|
/aosp_15_r20/external/rust/android-crates-io/crates/uefi/src/proto/media/file/ |
D | regular.rs | 232 let mut buffer = [0; 10]; in test_file_read_chunked() localVariable 238 let mut buffer = [0; 10]; in test_file_read_chunked() localVariable 244 let mut buffer = [0; 10]; in test_file_read_chunked() localVariable 250 let mut buffer = [0; 4]; in test_file_read_chunked() localVariable 256 let mut buffer = [0; 20]; in test_file_read_chunked() localVariable 265 let mut buffer = []; in test_file_read_chunked() localVariable 272 let mut buffer = [0; 10]; in test_file_read_chunked() localVariable
|
/aosp_15_r20/external/rust/crates/uefi/src/proto/media/file/ |
D | regular.rs | 232 let mut buffer = [0; 10]; in test_file_read_chunked() localVariable 238 let mut buffer = [0; 10]; in test_file_read_chunked() localVariable 244 let mut buffer = [0; 10]; in test_file_read_chunked() localVariable 250 let mut buffer = [0; 4]; in test_file_read_chunked() localVariable 256 let mut buffer = [0; 20]; in test_file_read_chunked() localVariable 265 let mut buffer = []; in test_file_read_chunked() localVariable 272 let mut buffer = [0; 10]; in test_file_read_chunked() localVariable
|
/aosp_15_r20/external/tflite-support/tensorflow_lite_support/cc/task/vision/utils/ |
H A D | frame_buffer_common_utils.cc | 127 StatusOr<const uint8*> GetUvRawBuffer(const FrameBuffer& buffer) { in GetUvRawBuffer() 168 absl::Status ValidateBufferPlaneMetadata(const FrameBuffer& buffer) { in ValidateBufferPlaneMetadata() 184 absl::Status ValidateBufferFormat(const FrameBuffer& buffer) { in ValidateBufferFormat() 210 absl::Status ValidateResizeBufferInputs(const FrameBuffer& buffer, in ValidateResizeBufferInputs() 237 absl::Status ValidateRotateBufferInputs(const FrameBuffer& buffer, in ValidateRotateBufferInputs() 264 absl::Status ValidateCropBufferInputs(const FrameBuffer& buffer, in ValidateCropBufferInputs() 282 absl::Status ValidateFlipBufferInputs(const FrameBuffer& buffer, in ValidateFlipBufferInputs() 385 const uint8* buffer, FrameBuffer::Dimension dimension, in CreateFromRawBuffer()
|
/aosp_15_r20/external/cronet/third_party/re2/src/python/ |
H A D | _re2.cc | 45 ssize_t CharLenToBytes(py::buffer buffer, ssize_t pos, ssize_t len) { in CharLenToBytes() 59 ssize_t BytesToCharLen(py::buffer buffer, ssize_t pos, ssize_t endpos) { in BytesToCharLen() 72 std::unique_ptr<RE2> RE2InitShim(py::buffer buffer, in RE2InitShim() 116 py::buffer buffer, in RE2MatchShim() 144 py::bytes RE2QuoteMetaShim(py::buffer buffer) { in RE2QuoteMetaShim() 162 int Add(py::buffer buffer) { in Add() 196 int Add(py::buffer buffer, const RE2::Options& options) { in Add() 221 std::vector<int> Match(py::buffer buffer, bool potential) const { in Match()
|
/aosp_15_r20/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/ |
H A D | Gralloc1On0Adapter.cpp | 187 char buffer[BUFFER_LENGTH] = {}; in dump() local 279 auto buffer = std::make_shared<Buffer>(handle, backingStore, in allocate() local 332 const std::shared_ptr<Buffer>& buffer) in retain() 340 const std::shared_ptr<Buffer>& buffer) in release() 418 auto buffer = std::make_shared<Buffer>(bufferHandle, backingStore, in retain() local 440 const std::shared_ptr<Buffer>& buffer, in lock() 472 const std::shared_ptr<Buffer>& buffer, in lockFlex() 517 const std::shared_ptr<Buffer>& buffer, in unlock()
|
/aosp_15_r20/frameworks/base/core/java/android/os/incremental/ |
H A D | V4Signature.java | 68 ByteBuffer buffer = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() local 108 public static SigningInfo fromByteBuffer(ByteBuffer buffer) throws IOException { in fromByteBuffer() 132 static SigningInfoBlock fromByteBuffer(ByteBuffer buffer) throws IOException { in fromByteBuffer() 162 ByteBuffer buffer = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray() local 234 ByteBuffer buffer = ByteBuffer.allocate(size).order(ByteOrder.LITTLE_ENDIAN); in getSignedData() local 282 private static void readFully(InputStream stream, byte[] buffer) throws IOException { in readFully() 321 private static byte[] readBytes(ByteBuffer buffer) throws IOException { in readBytes() 343 private static void writeBytes(ByteBuffer buffer, byte[] bytes) { in writeBytes()
|
/aosp_15_r20/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
H A D | ReadableBuffers.java | 77 public static byte[] readArray(ReadableBuffer buffer) { in readArray() 88 public static String readAsString(ReadableBuffer buffer, Charset charset) { in readAsString() 97 public static String readAsStringUtf8(ReadableBuffer buffer) { in readAsStringUtf8() 109 public static InputStream openStream(ReadableBuffer buffer, boolean owner) { in openStream() 119 public static ReadableBuffer ignoreClose(ReadableBuffer buffer) { in ignoreClose() 297 ByteBuffer buffer = bytes.duplicate(); in readBytes() local 349 private ReadableBuffer buffer; field in ReadableBuffers.BufferInputStream 351 public BufferInputStream(ReadableBuffer buffer) { in BufferInputStream()
|