Home
last modified time | relevance | path

Searched refs:buffer (Results 4876 - 4900 of 6014) sorted by relevance

1...<<191192193194195196197198199200>>...241

/third_party/skia/third_party/externals/freetype/src/raster/
H A Dftraster.c467 PLong buff; /* The profiles buffer */
469 PLong maxBuff; /* Profiles buffer size */
470 PLong top; /* Current cursor in buffer */
3108 ras.bOrigin = (Byte*)ras.target.buffer; in Render_Glyph()
3234 Long buffer[FT_MAX_BLACK_POOL]; in ft_black_render() local
3266 if ( !target_map->buffer ) in ft_black_render()
3272 ras.buff = buffer; in ft_black_render()
3273 ras.sizeBuff = (&buffer)[1]; /* Points to right after buffer. */ in ft_black_render()
/third_party/python/Python/
H A Dpylifecycle.c2558 /* buffer of 256 bytes allocated on the stack */ in fatal_output_debug()
2559 WCHAR buffer[256 / sizeof(WCHAR)]; in fatal_output_debug() local
2560 size_t buflen = Py_ARRAY_LENGTH(buffer) - 1; in fatal_output_debug()
2577 buffer[i] = msg[i]; in fatal_output_debug()
2579 buffer[i] = L'\0'; in fatal_output_debug()
2580 OutputDebugStringW(buffer); in fatal_output_debug()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fTransformFeedbackTests.cpp71 BUFFER_GUARD_MULTIPLIER = 2 //!< stride*BUFFER_GUARD_MULTIPLIER bytes are added to the end of tf buffer and used to check for overruns.
1102 deUint32 buffer = m_outputBuffers[bufNdx];
1109 gl.bindBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, buffer);
1114 gl.bindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, target, buffer);
1116 GLU_EXPECT_NO_ERROR(gl.getError(), "transform feedback buffer setup");
1198 deUint32 buffer = m_outputBuffers[bufferNdx];
1204 // Bind buffer for reading.
1205 gl.bindBuffer(GL_TRANSFORM_FEEDBACK_BUFFER, buffer);
1207 GLU_EXPECT_NO_ERROR(gl.getError(), "mapping buffer");
1209 // Verify all output variables that are written to this buffer
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/
H A DvktProtectedMemYCbCrConversionTests.cpp338 de::MovePtr<vk::BufferWithMemory> buffer (makeBuffer(ctx, in uploadYCbCrImage()
353 **buffer, in uploadYCbCrImage()
359 deMemcpy(buffer->getAllocation().getHostPtr(), imageData.getPlanePtr(planeNdx), imageData.getPlaneSize(planeNdx)); in uploadYCbCrImage()
360 flushAlloc(vk, device, buffer->getAllocation()); in uploadYCbCrImage()
361 stagingBuffers.push_back(de::SharedPtr<de::MovePtr<vk::BufferWithMemory> >(new de::MovePtr<vk::BufferWithMemory>(buffer.release()))); in uploadYCbCrImage()
646 "layout(std140, set = 0, binding = 2) buffer ProtectedHelper\n" in testShaders()
674 "layout(std140, set=0, binding=2) buffer ProtectedHelper\n" in testShaders()
989 // Submit command buffer in renderYCbCrToColor()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A DvktRayTracingTraceRaysTests.cpp319 "layout(binding = 1) buffer IndirectCommandsSBO\n" in initPrograms()
552 // create indirect command buffer and fill it with parameter values in runTest()
732 const de::MovePtr<BufferWithMemory> buffer = runTest(); in iterate() local
733 const deUint32* bufferPtr = (deUint32*)buffer->getAllocation().getHostPtr(); in iterate()
775 void makeIndirectStructAndFlush (BufferWithMemory& buffer,
877 layout(binding = 1) buffer IndirectCommandsSBO { in initPrograms()
972 void TraceRaysIndirect2Instance::makeIndirectStructAndFlush (BufferWithMemory& buffer, in makeIndirectStructAndFlush() argument
986 Allocation& alloc = buffer.getAllocation(); in makeIndirectStructAndFlush()
1177 // create indirect command buffer and fill it with parameter values in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassMultisampleTests.cpp128 void bindBufferMemory (const DeviceInterface& vk, VkDevice device, VkBuffer buffer, VkDeviceMemory mem, VkDeviceSize memOffset) in bindBufferMemory() argument
130 VK_CHECK(vk.bindBufferMemory(device, buffer, mem, memOffset)); in bindBufferMemory()
141 VkBuffer buffer) in createBufferMemory()
143 de::MovePtr<Allocation> allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, buffer), MemoryRequirement::HostVisible)); in createBufferMemory()
144 bindBufferMemory(vk, device, buffer, allocation->getMemory(), allocation->getOffset()); in createBufferMemory()
138 createBufferMemory(const DeviceInterface& vk, VkDevice device, Allocator& allocator, VkBuffer buffer) createBufferMemory() argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DBlitGL.cpp761 // Create a buffer for holding the source and destination memory in copySubTextureCPUReadback()
766 angle::MemoryBuffer *buffer = nullptr; in copySubTextureCPUReadback() local
768 context->getScratchBuffer(sourceBufferSize + destBufferSize, &buffer)); in copySubTextureCPUReadback()
770 uint8_t *sourceMemory = buffer->data(); in copySubTextureCPUReadback()
771 uint8_t *destMemory = buffer->data() + sourceBufferSize; in copySubTextureCPUReadback()
1264 binding.buffer = mVertexBuffer; in initializeVAOState()
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
H A Dvulkan_raii.hpp3077 getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer ) const;
3081 getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer ) const;
3567 VkBuffer buffer, in Buffer()
3569 : m_buffer( buffer ) in Buffer()
4062 void bindIndexBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer,
4082 void drawIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer,
4087 void drawIndexedIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer,
4094 void dispatchIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer,
4236 void drawIndirectCount( VULKAN_HPP_NAMESPACE::Buffer buffer,
4243 void drawIndexedIndirectCount( VULKAN_HPP_NAMESPACE::Buffer buffer,
3566 Buffer( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Device const & device, VkBuffer buffer, VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr ) Buffer() argument
13461 struct AHardwareBuffer * buffer; getMemoryAndroidHardwareBufferANDROID() local
[all...]
/third_party/icu/vendor/double-conversion/upstream/test/cctest/
H A Dtest-conversions.cc42 char buffer[kBufferSize]; in TEST() local
43 StringBuilder builder(buffer, kBufferSize); in TEST()
286 char buffer[kBufferSize]; in TEST() local
287 StringBuilder builder(buffer, kBufferSize); in TEST()
442 char buffer[kBufferSize]; in TEST() local
443 StringBuilder builder(buffer, kBufferSize); in TEST()
789 char buffer[kBufferSize]; in TEST() local
792 StringBuilder builder(buffer, kBufferSize); in TEST()
973 char buffer[kBufferSize]; in TEST() local
976 StringBuilder builder(buffer, kBufferSiz in TEST()
1267 char buffer[kBufferSize]; TEST() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiObjectManagementTests.cpp951 const Unique<VkBuffer> buffer (create(env, res, params));
952 const VkMemoryRequirements memReqs = getBufferMemoryRequirements(env.vkd, env.device, *buffer);
984 Buffer::Parameters buffer;
993 : buffer (buffer_)
1002 Dependency<Buffer> buffer;
1006 : buffer(env, params.buffer)
1007 , memory(env, getDeviceMemoryParameters(env, *buffer.object))
1009 VK_CHECK(env.vkd.bindBufferMemory(env.device, *buffer.object, *memory.object, 0));
1025 *res.buffer
3346 CaseDescription<Buffer> buffer; global() member
[all...]
H A DvktApiFeatureInfo.cpp2653 deUint8 buffer[sizeof(VkPhysicalDeviceFeatures) + GUARD_SIZE]; in deviceFeatures() local
2715 deMemset(buffer, GUARD_VALUE, sizeof(buffer)); in deviceFeatures()
2716 features = reinterpret_cast<VkPhysicalDeviceFeatures*>(buffer); in deviceFeatures()
2731 if (buffer[ndx + sizeof(VkPhysicalDeviceFeatures)] != GUARD_VALUE) in deviceFeatures()
2734 return tcu::TestStatus::fail("deviceFeatures buffer overflow"); in deviceFeatures()
2876 deUint8 buffer[sizeof(VkPhysicalDeviceProperties) + GUARD_SIZE]; in deviceProperties() local
2878 props = reinterpret_cast<VkPhysicalDeviceProperties*>(buffer); in deviceProperties()
2879 deMemset(props, GUARD_VALUE, sizeof(buffer)); in deviceProperties()
2892 if (buffer[nd in deviceProperties()
2953 deUint8 buffer[sizeof(VkPhysicalDeviceMemoryProperties) + GUARD_SIZE]; deviceMemoryProperties() local
3078 deUint8 buffer [sizeof(VkPeerMemoryFeatureFlags) + GUARD_SIZE]; deviceGroupPeerMemoryFeatures() local
3234 deUint8 buffer[sizeof(VkPhysicalDeviceMemoryBudgetPropertiesEXT) + GUARD_SIZE]; deviceMemoryBudgetProperties() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiObjectManagementTests.cpp951 const Unique<VkBuffer> buffer (create(env, res, params));
952 const VkMemoryRequirements memReqs = getBufferMemoryRequirements(env.vkd, env.device, *buffer);
984 Buffer::Parameters buffer;
993 : buffer (buffer_)
1002 Dependency<Buffer> buffer;
1006 : buffer(env, params.buffer)
1007 , memory(env, getDeviceMemoryParameters(env, *buffer.object))
1009 VK_CHECK(env.vkd.bindBufferMemory(env.device, *buffer.object, *memory.object, 0));
1025 *res.buffer
3346 CaseDescription<Buffer> buffer; global() member
[all...]
H A DvktApiFeatureInfo.cpp2678 deUint8 buffer[sizeof(VkPhysicalDeviceFeatures) + GUARD_SIZE]; in deviceFeatures() local
2740 deMemset(buffer, GUARD_VALUE, sizeof(buffer)); in deviceFeatures()
2741 features = reinterpret_cast<VkPhysicalDeviceFeatures*>(buffer); in deviceFeatures()
2756 if (buffer[ndx + sizeof(VkPhysicalDeviceFeatures)] != GUARD_VALUE) in deviceFeatures()
2759 return tcu::TestStatus::fail("deviceFeatures buffer overflow"); in deviceFeatures()
2901 deUint8 buffer[sizeof(VkPhysicalDeviceProperties) + GUARD_SIZE]; in deviceProperties() local
2903 props = reinterpret_cast<VkPhysicalDeviceProperties*>(buffer); in deviceProperties()
2904 deMemset(props, GUARD_VALUE, sizeof(buffer)); in deviceProperties()
2917 if (buffer[nd in deviceProperties()
2978 deUint8 buffer[sizeof(VkPhysicalDeviceMemoryProperties) + GUARD_SIZE]; deviceMemoryProperties() local
3103 deUint8 buffer [sizeof(VkPeerMemoryFeatureFlags) + GUARD_SIZE]; deviceGroupPeerMemoryFeatures() local
3259 deUint8 buffer[sizeof(VkPhysicalDeviceMemoryBudgetPropertiesEXT) + GUARD_SIZE]; deviceMemoryBudgetProperties() local
[all...]
/third_party/glfw/deps/glad/
H A Dvulkan.h2376 VkBuffer buffer; member
2401 VkBuffer buffer; member
2526 VkBuffer buffer; member
2792 VkBuffer buffer; member
2825 VkBuffer buffer; member
2866 VkBuffer buffer; member
2945 VkBuffer buffer; member
3772 VkBuffer buffer; member
4687 VkBuffer buffer; member
4888 typedef VkResult (GLAD_API_PTR *PFN_vkBindBufferMemory)(VkDevice device, VkBuffer buffer, VkDeviceMemor
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/
H A DvktMultiViewRenderTests.cpp731 // Init host buffer data in createVertexBuffer()
1253 Move<VkBuffer> buffer; in readImage() local
1257 // Create destination buffer in readImage()
1271 buffer = createBuffer(*m_device, *m_logicalDevice, &bufferParams); in readImage()
1272 bufferAlloc = m_allocator->allocate(getBufferMemoryRequirements(*m_device, *m_logicalDevice, *buffer), MemoryRequirement::HostVisible); in readImage()
1273 VK_CHECK(m_device->bindBufferMemory(*m_logicalDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in readImage()
1287 *buffer, // VkBuffer buffer; in readImage()
1292 // Copy image to buffer in readImage()
1325 m_device->cmdCopyImageToBuffer(*m_cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *buffer, in readImage()
1856 Move<VkBuffer> buffer; setImageData() local
3676 Move<VkBuffer> buffer; readImage() local
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cTextureViewTests.cpp2102 * @param bo_id ID of a buffer object to be used for initialization of
2103 * buffer texture storage. Only used if @param texture_internalformat
3419 /* Create a buffer object that we'll need to use to define storage of in iterate()
3420 * buffer textures */ in iterate()
4441 /* Bind the buffer object to zero TF binding point */ in executeTest()
4587 * 1) Verify buffer object contents; in executeTest()
4693 /* Done - we can release the buffer at this point */ in executeTest()
4699 /* Release the reference color data buffer */ in executeTest()
6577 * @param data Raw data buffer to read the data from.
6717 /** Initializes buffer objec
7116 glw::GLbyte* buffer = (glw::GLbyte*)m_mipmap_data; initTextureObject() local
7129 glw::GLshort* buffer = (glw::GLshort*)m_mipmap_data; initTextureObject() local
7142 glw::GLint* buffer = (glw::GLint*)m_mipmap_data; initTextureObject() local
7155 glw::GLubyte* buffer = (glw::GLubyte*)m_mipmap_data; initTextureObject() local
7168 glw::GLushort* buffer = (glw::GLushort*)m_mipmap_data; initTextureObject() local
7181 glw::GLuint* buffer = (glw::GLuint*)m_mipmap_data; initTextureObject() local
7194 glw::GLuint* buffer = (glw::GLuint*)m_mipmap_data; initTextureObject() local
7222 tcu::Float16* buffer = (tcu::Float16*)m_mipmap_data; initTextureObject() local
7251 glw::GLuint* buffer = (glw::GLuint*)m_mipmap_data; initTextureObject() local
[all...]
H A Dgl4cComputeShaderTests.cpp504 NL "layout(local_size_x = 1, local_size_y = 1) in;" NL "layout(std430) buffer Output {" NL " vec4 data;" NL in Setup()
595 << ") buffer Output {" NL " uvec4 local_id[];" NL "} g_out;" NL "void main() {" NL in GenSource()
731 "5. Repeat for different buffer and CS work sizes."; in Method()
753 << "];" NL "} g_in_buffer[12];" NL "layout(std430) buffer OutputBuffer {" NL " vec4 data0[" in GenSource()
950 "uniform sampler2DMSArray g_sampler8;" NL "layout(std430) buffer OutputBuffer {" NL " vec4 data0[" in GenSource()
1364 "5. Repeat for different buffer and CS work sizes."; in Method()
1383 << ") in;" NL "layout(std430, binding = 0) buffer Output {" NL " uint inc_data[" in GenSource()
1474 m_context.getTestContext().getLog() << tcu::TestLog::Message << "Final atomic counter value (buffer 0) is " in RunIteration()
1483 m_context.getTestContext().getLog() << tcu::TestLog::Message << "Final atomic counter value (buffer 1) is " in RunIteration()
1546 "4. Verify SSBO1 content." NL "5. Repeat for different buffer an in Method()
2516 GLuint buffer; Run() local
2583 GLuint buffer; Run() local
5992 GLuint buffer; Run() local
6034 GLuint buffer; Run() local
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DTextureTest.cpp2331 // Delete PBO as ANGLE should be properly handling refcount of this buffer in TEST_P()
8034 // unpacking source extends outside unpack buffer bounds.
8066 // Test that unpacking rows that overlap in a pixel unpack buffer works as expected.
8259 // try adding a color buffer.
8369 // Pull in the color data from the unpack buffer.
8393 // Init unpack buffer.
8403 // Create from unpack buffer.
8415 // Fill unpack with green, recreating buffer.
8511 // Test basic pixel unpack buffer OOB checks when uploading to a 2D or 3D texture
9302 // Test that uploading data to buffer tha
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineExtendedDynamicStateTests.cpp190 // Create buffer data given an array of coordinates and an initial padding.
218 // Fill a section of the given buffer (from offset to offset+count) with repeating copies of the given data.
243 std::vector<deUint8> buffer; in createSingleBindingVertexData() local
244 buffer.resize(dataOffsetSz + coords.size() * sizeof(T) + trailingPaddingSz); in createSingleBindingVertexData()
246 fillWithPattern(buffer.data(), 0u, dataOffsetSz, paddingPattern, patternSize); in createSingleBindingVertexData()
251 new (&buffer[pos]) T(coord); in createSingleBindingVertexData()
255 fillWithPattern(buffer.data(), pos, trailingPaddingSz, paddingPattern, patternSize); in createSingleBindingVertexData()
257 return buffer; in createSingleBindingVertexData()
299 declarations.push_back("layout(set=0, binding=0, std430) readonly buffer S0B0Block {");
469 declarations.push_back("layout(set=0, binding=0, std430) readonly buffer S0B0Bloc
3192 BufferWithMemoryPtr buffer; global() member
3205 copyAndFlush(const vk::DeviceInterface& vkd, vk::VkDevice device, vk::BufferWithMemory& buffer, size_t offset, const void* src, size_t size) copyAndFlush() argument
[all...]
/third_party/node/deps/brotli/c/dec/
H A Ddecode.c174 uint32_t buffer[4]; in memmove16()
175 memcpy(buffer, src, 16); in memmove16()
176 memcpy(dst, buffer, 16); in memmove16()
1118 /* Decodes a command or literal and updates block type ring-buffer.
1266 and either ring-buffer is as big as window size, or |force| is true. */
1302 /* Wrap ring buffer only if it has reached its maximal size. */ in WriteRingBuffer()
1319 /* Allocates ring-buffer.
1324 Last two bytes of ring-buffer are initialized to 0, so context calculation
1374 /* Copy remaining bytes from s->br.buf_ to ring-buffer. */ in CopyUncompressedBlockToOutput()
1406 /* Calculates the smallest feasible ring buffer
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dshaderapi.c467 * texture objects (and buffer objects, etc). Shader/program in delete_shader_program()
777 /* Are uniform buffer objects available in this context? in get_programiv()
2001 GLcharARB *buffer; in _mesa_read_shader_source() local
2053 buffer = malloc(shader_size); in _mesa_read_shader_source()
2054 assert(buffer); in _mesa_read_shader_source()
2056 len = fread(buffer, 1, shader_size, f); in _mesa_read_shader_source()
2057 buffer[len] = 0; in _mesa_read_shader_source()
2061 return buffer; in _mesa_read_shader_source()
/third_party/mesa3d/src/intel/vulkan/
H A Danv_image.c591 * additional buffer that mainly stores fast-clear values. Use of this buffer
617 * into the buffer and the fast clear type is set appropriately. Both
618 * setting the fast-clear value in the buffer and setting the fast-clear
638 * value from the buffer into the surface state with MI commands.
677 * buffer (ANV_IMAGE_MEMORY_BINDING_PRIVATE). in add_aux_state_tracking_buffer()
840 "Gfx12+. Not allocating a CCS buffer."); in add_aux_surface_if_supported()
1075 * buffer (ANV_IMAGE_MEMORY_BINDING_PRIVATE). in check_memory_bindings()
1100 * buffer (ANV_IMAGE_MEMORY_BINDING_PRIVATE). in check_memory_bindings()
2092 * @return The primary buffer tha
[all...]
/third_party/node/deps/v8/src/inspector/
H A Dvalue-mirror.cc1770 v8::Local<v8::ArrayBuffer> buffer = value.As<v8::ArrayBuffer>(); in create() local
1773 descriptionForCollection(isolate, buffer, buffer->ByteLength())); in create()
1776 v8::Local<v8::SharedArrayBuffer> buffer = value.As<v8::SharedArrayBuffer>(); in create() local
1779 descriptionForCollection(isolate, buffer, buffer->ByteLength())); in create()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_ureg.c186 } buffer[PIPE_MAX_SHADER_BUFFERS]; member
810 /* Allocate a new buffer.
819 if (ureg->buffer[i].index == nr) in ureg_DECL_buffer()
823 ureg->buffer[i].index = nr; in ureg_DECL_buffer()
824 ureg->buffer[i].atomic = atomic; in ureg_DECL_buffer()
1999 emit_decl_buffer(ureg, ureg->buffer[i].index, ureg->buffer[i].atomic); in emit_decls()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
H A DvktBindingDescriptorUpdateASTests.cpp126 static VkBuffer getVkBuffer (const de::MovePtr<BufferWithMemory>& buffer) in getVkBuffer() argument
128 VkBuffer result = (buffer.get() == DE_NULL) ? DE_NULL : buffer->get(); in getVkBuffer()
133 static VkStridedDeviceAddressRegionKHR makeStridedDeviceAddressRegion (const DeviceInterface& vkd, const VkDevice device, VkBuffer buffer, deUint32 stride, deUint32 count) in makeStridedDeviceAddressRegion() argument
135 if (buffer == DE_NULL) in makeStridedDeviceAddressRegion()
141 return makeStridedDeviceAddressRegionKHR(getBufferDeviceAddress(vkd, device, buffer, 0), stride, stride * count); in makeStridedDeviceAddressRegion()
1131 // Initialize vertex buffer in initVertexBuffer()

Completed in 138 milliseconds

1...<<191192193194195196197198199200>>...241