/external/deqp/external/openglcts/modules/gl/ |
D | gl4cMapBufferAlignmentTests.cpp | 204 std::vector<GLubyte> buffer_data; in iterate() local 218 buffer_data.resize(buffer_data_size); in iterate() 223 buffer_data[i] = (GLubyte)i; in iterate() 271 gl.bufferStorage(buffer.m_target, buffer_size, &buffer_data[0], storage_set); in iterate() 292 if (buffer_data[i] != map_buffer_ptr[i]) in iterate() 315 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 | 5787 GLvoid* buffer_data = buffer->Map(Utils::Buffer::ReadOnly); in test() local 5793 int res = memcmp(buffer_data, expected_data, size); in test() 6707 std::vector<GLubyte> buffer_data; in test() local 6708 buffer_data.resize(vertex_stride); in test() 6710 GLubyte* ptr = &buffer_data[0]; in test() 12651 std::vector<GLuint> buffer_data; in test() local 12652 buffer_data.resize(8 + 8); /* vertex_index_data + instance_index_data */ in test() 12654 GLubyte* ptr = (GLubyte*)&buffer_data[0]; in test() 12682 buffer.Data(Utils::Buffer::StaticDraw, buffer_data.size() * sizeof(GLuint), ptr); in test() 26128 GLubyte* buffer_data = (GLubyte*)buffer->Map(Utils::Buffer::ReadOnly); in test() local [all …]
|
D | gl4cShaderSubroutineTests.cpp | 6439 static const glw::GLuint buffer_data[] = { m_texture_width * m_texture_height + 1, in testSSBO() local 6444 …c const glw::GLuint expected_incremented[] = { m_texture_width * m_texture_height + buffer_data[0], in testSSBO() 6445 m_texture_width * m_texture_height + buffer_data[1], in testSSBO() 6446 m_texture_width * m_texture_height + buffer_data[2], in testSSBO() 6447 m_texture_width * m_texture_height + buffer_data[3] }; in testSSBO() 6449 static const glw::GLuint expected_decremented[] = { buffer_data[0], buffer_data[1], buffer_data[2], in testSSBO() 6450 buffer_data[3] }; in testSSBO() 6471 buffer.update(GL_SHADER_STORAGE_BUFFER, sizeof(buffer_data), (GLvoid*)buffer_data, GL_STATIC_DRAW); in testSSBO() 6472 buffer.bindRange(GL_SHADER_STORAGE_BUFFER, 0 /* index */, 0 /* offset */, sizeof(buffer_data)); in testSSBO()
|
D | gl4cGPUShaderFP64Tests.cpp | 4331 std::vector<glw::GLint> buffer_data; in testBegin() local 4336 buffer_data.resize(m_n_captured_results); in testBegin() 4339 buffer_data[i] = m_result_failure; in testBegin() 4375 …gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, m_transform_feedback_buffer_size, &buffer_data[0], GL_… in testBegin() 4395 GL_RED_INTEGER, GL_INT, &buffer_data[0]); in testBegin() 4417 GL_RED_INTEGER, GL_INT, &buffer_data[0]); in testBegin() 5183 std::vector<glw::GLubyte> buffer_data; in prepareUniformBuffer() local 5184 buffer_data.resize(buffer_size); in prepareUniformBuffer() 5205 glw::GLdouble* value_dst = (glw::GLdouble*)&buffer_data[value_offset]; in prepareUniformBuffer() 5237 gl.bufferData(GL_UNIFORM_BUFFER, buffer_size, &buffer_data[0], GL_STATIC_DRAW); in prepareUniformBuffer()
|
/external/adhd/cras/src/libcras/ |
D | cras_helpers.c | 13 struct buffer_data { struct 29 struct buffer_data *data = (struct buffer_data *)user_arg; in play_buffer_callback() argument 155 struct buffer_data *data; in cras_helper_play_buffer()
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | cpu_transfer_manager.cc | 207 std::vector<std::pair<void*, int64>> buffer_data; in TransferLiteralFromOutfeed() local 220 buffer_data.push_back({empty->untyped_data(), size}); in TransferLiteralFromOutfeed() 225 TransferTupleBuffersFromOutfeed(executor, buffer_data)); in TransferLiteralFromOutfeed() 245 tensorflow::gtl::ArraySlice<std::pair<void*, int64>> buffer_data) { in TransferTupleBuffersFromOutfeed() argument 246 return TransferBuffersFromOutfeedInternal(executor, buffer_data, in TransferTupleBuffersFromOutfeed() 259 tensorflow::gtl::ArraySlice<std::pair<void*, int64>> buffer_data, in TransferBuffersFromOutfeedInternal() argument 262 for (auto b : buffer_data) { in TransferBuffersFromOutfeedInternal()
|
D | cpu_transfer_manager.h | 58 tensorflow::gtl::ArraySlice<std::pair<void*, int64>> buffer_data); 70 tensorflow::gtl::ArraySlice<std::pair<void*, int64>> buffer_data,
|
/external/bsdiff/ |
D | bz2_compressor.cc | 51 bz_strm_.next_out = reinterpret_cast<char*>(comp_buffer_.buffer_data()); in Write() 75 bz_strm_.next_out = reinterpret_cast<char*>(comp_buffer_.buffer_data()); in Finish()
|
D | brotli_compressor.cc | 52 uint8_t* next_out = comp_buffer_.buffer_data(); in Write() 77 uint8_t* next_out = comp_buffer_.buffer_data(); in Finish()
|
D | compressor_buffer.h | 29 uint8_t* buffer_data() { return comp_buffer_.data(); } in buffer_data() function
|
/external/tensorflow/tensorflow/contrib/lite/toco/graph_transformations/ |
D | remove_trivial_binary.cc | 32 bool AreAllBufferElementsEqualTo(const std::vector<Scalar>& buffer_data, in AreAllBufferElementsEqualTo() argument 34 for (auto x : buffer_data) { in AreAllBufferElementsEqualTo()
|
D | resolve_multiply_by_zero.cc | 30 bool AreAllBufferElementsZero(const std::vector<T>& buffer_data) { in AreAllBufferElementsZero() argument 31 for (auto x : buffer_data) { in AreAllBufferElementsZero()
|
/external/deqp/external/openglcts/modules/gles32/ |
D | es32cRobustBufferAccessBehaviorTests.hpp | 140 virtual bool verifyResults(glw::GLfloat* buffer_data); 163 virtual bool verifyResults(glw::GLfloat* buffer_data);
|
D | es32cRobustBufferAccessBehaviorTests.cpp | 1216 bool StorageBufferTest::verifyResults(GLfloat* buffer_data) in verifyResults() argument 1246 if (m_test_case == VALID && memcmp(expected_data, buffer_data, size) != 0) in verifyResults() 1334 bool UniformBufferTest::verifyResults(GLfloat* buffer_data) in verifyResults() argument 1359 if (m_test_case == VALID && memcmp(expected_data, buffer_data, size) != 0) in verifyResults()
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cArrayOfArraysTests.cpp | 7017 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 7020 gl.bufferData(GL_UNIFORM_BUFFER, sizeof(buffer_data), buffer_data, GL_STATIC_DRAW); in test_shader_compilation() 7028 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 7030 gl.bufferData(GL_UNIFORM_BUFFER, sizeof(buffer_data), buffer_data, GL_STATIC_DRAW); in test_shader_compilation() 7037 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 7039 gl.bufferData(GL_UNIFORM_BUFFER, sizeof(buffer_data), buffer_data, GL_STATIC_DRAW); in test_shader_compilation() 7046 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 7049 gl.bufferData(GL_UNIFORM_BUFFER, sizeof(buffer_data), buffer_data, GL_STATIC_DRAW); in test_shader_compilation() 7472 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 7475 gl.bufferData(GL_SHADER_STORAGE_BUFFER, sizeof(buffer_data), buffer_data, GL_STATIC_DRAW); in test_shader_compilation() [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcRobustBufferAccessBehaviorTests.cpp | 3359 GLfloat* buffer_data = in iterate() local 3363 test_result = verifyResults(buffer_data); in iterate() 3448 bool StorageBufferTest::verifyResults(GLfloat* buffer_data) in verifyResults() argument 3483 if (buffer_data[b] == 0.0f) in verifyResults() 3491 if (buffer_data[b] == m_source_data[c]) in verifyResults() 3522 if (buffer_data[b] == m_destination_data[b]) in verifyResults() 3530 if (buffer_data[b] == m_source_data[c]) in verifyResults() 3557 if (0 != memcmp(expected_data, buffer_data, size)) in verifyResults() 3639 GLfloat* buffer_data = in iterate() local 3643 test_result = verifyResults(buffer_data); in iterate() [all …]
|
D | glcRobustBufferAccessBehaviorTests.hpp | 512 virtual bool verifyResults(glw::GLfloat* buffer_data); 557 virtual bool verifyResults(glw::GLfloat* buffer_data);
|
/external/tensorflow/tensorflow/contrib/lite/ |
D | model.cc | 677 auto get_readonly_data = [&](const char** buffer_data, in ParseTensors() 681 *buffer_data = nullptr; in ParseTensors() 693 *buffer_data = reinterpret_cast<const char*>(array->data()); in ParseTensors()
|
/external/deqp/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);
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_tgsi_setup.c | 222 const char *buffer_data; in si_llvm_compile() local 249 buffer_data = LLVMGetBufferStart(out_buffer); in si_llvm_compile() 251 radeon_elf_read(buffer_data, buffer_size, binary); in si_llvm_compile()
|
/external/deqp/modules/gles2/functional/ |
D | es2fNegativeBufferApiTests.cpp | 74 ES2F_ADD_API_CASE(buffer_data, "Invalid glBufferData() usage", in init()
|
/external/deqp/modules/gles31/functional/ |
D | es31fNegativeBufferApiTests.cpp | 69 void buffer_data (NegativeTestContext& ctx) in buffer_data() function 1989 {buffer_data, "buffer_data", "Invalid glBufferData() usage" }, in getNegativeBufferApiTestFunctions()
|