| /third_party/mesa3d/src/gallium/drivers/r300/ |
| H A D | r300_emit.c | 971 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer.resource); in r300_emit_vertex_arrays() 1023 buf = r300_resource(vbuf[velem[i].vertex_buffer_index].buffer.resource); in r300_emit_vertex_arrays() 1034 DBG(r300, DBG_SWTCL, "r300: Preparing vertex buffer %p for render, " in r300_emit_vertex_arrays_swtcl() 1037 /* Set the pointer to our vertex buffer. The emitted values are this: in r300_emit_vertex_arrays_swtcl() 1331 /* ...depth buffer... */ in r300_emit_buffer_validate() 1343 /* The AA resolve buffer. */ in r300_emit_buffer_validate() 1366 /* ...occlusion query buffer... */ in r300_emit_buffer_validate() 1372 /* ...vertex buffer for SWTCL path... */ in r300_emit_buffer_validate() 1386 buf = vbuf->buffer.resource; in r300_emit_buffer_validate() 1396 /* ...and index buffer fo in r300_emit_buffer_validate() [all...] |
| /third_party/libcoap/src/ |
| H A D | coap_oscore.c | 246 char buffer[30]; in dump_cose() 250 cose_get_alg_name(cose->alg, buffer, sizeof(buffer))); in dump_cose()
|
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
| H A D | vktApiPipelineTests.cpp | 392 // Copy image to buffer in drawTriangleTest() 895 // Begin command buffer. in pipelineLayoutLifetimeTest() 1294 "layout (set=0, binding=0, std430) buffer Block {\n" in destroyEarlyComputeSource() 1334 // Allocate and prepare buffer. in destroyEarlyTest() 1336 vk::BufferWithMemory buffer (vkd, device, alloc, bufferInfo, vk::MemoryRequirement::HostVisible); in destroyEarlyTest() 1337 auto& bufferAlloc = buffer.getAllocation(); in destroyEarlyTest() 1420 // Update descriptor set with buffer. in destroyEarlyTest() 1422 const auto descriptorInfo = vk::makeDescriptorBufferInfo(buffer.get(), static_cast<VkDeviceSize>(0), kBufferSizeDS); in destroyEarlyTest() 1426 // Prepare command buffer. in destroyEarlyTest() 1444 // Delete pipeline layout just after recording command buffer in destroyEarlyTest() [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
| H A D | vktPipelineImageSamplingInstance.cpp | 59 const VkBuffer& buffer, in allocateBuffer() 68 const VkMemoryRequirements memoryRequirements = getBufferMemoryRequirements(vkd, device, buffer); in allocateBuffer() 75 return allocateDedicated(vki, vkd, physDevice, device, buffer, requirement); in allocateBuffer() 822 // Create vertex buffer in setup() 843 // Load vertices into vertex buffer in setup() 851 // Create command buffer in setup() 1483 // \note Color buffer is used to capture coordinates - not sampled texture values in verifyImage() 55 allocateBuffer(const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkBuffer& buffer, const MemoryRequirement requirement, Allocator& allocator, AllocationKind allocationKind) allocateBuffer() argument
|
| H A D | vktPipelineMiscTests.cpp | 309 // Verification buffer. in iterate() 369 // Command pool and buffer. in iterate() 382 // Copy to verification buffer. in iterate() 414 << tcu::TestLog::Image("Result", "Verification buffer", verifAccess) in iterate() 720 // Verification buffer. in iterate() 979 // Command pool, command buffer and draw. in iterate() 990 // Copy color attachment to verification buffer. in iterate() 1090 << "layout(std430, binding = 0) buffer Index {" in initPrograms() 1093 << "layout(std430, binding = 1) buffer Values {" in initPrograms() 1516 // Verification buffer in iterate() 1593 auto buffer = std::unique_ptr<vk::BufferWithMemory>(new vk::BufferWithMemory(vkd, device, alloc, outBufferInfo, vk::MemoryRequirement::HostVisible)); iterate() local [all...] |
| H A D | vktPipelineRenderToImageTests.cpp | 181 const VkBuffer& buffer, in bindBuffer() 190 return vk::bindBuffer(vkd, device, allocator, buffer, requirement); in bindBuffer() 195 return bindBufferDedicated(vki, vkd, physDevice, device, buffer, requirement); in bindBuffer() 1004 // Create a vertex buffer in testWithSizeReduction() 1175 *colorBuffer, // VkBuffer buffer; in testWithSizeReduction() 1457 // Create a color buffer big enough to hold all layers and mip levels in testRenderToMipMaps() 1497 // Create a vertex buffer in testRenderToMipMaps() 1644 *colorBuffer, // VkBuffer buffer; in testRenderToMipMaps() 177 bindBuffer(const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkBuffer& buffer, const MemoryRequirement requirement, Allocator& allocator, AllocationKind allocationKind) bindBuffer() argument
|
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
| H A D | vktRayTracingCaptureReplayTests.cpp | 394 DE_NULL //VkBuffer buffer; in initShaderBindingTables() 396 deviceAddressInfo.buffer = pipelineData.pipelines[0].raygenShaderBindingTable->get(); in initShaderBindingTables() 398 deviceAddressInfo.buffer = pipelineData.pipelines[0].missShaderBindingTable->get(); in initShaderBindingTables() 400 deviceAddressInfo.buffer = pipelineData.pipelines[0].hitShaderBindingTable->get(); in initShaderBindingTables() 1239 // copy layer index into uniform buffer in runTest()
|
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
| H A D | vktApiPipelineTests.cpp | 392 // Copy image to buffer in drawTriangleTest() 895 // Begin command buffer. in pipelineLayoutLifetimeTest() 1294 "layout (set=0, binding=0, std430) buffer Block {\n" in destroyEarlyComputeSource() 1334 // Allocate and prepare buffer. in destroyEarlyTest() 1336 vk::BufferWithMemory buffer (vkd, device, alloc, bufferInfo, vk::MemoryRequirement::HostVisible); in destroyEarlyTest() 1337 auto& bufferAlloc = buffer.getAllocation(); in destroyEarlyTest() 1420 // Update descriptor set with buffer. in destroyEarlyTest() 1422 const auto descriptorInfo = vk::makeDescriptorBufferInfo(buffer.get(), static_cast<VkDeviceSize>(0), kBufferSizeDS); in destroyEarlyTest() 1426 // Prepare command buffer. in destroyEarlyTest() 1444 // Delete pipeline layout just after recording command buffer in destroyEarlyTest() [all...] |
| /third_party/vk-gl-cts/external/openglcts/modules/common/ |
| H A D | glcTextureRepeatModeTests.cpp | 666 ** frame buffer or texture precision. RGBA epsilons are 701 /* frame buffer bits */ in calcTextureEpsilon() 1206 * - allocate large enough memory buffer for the texture data - tex_width * tex_height * tex_depth * MAX_PIXEL_SIZE 1207 * - fill the buffer with the pattern 1213 * - free the buffer 1246 /* Reuse textureData buffer to initialize source texture. in iterate() 1247 * Fill the buffer according to the color scheme */ in iterate() 1319 std::vector<GLubyte> buffer(resultTextureSize * 4, 0); in iterate() 1320 gl.readPixels(0, 0, viewWidth, viewHeight, GL_RGBA, GL_UNSIGNED_BYTE, (void*)&(buffer[0])); in iterate() 1321 if (verifyClampMode(&buffer[ in iterate() [all...] |
| /third_party/skia/third_party/externals/libjpeg-turbo/simd/ |
| H A D | jsimd.h | 1228 (void *state, JOCTET *buffer, JCOEFPTR block, int last_dc_val, 1232 (void *state, JOCTET *buffer, JCOEFPTR block, int last_dc_val, 1238 (void *state, JOCTET *buffer, JCOEFPTR block, int last_dc_val,
|
| /third_party/skia/third_party/externals/icu/source/i18n/ |
| H A D | collationbuilder.cpp | 1673 UChar buffer[internalBufferSize]; in ucol_getUnsafeSet() local 1700 len = uset_getItem(contractions, i, NULL, NULL, buffer, internalBufferSize, status); in ucol_getUnsafeSet() 1704 U16_NEXT(buffer, j, len, c); in ucol_getUnsafeSet()
|
| H A D | msgfmt.cpp | 873 // Formats the source Formattable array and copy into the result buffer. 889 // copy into the appendTo buffer. 904 // appendTo buffer. The Formattable object must be an array 1537 // Parses the source text and copy into the result buffer. 1790 UnicodeString buffer(FALSE, ps, length); in findKeyword() 1793 buffer.toLower(""); in findKeyword() 1795 if (!buffer.compare(list[i], u_strlen(list[i]))) { in findKeyword()
|
| H A D | rbnf.cpp | 1044 char buffer[64]; in getRuleSetDisplayNameLocale() local 1046 char* bp = buffer; in getRuleSetDisplayNameLocale() 1056 if (bp != buffer) { in getRuleSetDisplayNameLocale() 1283 // Create an empty string buffer where the result will in format()
|
| /third_party/skia/src/sksl/codegen/ |
| H A D | SkSLGLSLCodeGenerator.cpp | 1053 StringStream buffer; in writeFunction() local 1054 fOut = &buffer; in writeFunction() 1067 this->write(buffer.str()); in writeFunction()
|
| /third_party/skia/src/ports/ |
| H A D | SkFontHost_FreeType.cpp | 221 unsigned char* buffer, in sk_ft_stream_io() 230 count = stream->read(buffer, count); in sk_ft_stream_io() 590 * @param coordinates the buffer into which to write the design variation coordinates. 1540 if (!fFace->glyph->bitmap.buffer) { 219 sk_ft_stream_io(FT_Stream ftStream, unsigned long offset, unsigned char* buffer, unsigned long count) sk_ft_stream_io() argument
|
| /third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
| H A D | CopyTests.cpp | 170 // Create a buffer of `size` and populate it with empty data (0,0,0,0) Note: in GetExpectedTextureData() 171 // Prepopulating the buffer with empty data ensures that there is not random data in the in GetExpectedTextureData() 177 wgpu::Buffer buffer = device.CreateBuffer(&bufferDesc); in GetExpectedTextureData() local 183 buffer, bufferSpec.offset, bufferSpec.bytesPerRow, bufferSpec.rowsPerImage); in GetExpectedTextureData() 206 // Copy the data used to create the upload buffer in the specified copy region to have in GetExpectedTextureData() 207 // the same format as the expected buffer data. in GetExpectedTextureData() 220 EXPECT_BUFFER_U32_RANGE_EQ(reinterpret_cast<const uint32_t*>(expected.data()), buffer, in GetExpectedTextureData() local 229 << bufferSpec.size << "-byte buffer with offset " << bufferOffset in GetExpectedTextureData() 252 // Create a buffer of size `size` and populate it with data in GetExpectedTextureData() 256 wgpu::Buffer buffer in GetExpectedTextureData() local 563 wgpu::Buffer buffer = utils::CreateBufferFromData( GetExpectedTextureData() local 1003 wgpu::Buffer buffer = device.CreateBuffer(&bufferDescriptor); TEST_P() local [all...] |
| /third_party/python/Python/ |
| H A D | pystate.c | 2027 const void *buffer; member 2035 return PyUnicode_FromKindAndData(shared->kind, shared->buffer, shared->len); in _new_str_object() 2043 shared->buffer = PyUnicode_DATA(obj); in _str_shared()
|
| /third_party/python/Modules/ |
| H A D | _zoneinfo.c | 2038 #define _swap(x, y, buffer) \ 2039 buffer = x; \ 2041 y = buffer;
|
| /third_party/protobuf/src/google/protobuf/ |
| H A D | text_format_unittest.cc | 223 // the protocol buffer contains no UTF-8 text. in TEST_F() 435 // Test printing a message to a buffer that is too small. in TEST_F() 442 char buffer[1] = ""; in TEST_F() local 443 io::ArrayOutputStream output_stream(buffer, 1); in TEST_F() 445 EXPECT_EQ(buffer[0], 'r'); in TEST_F()
|
| /third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
| H A D | cord_test.cc | 287 char* buffer = new char[size]; in MakeExternalCord() local 288 memset(buffer, 'x', size); in MakeExternalCord() 291 absl::string_view(buffer, size), in MakeExternalCord() 594 VerifyFlatten(absl::Cord("larger than small buffer optimization")); in TEST_P() 597 // Test with a cord that is longer than the largest flat buffer in TEST_P() 1516 absl::Cord flat_node_cord("larger than small buffer optimization"); 1657 absl::Cord flat_node_cord("larger than small buffer optimization");
|
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
| H A D | vktPipelineImageSamplingInstance.cpp | 57 const VkBuffer& buffer, in allocateBuffer() 66 const VkMemoryRequirements memoryRequirements = getBufferMemoryRequirements(vkd, device, buffer); in allocateBuffer() 73 return allocateDedicated(vki, vkd, physDevice, device, buffer, requirement); in allocateBuffer() 816 // Create vertex buffer in setup() 837 // Load vertices into vertex buffer in setup() 845 // Create command buffer in setup() 1477 // \note Color buffer is used to capture coordinates - not sampled texture values in verifyImage() 53 allocateBuffer(const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkBuffer& buffer, const MemoryRequirement requirement, Allocator& allocator, AllocationKind allocationKind) allocateBuffer() argument
|
| H A D | vktPipelineRenderToImageTests.cpp | 179 const VkBuffer& buffer, in bindBuffer() 188 return vk::bindBuffer(vkd, device, allocator, buffer, requirement); in bindBuffer() 193 return bindBufferDedicated(vki, vkd, physDevice, device, buffer, requirement); in bindBuffer() 924 // Create a vertex buffer in testWithSizeReduction() 1092 *colorBuffer, // VkBuffer buffer; in testWithSizeReduction() 1330 // Create a color buffer big enough to hold all layers and mip levels in testRenderToMipMaps() 1370 // Create a vertex buffer in testRenderToMipMaps() 1517 *colorBuffer, // VkBuffer buffer; in testRenderToMipMaps() 175 bindBuffer(const InstanceInterface& vki, const DeviceInterface& vkd, const VkPhysicalDevice& physDevice, const VkDevice device, const VkBuffer& buffer, const MemoryRequirement requirement, Allocator& allocator, AllocationKind allocationKind) bindBuffer() argument
|
| /third_party/vk-gl-cts/modules/gles2/stress/ |
| H A D | es2sSpecialFloatTests.cpp | 264 std::vector<tcu::Vector<deUint8, 4> > buffer(textureSize*textureSize); in drawTestPattern() 273 buffer[x * textureSize + y] = tcu::Vector<deUint8, 4>(redComponent, 255, 255, 255); in drawTestPattern() 278 gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, textureSize, textureSize, 0, GL_RGBA, GL_UNSIGNED_BYTE, buffer[0].getPtr()); in drawTestPattern() 1723 vertexGroup->addChild(new VertexAttributeCase (m_context, "attribute_buffer", "special attribute values in a buffer", VertexAttributeCase::STORAGE_BUFFER, VertexAttributeCase::TYPE_VERTEX)); 1735 fragmentGroup->addChild(new VertexAttributeCase (m_context, "attribute_buffer", "special attribute values in a buffer", VertexAttributeCase::STORAGE_BUFFER, VertexAttributeCase::TYPE_FRAGMENT));
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/sis/ |
| H A D | init301.c | 382 unsigned char *buffer); 9491 SiS_ReadDDC(struct SiS_Private *SiS_Pr, unsigned short DDCdatatype, unsigned char *buffer) in SiS_ReadDDC() argument 9506 buffer[i] = (unsigned char)SiS_ReadDDC2Data(SiS_Pr); in SiS_ReadDDC() 9507 chksum += buffer[i]; in SiS_ReadDDC() 9508 gotcha |= buffer[i]; in SiS_ReadDDC() 9511 buffer[i] = (unsigned char)SiS_ReadDDC2Data(SiS_Pr); in SiS_ReadDDC() 9512 chksum += buffer[i]; in SiS_ReadDDC() 9537 buffer: ptr to 256 data bytes which will be filled with read data. 9546 unsigned short adaptnum, unsigned short DDCdatatype, unsigned char *buffer, in SiS_HandleDDC() 9584 result = SiS_ReadDDC(SiS_Pr, DDCdatatype, buffer); in SiS_HandleDDC() 9545 SiS_HandleDDC(struct SiS_Private *SiS_Pr, unsigned int VBFlags, int VGAEngine, unsigned short adaptnum, unsigned short DDCdatatype, unsigned char *buffer, unsigned int VBFlags2) SiS_HandleDDC() argument [all...] |
| /kernel/linux/linux-6.6/drivers/video/fbdev/sis/ |
| H A D | init301.c | 382 unsigned char *buffer); 9491 SiS_ReadDDC(struct SiS_Private *SiS_Pr, unsigned short DDCdatatype, unsigned char *buffer) in SiS_ReadDDC() argument 9506 buffer[i] = (unsigned char)SiS_ReadDDC2Data(SiS_Pr); in SiS_ReadDDC() 9507 chksum += buffer[i]; in SiS_ReadDDC() 9508 gotcha |= buffer[i]; in SiS_ReadDDC() 9511 buffer[i] = (unsigned char)SiS_ReadDDC2Data(SiS_Pr); in SiS_ReadDDC() 9512 chksum += buffer[i]; in SiS_ReadDDC() 9537 buffer: ptr to 256 data bytes which will be filled with read data. 9546 unsigned short adaptnum, unsigned short DDCdatatype, unsigned char *buffer, in SiS_HandleDDC() 9584 result = SiS_ReadDDC(SiS_Pr, DDCdatatype, buffer); in SiS_HandleDDC() 9545 SiS_HandleDDC(struct SiS_Private *SiS_Pr, unsigned int VBFlags, int VGAEngine, unsigned short adaptnum, unsigned short DDCdatatype, unsigned char *buffer, unsigned int VBFlags2) SiS_HandleDDC() argument [all...] |