Home
last modified time | relevance | path

Searched refs:buffer (Results 51 - 75 of 15935) sorted by relevance

12345678910>>...638

/device/soc/rockchip/rk3399/hardware/mpp/include/
H A Dmpp_buffer.h25 * 1. buffer get / put / reference management / external commit / get info.
36 * 2. user buffer working flow control abstraction.
37 * buffer should attach to certain group, and buffer mode control the buffer usage flow.
48 * 3. buffer allocator management
50 * it will support normal buffer, ion buffer, Linux v4l2 vb2 buffer
56 * mpp buffer grou
[all...]
/device/soc/rockchip/rk3568/hardware/mpp/include/
H A Dmpp_buffer.h25 * 1. buffer get / put / reference management / external commit / get info.
36 * 2. user buffer working flow control abstraction.
37 * buffer should attach to certain group, and buffer mode control the buffer usage flow.
48 * 3. buffer allocator management
50 * it will support normal buffer, ion buffer, Linux v4l2 vb2 buffer
56 * mpp buffer grou
[all...]
/device/soc/rockchip/rk3588/hardware/mpp/include/
H A Dmpp_buffer.h26 * 1. buffer get / put / reference management / external commit / get info.
37 * 2. user buffer working flow control abstraction.
38 * buffer should attach to certain group, and buffer mode control the buffer usage flow.
49 * 3. buffer allocator management
51 * it will support normal buffer, Android ion buffer, Linux v4l2 vb2 buffer
57 * mpp buffer grou
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf/
H A DParsingPrimitivesWrappers.cs52 internal static float? ReadFloatWrapperLittleEndian(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) in ReadFloatWrapperLittleEndian() argument
57 // The entire wrapper message is already contained in `buffer`. in ReadFloatWrapperLittleEndian()
58 int length = buffer[state.bufferPos]; in ReadFloatWrapperLittleEndian()
66 if (length != 5 || buffer[state.bufferPos + 1] != 13) in ReadFloatWrapperLittleEndian()
68 return ReadFloatWrapperSlow(ref buffer, ref state); in ReadFloatWrapperLittleEndian()
71 return ParsingPrimitives.ParseFloat(ref buffer, ref state); in ReadFloatWrapperLittleEndian()
75 return ReadFloatWrapperSlow(ref buffer, ref state); in ReadFloatWrapperLittleEndian()
79 internal static float? ReadFloatWrapperSlow(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) in ReadFloatWrapperSlow() argument
81 int length = ParsingPrimitives.ParseLength(ref buffer, ref state); in ReadFloatWrapperSlow()
91 if (ParsingPrimitives.ParseTag(ref buffer, re in ReadFloatWrapperSlow()
104 ReadDoubleWrapperLittleEndian(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadDoubleWrapperLittleEndian() argument
131 ReadDoubleWrapperSlow(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadDoubleWrapperSlow() argument
156 ReadBoolWrapper(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadBoolWrapper() argument
161 ReadUInt32Wrapper(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadUInt32Wrapper() argument
201 ReadUInt32WrapperSlow(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadUInt32WrapperSlow() argument
226 ReadInt32Wrapper(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadInt32Wrapper() argument
231 ReadUInt64Wrapper(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadUInt64Wrapper() argument
272 ReadUInt64WrapperSlow(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadUInt64WrapperSlow() argument
298 ReadInt64Wrapper(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) ReadInt64Wrapper() argument
[all...]
/kernel/linux/linux-5.10/tools/wmi/
H A Ddell-smbios-example.c32 static void show_buffer(struct dell_wmi_smbios_buffer *buffer) in show_buffer() argument
35 buffer->std.cmd_class, buffer->std.cmd_select, in show_buffer()
36 buffer->std.input[0], buffer->std.input[1], in show_buffer()
37 buffer->std.input[2], buffer->std.input[3], in show_buffer()
38 buffer->std.output[0], buffer->std.output[1], in show_buffer()
39 buffer in show_buffer()
42 run_wmi_smbios_cmd(struct dell_wmi_smbios_buffer *buffer) run_wmi_smbios_cmd() argument
94 token_is_active(__u16 *location, __u16 *cmpvalue, struct dell_wmi_smbios_buffer *buffer) token_is_active() argument
109 query_token(__u16 token, struct dell_wmi_smbios_buffer *buffer) query_token() argument
123 activate_token(struct dell_wmi_smbios_buffer *buffer, __u16 token) activate_token() argument
157 struct dell_wmi_smbios_buffer *buffer; main() local
[all...]
/kernel/linux/linux-6.6/tools/wmi/
H A Ddell-smbios-example.c32 static void show_buffer(struct dell_wmi_smbios_buffer *buffer) in show_buffer() argument
35 buffer->std.cmd_class, buffer->std.cmd_select, in show_buffer()
36 buffer->std.input[0], buffer->std.input[1], in show_buffer()
37 buffer->std.input[2], buffer->std.input[3], in show_buffer()
38 buffer->std.output[0], buffer->std.output[1], in show_buffer()
39 buffer in show_buffer()
42 run_wmi_smbios_cmd(struct dell_wmi_smbios_buffer *buffer) run_wmi_smbios_cmd() argument
94 token_is_active(__u16 *location, __u16 *cmpvalue, struct dell_wmi_smbios_buffer *buffer) token_is_active() argument
109 query_token(__u16 token, struct dell_wmi_smbios_buffer *buffer) query_token() argument
123 activate_token(struct dell_wmi_smbios_buffer *buffer, __u16 token) activate_token() argument
157 struct dell_wmi_smbios_buffer *buffer; main() local
[all...]
/device/soc/rockchip/rk3568/hardware/codec/jpeg/src/
H A Dcodec_jpeg_helper.cpp26 int32_t CodecJpegHelper::JpegAssemble(const struct CodecJpegDecInfo &decInfo, int8_t *buffer, int32_t fd) in JpegAssemble() argument
31 curPos = PutInt16(buffer, curPos, 0xffd8); in JpegAssemble()
38 curPos = JpegDqtAssemble(decInfo, buffer, curPos); in JpegAssemble()
45 curPos = JpegDhtAssemble(decInfo, buffer, curPos); in JpegAssemble()
51 curPos = JpegDriAssemble(decInfo, buffer, curPos); in JpegAssemble()
58 curPos = JpegSofAssemble(decInfo, buffer, curPos); in JpegAssemble()
64 curPos = JpegSosAssemble(decInfo, buffer, curPos); in JpegAssemble()
70 curPos = JpegDataAssemble(buffer, curPos, fd); in JpegAssemble()
76 curPos = PutInt16(buffer, curPos, 0xffd9); in JpegAssemble()
84 bool CodecJpegHelper::DessambleJpeg(int8_t *buffer, size_ argument
134 JpegDqtAssemble(const struct CodecJpegDecInfo &decInfo, int8_t *buffer, int32_t curPos) JpegDqtAssemble() argument
180 JpegDriAssemble(const struct CodecJpegDecInfo &decInfo, int8_t *buffer, int32_t curPos) JpegDriAssemble() argument
205 JpegDhtAssemble(const struct CodecJpegDecInfo &decInfo, int8_t *buffer, int32_t curPos) JpegDhtAssemble() argument
220 JpegDhtAssemble( const std::vector<CodecJpegHuffTable> &table, int8_t *buffer, int32_t curPos, bool dc) JpegDhtAssemble() argument
273 JpegSofAssemble(const struct CodecJpegDecInfo &decInfo, int8_t *buffer, int32_t curPos) JpegSofAssemble() argument
333 JpegSosAssemble(const struct CodecJpegDecInfo &decInfo, int8_t *buffer, int32_t curPos) JpegSosAssemble() argument
376 JpegDataAssemble(int8_t *buffer, int32_t curPos, int32_t fd) JpegDataAssemble() argument
399 DessambleSof(int8_t *buffer, struct CodecJpegDecInfo &decInfo) DessambleSof() argument
444 DessambleSos(int8_t *buffer, struct CodecJpegDecInfo &decInfo) DessambleSos() argument
472 DessambleCompressData( int8_t *buffer, std::unique_ptr<int8_t[]> &compressBuffer, int32_t &comBufLen) DessambleCompressData() argument
501 DessambleDqt(int8_t *buffer, struct CodecJpegDecInfo &decInfo) DessambleDqt() argument
530 DessambleDht(int8_t *buffer, struct CodecJpegDecInfo &decInfo) DessambleDht() argument
574 PutInt16(int8_t *buffer, int32_t curPos, int16_t value) PutInt16() argument
585 PutInt8(int8_t *buffer, int32_t curPos, int8_t value) PutInt8() argument
595 GetInt8(int8_t *buffer) GetInt8() argument
600 GetInt16(int8_t *buffer) GetInt16() argument
[all...]
/device/soc/rockchip/rk3588/hardware/codec/jpeg/src/
H A Dcodec_jpeg_helper.cpp26 int32_t CodecJpegHelper::JpegAssemble(const struct CodecJpegDecInfo &decInfo, int8_t *buffer, int32_t fd) in JpegAssemble() argument
31 curPos = PutInt16(buffer, curPos, 0xffd8); in JpegAssemble()
38 curPos = JpegDqtAssemble(decInfo, buffer, curPos); in JpegAssemble()
45 curPos = JpegDhtAssemble(decInfo, buffer, curPos); in JpegAssemble()
51 curPos = JpegDriAssemble(decInfo, buffer, curPos); in JpegAssemble()
58 curPos = JpegSofAssemble(decInfo, buffer, curPos); in JpegAssemble()
64 curPos = JpegSosAssemble(decInfo, buffer, curPos); in JpegAssemble()
70 curPos = JpegDataAssemble(buffer, curPos, fd); in JpegAssemble()
76 curPos = PutInt16(buffer, curPos, 0xffd9); in JpegAssemble()
84 bool CodecJpegHelper::DessambleJpeg(int8_t *buffer, size_ argument
134 JpegDqtAssemble(const struct CodecJpegDecInfo &decInfo, int8_t *buffer, int32_t curPos) JpegDqtAssemble() argument
180 JpegDriAssemble(const struct CodecJpegDecInfo &decInfo, int8_t *buffer, int32_t curPos) JpegDriAssemble() argument
205 JpegDhtAssemble(const struct CodecJpegDecInfo &decInfo, int8_t *buffer, int32_t curPos) JpegDhtAssemble() argument
220 JpegDhtAssemble( const std::vector<CodecJpegHuffTable> &table, int8_t *buffer, int32_t curPos, bool dc) JpegDhtAssemble() argument
273 JpegSofAssemble(const struct CodecJpegDecInfo &decInfo, int8_t *buffer, int32_t curPos) JpegSofAssemble() argument
333 JpegSosAssemble(const struct CodecJpegDecInfo &decInfo, int8_t *buffer, int32_t curPos) JpegSosAssemble() argument
376 JpegDataAssemble(int8_t *buffer, int32_t curPos, int32_t fd) JpegDataAssemble() argument
399 DessambleSof(int8_t *buffer, struct CodecJpegDecInfo &decInfo) DessambleSof() argument
444 DessambleSos(int8_t *buffer, struct CodecJpegDecInfo &decInfo) DessambleSos() argument
472 DessambleCompressData( int8_t *buffer, std::unique_ptr<int8_t[]> &compressBuffer, int32_t &comBufLen) DessambleCompressData() argument
501 DessambleDqt(int8_t *buffer, struct CodecJpegDecInfo &decInfo) DessambleDqt() argument
530 DessambleDht(int8_t *buffer, struct CodecJpegDecInfo &decInfo) DessambleDht() argument
574 PutInt16(int8_t *buffer, int32_t curPos, int16_t value) PutInt16() argument
585 PutInt8(int8_t *buffer, int32_t curPos, int8_t value) PutInt8() argument
595 GetInt8(int8_t *buffer) GetInt8() argument
600 GetInt16(int8_t *buffer) GetInt16() argument
[all...]
/third_party/node/test/parallel/
H A Dtest-buffer-writeint.js16 const buffer = Buffer.alloc(2);
18 buffer.writeInt8(0x23, 0);
19 buffer.writeInt8(-5, 1);
20 assert.ok(buffer.equals(new Uint8Array([ 0x23, 0xfb ])));
23 buffer.writeInt8(0x7f, 0);
24 buffer.writeInt8(-0x80, 1);
25 assert.ok(buffer.equals(new Uint8Array([ 0x7f, 0x80 ])));
28 buffer.writeInt8(0x7f + 1, 0);
31 buffer.writeInt8(-0x80 - 1, 0);
35 buffer
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-shape-complex-hangul.cc121 /* buffer var allocations */
134 hb_buffer_t *buffer, in preprocess_text_hangul()
137 HB_BUFFER_ALLOCATE_VAR (buffer, hangul_shaping_feature); in preprocess_text_hangul()
187 buffer->clear_output (); in preprocess_text_hangul()
191 unsigned int count = buffer->len; in preprocess_text_hangul()
193 for (buffer->idx = 0; buffer->idx < count && buffer->successful;) in preprocess_text_hangul()
195 hb_codepoint_t u = buffer->cur().codepoint; in preprocess_text_hangul()
204 if (start < end && end == buffer in preprocess_text_hangul()
133 preprocess_text_hangul(const hb_ot_shape_plan_t *plan HB_UNUSED, hb_buffer_t *buffer, hb_font_t *font) preprocess_text_hangul() argument
399 setup_masks_hangul(const hb_ot_shape_plan_t *plan, hb_buffer_t *buffer, hb_font_t *font HB_UNUSED) setup_masks_hangul() argument
[all...]
/third_party/musl/libc-test/src/functionalext/time/
H A Dstrptime_ext.c43 char buffer[gBufferSize]; in strptime_0100() local
49 size_t cnt = strftime(buffer, sizeof(buffer) - 1, "%c", timeptr); in strptime_0100()
53 strptime(buffer, "%c", &tmTime); in strptime_0100()
81 char buffer[gBufferSize]; in strptime_0200() local
87 size_t len = strftime(buffer, sizeof(buffer) - 1, "%c %Z%z", timeptr); in strptime_0200()
90 strptime(buffer, "%c %Z%z", &tmTime); in strptime_0200()
110 char *buffer = "2022-04-10"; in strptime_0300() local
112 strptime(buffer, " in strptime_0300()
128 char *buffer = "23"; strptime_0400() local
145 const char *buffer = "16"; strptime_0500() local
162 const char *buffer = " 4"; strptime_0600() local
179 const char *buffer = "1659177614"; strptime_0700() local
205 const char *buffer = "1"; strptime_0800() local
222 const char *buffer = "30-Oct-2021"; strptime_0900() local
240 const char *buffer = "2021-01-23"; strptime_1000() local
257 const char *buffer = "23"; strptime_1100() local
274 const char *buffer = "am"; strptime_1200() local
303 const char *buffer = "pm"; strptime_1300() local
332 const char *buffer = "30-Oct-2021"; strptime_1400() local
349 const char *buffer = "1"; strptime_1500() local
366 const char *buffer = "Oct-30-2021"; strptime_1600() local
384 const char *buffer = "16-Spring"; strptime_1700() local
401 const char *buffer = "+03"; strptime_1800() local
418 const char *buffer = "-03"; strptime_1900() local
435 const char *buffer = "Oct-30-2021"; strptime_2000() local
449 const char *buffer = "2022-4-10"; strptime_2100() local
466 const char *buffer = ""; strptime_2200() local
480 const char *buffer = "2022"; strptime_2300() local
497 const char *buffer = ""; strptime_2400() local
511 const char *buffer = ""; strptime_2500() local
525 const char *buffer = " 1"; strptime_2600() local
542 const char *buffer = "08:38:20"; strptime_2700() local
559 const char *buffer = ""; strptime_2800() local
573 const char *buffer = ""; strptime_2900() local
587 const char *buffer = "+1"; strptime_3000() local
601 const char *buffer = ""; strptime_3100() local
615 const char *buffer = ""; strptime_3200() local
629 const char *buffer = ""; strptime_3300() local
643 const char *buffer = "04/10/22"; strptime_3400() local
660 const char *buffer = ""; strptime_3500() local
674 const char *buffer = "08:10:20"; strptime_3600() local
691 const char *buffer = ""; strptime_3700() local
705 const char *buffer = ""; strptime_3800() local
719 const char *buffer = ""; strptime_3900() local
[all...]
/foundation/distributeddatamgr/pasteboard/framework/tlv/
H A Dtlv_object.cpp21 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, std::monostate value) in Write() argument
23 if (!HasExpectBuffer(buffer, sizeof(TLVHead))) { in Write()
29 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, void *value) in Write() argument
31 if (!HasExpectBuffer(buffer, sizeof(TLVHead))) { in Write()
37 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, bool value) in Write() argument
39 return WriteBasic(buffer, type, (int8_t)(value)); in Write()
41 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, int8_t value) in Write() argument
43 return WriteBasic(buffer, type, value); in Write()
45 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, int16_t value) in Write() argument
47 return WriteBasic(buffer, typ in Write()
49 Write(std::vector<std::uint8_t> &buffer, uint16_t type, double value) Write() argument
53 Write(std::vector<std::uint8_t> &buffer, uint16_t type, int32_t value) Write() argument
57 Write(std::vector<std::uint8_t> &buffer, uint16_t type, int64_t value) Write() argument
61 Write(std::vector<std::uint8_t> &buffer, uint16_t type, uint32_t value) Write() argument
65 Write(std::vector<std::uint8_t> &buffer, uint16_t type, const std::string &value) Write() argument
84 Write(std::vector<std::uint8_t> &buffer, uint16_t type, const RawMem &value) Write() argument
105 Write(std::vector<std::uint8_t> &buffer, uint16_t type, const AAFwk::Want &value) Write() argument
110 Write(std::vector<std::uint8_t> &buffer, uint16_t type, const Media::PixelMap &value) Write() argument
119 Write(std::vector<std::uint8_t> &buffer, uint16_t type, const Object &value) Write() argument
139 Write( std::vector<std::uint8_t> &buffer, uint16_t type, std::map<std::string, std::vector<uint8_t>> &value) Write() argument
159 WriteVariant(std::vector<std::uint8_t> &buffer, uint16_t type, uint32_t step, const _InTp &input) WriteVariant() argument
165 WriteVariant(std::vector<std::uint8_t> &buffer, uint16_t type, uint32_t step, const _InTp &input) WriteVariant() argument
175 Write(std::vector<std::uint8_t> &buffer, uint16_t type, const std::variant<_Types...> &input) Write() argument
194 Write(std::vector<std::uint8_t> &buffer, uint16_t type, const EntryValue &input) Write() argument
214 Write(std::vector<std::uint8_t> &buffer, uint16_t type, const Details &value) Write() argument
234 Write(std::vector<std::uint8_t> &buffer, uint16_t type, TLVObject &value) Write() argument
247 Write(std::vector<std::uint8_t> &buffer, uint16_t type, std::vector<uint8_t> &value) Write() argument
264 ReadHead(const std::vector<std::uint8_t> &buffer, TLVHead &head) ReadHead() argument
279 ReadValue(const std::vector<std::uint8_t> &buffer, std::monostate &value, const TLVHead &head) ReadValue() argument
283 ReadValue(const std::vector<std::uint8_t> &buffer, void *value, const TLVHead &head) ReadValue() argument
287 ReadValue(const std::vector<std::uint8_t> &buffer, bool &value, const TLVHead &head) ReadValue() argument
291 ReadValue(const std::vector<std::uint8_t> &buffer, int8_t &value, const TLVHead &head) ReadValue() argument
295 ReadValue(const std::vector<std::uint8_t> &buffer, int16_t &value, const TLVHead &head) ReadValue() argument
299 ReadValue(const std::vector<std::uint8_t> &buffer, int32_t &value, const TLVHead &head) ReadValue() argument
304 ReadValue(const std::vector<std::uint8_t> &buffer, int64_t &value, const TLVHead &head) ReadValue() argument
308 ReadValue(const std::vector<std::uint8_t> &buffer, double &value, const TLVHead &head) ReadValue() argument
312 ReadValue(const std::vector<std::uint8_t> &buffer, uint32_t &value, const TLVHead &head) ReadValue() argument
316 ReadValue(const std::vector<std::uint8_t> &buffer, std::string &value, const TLVHead &head) ReadValue() argument
325 ReadValue(const std::vector<std::uint8_t> &buffer, RawMem &rawMem, const TLVHead &head) ReadValue() argument
336 ReadValue(const std::vector<std::uint8_t> &buffer, TLVObject &value, const TLVHead &head) ReadValue() argument
340 ReadValue(const std::vector<std::uint8_t> &buffer, std::vector<uint8_t> &value, const TLVHead &head) ReadValue() argument
350 ReadValue( const std::vector<std::uint8_t> &buffer, std::map<std::string, std::vector<uint8_t>> &value, const TLVHead &head) ReadValue() argument
375 ReadVariant( const std::vector<std::uint8_t> &buffer, uint32_t step, uint32_t index, _OutTp &output, const TLVHead &head) ReadVariant() argument
382 ReadVariant( const std::vector<std::uint8_t> &buffer, uint32_t step, uint32_t index, _OutTp &value, const TLVHead &head) ReadVariant() argument
397 ReadValue(const std::vector<std::uint8_t> &buffer, std::variant<_Types...> &value, const TLVHead &head) ReadValue() argument
409 ReadValue(const std::vector<std::uint8_t> &buffer, EntryValue &value, const TLVHead &head) ReadValue() argument
423 ReadValue(const std::vector<std::uint8_t> &buffer, Details &value, const TLVHead &head) ReadValue() argument
448 ReadValue(const std::vector<std::uint8_t> &buffer, Object &value, const TLVHead &head) ReadValue() argument
473 ReadValue(const std::vector<std::uint8_t> &buffer, AAFwk::Want &value, const TLVHead &head) ReadValue() argument
487 ReadValue( const std::vector<std::uint8_t> &buffer, std::shared_ptr<Media::PixelMap> &value, const TLVHead &head) ReadValue() argument
498 Encode(std::vector<std::uint8_t> &buffer, size_t &cursor, size_t total) Encode() argument
506 Decode(const std::vector<std::uint8_t> &buffer, size_t &cursor, size_t total) Decode() argument
[all...]
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/
H A Dmpp_iommu.c33 struct mpp_dma_buffer *buffer = NULL, *n; in mpp_dma_find_buffer_fd() local
41 list_for_each_entry_safe(buffer, n, &dma->used_list, link) in mpp_dma_find_buffer_fd()
47 if (buffer->dmabuf == dmabuf) { in mpp_dma_find_buffer_fd()
48 out = buffer; in mpp_dma_find_buffer_fd()
58 /* Release the buffer from the current list */
61 struct mpp_dma_buffer *buffer = container_of(ref, struct mpp_dma_buffer, ref); in mpp_dma_release_buffer() local
63 buffer->dma->buffer_count--; in mpp_dma_release_buffer()
64 list_move_tail(&buffer->link, &buffer->dma->unused_list); in mpp_dma_release_buffer()
66 dma_buf_unmap_attachment(buffer in mpp_dma_release_buffer()
75 struct mpp_dma_buffer *oldest = NULL, *buffer = NULL; mpp_dma_remove_extra_buffer() local
96 mpp_dma_release(struct mpp_dma_session *dma, struct mpp_dma_buffer *buffer) mpp_dma_release() argument
108 struct mpp_dma_buffer *buffer = NULL; mpp_dma_release_fd() local
128 struct mpp_dma_buffer *buffer; mpp_dma_alloc() local
151 mpp_dma_free(struct mpp_dma_buffer *buffer) mpp_dma_free() argument
168 struct mpp_dma_buffer *buffer; mpp_dma_import_fd() local
253 mpp_dma_unmap_kernel(struct mpp_dma_session *dma, struct mpp_dma_buffer *buffer) mpp_dma_unmap_kernel() argument
270 mpp_dma_map_kernel(struct mpp_dma_session *dma, struct mpp_dma_buffer *buffer) mpp_dma_map_kernel() argument
306 struct mpp_dma_buffer *n, *buffer = NULL; mpp_dma_session_destroy() local
328 struct mpp_dma_buffer *buffer = NULL; mpp_dma_session_create() local
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/
H A Dmpp_iommu.c34 struct mpp_dma_buffer *buffer = NULL, *n; in mpp_dma_find_buffer_fd() local
41 list_for_each_entry_safe(buffer, n, in mpp_dma_find_buffer_fd()
47 if (buffer->dmabuf == dmabuf) { in mpp_dma_find_buffer_fd()
48 out = buffer; in mpp_dma_find_buffer_fd()
58 /* Release the buffer from the current list */
61 struct mpp_dma_buffer *buffer = in mpp_dma_release_buffer() local
64 buffer->dma->buffer_count--; in mpp_dma_release_buffer()
65 list_move_tail(&buffer->link, &buffer->dma->unused_list); in mpp_dma_release_buffer()
67 dma_buf_unmap_attachment(buffer in mpp_dma_release_buffer()
77 struct mpp_dma_buffer *oldest = NULL, *buffer = NULL; mpp_dma_remove_extra_buffer() local
99 mpp_dma_release(struct mpp_dma_session *dma, struct mpp_dma_buffer *buffer) mpp_dma_release() argument
112 struct mpp_dma_buffer *buffer = NULL; mpp_dma_release_fd() local
133 struct mpp_dma_buffer *buffer; mpp_dma_alloc() local
154 mpp_dma_free(struct mpp_dma_buffer *buffer) mpp_dma_free() argument
174 struct mpp_dma_buffer *buffer; mpp_dma_import_fd() local
258 mpp_dma_unmap_kernel(struct mpp_dma_session *dma, struct mpp_dma_buffer *buffer) mpp_dma_unmap_kernel() argument
276 mpp_dma_map_kernel(struct mpp_dma_session *dma, struct mpp_dma_buffer *buffer) mpp_dma_map_kernel() argument
312 struct mpp_dma_buffer *n, *buffer = NULL; mpp_dma_session_destroy() local
335 struct mpp_dma_buffer *buffer = NULL; mpp_dma_session_create() local
[all...]
/third_party/mesa3d/src/gallium/frontends/hgl/
H A Dhgl.c51 struct hgl_buffer* buffer; in hgl_st_framebuffer() local
53 buffer = (struct hgl_buffer*)stfbi->st_manager_private; in hgl_st_framebuffer()
54 assert(buffer); in hgl_st_framebuffer()
55 return buffer; in hgl_st_framebuffer()
65 struct hgl_buffer* buffer = hgl_st_framebuffer(stfbi); in hgl_st_framebuffer_flush_front() local
66 struct pipe_resource* ptex = buffer->textures[statt]; in hgl_st_framebuffer_flush_front()
75 buffer->screen->flush_frontbuffer(buffer->screen, NULL, ptex, 0, 0, in hgl_st_framebuffer_flush_front()
76 buffer->winsysContext, NULL); in hgl_st_framebuffer_flush_front()
86 struct hgl_buffer* buffer; in hgl_st_framebuffer_validate_textures() local
162 struct hgl_buffer* buffer; hgl_st_framebuffer_validate() local
223 struct hgl_buffer *buffer; hgl_create_st_framebuffer() local
263 hgl_destroy_st_framebuffer(struct hgl_buffer *buffer) hgl_destroy_st_framebuffer() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/att/
H A Datt_receive.h38 * @param2 buffer Indicates the pointer to Buffer.
40 void AttErrorResponse(AttConnectInfo *connect, const Buffer *buffer);
46 * @param2 buffer Indicates the pointer to Buffer.
48 void AttExchangeMTURequest(AttConnectInfo *connect, const Buffer *buffer);
54 * @param2 buffer Indicates the pointer to Buffer.
56 void AttExchangeMTUResponse(AttConnectInfo *connect, const Buffer *buffer);
62 * @param2 buffer Indicates the pointer to Buffer.
64 void AttFindInformationRequest(AttConnectInfo *connect, const Buffer *buffer);
70 * @param2 buffer Indicates the pointer to Buffer.
72 void AttFindInformationResponse(AttConnectInfo *connect, const Buffer *buffer);
[all...]
/third_party/node/deps/v8/src/wasm/
H A Dwasm-module-builder.cc26 size_t EmitSection(SectionCode code, ZoneBuffer* buffer) { in EmitSection() argument
28 buffer->write_u8(code); in EmitSection()
31 return buffer->reserve_u32v(); in EmitSection()
35 void FixupSection(ZoneBuffer* buffer, size_t start) { in FixupSection() argument
36 buffer->patch_u32v(start, static_cast<uint32_t>(buffer->offset() - start - in FixupSection()
131 void WriteValueType(ZoneBuffer* buffer, const ValueType& type) { in WriteValueType() argument
132 buffer->write_u8(type.value_type_code()); in WriteValueType()
134 buffer->write_i32v(type.heap_type().code()); in WriteValueType()
137 buffer in WriteValueType()
451 WriteInitializerExpressionWithEnd(ZoneBuffer* buffer, const WasmInitExpr& init, ValueType type) WriteInitializerExpressionWithEnd() argument
583 WriteInitializerExpression(ZoneBuffer* buffer, const WasmInitExpr& init, ValueType type) WriteInitializerExpression() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_matrix44.cpp69 void SkiaMatrix44::SetMatrix44ColMajor(const std::array<scalar, Matrix44Impl::MATRIX44_SIZE>& buffer) in SetMatrix44ColMajor() argument
72 buffer[0], buffer[1], buffer[2], buffer[3], in SetMatrix44ColMajor()
73 buffer[4], buffer[5], buffer[6], buffer[7], in SetMatrix44ColMajor()
74 buffer[ in SetMatrix44ColMajor()
80 SetMatrix44RowMajor(const std::array<scalar, Matrix44Impl::MATRIX44_SIZE>& buffer) SetMatrix44RowMajor() argument
[all...]
/third_party/skia/tests/
H A DStreamBufferTest.cpp18 static void test_get_data_at_position(skiatest::Reporter* r, SkStreamBuffer* buffer, size_t position, in test_get_data_at_position() argument
20 sk_sp<SkData> data = buffer->getDataAtPosition(position, length); in test_get_data_at_position()
33 SkStreamBuffer buffer(std::move(stream)); in test_buffer_from_beginning()
37 REPORTER_ASSERT(r, buffer.buffer(buffered)); in test_buffer_from_beginning()
38 REPORTER_ASSERT(r, !memcmp(buffer.get(), gText, buffered)); in test_buffer_from_beginning()
41 REPORTER_ASSERT(r, buffer.buffer(buffered / 2)); in test_buffer_from_beginning()
44 REPORTER_ASSERT(r, buffer.buffer(lengt in test_buffer_from_beginning()
[all...]
/third_party/node/deps/icu-small/source/tools/genrb/
H A Drle.c42 appendEncodedByte(uint16_t* buffer, uint16_t* buffLimit, uint8_t value, uint8_t state[],UErrorCode* status) { in appendEncodedByte() argument
48 if(buffer < buffLimit){ in appendEncodedByte()
49 *buffer++ = c; in appendEncodedByte()
54 return buffer; in appendEncodedByte()
59 return buffer; in appendEncodedByte()
67 encodeRunByte(uint16_t* buffer,uint16_t* bufLimit, uint8_t value, int32_t length, uint8_t state[], UErrorCode* status) { in encodeRunByte() argument
75 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status); in encodeRunByte()
77 buffer = appendEncodedByte(buffer,bufLimi in encodeRunByte()
109 encodeRunShort(uint16_t* buffer,uint16_t* bufLimit, uint16_t value, int32_t length,UErrorCode* status) encodeRunShort() argument
151 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status) usArrayToRLEString() argument
197 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status) byteArrayToRLEString() argument
[all...]
/third_party/icu/icu4c/source/tools/genrb/
H A Drle.c42 appendEncodedByte(uint16_t* buffer, uint16_t* buffLimit, uint8_t value, uint8_t state[],UErrorCode* status) { in appendEncodedByte() argument
48 if(buffer < buffLimit){ in appendEncodedByte()
49 *buffer++ = c; in appendEncodedByte()
54 return buffer; in appendEncodedByte()
59 return buffer; in appendEncodedByte()
67 encodeRunByte(uint16_t* buffer,uint16_t* bufLimit, uint8_t value, int32_t length, uint8_t state[], UErrorCode* status) { in encodeRunByte() argument
75 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status); in encodeRunByte()
77 buffer = appendEncodedByte(buffer,bufLimi in encodeRunByte()
109 encodeRunShort(uint16_t* buffer,uint16_t* bufLimit, uint16_t value, int32_t length,UErrorCode* status) encodeRunShort() argument
151 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status) usArrayToRLEString() argument
197 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status) byteArrayToRLEString() argument
[all...]
/third_party/skia/third_party/externals/icu/source/tools/genrb/
H A Drle.c42 appendEncodedByte(uint16_t* buffer, uint16_t* buffLimit, uint8_t value, uint8_t state[],UErrorCode* status) { in appendEncodedByte() argument
48 if(buffer < buffLimit){ in appendEncodedByte()
49 *buffer++ = c; in appendEncodedByte()
54 return buffer; in appendEncodedByte()
59 return buffer; in appendEncodedByte()
67 encodeRunByte(uint16_t* buffer,uint16_t* bufLimit, uint8_t value, int32_t length, uint8_t state[], UErrorCode* status) { in encodeRunByte() argument
75 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status); in encodeRunByte()
77 buffer = appendEncodedByte(buffer,bufLimi in encodeRunByte()
109 encodeRunShort(uint16_t* buffer,uint16_t* bufLimit, uint16_t value, int32_t length,UErrorCode* status) encodeRunShort() argument
151 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status) usArrayToRLEString() argument
197 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status) byteArrayToRLEString() argument
[all...]
/kernel/linux/linux-6.6/sound/usb/
H A Dproc.c33 static void proc_audio_usbbus_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_audio_usbbus_read() argument
37 snd_iprintf(buffer, "%03d/%03d\n", chip->dev->bus->busnum, chip->dev->devnum); in proc_audio_usbbus_read()
40 static void proc_audio_usbid_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_audio_usbid_read() argument
44 snd_iprintf(buffer, "%04x:%04x\n", in proc_audio_usbid_read()
92 static void proc_dump_substream_formats(struct snd_usb_substream *subs, struct snd_info_buffer *buffer) in proc_dump_substream_formats() argument
102 snd_iprintf(buffer, " Interface %d\n", fp->iface); in proc_dump_substream_formats()
103 snd_iprintf(buffer, " Altset %d\n", fp->altsetting); in proc_dump_substream_formats()
104 snd_iprintf(buffer, " Format:"); in proc_dump_substream_formats()
107 snd_iprintf(buffer, " %s", in proc_dump_substream_formats()
109 snd_iprintf(buffer, "\ in proc_dump_substream_formats()
172 proc_dump_ep_status(struct snd_usb_substream *subs, struct snd_usb_endpoint *data_ep, struct snd_usb_endpoint *sync_ep, struct snd_info_buffer *buffer) proc_dump_ep_status() argument
192 proc_dump_substream_status(struct snd_usb_audio *chip, struct snd_usb_substream *subs, struct snd_info_buffer *buffer) proc_dump_substream_status() argument
210 proc_pcm_format_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) proc_pcm_format_read() argument
[all...]
/base/telephony/sms_mms/test/fuzztest/smspdubuffer_fuzzer/
H A Dsmspdubuffer_fuzzer.cpp28 auto buffer = std::make_unique<SmsReadBuffer>(strValue); in ReadBuffer() local
29 if (buffer == nullptr) { in ReadBuffer()
32 buffer->IsEmpty(); in ReadBuffer()
37 buffer->SetIndex(i); in ReadBuffer()
38 buffer->GetIndex(); in ReadBuffer()
41 buffer->MoveBack(i); in ReadBuffer()
44 buffer->MoveForward(i); in ReadBuffer()
47 buffer->SetIndex(0); in ReadBuffer()
51 buffer->ReadByte(v1); in ReadBuffer()
52 buffer in ReadBuffer()
67 auto buffer = std::make_unique<SmsWriteBuffer>(); WriteBuffer() local
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DWriteBufferTests.cpp31 wgpu::CommandBuffer EncodeWriteBuffer(wgpu::Buffer buffer, in EncodeWriteBuffer() argument
36 encoder.WriteBuffer(buffer, bufferOffset, data.data(), size); in EncodeWriteBuffer()
41 // Tests that the buffer offset is validated to be a multiple of 4 bytes.
43 wgpu::Buffer buffer = CreateWritableBuffer(64); in TEST_F() local
44 EncodeWriteBuffer(buffer, 0, 4); in TEST_F()
45 EncodeWriteBuffer(buffer, 4, 4); in TEST_F()
46 EncodeWriteBuffer(buffer, 60, 4); in TEST_F()
47 ASSERT_DEVICE_ERROR(EncodeWriteBuffer(buffer, 1, 4)); in TEST_F()
48 ASSERT_DEVICE_ERROR(EncodeWriteBuffer(buffer, 2, 4)); in TEST_F()
49 ASSERT_DEVICE_ERROR(EncodeWriteBuffer(buffer, in TEST_F()
56 wgpu::Buffer buffer = CreateWritableBuffer(64); TEST_F() local
68 wgpu::Buffer buffer = CreateWritableBuffer(64); TEST_F() local
83 wgpu::Buffer buffer = device.CreateBuffer(&desc); TEST_F() local
94 wgpu::Buffer buffer = device.CreateBuffer(&desc); TEST_F() local
[all...]

Completed in 15 milliseconds

12345678910>>...638