/third_party/mbedtls/tests/suites/ |
D | test_suite_debug.function | 5 struct buffer_data 13 struct buffer_data *buffer = (struct buffer_data *) data; 56 struct buffer_data buffer; 91 struct buffer_data buffer; 123 struct buffer_data buffer; 156 struct buffer_data buffer; 191 struct buffer_data buffer;
|
/third_party/ffmpeg/doc/examples/ |
D | avio_reading.c | 37 struct buffer_data { struct 44 struct buffer_data *bd = (struct buffer_data *)opaque; in read_packet() argument 67 struct buffer_data bd = { 0 }; in main()
|
/third_party/node/test/node-api/test_exception/ |
D | test_exception.c | 9 static char buffer_data[12]; variable 13 NAPI_CALL(env, napi_create_external_buffer(env, sizeof(buffer_data), in createExternalBuffer() 14 buffer_data, finalizer, NULL, &buffer)); in createExternalBuffer()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cMapBufferAlignmentTests.cpp | 214 std::vector<GLubyte> buffer_data; in iterate() local 228 buffer_data.resize(buffer_data_size); in iterate() 233 buffer_data[i] = (GLubyte)i; in iterate() 281 gl.bufferStorage(buffer.m_target, buffer_size, &buffer_data[0], storage_set); in iterate() 302 if (buffer_data[i] != map_buffer_ptr[i]) in iterate() 325 if (buffer_data[i + offset] != map_buffer_range_ptr[i]) in iterate()
|
D | gl3cClipDistance.hpp | 447 std::vector<T> buffer_data(m_size / sizeof(T)); in readBuffer() local 455 memcpy(&buffer_data[0], results, m_size); in readBuffer() 460 return buffer_data; in readBuffer()
|
D | gl4cVertexAttrib64BitTest.cpp | 2352 std::vector<GLdouble> buffer_data; in prepareVertexArrayBuffer() local 2353 buffer_data.resize(buffer_length); in prepareVertexArrayBuffer() 2357 setAttributes(iteration, configuration, vertex, buffer_data); in prepareVertexArrayBuffer() 2360 gl.bufferData(GL_ARRAY_BUFFER, buffer_length * sizeof(GLdouble), &buffer_data[0], GL_STATIC_DRAW); in prepareVertexArrayBuffer() 2954 …_varyingType* buffer_data = (_varyingType*)gl.mapBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, GL_READ_ONLY… in verifyResult() local 2960 if (0 == buffer_data) in verifyResult() 2975 if (1 != buffer_data[vertex_offset + instance_offset]) in verifyResult()
|
D | gl4cEnhancedLayoutsTests.cpp | 5891 GLvoid* buffer_data = buffer->Map(Utils::Buffer::ReadOnly); in test() local 5897 int res = memcmp(buffer_data, expected_data, size); in test() 6865 std::vector<GLubyte> buffer_data(buffer_size); in test() local 6867 GLubyte* ptr = &buffer_data[0]; in test() 12831 std::vector<GLuint> buffer_data; in test() local 12832 buffer_data.resize(8 + 8); /* vertex_index_data + instance_index_data */ in test() 12834 GLubyte* ptr = (GLubyte*)&buffer_data[0]; in test() 12862 buffer.Data(Utils::Buffer::StaticDraw, buffer_data.size() * sizeof(GLuint), ptr); in test() 26374 GLubyte* buffer_data = (GLubyte*)buffer->Map(Utils::Buffer::ReadOnly); in test() local 26382 int res_gohan = memcmp(buffer_data + 2 * vec4_size, expected_data + 2 * vec4_size, vec4_size); in test() [all …]
|
D | gl4cShaderSubroutineTests.cpp | 6437 static const glw::GLuint buffer_data[] = { m_texture_width * m_texture_height + 1, in testSSBO() local 6442 …c const glw::GLuint expected_incremented[] = { m_texture_width * m_texture_height + buffer_data[0], in testSSBO() 6443 m_texture_width * m_texture_height + buffer_data[1], in testSSBO() 6444 m_texture_width * m_texture_height + buffer_data[2], in testSSBO() 6445 m_texture_width * m_texture_height + buffer_data[3] }; in testSSBO() 6447 static const glw::GLuint expected_decremented[] = { buffer_data[0], buffer_data[1], buffer_data[2], in testSSBO() 6448 buffer_data[3] }; in testSSBO() 6469 buffer.update(GL_SHADER_STORAGE_BUFFER, sizeof(buffer_data), (GLvoid*)buffer_data, GL_STATIC_DRAW); in testSSBO() 6470 buffer.bindRange(GL_SHADER_STORAGE_BUFFER, 0 /* index */, 0 /* offset */, sizeof(buffer_data)); in testSSBO()
|
D | gl4cGPUShaderFP64Tests.cpp | 4319 std::vector<glw::GLint> buffer_data; in testBegin() local 4324 buffer_data.resize(m_n_captured_results); in testBegin() 4327 buffer_data[i] = m_result_failure; in testBegin() 4363 …gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, m_transform_feedback_buffer_size, &buffer_data[0], GL_… in testBegin() 4383 GL_RED_INTEGER, GL_INT, &buffer_data[0]); in testBegin() 4405 GL_RED_INTEGER, GL_INT, &buffer_data[0]); in testBegin() 5171 std::vector<glw::GLubyte> buffer_data; in prepareUniformBuffer() local 5172 buffer_data.resize(buffer_size); in prepareUniformBuffer() 5193 glw::GLdouble* value_dst = (glw::GLdouble*)&buffer_data[value_offset]; in prepareUniformBuffer() 5225 gl.bufferData(GL_UNIFORM_BUFFER, buffer_size, &buffer_data[0], GL_STATIC_DRAW); in prepareUniformBuffer()
|
D | gl4cComputeShaderTests.cpp | 1002 std::vector<vec4> buffer_data(kBufferSize * 9); in RunIteration() local 1006 …glBufferData(GL_SHADER_STORAGE_BUFFER, sizeof(vec4) * kBufferSize * 9, &buffer_data[0], GL_DYNAMIC… in RunIteration() 1093 glGetBufferSubData(GL_SHADER_STORAGE_BUFFER, 0, sizeof(vec4) * kBufferSize * 9, &buffer_data[0]); in RunIteration() 1096 if (!IsEqual(buffer_data[index], vec4(123.0f))) in RunIteration()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | parser.c | 53 buffer_new (const unsigned char *buffer_data, guint size) in buffer_new() argument 58 if (buffer_data) { in buffer_new() 59 gst_buffer_fill (buffer, 0, buffer_data, size); in buffer_new()
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | parser.c | 63 buffer_new (const unsigned char *buffer_data, guint size) in buffer_new() argument 68 if (buffer_data) { in buffer_new() 69 gst_buffer_fill (buffer, 0, buffer_data, size); in buffer_new()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cArrayOfArraysTests.cpp | 6985 glw::GLfloat buffer_data[] = { 0.0f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, in test_shader_compilation() local 6988 gl.bufferData(GL_UNIFORM_BUFFER, sizeof(buffer_data), buffer_data, GL_STATIC_DRAW); in test_shader_compilation() 6996 glw::GLint buffer_data[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }; in test_shader_compilation() local 6998 gl.bufferData(GL_UNIFORM_BUFFER, sizeof(buffer_data), buffer_data, GL_STATIC_DRAW); in test_shader_compilation() 7005 glw::GLuint buffer_data[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }; in test_shader_compilation() local 7007 gl.bufferData(GL_UNIFORM_BUFFER, sizeof(buffer_data), buffer_data, GL_STATIC_DRAW); in test_shader_compilation() 7014 glw::GLdouble buffer_data[] = { 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, in test_shader_compilation() local 7017 gl.bufferData(GL_UNIFORM_BUFFER, sizeof(buffer_data), buffer_data, GL_STATIC_DRAW); in test_shader_compilation() 7437 glw::GLfloat buffer_data[] = { 0.0f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, in test_shader_compilation() local 7440 gl.bufferData(GL_SHADER_STORAGE_BUFFER, sizeof(buffer_data), buffer_data, GL_STATIC_DRAW); in test_shader_compilation() [all …]
|
D | es31cComputeShaderTests.cpp | 981 std::vector<vec4> buffer_data(kBufferSize * 4); in RunIteration() local 985 …glBufferData(GL_SHADER_STORAGE_BUFFER, sizeof(vec4) * kBufferSize * 4, &buffer_data[0], GL_DYNAMIC… in RunIteration()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcRobustBufferAccessBehaviorTests.cpp | 3258 GLfloat* buffer_data = in iterate() local 3262 test_result &= verifyResults(buffer_data); in iterate() 3332 bool StorageBufferTest::verifyResults(GLfloat* buffer_data) in verifyResults() argument 3371 if (buffer_data[b] == 0.0f) in verifyResults() 3379 if (buffer_data[b] == m_source_data[c]) in verifyResults() 3410 if (buffer_data[b] == m_destination_data[b]) in verifyResults() 3418 if (buffer_data[b] == m_source_data[c]) in verifyResults() 3445 if (0 != memcmp(expected_data, buffer_data, size)) in verifyResults() 3529 GLfloat* buffer_data = in iterate() local 3533 test_result &= verifyResults(buffer_data); in iterate() [all …]
|
D | glcRobustBufferAccessBehaviorTests.hpp | 525 bool verifyResults(glw::GLfloat* buffer_data); 568 bool verifyResults(glw::GLfloat* buffer_data);
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArrayImageTextureSize.cpp | 413 std::vector<glw::GLint> buffer_data(m_n_varyings * m_n_tf_components, 0); in configureTestSpecificObjects() local 415 …_TRANSFORM_FEEDBACK_BUFFER, m_n_varyings * m_n_tf_components * sizeof(glw::GLint), &buffer_data[0], in configureTestSpecificObjects() 454 std::vector<glw::GLint> buffer_data(m_n_varyings * m_n_tf_components, 0); in configureTextures() local 457 &buffer_data[0]); in configureTextures()
|
D | esextcTextureCubeMapArraySampling.hpp | 322 void init(const glw::Functions& gl, glw::GLsizeiptr buffer_size, glw::GLvoid* buffer_data);
|
D | esextcTextureCubeMapArraySampling.cpp | 4165 glw::GLvoid* buffer_data) argument 4175 m_gl->bufferData(GL_ARRAY_BUFFER, buffer_size, buffer_data, GL_STATIC_DRAW);
|
/third_party/ffmpeg/libavcodec/ |
D | mediacodec_wrapper.c | 1093 void *buffer_data = NULL; in ff_AMediaFormat_setBuffer() local 1108 buffer_data = av_malloc(size); in ff_AMediaFormat_setBuffer() 1109 if (!buffer_data) { in ff_AMediaFormat_setBuffer() 1113 memcpy(buffer_data, data, size); in ff_AMediaFormat_setBuffer() 1115 buffer = (*env)->NewDirectByteBuffer(env, buffer_data, size); in ff_AMediaFormat_setBuffer()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fNegativeBufferApiTests.cpp | 74 ES2F_ADD_API_CASE(buffer_data, "Invalid glBufferData() usage", in init()
|
/third_party/node/src/ |
D | node_file.cc | 1826 char* buffer_data = Buffer::Data(buffer_obj); in WriteBuffer() local 1843 char* buf = buffer_data + off; in WriteBuffer() 2028 char* buffer_data = Buffer::Data(buffer_obj); in Read() local 2046 char* buf = buffer_data + off; in Read()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fNegativeBufferApiTests.cpp | 69 void buffer_data (NegativeTestContext& ctx) in buffer_data() function 1999 {buffer_data, "buffer_data", "Invalid glBufferData() usage" }, in getNegativeBufferApiTestFunctions()
|
/third_party/mesa3d/src/mesa/main/ |
D | bufferobj.c | 2395 buffer_data(struct gl_context *ctx, struct gl_buffer_object *bufObj, in buffer_data() function 2491 buffer_data(ctx, bufObj, target, size, data, usage, func, false); in buffer_data_error() 2499 buffer_data(ctx, bufObj, target, size, data, usage, func, true); in buffer_data_no_error()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fNegativeBufferApiTests.cpp | 76 ES3F_ADD_API_CASE(buffer_data, "Invalid glBufferData() usage", in init()
|