Home
last modified time | relevance | path

Searched +defs:buffer +defs:size (Results 1 – 25 of 1382) sorted by relevance

12345678910>>...56

/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dproperties.c48 prop_copy_ensure_buffer (guint8 ** buffer, guint64 * bsize, guint64 * offset, in prop_copy_ensure_buffer()
49 guint64 size) in prop_copy_ensure_buffer()
58 copy_func (void *prop, guint size, guint8 ** buffer, guint64 * bsize, in copy_func()
88 prop_copy_uint8 (guint8 prop, guint8 ** buffer, guint64 * size, in prop_copy_uint8()
95 prop_copy_uint16 (guint16 prop, guint8 ** buffer, guint64 * size, in prop_copy_uint16()
103 prop_copy_uint32 (guint32 prop, guint8 ** buffer, guint64 * size, in prop_copy_uint32()
111 prop_copy_uint64 (guint64 prop, guint8 ** buffer, guint64 * size, in prop_copy_uint64()
119 prop_copy_int32 (gint32 prop, guint8 ** buffer, guint64 * size, in prop_copy_int32()
135 prop_copy_fourcc (guint32 prop, guint8 ** buffer, guint64 * size, in prop_copy_fourcc()
157 prop_copy_fixed_size_string (guint8 * string, guint str_size, guint8 ** buffer, in prop_copy_fixed_size_string()
[all …]
Ddescriptors.c62 expandable_size_parse (guint64 size, guint8 * ptr, guint32 array_size) in expandable_size_parse()
100 desc_base_descriptor_init (BaseDescriptor * bd, guint8 tag, guint32 size) in desc_base_descriptor_init()
215 guint32 size) in desc_dec_specific_info_alloc_data()
225 desc_base_descriptor_set_size (BaseDescriptor * bd, guint32 size) in desc_base_descriptor_set_size()
233 guint64 size = 0; in desc_base_descriptor_get_size() local
243 guint64 size = 0; in desc_sl_config_descriptor_get_size() local
258 guint64 size = 0; in desc_dec_specific_info_get_size() local
270 guint64 size = 0; in desc_dec_config_descriptor_get_size() local
295 guint64 size = 0; in desc_es_descriptor_get_size() local
347 desc_base_descriptor_copy_data (BaseDescriptor * desc, guint8 ** buffer, in desc_base_descriptor_copy_data()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf/
DParsingPrimitives.cs63 public static int ParseLength(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) in ParseLength()
72 public static uint ParseTag(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) in ParseTag()
132 …public static bool MaybeConsumeTag(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state, u… in MaybeConsumeTag()
147 public static uint PeekTag(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) in PeekTag()
164 … public static ulong ParseRawVarint64(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) in ParseRawVarint64()
193 …private static ulong ParseRawVarint64SlowPath(ref ReadOnlySpan<byte> buffer, ref ParserInternalSta… in ParseRawVarint64SlowPath()
218 … public static uint ParseRawVarint32(ref ReadOnlySpan<byte> buffer, ref ParserInternalState state) in ParseRawVarint32()
274 …private static uint ParseRawVarint32SlowPath(ref ReadOnlySpan<byte> buffer, ref ParserInternalStat… in ParseRawVarint32SlowPath()
325 …public static uint ParseRawLittleEndian32(ref ReadOnlySpan<byte> buffer, ref ParserInternalState s… in ParseRawLittleEndian32()
340 …private static uint ParseRawLittleEndian32SlowPath(ref ReadOnlySpan<byte> buffer, ref ParserIntern… in ParseRawLittleEndian32SlowPath()
[all …]
/third_party/python/Python/
Dbootstrap_hash.c67 win32_urandom(unsigned char *buffer, Py_ssize_t size, int raise) in win32_urandom()
111 py_getrandom(void *buffer, Py_ssize_t size, int blocking, int raise) in py_getrandom()
232 py_getentropy(char *buffer, Py_ssize_t size, int raise) in py_getentropy()
325 dev_urandom(char *buffer, Py_ssize_t size, int raise) in dev_urandom()
440 lcg_urandom(unsigned int x0, unsigned char *buffer, size_t size) in lcg_urandom()
498 pyurandom(void *buffer, Py_ssize_t size, int blocking, int raise) in pyurandom()
552 _PyOS_URandom(void *buffer, Py_ssize_t size) in _PyOS_URandom()
566 _PyOS_URandomNonblock(void *buffer, Py_ssize_t size) in _PyOS_URandomNonblock()
/third_party/musl/libc-test/src/functionalext/supplement/fcntl/
Dopen.c31 char buffer[80] = {0}; in open_0100() local
34 ssize_t size = read(fd, buffer, sizeof(buffer)); in open_0100() local
62 char buffer[80] = {0}; in open_0300() local
64 ssize_t size = read(fd, buffer, sizeof(buffer)); in open_0300() local
92 char buffer[80] = {0}; in open_0500() local
94 ssize_t size = read(fd, buffer, sizeof(buffer)); in open_0500() local
111 char buffer[80] = {0}; in open_0600() local
113 ssize_t size = read(fd, buffer, sizeof(buffer)); in open_0600() local
140 char buffer[80] = {0}; in open_0800() local
142 ssize_t size = read(fd, buffer, sizeof(buffer)); in open_0800() local
[all …]
/third_party/libwebsockets/lib/core/
Dalloc.c43 TEE_Malloc(uint32_t size, uint32_t hint) in TEE_Malloc()
48 TEE_Realloc(void *buffer, uint32_t newSize) in TEE_Realloc()
53 TEE_Free(void *buffer) in TEE_Free()
61 TEE_Malloc(uint32_t size, uint32_t hint) in TEE_Malloc()
66 TEE_Realloc(void *buffer, uint32_t newSize) in TEE_Realloc()
71 TEE_Free(void *buffer) in TEE_Free()
78 void *lws_realloc(void *ptr, size_t size, const char *reason) in lws_realloc()
83 void *lws_malloc(size_t size, const char *reason) in lws_malloc()
93 void *lws_zalloc(size_t size, const char *reason) in lws_zalloc()
101 void lws_set_allocator(void *(*cb)(void *ptr, size_t size, const char *reason)) in lws_set_allocator()
[all …]
/third_party/boost/libs/compute/include/boost/compute/
Dbuffer.hpp54 class buffer : public memory_object class
58 buffer() in buffer() function in boost::compute::buffer
65 explicit buffer(cl_mem mem, bool retain = true) in buffer() function in boost::compute::buffer
74 buffer(const context &context, in buffer() function in boost::compute::buffer
75 size_t size, in buffer()
91 buffer(const buffer &other) in buffer() function in boost::compute::buffer
108 buffer(buffer&& other) BOOST_NOEXCEPT in buffer() function in boost::compute::buffer
128 size_t size() const in size() function in boost::compute::buffer
168 size_t size) in create_subbuffer()
/third_party/boost/boost/compute/
Dbuffer.hpp54 class buffer : public memory_object class
58 buffer() in buffer() function in boost::compute::buffer
65 explicit buffer(cl_mem mem, bool retain = true) in buffer() function in boost::compute::buffer
74 buffer(const context &context, in buffer() function in boost::compute::buffer
75 size_t size, in buffer()
91 buffer(const buffer &other) in buffer() function in boost::compute::buffer
108 buffer(buffer&& other) BOOST_NOEXCEPT in buffer() function in boost::compute::buffer
128 size_t size() const in size() function in boost::compute::buffer
168 size_t size) in create_subbuffer()
/third_party/flatbuffers/grpc/flatbuffers-java-grpc/src/main/java/com/google/flatbuffers/grpc/
DFlatbuffersUtils.java34 int size = stream.available(); in extract() local
35 ByteBuffer buffer = ByteBuffer.allocate(size); in extract() local
42 public abstract T extract(ByteBuffer buffer); in extract()
47 private final ByteBuffer buffer; field in FlatbuffersUtils.FBInputStream
48 private final int size; field in FlatbuffersUtils.FBInputStream
51 FBInputStream(ByteBuffer buffer) { in FBInputStream()
63 target.write(buffer.array(), buffer.position(), size); in drainTo() local
78 System.arraycopy(buffer.array(), buffer.position(), b, off, size); in read() local
/third_party/gstreamer/gstreamer/gst/
Dgstbuffer.c157 GstBuffer buffer; member
245 _actual_merged_memory (GstBuffer * buffer, guint idx, guint length) in _actual_merged_memory()
249 gsize size, poffset = 0; in _actual_merged_memory() local
303 _get_merged_memory (GstBuffer * buffer, guint idx, guint length) in _get_merged_memory()
319 _replace_memory (GstBuffer * buffer, guint len, guint idx, guint length, in _replace_memory()
369 gst_buffer_get_flags (GstBuffer * buffer) in gst_buffer_get_flags()
386 gst_buffer_has_flags (GstBuffer * buffer, GstBufferFlags flags) in gst_buffer_has_flags()
403 gst_buffer_set_flags (GstBuffer * buffer, GstBufferFlags flags) in gst_buffer_set_flags()
421 gst_buffer_unset_flags (GstBuffer * buffer, GstBufferFlags flags) in gst_buffer_unset_flags()
458 _memory_add (GstBuffer * buffer, gint idx, GstMemory * mem) in _memory_add()
[all …]
/third_party/mesa3d/src/mesa/main/
Dbufferobj.c286 GLintptr offset, GLsizeiptr size) in bufferobj_range_mapped()
320 GLintptr offset, GLsizeiptr size, in buffer_object_subdata_range_good()
638 buffer_data_fallback(struct gl_context *ctx, GLenum target, GLsizeiptrARB size, in buffer_data_fallback()
685 GLsizeiptrARB size, const GLvoid *data, in buffer_sub_data_fallback()
718 GLsizeiptrARB size, GLvoid *data, in buffer_get_subdata()
748 GLintptr offset, GLsizeiptr size, in _mesa_ClearBufferSubData_sw()
853 GLsizeiptr size) in copy_buffer_sub_data_fallback()
1067 GLuint buffer, in _mesa_handle_bind_buffer_gen()
1111 struct gl_buffer_object **bindTarget, GLuint buffer) in bind_buffer_object()
1166 _mesa_lookup_bufferobj(struct gl_context *ctx, GLuint buffer) in _mesa_lookup_bufferobj()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/rl/
Drl_buffer_impl.cu23 __global__ void BufferAppendKernel(const int64_t capacity, const size_t size, const int *index, con… in BufferAppendKernel()
24 unsigned char *buffer, const unsigned char *exp) { in BufferAppendKernel()
73 __global__ void BufferGetItemKernel(const size_t size, const int *index, const size_t one_exp_len, in BufferGetItemKernel()
74 const unsigned char *buffer, unsigned char *out) { in BufferGetItemKernel()
91 __global__ void BufferSampleKernel(const size_t size, const size_t one_element, const unsigned int … in BufferSampleKernel()
92 const unsigned char *buffer, unsigned char *out) { in BufferSampleKernel()
98 __global__ void SetupKernel(const int seed, curandState *state, const int size) { in SetupKernel()
104 __global__ void SrandUInt(const int size, curandState *globalState, unsigned int *value, unsigned i… in SrandUInt()
111 __global__ void SrandUniformInt(const int size, curandState *globalState, const int upBound, unsign… in SrandUniformInt()
119 void BufferAppend(const int64_t capacity, const size_t size, const int *index, const int exp_batch, in BufferAppend()
[all …]
/third_party/flutter/skia/src/gpu/
DGrBufferAllocPool.cpp33 sk_sp<GrCpuBuffer> GrBufferAllocPool::CpuBufferCache::makeBuffer(size_t size, in makeBuffer()
97 GrBuffer* buffer = fBlocks.back().fBuffer.get(); in deleteBlocks() local
126 GrBuffer* buffer = block.fBuffer.get(); in unmap() local
145 const GrBuffer* buffer = fBlocks.back().fBuffer.get(); in validate() local
150 const GrBuffer* buffer = fBlocks.back().fBuffer.get(); in validate() local
155 const GrBuffer* buffer = fBlocks[i].fBuffer.get(); in validate() local
159 GrBuffer* buffer = fBlocks[i].fBuffer.get(); in validate() local
181 void* GrBufferAllocPool::makeSpace(size_t size, in makeSpace()
183 sk_sp<const GrBuffer>* buffer, in makeSpace()
236 sk_sp<const GrBuffer>* buffer, in makeSpaceAtLeast()
[all …]
/third_party/skia/src/core/
DSkBuffer.cpp14 const void* SkRBuffer::skip(size_t size) { in skip()
24 bool SkRBuffer::read(void* buffer, size_t size) { in read()
46 void* SkWBuffer::skip(size_t size) { in skip()
52 void SkWBuffer::writeNoSizeCheck(const void* buffer, size_t size) { in writeNoSizeCheck()
DSkPictureData.cpp66 size_t size = 4; // for 'count' in compute_chunk_size() local
82 static void write_tag_size(SkWriteBuffer& buffer, uint32_t tag, size_t size) { in write_tag_size()
87 static void write_tag_size(SkWStream* stream, uint32_t tag, size_t size) { in write_tag_size()
99 size_t size = compute_chunk_size(array, count); in WriteFactories() local
143 void SkPictureData::flattenToBuffer(SkWriteBuffer& buffer, bool textBlobsOnly) const { in flattenToBuffer()
217 SkBinaryWriteBuffer buffer; in serialize() local
286 uint32_t size, in parseStreamTag()
346 SkReadBuffer buffer(storage.get(), size); in parseStreamTag() local
376 static sk_sp<SkImage> create_image_from_buffer(SkReadBuffer& buffer) { in create_image_from_buffer()
380 static sk_sp<SkDrawable> create_drawable_from_buffer(SkReadBuffer& buffer) { in create_drawable_from_buffer()
[all …]
/third_party/flutter/skia/src/core/
DSkBuffer.cpp14 const void* SkRBuffer::skip(size_t size) { in skip()
24 bool SkRBuffer::read(void* buffer, size_t size) { in read()
46 void* SkWBuffer::skip(size_t size) { in skip()
52 void SkWBuffer::writeNoSizeCheck(const void* buffer, size_t size) { in writeNoSizeCheck()
DSkPictureData.cpp70 size_t size = 4; // for 'count' in compute_chunk_size() local
86 static void write_tag_size(SkWriteBuffer& buffer, uint32_t tag, size_t size) { in write_tag_size()
91 static void write_tag_size(SkWStream* stream, uint32_t tag, size_t size) { in write_tag_size()
103 size_t size = compute_chunk_size(array, count); in WriteFactories() local
147 void SkPictureData::flattenToBuffer(SkWriteBuffer& buffer, bool textBlobsOnly) const { in flattenToBuffer()
221 SkBinaryWriteBuffer buffer; in serialize() local
290 uint32_t size, in parseStreamTag()
345 SkReadBuffer buffer(storage.get(), size); in parseStreamTag() local
375 static sk_sp<SkImage> create_image_from_buffer(SkReadBuffer& buffer) { in create_image_from_buffer()
378 static sk_sp<SkVertices> create_vertices_from_buffer(SkReadBuffer& buffer) { in create_vertices_from_buffer()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DWriteBufferTests.cpp24 wgpu::Buffer CreateWritableBuffer(uint64_t size) { in CreateWritableBuffer()
31 wgpu::CommandBuffer EncodeWriteBuffer(wgpu::Buffer buffer, in EncodeWriteBuffer()
33 uint64_t size) { in EncodeWriteBuffer()
43 wgpu::Buffer buffer = CreateWritableBuffer(64); in TEST_F() local
56 wgpu::Buffer buffer = CreateWritableBuffer(64); in TEST_F() local
68 wgpu::Buffer buffer = CreateWritableBuffer(64); in TEST_F() local
83 wgpu::Buffer buffer = device.CreateBuffer(&desc); in TEST_F() local
94 wgpu::Buffer buffer = device.CreateBuffer(&desc); in TEST_F() local
/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc142 int size) { in WriteToOutput()
169 int IoTest::ReadFromInput(ZeroCopyInputStream* input, void* data, int size) { in ReadFromInput()
209 std::unique_ptr<char[]> buffer(new char[str.size() + 1]); in ReadString() local
282 uint8 buffer[kBufferSize]; in TEST_F() local
286 int size; in TEST_F() local
305 uint8* buffer = new uint8[kBufferSize]; in TEST_F() local
324 int64 size = pos + output->ByteCount(); in TEST_F() local
353 uint8* buffer = new uint8[kBufferSize]; in TEST_F() local
358 int size; in TEST_F() local
384 uint8* buffer = new uint8[kBufferSize]; in TEST_F() local
[all …]
Dcoded_stream.cc70 int* size) { in NextNonEmpty()
233 bool CodedInputStream::GetDirectBufferPointer(const void** data, int* size) { in GetDirectBufferPointer()
241 bool CodedInputStream::ReadRaw(void* buffer, int size) { in ReadRaw()
258 bool CodedInputStream::ReadString(std::string* buffer, int size) { in ReadString()
277 bool CodedInputStream::ReadStringFallback(std::string* buffer, int size) { in ReadStringFallback()
351 const uint8* DecodeVarint64KnownSize(const uint8* buffer, uint64* value) { in DecodeVarint64KnownSize()
370 uint32 first_byte, const uint8* buffer, uint32* value) { in ReadVarint32FromArray()
415 const uint8* buffer, uint64* value) { in ReadVarint64FromArray()
727 int size = Flush(*pp); in Skip() local
744 bool EpsCopyOutputStream::GetDirectBufferPointer(void** data, int* size, in GetDirectBufferPointer()
[all …]
/third_party/flutter/engine/flutter/fml/
Dmessage.cc51 bool Message::Reserve(size_t size) { in Reserve()
58 bool Message::Resize(size_t size) { in Resize()
63 void* buffer = ::malloc(size); in Resize() local
89 uint8_t* Message::PrepareEncode(size_t size) { in PrepareEncode()
99 uint8_t* Message::PrepareDecode(size_t size) { in PrepareDecode()
103 auto* buffer = buffer_ + size_read_; in PrepareDecode() local
/third_party/skia/src/gpu/
DGrBufferAllocPool.cpp35 sk_sp<GrCpuBuffer> GrBufferAllocPool::CpuBufferCache::makeBuffer(size_t size, in makeBuffer()
97 GrBuffer* buffer = fBlocks.back().fBuffer.get(); in deleteBlocks() local
126 GrBuffer* buffer = block.fBuffer.get(); in unmap() local
145 const GrBuffer* buffer = fBlocks.back().fBuffer.get(); in validate() local
150 const GrBuffer* buffer = fBlocks.back().fBuffer.get(); in validate() local
155 const GrBuffer* buffer = fBlocks[i].fBuffer.get(); in validate() local
159 GrBuffer* buffer = fBlocks[i].fBuffer.get(); in validate() local
189 void* GrBufferAllocPool::makeSpace(size_t size, in makeSpace()
191 sk_sp<const GrBuffer>* buffer, in makeSpace()
244 sk_sp<const GrBuffer>* buffer, in makeSpaceAtLeast()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_wire/
DWireClient.cpp36 const char* WireClient::HandleCommands(const char* commands, size_t size) { in HandleCommands()
48 MemoryTransferService::CreateReadHandle(DawnBuffer buffer, uint64_t offset, size_t size) { in CreateReadHandle()
53 MemoryTransferService::CreateWriteHandle(DawnBuffer buffer, uint64_t offset, size_t size) { in CreateWriteHandle()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DBuffer.cpp47 void Buffer::bufferData(const void *data, GLsizeiptr size, GLenum usage) in bufferData()
70 char *buffer = (char*)mContents->data(); in bufferData() local
76 void Buffer::bufferSubData(const void *data, GLsizeiptr size, GLintptr offset) in bufferSubData()
80 char *buffer = (char*)mContents->lock(sw::PUBLIC); in bufferSubData() local
90 char* buffer = (char*)mContents->lock(sw::PUBLIC); in mapRange() local
/third_party/libunwind/src/mi/
Dbacktrace.c36 slow_backtrace (void **buffer, int size, unw_context_t *uc) in slow_backtrace()
58 unw_backtrace (void **buffer, int size) in unw_backtrace()

12345678910>>...56