Home
last modified time | relevance | path

Searched refs:buffer (Results 7051 - 7075 of 15582) sorted by relevance

1...<<281282283284285286287288289290>>...624

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawConcurrentTests.cpp217 // Create an input/output buffer in iterate()
222 const vk::BufferWithMemory buffer(vk, *computeDevice, *allocator, makeBufferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); in iterate()
224 // Fill the buffer with data in iterate()
231 const Allocation& bufferAllocation = buffer.getAllocation(); in iterate()
258 const VkDescriptorBufferInfo bufferDescriptorInfo = makeDescriptorBufferInfo(*buffer, 0ull, bufferSizeBytes); in iterate()
269 const VkBufferMemoryBarrier hostWriteBarrier = makeBufferMemoryBarrier(VK_ACCESS_HOST_WRITE_BIT, VK_ACCESS_SHADER_READ_BIT, *buffer, 0ull, bufferSizeBytes); in iterate()
270 const VkBufferMemoryBarrier shaderWriteBarrier = makeBufferMemoryBarrier(VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *buffer, 0ull, bufferSizeBytes); in iterate()
274 // Compute command buffer in iterate()
307 // record secondary command buffer in iterate()
325 // record primary command buffer in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shader_interlock/
H A DvktFragmentShaderInterlockBasic.cpp24 * or buffer reads and writes to accumulate values into a result image/buffer.
28 * into the image or buffer, inside the interlock. The value in memory accumulates a bitmask
221 "layout(std430, set = 0, binding = 1) coherent buffer B1 { uint x[]; } buf1;\n" in initPrograms()
236 // into the image or buffer, inside the interlock. The value in memory accumulates a bitmask in initPrograms()
289 // Read the current value from the image or buffer in initPrograms()
383 de::MovePtr<BufferWithMemory> buffer; in iterate() local
384 buffer = de::MovePtr<BufferWithMemory>(new BufferWithMemory( in iterate()
387 flushAlloc(vk, device, buffer->getAllocation()); in iterate()
469 VkDescriptorBufferInfo bufferInfo = makeDescriptorBufferInfo(**buffer, in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawConcurrentTests.cpp217 // Create an input/output buffer in iterate()
222 const vk::BufferWithMemory buffer(vk, *computeDevice, *allocator, makeBufferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); in iterate()
224 // Fill the buffer with data in iterate()
231 const Allocation& bufferAllocation = buffer.getAllocation(); in iterate()
258 const VkDescriptorBufferInfo bufferDescriptorInfo = makeDescriptorBufferInfo(*buffer, 0ull, bufferSizeBytes); in iterate()
269 const VkBufferMemoryBarrier hostWriteBarrier = makeBufferMemoryBarrier(VK_ACCESS_HOST_WRITE_BIT, VK_ACCESS_SHADER_READ_BIT, *buffer, 0ull, bufferSizeBytes); in iterate()
270 const VkBufferMemoryBarrier shaderWriteBarrier = makeBufferMemoryBarrier(VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *buffer, 0ull, bufferSizeBytes); in iterate()
274 // Compute command buffer in iterate()
307 // record secondary command buffer in iterate()
325 // record primary command buffer in iterate()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shader_interlock/
H A DvktFragmentShaderInterlockBasic.cpp24 * or buffer reads and writes to accumulate values into a result image/buffer.
28 * into the image or buffer, inside the interlock. The value in memory accumulates a bitmask
221 "layout(std430, set = 0, binding = 1) coherent buffer B1 { uint x[]; } buf1;\n" in initPrograms()
236 // into the image or buffer, inside the interlock. The value in memory accumulates a bitmask in initPrograms()
289 // Read the current value from the image or buffer in initPrograms()
383 de::MovePtr<BufferWithMemory> buffer; in iterate() local
384 buffer = de::MovePtr<BufferWithMemory>(new BufferWithMemory( in iterate()
387 flushAlloc(vk, device, buffer->getAllocation()); in iterate()
469 VkDescriptorBufferInfo bufferInfo = makeDescriptorBufferInfo(**buffer, in iterate()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DStateManager11.h236 // Called by VertexArray11 element array buffer sync.
251 void setSingleVertexBuffer(const d3d11::Buffer *buffer, UINT stride, UINT offset);
279 void setVertexConstantBuffer(unsigned int slot, const d3d11::Buffer *buffer);
280 void setPixelConstantBuffer(unsigned int slot, const d3d11::Buffer *buffer);
291 void setIndexBuffer(ID3D11Buffer *buffer, DXGI_FORMAT indexFormat, unsigned int offset);
419 bool syncIndexBuffer(ID3D11Buffer *buffer, DXGI_FORMAT indexFormat, unsigned int offset);
435 ID3D11Buffer *buffer,
607 // Currently applied index buffer
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
H A Dcapture_gles_3_0_params.cpp18 GLenum buffer, in CaptureClearBufferfv_value()
23 CaptureClearBufferValue<GLfloat>(buffer, value, paramCapture); in CaptureClearBufferfv_value()
28 GLenum buffer, in CaptureClearBufferiv_value()
33 CaptureClearBufferValue<GLint>(buffer, value, paramCapture); in CaptureClearBufferiv_value()
38 GLenum buffer, in CaptureClearBufferuiv_value()
43 CaptureClearBufferValue<GLuint>(buffer, value, paramCapture); in CaptureClearBufferuiv_value()
16 CaptureClearBufferfv_value(const State &glState, bool isCallValid, GLenum buffer, GLint drawbuffer, const GLfloat *value, ParamCapture *paramCapture) CaptureClearBufferfv_value() argument
26 CaptureClearBufferiv_value(const State &glState, bool isCallValid, GLenum buffer, GLint drawbuffer, const GLint *value, ParamCapture *paramCapture) CaptureClearBufferiv_value() argument
36 CaptureClearBufferuiv_value(const State &glState, bool isCallValid, GLenum buffer, GLint drawbuffer, const GLuint *value, ParamCapture *paramCapture) CaptureClearBufferuiv_value() argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DStateManagerGL.h135 GLuint buffer = 0; member
161 void deleteBuffer(GLuint buffer);
169 void bindBuffer(gl::BufferBinding target, GLuint buffer);
170 void bindBufferBase(gl::BufferBinding target, size_t index, GLuint buffer);
173 GLuint buffer,
383 // current element array buffer.
394 GLuint buffer; member
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cIndirectParametersTests.cpp70 "Verifies if operations on new buffer object PARAMETER_BUFFER_ARB works as expected.") in ParameterBufferOperationsCase()
104 // Test buffer generating and binding in iterate()
122 // Test filling buffer with data in iterate()
129 // Test buffer mapping in iterate()
130 GLvoid* buffer = gl.mapBuffer(GL_PARAMETER_BUFFER_ARB, GL_READ_ONLY); in iterate() local
133 if (memcmp(buffer, expData, 10 * sizeof(GLint)) != 0) in iterate()
144 if (buffer != bufferPointer) in iterate()
174 // Test buffer ranged mapping in iterate()
175 buffer = in iterate()
179 // Test buffer flushin in iterate()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/
H A DesextcTestCaseBase.cpp688 * @param buffer Image data
701 * - buffer is null_ptr
706 bool TestCaseBase::comparePixel(const unsigned char* buffer, unsigned int x, unsigned int y, unsigned int width, in comparePixel() argument
718 if (0 == buffer) in comparePixel()
733 result &= (expected_alpha == buffer[texel_offset + 3]); in comparePixel()
739 result &= (expected_blue == buffer[texel_offset + 2]); in comparePixel()
745 result &= (expected_green == buffer[texel_offset + 1]); in comparePixel()
751 result &= (expected_red == buffer[texel_offset + 0]); in comparePixel()
920 /* Allocate buffer */ in getInfoLog()
942 /** Setup frame buffer
[all...]
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
H A Dentry_points_gles_3_0_autogen.h20 ANGLE_EXPORT void GL_APIENTRY GL_BindBufferBase(GLenum target, GLuint index, GLuint buffer);
22 GL_BindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
36 ANGLE_EXPORT void GL_APIENTRY GL_ClearBufferfi(GLenum buffer,
40 ANGLE_EXPORT void GL_APIENTRY GL_ClearBufferfv(GLenum buffer,
43 ANGLE_EXPORT void GL_APIENTRY GL_ClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value);
44 ANGLE_EXPORT void GL_APIENTRY GL_ClearBufferuiv(GLenum buffer,
/third_party/skia/src/gpu/vk/
H A DGrVkResourceProvider.cpp428 // When resetting a command buffer it can trigger client provided procs (e.g. release or in checkCommandBuffers()
441 GrVkPrimaryCommandBuffer* buffer = pool->getPrimaryCommandBuffer(); in checkCommandBuffers() local
442 if (buffer->finished(fGpu)) { in checkCommandBuffers()
457 GrVkPrimaryCommandBuffer* buffer = pool->getPrimaryCommandBuffer(); in forceSyncAllCommandBuffers() local
458 buffer->forceSync(fGpu); in forceSyncAllCommandBuffers()
467 GrVkPrimaryCommandBuffer* buffer = pool->getPrimaryCommandBuffer(); in addFinishedProcToActiveCommandBuffers() local
468 buffer->addFinishedProc(finishedCallback); in addFinishedProcToActiveCommandBuffers()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
H A DDrawTester.cpp49 device.destroyBuffer(vertices.buffer, nullptr); in ~DrawTester()
399 commandBuffers[i].bindVertexBuffers(0, 1, &vertices.buffer, &offset); in createCommandBuffers()
410 assert(!vertices.buffer); // For now, only support adding once in addVertexBuffer()
415 vertices.buffer = device.createBuffer(vertexBufferInfo); in addVertexBuffer()
418 vk::MemoryRequirements memoryRequirements = device.getBufferMemoryRequirements(vertices.buffer); in addVertexBuffer()
426 device.bindBufferMemory(vertices.buffer, vertices.memory, 0); in addVertexBuffer()
/third_party/skia/third_party/externals/spirv-cross/
H A Dspirv_reflect.cpp46 StringStream<> buffer; member in simple_json::Stream
75 return buffer.str(); in str()
82 buffer << " "; in statement_indent()
88 buffer << std::forward<T>(t); in statement_inner()
94 buffer << std::forward<T>(t); in statement_inner()
103 buffer << '\n'; in statement()
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Drdbmp.c41 #define ReadOK(file, buffer, len) \
42 (JFREAD(file, buffer, len) == ((size_t)(len)))
72 its own image buffer and read the rows in
75 U_CHAR *iobuffer; /* I/O buffer (used to buffer a single row from
169 outptr = source->pub.buffer[0]; in METHODDEF()
246 outptr = source->pub.buffer[0]; in METHODDEF()
309 outptr = source->pub.buffer[0]; in METHODDEF()
640 /* Allocate one-row buffer for returned data */ in start_input_bmp()
641 source->pub.buffer in start_input_bmp()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DJSON.cpp109 memcpy(Union.buffer, M.Union.buffer, sizeof(Union.buffer)); in copyFrom()
133 memcpy(Union.buffer, M.Union.buffer, sizeof(Union.buffer)); in moveFrom()
/third_party/protobuf/src/google/protobuf/
H A Dparse_context.cc113 // Move the slop bytes of previous buffer to start of the patch buffer. in Next()
114 // Note we must use memmove because the previous buffer could be part of in Next()
396 // to buffer ends and ptr could potential be kSlopBytes beyond a buffer end. in ReadSizeFallback()
527 char buffer[8]; in AddFixed64() local
529 value, reinterpret_cast<uint8*>(buffer)); in AddFixed64()
530 unknown_->append(buffer, 8); in AddFixed64()
551 char buffer[4]; in AddFixed32() local
553 value, reinterpret_cast<uint8*>(buffer)); in AddFixed32()
[all...]
/third_party/python/Lib/xmlrpc/
H A Dserver.py651 sys.stdout.buffer.write(response)
652 sys.stdout.buffer.flush()
676 sys.stdout.buffer.write(response)
677 sys.stdout.buffer.flush()
973 sys.stdout.buffer.write(response)
974 sys.stdout.buffer.flush()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_surface_render_node.cpp157 // We allow 1px error value to avoid disable dss by mistake [this flag only used for YUV buffer format] in UpdateSrcRect()
176 const auto& buffer = surfaceHandler_->GetBuffer(); in UpdateHwcDisabledBySrcRect() local
178 if (buffer == nullptr) { in UpdateHwcDisabledBySrcRect()
1184 RS_LOGD("RSSurfaceRenderNode::UpdateColorSpaceWithMetadata node(%{public}s) did not have buffer.", in UpdateColorSpaceWithMetadata()
1188 const sptr<SurfaceBuffer>& buffer = GetRSSurfaceHandler()->GetBuffer(); in UpdateColorSpaceWithMetadata() local
1191 if (MetadataHelper::GetColorSpaceInfo(buffer, colorSpaceInfo) != GSERROR_OK) { in UpdateColorSpaceWithMetadata()
1244 void RSSurfaceRenderNode::UpdateBufferInfo(const sptr<SurfaceBuffer>& buffer, const Rect& damageRect, in UpdateBufferInfo() argument
1248 surfaceParams->SetBuffer(buffer, damageRect); in UpdateBufferInfo()
1262 if (auto buffer = surfaceHandler_->GetBuffer()) { in NeedClearBufferCache()
1263 bufferCacheSet.insert(buffer in NeedClearBufferCache()
1602 auto buffer = surfaceHandler_->GetBuffer(); UpdateHwcNodeLayerInfo() local
[all...]
/kernel/linux/linux-5.10/drivers/crypto/
H A Datmel-sha.c107 u8 buffer[SHA_BUFFER_LEN + SHA512_BLOCK_SIZE] __aligned(sizeof(u32));
312 * Check if count <= 0 because the buffer is full or in atmel_sha_append_sg()
325 scatterwalk_map_and_copy(ctx->buffer + ctx->bufcnt, ctx->sg, in atmel_sha_append_sg()
385 *(ctx->buffer + ctx->bufcnt) = 0x80; in atmel_sha_fill_padding()
386 memset(ctx->buffer + ctx->bufcnt + 1, 0, padlen-1); in atmel_sha_fill_padding()
387 memcpy(ctx->buffer + ctx->bufcnt + padlen, bits, 16); in atmel_sha_fill_padding()
395 *(ctx->buffer + ctx->bufcnt) = 0x80; in atmel_sha_fill_padding()
396 memset(ctx->buffer + ctx->bufcnt + 1, 0, padlen-1); in atmel_sha_fill_padding()
397 memcpy(ctx->buffer + ctx->bufcnt + padlen, &bits[1], 8); in atmel_sha_fill_padding()
566 const u32 *buffer in atmel_sha_xmit_cpu() local
1613 u8 buffer[SHA512_BLOCK_SIZE]; global() member
[all...]
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/
H A Ddd_draw.c312 if (dstate->constant_buffers[sh][i].buffer || in dd_dump_shader()
315 if (dstate->constant_buffers[sh][i].buffer) in dd_dump_shader()
316 DUMP_M(resource, &dstate->constant_buffers[sh][i], buffer); in dd_dump_shader()
337 if (dstate->shader_buffers[sh][i].buffer) { in dd_dump_shader()
339 if (dstate->shader_buffers[sh][i].buffer) in dd_dump_shader()
340 DUMP_M(resource, &dstate->shader_buffers[sh][i], buffer); in dd_dump_shader()
365 if (indirect->buffer) in dd_dump_draw_vbo()
366 DUMP_M(resource, indirect, buffer); in dd_dump_draw_vbo()
380 if (dstate->vertex_buffers[i].buffer.resource) { in dd_dump_draw_vbo()
383 DUMP_M(resource, &dstate->vertex_buffers[i], buffer in dd_dump_draw_vbo()
[all...]
/third_party/libcoap/src/
H A Dcoap_mbedtls.c573 uint8_t *buffer; in setup_pki_credentials() local
582 buffer = mbedtls_malloc(length + 1); in setup_pki_credentials()
583 if (!buffer) { in setup_pki_credentials()
587 memcpy(buffer, setup_data->pki_key.key.pem_buf.public_cert, length); in setup_pki_credentials()
588 buffer[length] = '\000'; in setup_pki_credentials()
590 ret = mbedtls_x509_crt_parse(public_cert, buffer, length); in setup_pki_credentials()
591 mbedtls_free(buffer); in setup_pki_credentials()
606 buffer = mbedtls_malloc(length + 1); in setup_pki_credentials()
607 if (!buffer) { in setup_pki_credentials()
611 memcpy(buffer, setup_dat in setup_pki_credentials()
653 uint8_t *buffer; setup_pki_credentials() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRender.cpp744 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &uniformBufferParams);
745 de::MovePtr<Allocation> alloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirement::HostVisible);
746 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset()));
753 uniformInfo->descriptor = makeDescriptorBufferInfo(*buffer, 0u, size);
755 uniformInfo->buffer = VkBufferSp(new vk::Unique<VkBuffer>(buffer));
808 // Upload data to buffer
826 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &vertexBufferParams);
827 de::MovePtr<vk::Allocation> alloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirement::HostVisible);
828 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, allo
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRender.cpp746 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &uniformBufferParams);
747 de::MovePtr<Allocation> alloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirement::HostVisible);
748 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset()));
755 uniformInfo->descriptor = makeDescriptorBufferInfo(*buffer, 0u, size);
757 uniformInfo->buffer = VkBufferSp(new vk::Unique<VkBuffer>(buffer));
810 // Upload data to buffer
828 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &vertexBufferParams);
829 de::MovePtr<vk::Allocation> alloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirement::HostVisible);
830 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, allo
[all...]
/third_party/openGLES/api/GL/
H A Dglcorearb.h636 typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
639 typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
656 GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
659 GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
1222 typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
1223 typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
1267 typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
1268 typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
1269 typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
1270 typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLin
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dcnumtst.c825 UChar buffer[128]; in TestNumberFormat() local
829 len = unum_format(spellout_def, value, buffer, UPRV_LENGTHOF(buffer), NULL, &status); in TestNumberFormat()
835 /*ustrToAstr(buffer, len, logbuf, UPRV_LENGTHOF(logbuf));*/ in TestNumberFormat()
836 log_verbose("formatted %d as '%s', length: %d\n", value, aescstrdup(buffer, len), len); in TestNumberFormat()
838 parseResult = unum_parse(spellout_def, buffer, len, &pp, &status); in TestNumberFormat()
1564 UChar buffer[512]; in test_fmt() local
1565 int32_t BUFSIZE = UPRV_LENGTHOF(buffer); in test_fmt()
1573 unum_formatDouble(fmt, vals[i], buffer, BUFSIZE, NULL, &status); in test_fmt()
1577 u_austrcpy(temp, buffer); in test_fmt()
2070 UChar buffer[256]; TestCloneWithRBNF() local
2381 UChar buffer[2048]; TestUFormattable() local
2427 UChar buffer[2048]; TestUFormattable() local
[all...]

Completed in 54 milliseconds

1...<<281282283284285286287288289290>>...624