Home
last modified time | relevance | path

Searched refs:buffers (Results 1 – 25 of 2555) sorted by relevance

12345678910>>...103

/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dgdppay.c97 fail_if ((outbuffer = (GstBuffer *) buffers->data) == NULL); in check_stream_start_buffer()
98 buffers = g_list_remove (buffers, outbuffer); in check_stream_start_buffer()
110 fail_if ((outbuffer = (GstBuffer *) buffers->data) == NULL); in check_caps_buffer()
111 buffers = g_list_remove (buffers, outbuffer); in check_caps_buffer()
124 fail_if ((outbuffer = (GstBuffer *) buffers->data) == NULL); in check_segment_buffer()
125 buffers = g_list_remove (buffers, outbuffer); in check_segment_buffer()
145 fail_unless_equals_int (g_list_length (buffers), 0); in GST_START_TEST()
159 fail_unless_equals_int (g_list_length (buffers), 4); in GST_START_TEST()
171 fail_if ((outbuffer = (GstBuffer *) buffers->data) == NULL); in GST_START_TEST()
172 buffers = g_list_remove (buffers, outbuffer); in GST_START_TEST()
[all …]
Dgdpdepay.c145 fail_unless_equals_int (g_list_length (buffers), 0); in GST_START_TEST()
147 fail_unless_equals_int (g_list_length (buffers), 0); in GST_START_TEST()
156 fail_unless_equals_int (g_list_length (buffers), 0); in GST_START_TEST()
158 fail_unless_equals_int (g_list_length (buffers), 0); in GST_START_TEST()
171 fail_unless_equals_int (g_list_length (buffers), 0); in GST_START_TEST()
173 fail_unless_equals_int (g_list_length (buffers), 0); in GST_START_TEST()
184 fail_unless_equals_int (g_list_length (buffers), 0); in GST_START_TEST()
188 fail_unless_equals_int (g_list_length (buffers), 1); in GST_START_TEST()
189 fail_if ((outbuffer = (GstBuffer *) buffers->data) == NULL); in GST_START_TEST()
193 buffers = g_list_remove (buffers, outbuffer); in GST_START_TEST()
[all …]
/third_party/vk-gl-cts/external/amber/src/src/amberscript/
Dparser_buffer_test.cc63 const auto& buffers = script->GetBuffers(); in TEST_F() local
64 ASSERT_EQ(1U, buffers.size()); in TEST_F()
66 ASSERT_TRUE(buffers[0] != nullptr); in TEST_F()
67 EXPECT_EQ("my_buffer", buffers[0]->GetName()); in TEST_F()
69 auto* buffer = buffers[0].get(); in TEST_F()
96 const auto& buffers = script->GetBuffers(); in TEST_F() local
97 ASSERT_EQ(1U, buffers.size()); in TEST_F()
99 ASSERT_TRUE(buffers[0] != nullptr); in TEST_F()
100 EXPECT_EQ("my_buffer", buffers[0]->GetName()); in TEST_F()
102 auto* buffer = buffers[0].get(); in TEST_F()
[all …]
Dparser_image_test.cc208 const auto& buffers = script->GetBuffers(); in TEST_F() local
209 ASSERT_EQ(1U, buffers.size()); in TEST_F()
211 ASSERT_TRUE(buffers[0] != nullptr); in TEST_F()
212 EXPECT_EQ("image", buffers[0]->GetName()); in TEST_F()
214 auto* buffer = buffers[0].get(); in TEST_F()
232 const auto& buffers = script->GetBuffers(); in TEST_F() local
233 ASSERT_EQ(1U, buffers.size()); in TEST_F()
235 ASSERT_TRUE(buffers[0] != nullptr); in TEST_F()
236 EXPECT_EQ("image", buffers[0]->GetName()); in TEST_F()
238 auto* buffer = buffers[0].get(); in TEST_F()
[all …]
/third_party/gstreamer/gstreamer/gst/
Dgstbufferlist.c49 ((list)->buffers != &(list)->arr[0])
60 GstBuffer **buffers; member
93 copy->buffers[i] = gst_buffer_ref (list->buffers[i]); in _gst_buffer_list_copy()
94 gst_mini_object_add_parent (GST_MINI_OBJECT_CAST (copy->buffers[i]), in _gst_buffer_list_copy()
114 gst_mini_object_remove_parent (GST_MINI_OBJECT_CAST (list->buffers[i]), in _gst_buffer_list_free()
116 gst_buffer_unref (list->buffers[i]); in _gst_buffer_list_free()
120 g_free (list->buffers); in _gst_buffer_list_free()
138 list->buffers = &list->arr[0]; in gst_buffer_list_init()
215 gst_mini_object_remove_parent (GST_MINI_OBJECT_CAST (list->buffers[i]), in gst_buffer_list_remove_range_internal()
217 gst_buffer_unref (list->buffers[i]); in gst_buffer_list_remove_range_internal()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dtextoverlay.c399 g_list_foreach (buffers, (GFunc) gst_mini_object_unref, NULL); in cleanup_textoverlay()
400 g_list_free (buffers); in cleanup_textoverlay()
401 buffers = NULL; in cleanup_textoverlay()
446 fail_unless_equals_int (g_list_length (buffers), 0); in GST_START_TEST()
463 fail_unless_equals_int (g_list_length (buffers), 1); in GST_START_TEST()
464 outbuffer = GST_BUFFER_CAST (buffers->data); in GST_START_TEST()
472 g_list_foreach (buffers, (GFunc) gst_mini_object_unref, NULL); in GST_START_TEST()
473 g_list_free (buffers); in GST_START_TEST()
474 buffers = NULL; in GST_START_TEST()
497 fail_unless_equals_int (g_list_length (buffers), 0); in GST_START_TEST()
[all …]
Dvolume.c146 g_list_foreach (buffers, (GFunc) gst_mini_object_unref, NULL); in cleanup_volume()
147 g_list_free (buffers); in cleanup_volume()
148 buffers = NULL; in cleanup_volume()
211 fail_unless_equals_int (g_list_length (buffers), 1); in GST_START_TEST()
212 fail_if ((outbuffer = (GstBuffer *) buffers->data) == NULL); in GST_START_TEST()
259 fail_unless_equals_int (g_list_length (buffers), 1); in GST_START_TEST()
260 fail_if ((outbuffer = (GstBuffer *) buffers->data) == NULL); in GST_START_TEST()
308 fail_unless_equals_int (g_list_length (buffers), 1); in GST_START_TEST()
309 fail_if ((outbuffer = (GstBuffer *) buffers->data) == NULL); in GST_START_TEST()
358 fail_unless_equals_int (g_list_length (buffers), 1); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstreamer/docs/random/
Dstreamheader1 A lot of data streams need a few initial buffers to make sense of the
2 data stream. With these initial buffers, it can pick up at any point in
11 receive these initial buffers. Also, sink elements should know that these
12 initial buffers are necessary for every new "client" of the sink element;
13 for example, multifdsink needs to send these initial buffers before the
14 normal buffers.
18 buffers.
20 The buffers themselves still get pushed as normal buffers, but with the
24 It is of course important that these streamheader buffers are not sent twice
26 buffers).
[all …]
/third_party/node/test/common/
Dhttp2.js89 const buffers = [payload];
91 buffers.unshift(Buffer.from([padlen]));
92 buffers.push(PADDING.slice(0, padlen));
97 buffers.unshift(this[kFrameData]);
98 this[kFrameData] = Buffer.concat(buffers);
107 const buffers = [payload];
109 buffers.unshift(Buffer.from([padlen]));
110 buffers.push(PADDING.slice(0, padlen));
115 buffers.unshift(this[kFrameData]);
116 this[kFrameData] = Buffer.concat(buffers);
[all …]
Ddns.js193 const buffers = [];
196 buffers.push(new Uint16Array([
207 buffers.push(writeDomainName(q.domain));
208 buffers.push(new Uint16Array([
220 buffers.push(writeDomainName(rr.domain));
221 buffers.push(new Uint16Array([
225 buffers.push(new Int32Array([rr.ttl]));
228 buffers.push(rdLengthBuf);
233 buffers.push(new Uint8Array(rr.address.split('.')));
237 buffers.push(writeIPv6(rr.address));
[all …]
/third_party/python/Objects/stringlib/
Djoin.h18 Py_buffer *buffers = NULL; in STRINGLIB() local
46 buffers = PyMem_NEW(Py_buffer, seqlen); in STRINGLIB()
47 if (buffers == NULL) { in STRINGLIB()
54 buffers = static_buffers; in STRINGLIB()
67 buffers[i].obj = item; in STRINGLIB()
68 buffers[i].buf = PyBytes_AS_STRING(item); in STRINGLIB()
69 buffers[i].len = PyBytes_GET_SIZE(item); in STRINGLIB()
72 if (PyObject_GetBuffer(item, &buffers[i], PyBUF_SIMPLE) != 0) { in STRINGLIB()
88 itemlen = buffers[i].len; in STRINGLIB()
126 Py_ssize_t n = buffers[i].len; in STRINGLIB()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dvideoencoder.c357 fail_unless (g_list_length (buffers) == NUM_BUFFERS); in GST_START_TEST()
359 for (iter = buffers; iter; iter = g_list_next (iter)) { in GST_START_TEST()
379 g_list_free_full (buffers, (GDestroyNotify) gst_buffer_unref); in GST_START_TEST()
380 buffers = NULL; in GST_START_TEST()
432 g_list_free_full (buffers, (GDestroyNotify) gst_buffer_unref); in GST_START_TEST()
433 buffers = NULL; in GST_START_TEST()
492 g_list_free_full (buffers, (GDestroyNotify) gst_buffer_unref); in GST_START_TEST()
493 buffers = NULL; in GST_START_TEST()
597 g_list_free_full (buffers, (GDestroyNotify) gst_buffer_unref); in GST_START_TEST()
598 buffers = NULL; in GST_START_TEST()
[all …]
/third_party/gstreamer/gstreamer/docs/random/ensonic/
Ddraft-bufferpools.txt4 This document proposes a mechanism to build pools of reusable buffers. The
13 Elements either create own buffers or request downstream buffers via pad_alloc.
14 There is hardly any reuse of buffers, instead they are ususaly disposed after
21 - hardware based elements like to reuse buffers as they e.g.
24 - not reusing buffers has overhead and makes run time behaviour
26 - malloc (which usually becomes an mmap for bigger buffers and thus a
30 - not having the right amount of buffers (e.g. too few buffers in v4l2src)
31 - receiving buffers of wrong type (e.g. plain buffers in xvimagesink)
32 - receiving buffers with wrong alignment (dsp)
33 - some usecases cause unneeded cacheflushes when buffers are passed between
[all …]
/third_party/mesa3d/src/mesa/main/
Dbuffers.c429 const GLenum *buffers, const char *caller, bool no_error) in draw_buffers() argument
462 (n != 1 || (buffers[0] != GL_NONE && buffers[0] != GL_BACK))) { in draw_buffers()
493 if (buffers[output] == GL_BACK && in draw_buffers()
502 } else if (buffers[output] == GL_FRONT || in draw_buffers()
503 buffers[output] == GL_LEFT || in draw_buffers()
504 buffers[output] == GL_RIGHT || in draw_buffers()
505 buffers[output] == GL_FRONT_AND_BACK || in draw_buffers()
506 (buffers[output] == GL_BACK && in draw_buffers()
509 caller, _mesa_enum_to_string(buffers[output])); in draw_buffers()
514 destMask[output] = draw_buffer_enum_to_bitmask(ctx, buffers[output]); in draw_buffers()
[all …]
Dglthread_draw.c113 struct glthread_attrib_binding *buffers) in upload_vertices() argument
197 buffers[num_buffers].buffer = upload_buffer; in upload_vertices()
198 buffers[num_buffers].offset = upload_offset - start; in upload_vertices()
199 buffers[num_buffers].original_pointer = ptr; in upload_vertices()
247 buffers[num_buffers].buffer = upload_buffer; in upload_vertices()
248 buffers[num_buffers].offset = upload_offset - offset; in upload_vertices()
249 buffers[num_buffers].original_pointer = ptr; in upload_vertices()
332 const struct glthread_attrib_binding *buffers = in _mesa_unmarshal_DrawArraysInstancedBaseInstance() local
337 _mesa_InternalBindVertexBuffers(ctx, buffers, user_buffer_mask, in _mesa_unmarshal_DrawArraysInstancedBaseInstance()
347 _mesa_InternalBindVertexBuffers(ctx, buffers, user_buffer_mask, in _mesa_unmarshal_DrawArraysInstancedBaseInstance()
[all …]
/third_party/openssl/doc/man3/
DSSL_alloc_buffers.pod5 SSL_free_buffers, SSL_alloc_buffers - manage SSL structure buffers
16 SSL_free_buffers() frees the read and write buffers of the given B<ssl>.
17 SSL_alloc_buffers() allocates the read and write buffers of the given B<ssl>.
19 The B<SSL_MODE_RELEASE_BUFFERS> mode releases read or write buffers whenever
20 the buffers have been drained. These functions allow applications to manually
21 control when buffers are freed and allocated.
23 After freeing the buffers, the buffers are automatically reallocated upon a
25 can be used to make sure the buffers are preallocated. This can be used to
27 to control where and how buffers are allocated.
43 The SSL_free_buffers() function returns 1 if the buffers have been freed. This
[all …]
/third_party/node/test/async-hooks/
Dtest-zlib.zlib-binding.deflate.js28 const buffers = { variable
40 buffers.writeResult,
42 buffers.dictionary
48 handle.write(true, buffers.inBuf, 0, 1, buffers.outBuf, 0, 1);
56 handle.write(true, buffers.inBuf, 0, 1, buffers.outBuf, 0, 1);
74 buffers.buffers = buffers;
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dwavpackparse.c120 num_buffers = g_list_length (buffers); in GST_START_TEST()
125 outbuffer = GST_BUFFER (buffers->data); in GST_START_TEST()
143 buffers = g_list_remove (buffers, outbuffer); in GST_START_TEST()
155 g_list_free (buffers); in GST_START_TEST()
156 buffers = NULL; in GST_START_TEST()
184 num_buffers = g_list_length (buffers); in GST_START_TEST()
190 outbuffer = GST_BUFFER (buffers->data); in GST_START_TEST()
204 buffers = g_list_remove (buffers, outbuffer); in GST_START_TEST()
210 g_list_free (buffers); in GST_START_TEST()
211 buffers = NULL; in GST_START_TEST()
Dudpsrc.c86 len = g_list_length (buffers); in GST_START_TEST()
89 len = g_list_length (buffers); in GST_START_TEST()
98 len = g_list_length (buffers); in GST_START_TEST()
105 buf = GST_BUFFER (g_list_nth_data (buffers, len - 1)); in GST_START_TEST()
113 buf = GST_BUFFER (g_list_nth_data (buffers, 0)); in GST_START_TEST()
181 len = g_list_length (buffers); in GST_START_TEST()
184 len = g_list_length (buffers); in GST_START_TEST()
190 buf = GST_BUFFER (g_list_nth_data (buffers, 0)); in GST_START_TEST()
197 buf = GST_BUFFER (g_list_nth_data (buffers, 1)); in GST_START_TEST()
204 buf = GST_BUFFER (g_list_nth_data (buffers, 2)); in GST_START_TEST()
[all …]
Drglimiter.c69 g_list_foreach (buffers, (GFunc) gst_mini_object_unref, NULL); in cleanup_rglimiter()
70 g_list_free (buffers); in cleanup_rglimiter()
71 buffers = NULL; in cleanup_rglimiter()
169 fail_unless (g_list_length (buffers) == 1); in GST_START_TEST()
170 out_buf = buffers->data; in GST_START_TEST()
172 buffers = g_list_remove (buffers, out_buf); in GST_START_TEST()
194 fail_unless (g_list_length (buffers) == 1); in GST_START_TEST()
195 out_buf = buffers->data; in GST_START_TEST()
208 fail_unless (g_list_length (buffers) == 2); in GST_START_TEST()
209 out_buf = g_list_last (buffers)->data; in GST_START_TEST()
[all …]
Davisubtitle.c127 fail_unless (g_list_length (buffers) == 0, "Buffers list needs to be empty"); in check_correct_buffer()
142 fail_unless (g_list_length (buffers) == 1, in check_correct_buffer()
148 fail_unless (g_list_length (buffers) == 2, in check_correct_buffer()
150 newBuffer = GST_BUFFER (buffers->data); in check_correct_buffer()
151 buffers = g_list_remove (buffers, newBuffer); in check_correct_buffer()
152 fail_unless (g_list_length (buffers) == 1, "Buffers list needs to be empty"); in check_correct_buffer()
160 gst_buffer_unref (GST_BUFFER (buffers->data)); in check_correct_buffer()
161 buffers = g_list_remove (buffers, buffers->data); in check_correct_buffer()
/third_party/fsverity-utils/lib/
Dcompute_digest.c117 struct block_buffer *buffers = &_buffers[1]; in compute_root_hash() local
174 buffers[level].data = libfsverity_zalloc(block_size); in compute_root_hash()
175 if (!buffers[level].data) { in compute_root_hash()
180 buffers[num_levels].data = root_hash; in compute_root_hash()
184 buffers[-1].filled = min(block_size, file_size - offset); in compute_root_hash()
186 err = read_fn(fd, buffers[-1].data, buffers[-1].filled); in compute_root_hash()
192 hash_one_block(hash, &buffers[-1], block_size, in compute_root_hash()
195 if (!block_is_full(&buffers[level], block_size, hash)) in compute_root_hash()
197 hash_one_block(hash, &buffers[level], block_size, in compute_root_hash()
200 &buffers[level], in compute_root_hash()
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/SGI/
DGLX_SGI_cushion.txt106 This extension increases the number of color buffers of a double
107 buffered visual. The additional buffers are referred to as cushion
108 buffers. It is not possible for an application to directly access
110 buffers (as before).
114 of displayable buffers. However, the contents of the front buffer
118 of displayable buffers, and the back buffer is the color buffer that
121 When a buffer is appended onto the queue of displayable buffers, the
124 buffer in the queue of displayable buffers. After the oldest buffer in
128 displayable buffers, the removal is deferred until another buffer
131 Cushion buffers are used to store displayable buffers on the queue.
[all …]
/third_party/openGLES/extensions/SGI/
DGLX_SGI_cushion.txt106 This extension increases the number of color buffers of a double
107 buffered visual. The additional buffers are referred to as cushion
108 buffers. It is not possible for an application to directly access
110 buffers (as before).
114 of displayable buffers. However, the contents of the front buffer
118 of displayable buffers, and the back buffer is the color buffer that
121 When a buffer is appended onto the queue of displayable buffers, the
124 buffer in the queue of displayable buffers. After the oldest buffer in
128 displayable buffers, the removal is deferred until another buffer
131 Cushion buffers are used to store displayable buffers on the queue.
[all …]
/third_party/node/test/parallel/
Dtest-fs-writev-promises.js23 let { bytesWritten, buffers } = await handle.writev([Buffer.from('')],
26 assert.deepStrictEqual(buffers, [Buffer.from('')]);
27 ({ bytesWritten, buffers } = await handle.writev(bufferArr, null));
29 assert.deepStrictEqual(buffers, bufferArr);
41 let { bytesWritten, buffers } = await handle.writev([Buffer.from('')]);
43 assert.deepStrictEqual(buffers, [Buffer.from('')]);
44 ({ bytesWritten, buffers } = await handle.writev(bufferArr));
46 assert.deepStrictEqual(buffers, bufferArr);

12345678910>>...103