Home
last modified time | relevance | path

Searched defs:buffer (Results 351 – 375 of 17320) sorted by relevance

1...<<11121314151617181920>>...693

/aosp_15_r20/external/libtextclassifier/native/utils/flatbuffers/
H A Dflatbuffers.h33 const FlatbufferMessage* LoadAndVerifyFlatbuffer(const void* buffer, int size) { in LoadAndVerifyFlatbuffer()
55 const FlatbufferMessage* LoadAndVerifyFlatbuffer(const std::string& buffer) { in LoadAndVerifyFlatbuffer()
64 LoadAndVerifyMutableFlatbuffer(const void* buffer, int size) { in LoadAndVerifyMutableFlatbuffer()
77 LoadAndVerifyMutableFlatbuffer(const std::string& buffer) { in LoadAndVerifyMutableFlatbuffer()
107 explicit OwnedFlatbuffer(B&& buffer) : buffer_(std::move(buffer)) {} in OwnedFlatbuffer()
112 const B& buffer() const { return buffer_; } in buffer() function
/aosp_15_r20/external/apache-commons-io/src/main/java/org/apache/commons/io/
H A DIOUtils.java229 public static BufferedInputStream buffer(final InputStream inputStream) { in buffer() method in IOUtils
248 public static BufferedInputStream buffer(final InputStream inputStream, final int size) { in buffer() method in IOUtils
266 public static BufferedOutputStream buffer(final OutputStream outputStream) { in buffer() method in IOUtils
285 public static BufferedOutputStream buffer(final OutputStream outputStream, final int size) { in buffer() method in IOUtils
302 public static BufferedReader buffer(final Reader reader) { in buffer() method in IOUtils
316 public static BufferedReader buffer(final Reader reader, final int size) { in buffer() method in IOUtils
329 public static BufferedWriter buffer(final Writer writer) { in buffer() method in IOUtils
343 public static BufferedWriter buffer(final Writer writer, final int size) { in buffer() method in IOUtils
1258 …public static long copy(final Reader reader, final Appendable output, final CharBuffer buffer) thr… in copy()
1481 …long copyLarge(final InputStream inputStream, final OutputStream outputStream, final byte[] buffer) in copyLarge()
[all …]
/aosp_15_r20/out/soong/.intermediates/hardware/interfaces/graphics/mapper/3.0/[email protected]_genc++/gen/android/hardware/graphics/mapper/3.0/
DMapperAll.cpp303 …hidl_this, ::android::hardware::details::HidlInstrumentor *_hidl_this_instrumentor, void* buffer) { in _hidl_freeBuffer()
369 …ndroid::hardware::details::HidlInstrumentor *_hidl_this_instrumentor, void* buffer, const ::androi… in _hidl_validateBufferSize()
445 …ndroid::hardware::details::HidlInstrumentor *_hidl_this_instrumentor, void* buffer, getTransportSi… in _hidl_getTransportSize()
525 …ndroid::hardware::details::HidlInstrumentor *_hidl_this_instrumentor, void* buffer, uint64_t cpuUs… in _hidl_lock()
626 …ndroid::hardware::details::HidlInstrumentor *_hidl_this_instrumentor, void* buffer, uint64_t cpuUs… in _hidl_lockYCbCr()
725 …ndroid::hardware::details::HidlInstrumentor *_hidl_this_instrumentor, void* buffer, unlock_cb _hid… in _hidl_unlock()
893 …e::Return<::android::hardware::graphics::mapper::V3_0::Error> BpHwMapper::freeBuffer(void* buffer){ in freeBuffer()
899 …rdware::graphics::mapper::V3_0::Error> BpHwMapper::validateBufferSize(void* buffer, const ::androi… in validateBufferSize()
905 ::android::hardware::Return<void> BpHwMapper::getTransportSize(void* buffer, getTransportSize_cb _h… in getTransportSize()
911 ::android::hardware::Return<void> BpHwMapper::lock(void* buffer, uint64_t cpuUsage, const ::android… in lock()
[all …]
/aosp_15_r20/external/grpc-grpc/test/core/transport/
H A Dpromise_endpoint_test.cc137 [&kBuffer](grpc_event_engine::experimental::SliceBuffer* buffer) { in TEST_F()
180 [&kBuffer](grpc_event_engine::experimental::SliceBuffer* buffer) { in TEST_F()
190 [&kBuffer](grpc_event_engine::experimental::SliceBuffer* buffer) { in TEST_F()
224 grpc_event_engine::experimental::SliceBuffer* buffer) { in TEST_F()
274 [&kBuffer](grpc_event_engine::experimental::SliceBuffer* buffer) { in TEST_F()
317 [&kBuffer](grpc_event_engine::experimental::SliceBuffer* buffer) { in TEST_F()
327 [&kBuffer](grpc_event_engine::experimental::SliceBuffer* buffer) { in TEST_F()
361 grpc_event_engine::experimental::SliceBuffer* buffer) { in TEST_F()
411 [&kBuffer](grpc_event_engine::experimental::SliceBuffer* buffer) { in TEST_F()
452 [&kBuffer](grpc_event_engine::experimental::SliceBuffer* buffer) { in TEST_F()
[all …]
/aosp_15_r20/external/pdfium/fpdfsdk/
H A Dfpdf_text_embeddertest.cpp50 unsigned short buffer[128]; in TEST_F() local
276 unsigned short buffer[kCharCount + 1]; in TEST_F() local
578 unsigned short buffer[128]; in TEST_F() local
682 unsigned short buffer[128]; in TEST_F() local
710 unsigned short buffer[128] = {0}; in TEST_F() local
1033 unsigned short buffer[std::size(kData) + 1]; in TEST_F() local
1063 unsigned short buffer[std::size(soft_expected)]; in TEST_F() local
1082 unsigned short buffer[std::size(hard_expected)]; in TEST_F() local
1113 unsigned short buffer[128]; in TEST_F() local
1190 unsigned short buffer[128]; in TEST_F() local
[all …]
/aosp_15_r20/frameworks/base/media/jni/
H A Dandroid_media_ImageWriter.cpp220 sp<GraphicBuffer> buffer; in threadLoop() local
571 sp<GraphicBuffer> buffer(GraphicBuffer::from(anb)); in ImageWriter_dequeueImage() local
628 GraphicBuffer *buffer = NULL; in ImageWriter_cancelImage() local
658 GraphicBuffer *buffer = NULL; in ImageWriter_queueImage() local
851 BufferItem* buffer = reinterpret_cast<BufferItem*>(nativeBuffer); in ImageWriter_attachAndQueueImage() local
863 jobject buffer, jint nativeHalFormat, jlong timestampNs, jint dataSpace, in ImageWriter_attachAndQueueGraphicBuffer()
894 GraphicBuffer** buffer, int* fenceFd) { in Image_getNativeContext()
909 sp<GraphicBuffer> buffer, int fenceFd, int dataSpace) { in Image_setNativeContext()
929 GraphicBuffer* buffer; in Image_unlockIfLocked() local
957 GraphicBuffer* buffer; in Image_getWidth() local
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/lite/tools/optimize/
H A Dquantize_weights_test.cc141 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local
156 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local
187 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local
244 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local
304 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local
363 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local
398 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local
440 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local
479 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local
527 const uint8_t* buffer = builder.GetBufferPointer(); in TEST_F() local
[all …]
/aosp_15_r20/external/wayland/src/
H A Dwayland-shm.c168 struct wl_shm_buffer *buffer = wl_resource_get_user_data(resource); in destroy_buffer() local
212 struct wl_shm_buffer *buffer; in shm_pool_create_buffer() local
434 wl_shm_buffer_get_stride(struct wl_shm_buffer *buffer) in wl_shm_buffer_get_stride()
457 wl_shm_buffer_get_data(struct wl_shm_buffer *buffer) in wl_shm_buffer_get_data()
468 wl_shm_buffer_get_format(struct wl_shm_buffer *buffer) in wl_shm_buffer_get_format()
474 wl_shm_buffer_get_width(struct wl_shm_buffer *buffer) in wl_shm_buffer_get_width()
480 wl_shm_buffer_get_height(struct wl_shm_buffer *buffer) in wl_shm_buffer_get_height()
500 wl_shm_buffer_ref_pool(struct wl_shm_buffer *buffer) in wl_shm_buffer_ref_pool()
632 wl_shm_buffer_begin_access(struct wl_shm_buffer *buffer) in wl_shm_buffer_begin_access()
670 wl_shm_buffer_end_access(struct wl_shm_buffer *buffer) in wl_shm_buffer_end_access()
/aosp_15_r20/external/minigbm/cros_gralloc/
H A Dcros_gralloc_driver.cc269 std::unique_ptr<cros_gralloc_buffer> buffer; in allocate() local
399 cros_gralloc_buffer *buffer = nullptr; in retain() local
455 auto buffer = get_buffer(hnd); in release() local
496 auto buffer = get_buffer(hnd); in lock() local
515 auto buffer = get_buffer(hnd); in unlock() local
541 auto buffer = get_buffer(hnd); in invalidate() local
560 auto buffer = get_buffer(hnd); in flush() local
579 auto buffer = get_buffer(hnd); in get_backing_store() local
601 auto buffer = get_buffer(hnd); in resource_info() local
635 auto buffer = get_buffer(hnd); in with_buffer() local
/aosp_15_r20/external/webrtc/modules/rtp_rtcp/source/
H A Drtp_generic_frame_descriptor_extension_unittest.cc56 uint8_t buffer[sizeof(kRaw)]; in TEST() local
80 uint8_t buffer[sizeof(kRaw)]; in TEST() local
104 uint8_t buffer[sizeof(kRaw)]; in TEST() local
128 uint8_t buffer[sizeof(kRaw)]; in TEST() local
152 uint8_t buffer[sizeof(kRaw)]; in TEST() local
179 uint8_t buffer[sizeof(kRaw)]; in TEST() local
203 uint8_t buffer[sizeof(kRaw)]; in TEST() local
232 uint8_t buffer[sizeof(kRaw)]; in TEST() local
261 uint8_t buffer[sizeof(kRaw)]; in TEST() local
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
H A Dmetal_spatial_tensor.cc30 absl::Status CreateTextureBuffer(id<MTLBuffer> buffer, uint64_t buffer_offset, in CreateTextureBuffer()
60 id<MTLBuffer>* buffer, in AllocateTensorMemory()
157 MetalSpatialTensor::MetalSpatialTensor(id<MTLBuffer> buffer, in MetalSpatialTensor()
252 id<MTLBuffer> buffer; in CreateFromDescriptor() local
324 absl::Status MetalSpatialTensor::SetBufferHandle(id<MTLBuffer> buffer) { in SetBufferHandle()
348 id<MTLBuffer> buffer; in CreateTensor() local
355 absl::Status CreateTensorSharedBuffer(id<MTLBuffer> buffer, in CreateTensorSharedBuffer()
370 absl::Status CreateTensorSharedImage2DBuffer(id<MTLBuffer> buffer, in CreateTensorSharedImage2DBuffer()
/aosp_15_r20/external/rust/android-crates-io/crates/etherparse/src/net/
Dipv4_exts.rs254 let buffer = { in from_slice() localVariable
255 let mut buffer = Vec::with_capacity(auth_header.header_len()); in from_slice() localVariable
370 let buffer = { localVariable
371 let mut buffer = Vec::with_capacity(auth.header_len()); localVariable
400 let mut buffer = Vec::new(); in write() localVariable
410 let mut buffer = Vec::with_capacity(auth_header.header_len()); in write() localVariable
424 let mut buffer = Vec::new(); in write() localVariable
440 let mut buffer = Vec::with_capacity(auth_header.header_len() - 1); in write() localVariable
/aosp_15_r20/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_bufferdescriptor.cpp150 int mali_gralloc_get_backing_store_internal(buffer_handle_t buffer, gralloc1_backing_store_t *outSt… in mali_gralloc_get_backing_store_internal()
164 int mali_gralloc_get_consumer_usage_internal(buffer_handle_t buffer, uint64_t *outUsage) in mali_gralloc_get_consumer_usage_internal()
177 int mali_gralloc_get_dimensions_internal(buffer_handle_t buffer, uint32_t *outWidth, uint32_t *outH… in mali_gralloc_get_dimensions_internal()
191 int mali_gralloc_get_format_internal(buffer_handle_t buffer, int32_t *outFormat) in mali_gralloc_get_format_internal()
204 int mali_gralloc_get_producer_usage_internal(buffer_handle_t buffer, uint64_t *outUsage) in mali_gralloc_get_producer_usage_internal()
237 int mali_gralloc_get_layer_count_internal(buffer_handle_t buffer, uint32_t *outLayerCount) in mali_gralloc_get_layer_count_internal()
256 int mali_gralloc_query_getstride(buffer_handle_t buffer, int *pixelStride) in mali_gralloc_query_getstride()
/aosp_15_r20/device/google/contexthub/util/nanotool/
Dsensorevent.cpp34 const std::vector<uint8_t>& buffer) { in FromBytes()
154 char buffer[32]; in GetSampleTimeStr() local
176 char buffer[64]; in ToString() local
212 char buffer[64]; in StringForSample() local
229 char buffer[64]; in StringForSample() local
249 char buffer[128]; in StringForSample() local
293 char buffer[128]; in StringForSample() local
/aosp_15_r20/prebuilts/go/linux-x86/src/text/tabwriter/
Dtabwriter_test.go15 type buffer struct { struct
16 a []byte
19 func (b *buffer) init(n int) { b.a = make([]byte, 0, n) }
21 func (b *buffer) clear() { b.a = b.a[0:0] }
23 func (b *buffer) Write(buf []byte) (written int, err error) {
37 func (b *buffer) String() string { return string(b.a) }
49 func verify(t *testing.T, testname string, w *Writer, b *buffer, src, expected string) {
/aosp_15_r20/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/dump/
H A DDumpArchiveUtil.java42 public static int calculateChecksum(final byte[] buffer) { in calculateChecksum()
58 public static final boolean verify(final byte[] buffer) { in verify()
77 public static final int getIno(final byte[] buffer) { in getIno()
88 public static final long convert64(final byte[] buffer, final int offset) { in convert64()
99 public static final int convert32(final byte[] buffer, final int offset) { in convert32()
110 public static final int convert16(final byte[] buffer, final int offset) { in convert16()
/aosp_15_r20/external/vboot_reference/firmware/lib/tpm_lite/include/
H A Dtlcl_internal.h30 static inline void ToTpmUint32(uint8_t *buffer, uint32_t x) { in ToTpmUint32()
41 static inline void FromTpmUint32(const uint8_t *buffer, uint32_t *x) { in FromTpmUint32()
52 static inline uint32_t ReadTpmUint32(const uint8_t **buffer) { in ReadTpmUint32()
63 static inline void ToTpmUint16(uint8_t *buffer, uint16_t x) { in ToTpmUint16()
72 static inline void FromTpmUint16(const uint8_t *buffer, uint16_t *x) { in FromTpmUint16()
80 static inline uint16_t ReadTpmUint16(const uint8_t **buffer) { in ReadTpmUint16()
/aosp_15_r20/external/pdfium/core/fxcodec/jpx/
H A Djpx_unittest.cpp28 uint8_t buffer[16]; in TEST() local
39 uint8_t buffer[16]; in TEST() local
66 uint8_t buffer[16]; in TEST() local
92 uint8_t buffer[16]; in TEST() local
143 uint8_t buffer[16]; in TEST() local
209 uint8_t buffer[16]; in TEST() local
326 uint8_t buffer[16]; in TEST() local
/aosp_15_r20/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
H A DMapper.h71 void* buffer = addImportedBuffer(bufferHandle); in importBuffer() local
82 Return<Error> freeBuffer(void* buffer) override { in freeBuffer()
91 Return<void> lock(void* buffer, uint64_t cpuUsage, const V2_0::IMapper::Rect& accessRegion, in lock()
112 Return<void> lockYCbCr(void* buffer, uint64_t cpuUsage, const V2_0::IMapper::Rect& accessRegion, in lockYCbCr()
134 Return<void> unlock(void* buffer, IMapper::unlock_cb hidl_cb) override { in unlock()
163 virtual native_handle_t* getImportedBuffer(void* buffer) const { in getImportedBuffer()
167 virtual const native_handle_t* getConstImportedBuffer(void* buffer) const { in getConstImportedBuffer()
/aosp_15_r20/system/chre/apps/wifi_offload/
H A Dflatbuffers_serialization.cc23 size_t Serialize(const wifi_offload::ScanStats &stats, uint8_t *buffer, in Serialize()
28 bool Deserialize(const uint8_t *buffer, size_t buffer_len, in Deserialize()
34 size_t Serialize(const wifi_offload::ScanConfig &config, uint8_t *buffer, in Serialize()
39 bool Deserialize(const uint8_t *buffer, size_t buffer_len, in Deserialize()
46 uint8_t *buffer, size_t buffer_len) { in Serialize()
52 bool Deserialize(const uint8_t *buffer, size_t buffer_len, in Deserialize()
/aosp_15_r20/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DByteBufferReaderTest.java45 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerWithBufferUnderflow() local
59 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerExceedingMaximumLength() local
73 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerLessThanMinimumLength() local
86 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerWithMinimumSize() local
146 ByteBuffer buffer = ByteBuffer.wrap(expectedValue.getBytes(StandardCharsets.US_ASCII)); in readString() local
161 ByteBuffer buffer = ByteBuffer.allocate(expectedValue.length() + 1); in readStringWithByteLength() local
/aosp_15_r20/external/openthread/third_party/tcplp/lib/
H A Dlbuf.c36 void lbuf_init(struct lbufhead* buffer) { in lbuf_init()
40 void lbuf_append(struct lbufhead* buffer, otLinkedBuffer* newentry) { in lbuf_append()
56 void lbuf_extend(struct lbufhead* buffer, size_t numbytes) { in lbuf_extend()
61 size_t lbuf_pop(struct lbufhead* buffer, size_t numbytes, uint32_t* ntraversed) { in lbuf_pop()
88 int lbuf_getrange(struct lbufhead* buffer, size_t offset, size_t numbytes, in lbuf_getrange()
113 size_t lbuf_used_space(const struct lbufhead* buffer) { in lbuf_used_space()
/aosp_15_r20/external/cronet/base/third_party/double_conversion/double-conversion/
H A Dfixed-dtoa.cc121 Vector<char> buffer, int* length) { in FillDigits32FixedLength()
130 static void FillDigits32(uint32_t number, Vector<char> buffer, int* length) { in FillDigits32()
154 Vector<char> buffer, int* length) { in FillDigits64FixedLength()
168 static void FillDigits64(uint64_t number, Vector<char> buffer, int* length) { in FillDigits64()
189 static void RoundUp(Vector<char> buffer, int* length, int* decimal_point) { in RoundUp()
231 int fractional_count, Vector<char> buffer, in FillFractionals()
292 static void TrimZeros(Vector<char> buffer, int* length, int* decimal_point) { in TrimZeros()
312 Vector<char> buffer, in FastFixedDtoa()
/aosp_15_r20/external/double-conversion/test/cctest/
H A Dtest-dtoa.cc51 Vector<char> buffer, bool* sign, int* length, in DoubleToAscii()
83 Vector<char> buffer(buffer_container, kBufferSize); in TEST() local
339 Vector<char> buffer(buffer_container, kBufferSize); in TEST() local
396 Vector<char> buffer(buffer_container, kBufferSize); in TEST() local
425 Vector<char> buffer(buffer_container, kBufferSize); in TEST() local
445 Vector<char> buffer(buffer_container, kBufferSize); in TEST() local
465 Vector<char> buffer(buffer_container, kBufferSize); in TEST() local
488 Vector<char> buffer(buffer_container, kBufferSize); in TEST() local
/aosp_15_r20/external/double-conversion/double-conversion/
H A Dfixed-dtoa.cc121 Vector<char> buffer, int* length) { in FillDigits32FixedLength()
130 static void FillDigits32(uint32_t number, Vector<char> buffer, int* length) { in FillDigits32()
154 Vector<char> buffer, int* length) { in FillDigits64FixedLength()
168 static void FillDigits64(uint64_t number, Vector<char> buffer, int* length) { in FillDigits64()
189 static void RoundUp(Vector<char> buffer, int* length, int* decimal_point) { in RoundUp()
231 int fractional_count, Vector<char> buffer, in FillFractionals()
292 static void TrimZeros(Vector<char> buffer, int* length, int* decimal_point) { in TrimZeros()
312 Vector<char> buffer, in FastFixedDtoa()

1...<<11121314151617181920>>...693