Home
last modified time | relevance | path

Searched refs:buffer (Results 4451 - 4475 of 8098) sorted by relevance

1...<<171172173174175176177178179180>>...324

/third_party/backends/backend/
H A Dgt68xx_low.c704 gt68xx_device_read_raw (GT68xx_Device * dev, SANE_Byte * buffer, in gt68xx_device_read_raw() argument
710 status = sanei_usb_read_bulk (dev->fd, buffer, size); in gt68xx_device_read_raw()
739 DBG (3, "gt68xx_device_set_read_buffer_size: bad buffer size\n"); in gt68xx_device_set_read_buffer_size()
757 DBG (5, "gt68xx_device_read_prepare: requested buffer size: %lu\n", in gt68xx_device_read_prepare()
770 "gt68xx_device_read_prepare: not enough memory for the read buffer (%lu bytes)\n", in gt68xx_device_read_prepare()
800 DBG (9, "gt68xx_reader_process: buffer %d: get\n", buffer_id); in gt68xx_reader_process()
802 DBG (9, "gt68xx_reader_process: buffer %d: trying to read %lu bytes " in gt68xx_reader_process()
809 "gt68xx_reader_process: buffer %d: read %lu bytes (line %d)\n", in gt68xx_reader_process()
815 DBG (9, "gt68xx_reader_process: buffer %d: put\n", buffer_id); in gt68xx_reader_process()
892 gt68xx_device_read (GT68xx_Device * dev, SANE_Byte * buffer, size_ argument
[all...]
/third_party/curl/lib/
H A Dmqtt.c677 /* read rest of packet, but no more. Cap to buffer size */ in mqtt_read_publish()
678 char buffer[4*1024]; in mqtt_read_publish() local
680 if(rest > sizeof(buffer)) in mqtt_read_publish()
681 rest = sizeof(buffer); in mqtt_read_publish()
682 result = Curl_read(data, sockfd, buffer, rest, &nread); in mqtt_read_publish()
696 result = Curl_client_write(data, CLIENTWRITE_BODY, buffer, nread); in mqtt_read_publish()
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_pipeline_cache.c313 uint8_t *buffer = disk_cache_get(disk_cache, cache_key, &buffer_size); in v3dv_pipeline_cache_search_for_pipeline() local
318 buffer ? "hit" : "miss", in v3dv_pipeline_cache_search_for_pipeline()
322 if (buffer) { in v3dv_pipeline_cache_search_for_pipeline()
326 blob_reader_init(&blob, buffer, buffer_size); in v3dv_pipeline_cache_search_for_pipeline()
328 free(buffer); in v3dv_pipeline_cache_search_for_pipeline()
332 * buffer, but we are more interested on hits that got a valid in v3dv_pipeline_cache_search_for_pipeline()
410 fprintf(stderr, "failed to map source shader buffer\n"); in v3dv_pipeline_shared_data_new()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_tess.c132 /* The offchip buffer layout for TCS->TES is
290 LLVMValueRef lds_base, lds_inner, lds_outer, byteoffset, buffer; in si_write_tess_factors() local
311 /* Determine the layout of one tess factor element in the buffer. */ in si_write_tess_factors()
381 /* Get the buffer. */ in si_write_tess_factors()
382 buffer = get_tess_ring_descriptor(ctx, TCS_FACTOR_RING); in si_write_tess_factors()
394 ac_build_buffer_store_dword(&ctx->ac, buffer, LLVMConstInt(ctx->ac.i32, 0x80000000, 0), in si_write_tess_factors()
401 ac_build_buffer_store_dword(&ctx->ac, buffer, vec0, NULL, in si_write_tess_factors()
407 ac_build_buffer_store_dword(&ctx->ac, buffer, vec1, NULL, in si_write_tess_factors()
412 /* Store the tess factors into the offchip buffer if TES reads them. */ in si_write_tess_factors()
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_state.c696 struct pipe_vertex_buffer *buffer, in zink_create_vertex_state()
705 util_init_pipe_vertex_state(pscreen, buffer, elements, num_elements, indexbuf, full_velem_mask, in zink_create_vertex_state()
716 elems->hw_state.dynbindings[i].stride = buffer->stride; in zink_create_vertex_state()
766 struct pipe_vertex_buffer *buffer, in zink_cache_create_vertex_state()
774 return util_vertex_state_cache_get(pscreen, buffer, elements, num_elements, indexbuf, in zink_cache_create_vertex_state()
695 zink_create_vertex_state(struct pipe_screen *pscreen, struct pipe_vertex_buffer *buffer, const struct pipe_vertex_element *elements, unsigned num_elements, struct pipe_resource *indexbuf, uint32_t full_velem_mask) zink_create_vertex_state() argument
765 zink_cache_create_vertex_state(struct pipe_screen *pscreen, struct pipe_vertex_buffer *buffer, const struct pipe_vertex_element *elements, unsigned num_elements, struct pipe_resource *indexbuf, uint32_t full_velem_mask) zink_cache_create_vertex_state() argument
/third_party/mesa3d/src/virtio/vulkan/
H A Dvn_instance.c353 struct vn_cs_encoder_buffer buffer; member
399 submit->indirect.buffer = VN_CS_ENCODER_BUFFER_INITIALIZER(exec_data); in vn_instance_submission_get_cs()
401 VN_CS_ENCODER_INITIALIZER(&submit->indirect.buffer, exec_size); in vn_instance_submission_get_cs()
443 submit->indirect.buffer.base != submit->indirect.data) in vn_instance_submission_cleanup()
444 free(submit->indirect.buffer.base); in vn_instance_submission_cleanup()
/third_party/lwip/src/apps/http/
H A Dhttp_client.c488 int use_host, char *buffer, size_t buffer_size) in httpc_create_request_string()
493 return snprintf(buffer, buffer_size, HTTPC_REQ_11_PROXY_PORT_FORMAT(server_name, server_port, uri, server_name)); in httpc_create_request_string()
495 return snprintf(buffer, buffer_size, HTTPC_REQ_11_PROXY_FORMAT(server_name, uri, server_name)); in httpc_create_request_string()
499 return snprintf(buffer, buffer_size, HTTPC_REQ_11_HOST_FORMAT(uri, server_name)); in httpc_create_request_string()
501 return snprintf(buffer, buffer_size, HTTPC_REQ_11_FORMAT(uri)); in httpc_create_request_string()
574 /* set up request buffer */ in httpc_init_connection_common()
487 httpc_create_request_string(const httpc_connection_t *settings, const char* server_name, int server_port, const char* uri, int use_host, char *buffer, size_t buffer_size) httpc_create_request_string() argument
/third_party/node/deps/v8/src/base/platform/
H A Dplatform-posix.cc1131 char buffer[kBufferSize]; in InitializeTlsBaseOffset() local
1134 if (sysctl(ctl_name, 2, buffer, &buffer_size, nullptr, 0) != 0) { in InitializeTlsBaseOffset()
1137 // The buffer now contains a string of the form XX.YY.ZZ, where in InitializeTlsBaseOffset()
1139 // Make sure the buffer is 0-terminated. in InitializeTlsBaseOffset()
1140 buffer[kBufferSize - 1] = '\0'; in InitializeTlsBaseOffset()
1141 char* period_pos = strchr(buffer, '.'); in InitializeTlsBaseOffset()
1143 int kernel_version_major = static_cast<int>(strtol(buffer, nullptr, 10)); in InitializeTlsBaseOffset()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_state.c96 if (unlikely(!cb || (!cb->buffer && !cb->user_buffer))) { in etna_set_constant_buffer()
103 if (!cb->buffer) { in etna_set_constant_buffer()
105 u_upload_data(pctx->const_uploader, 0, cb->buffer_size, 16, cb->user_buffer, &cb->buffer_offset, &cb->buffer); in etna_set_constant_buffer()
146 if (fb->nr_cbufs > 0) { /* at least one color buffer? */ in etna_set_framebuffer_state()
191 * be multi-tiled, or single-buffer mode must be supported */ in etna_set_framebuffer_state()
370 /* Single buffer setup. There is only one switch for this, not a separate in etna_set_framebuffer_state()
371 * one per color buffer / depth buffer. To keep the logic simple always use in etna_set_framebuffer_state()
372 * single buffer when this feature is available. in etna_set_framebuffer_state()
465 if (vbi->buffer in etna_set_vertex_buffers()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryBasicGeometryShaderTests.cpp104 Move<VkBuffer> buffer; in uploadImage() local
110 // Create source buffer in uploadImage()
123 buffer = createBuffer(vk, device, &bufferParams); in uploadImage()
124 bufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequirement::HostVisible); in uploadImage()
125 VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in uploadImage()
128 // Get copy regions and write buffer data in uploadImage()
156 // Copy buffer to image in uploadImage()
157 copyBufferToImage(vk, device, queue, queueFamilyIndex, *buffer, bufferSize, copyRegions, DE_NULL, aspectMask, 1, 1, destImage, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT); in uploadImage()
520 // Create vertex indices buffer in createIndicesBuffer()
540 // Load indices into buffer in createIndicesBuffer()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmCrossStageInterfaceTests.cpp219 // Init host buffer data in iterate()
533 Move<VkBuffer> buffer; in checkImage() local
539 // Create destination buffer in checkImage()
553 buffer = createBuffer(vk, vkDevice, &bufferParams); in checkImage()
554 bufferAlloc = m_context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirement::HostVisible); in checkImage()
555 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in checkImage()
562 copyImageToBuffer(vk, cmdBuffer, image, *buffer, tcu::IVec2(m_extent.width, m_extent.height), 0u, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, m_extent.depth); in checkImage()
567 // Read buffer data in checkImage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
H A DvktGeometryBasicGeometryShaderTests.cpp104 Move<VkBuffer> buffer; in uploadImage() local
110 // Create source buffer in uploadImage()
123 buffer = createBuffer(vk, device, &bufferParams); in uploadImage()
124 bufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequirement::HostVisible); in uploadImage()
125 VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in uploadImage()
128 // Get copy regions and write buffer data in uploadImage()
156 // Copy buffer to image in uploadImage()
157 copyBufferToImage(vk, device, queue, queueFamilyIndex, *buffer, bufferSize, copyRegions, DE_NULL, aspectMask, 1, 1, destImage, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT); in uploadImage()
520 // Create vertex indices buffer in createIndicesBuffer()
540 // Load indices into buffer in createIndicesBuffer()
[all...]
/third_party/skia/src/gpu/
H A DGrGpu.cpp420 sk_sp<GrGpuBuffer> buffer = this->onCreateBuffer(size, intendedType, accessPattern, data); in createBuffer() local
422 buffer->resourcePriv().removeScratchKey(); in createBuffer()
424 return buffer; in createBuffer()
446 void* buffer, in readPixels()
474 return this->onReadPixels(surface, rect, surfaceColorType, dstColorType, buffer, rowBytes); in readPixels()
671 // Mark any MIP chain and resolve buffer as dirty if and only if there is a non-empty bounds. in didWriteToSurface()
442 readPixels(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType dstColorType, void* buffer, size_t rowBytes) readPixels() argument
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DShaderModuleD3D12.cpp261 // Declaring a read-only storage buffer in HLSL but specifying a storage in Create()
262 // buffer in the BGL produces the wrong output. Force read-only storage in Create()
263 // buffer bindings to be treated as UAV instead of SRV. Internal storage in Create()
264 // buffer is a storage buffer used in the internal pipeline. in Create()
266 (bindingInfo.buffer.type == wgpu::BufferBindingType::ReadOnlyStorage && in Create()
267 (bgl->GetBindingInfo(bindingIndex).buffer.type == in Create()
269 bgl->GetBindingInfo(bindingIndex).buffer.type == in Create()
490 DAWN_TRY(CheckHRESULT(result->GetErrorBuffer(&errors), "DXC get error buffer")); in CompileShaderDXC()
665 // array_length_from_uniform buffer tha in TranslateToHLSL()
[all...]
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
H A Dname_table.cc664 // Preflight to get buffer size. in ConvertToNameBytes()
691 char buffer[11] = {0}; in ConvertFromNameBytes() local
693 _itoa_s(platform_id, buffer, 16); in ConvertFromNameBytes()
695 snprintf(buffer, sizeof(buffer), "%x", platform_id); in ConvertFromNameBytes()
701 ucnv_toUChars(cs, result, 12, buffer, 11, &error_code); in ConvertFromNameBytes()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmCrossStageInterfaceTests.cpp219 // Init host buffer data in iterate()
533 Move<VkBuffer> buffer; in checkImage() local
539 // Create destination buffer in checkImage()
553 buffer = createBuffer(vk, vkDevice, &bufferParams); in checkImage()
554 bufferAlloc = m_context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirement::HostVisible); in checkImage()
555 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in checkImage()
562 copyImageToBuffer(vk, cmdBuffer, image, *buffer, tcu::IVec2(m_extent.width, m_extent.height), 0u, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, m_extent.depth); in checkImage()
567 // Read buffer data in checkImage()
/third_party/mesa3d/include/CL/
H A Dcl.hpp3156 cl_int copy( IteratorType startIterator, IteratorType endIterator, cl::Buffer &buffer );
3158 cl_int copy( const cl::Buffer &buffer, IteratorType startIterator, IteratorType endIterator );
3160 cl_int copy( const CommandQueue &queue, IteratorType startIterator, IteratorType endIterator, cl::Buffer &buffer );
3162 cl_int copy( const CommandQueue &queue, const cl::Buffer &buffer, IteratorType startIterator, IteratorType endIterator );
3300 __CL_EXPLICIT_CONSTRUCTORS Buffer(const cl_mem& buffer) : Memory(buffer) { } in Buffer() argument
3343 /*! \brief Creates a new buffer object from this.
3385 cl_context context, cl_mem_flags flags, ID3D10Buffer* buffer,
3435 __CL_EXPLICIT_CONSTRUCTORS BufferD3D10(const cl_mem& buffer) : Buffer(buffer) { } in BufferD3D10() argument
3521 BufferGL(const cl_mem& buffer) BufferGL() argument
3756 Image1DBuffer( const Context& context, cl_mem_flags flags, ImageFormat format, ::size_t width, const Buffer &buffer, cl_int* err = NULL) Image1DBuffer() argument
4570 BufferRenderGL(const cl_mem& buffer) BufferRenderGL() argument
4572 BufferRenderGL(const cl_mem& buffer) BufferRenderGL() argument
5716 enqueueReadBuffer( const Buffer& buffer, cl_bool blocking, ::size_t offset, ::size_t size, void* ptr, const VECTOR_CLASS<Event>* events = NULL, Event* event = NULL) const enqueueReadBuffer() argument
5741 enqueueWriteBuffer( const Buffer& buffer, cl_bool blocking, ::size_t offset, ::size_t size, const void* ptr, const VECTOR_CLASS<Event>* events = NULL, Event* event = NULL) const enqueueWriteBuffer() argument
5791 enqueueReadBufferRect( const Buffer& buffer, cl_bool blocking, const size_t<3>& buffer_offset, const size_t<3>& host_offset, const size_t<3>& region, ::size_t buffer_row_pitch, ::size_t buffer_slice_pitch, ::size_t host_row_pitch, ::size_t host_slice_pitch, void *ptr, const VECTOR_CLASS<Event>* events = NULL, Event* event = NULL) const enqueueReadBufferRect() argument
5830 enqueueWriteBufferRect( const Buffer& buffer, cl_bool blocking, const size_t<3>& buffer_offset, const size_t<3>& host_offset, const size_t<3>& region, ::size_t buffer_row_pitch, ::size_t buffer_slice_pitch, ::size_t host_row_pitch, ::size_t host_slice_pitch, const void *ptr, const VECTOR_CLASS<Event>* events = NULL, Event* event = NULL) const enqueueWriteBufferRect() argument
5915 enqueueFillBuffer( const Buffer& buffer, PatternType pattern, ::size_t offset, ::size_t size, const VECTOR_CLASS<Event>* events = NULL, Event* event = NULL) const enqueueFillBuffer() argument
6177 enqueueMapBuffer( const Buffer& buffer, cl_bool blocking, cl_map_flags flags, ::size_t offset, ::size_t size, const VECTOR_CLASS<Event>* events = NULL, Event* event = NULL, cl_int* err = NULL) const enqueueMapBuffer() argument
6206 enqueueMapImage( const Image& buffer, cl_bool blocking, cl_map_flags flags, const size_t<3>& origin, const size_t<3>& region, ::size_t * row_pitch, ::size_t * slice_pitch, const VECTOR_CLASS<Event>* events = NULL, Event* event = NULL, cl_int* err = NULL) const enqueueMapImage() argument
6724 enqueueReadBuffer( const Buffer& buffer, cl_bool blocking, ::size_t offset, ::size_t size, void* ptr, const VECTOR_CLASS<Event>* events = NULL, Event* event = NULL) enqueueReadBuffer() argument
6743 enqueueWriteBuffer( const Buffer& buffer, cl_bool blocking, ::size_t offset, ::size_t size, const void* ptr, const VECTOR_CLASS<Event>* events = NULL, Event* event = NULL) enqueueWriteBuffer() argument
6762 enqueueMapBuffer( const Buffer& buffer, cl_bool blocking, cl_map_flags flags, ::size_t offset, ::size_t size, const VECTOR_CLASS<Event>* events = NULL, Event* event = NULL, cl_int* err = NULL) enqueueMapBuffer() argument
6862 copy( const cl::Buffer &buffer, IteratorType startIterator, IteratorType endIterator ) copy() argument
6917 copy( const CommandQueue &queue, const cl::Buffer &buffer, IteratorType startIterator, IteratorType endIterator ) copy() argument
6943 enqueueReadBufferRect( const Buffer& buffer, cl_bool blocking, const size_t<3>& buffer_offset, const size_t<3>& host_offset, const size_t<3>& region, ::size_t buffer_row_pitch, ::size_t buffer_slice_pitch, ::size_t host_row_pitch, ::size_t host_slice_pitch, void *ptr, const VECTOR_CLASS<Event>* events = NULL, Event* event = NULL) enqueueReadBufferRect() argument
6979 enqueueWriteBufferRect( const Buffer& buffer, cl_bool blocking, const size_t<3>& buffer_offset, const size_t<3>& host_offset, const size_t<3>& region, ::size_t buffer_row_pitch, ::size_t buffer_slice_pitch, ::size_t host_row_pitch, ::size_t host_slice_pitch, const void *ptr, const VECTOR_CLASS<Event>* events = NULL, Event* event = NULL) enqueueWriteBufferRect() argument
[all...]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DMessageSchema.java106 * positions are relative to the offset of the start of the field in the buffer):
128 private final int[] buffer; field in MessageSchema
131 * Holds object references for fields. For each field entry in {@code buffer}, there are two
181 int[] buffer, in MessageSchema()
196 this.buffer = buffer; in MessageSchema()
409 int[] buffer = new int[numEntries * INTS_PER_FIELD]; in newSchemaForRawMessageInfo()
566 buffer[bufferIndex++] = fieldNumber; in newSchemaForRawMessageInfo()
567 buffer[bufferIndex++] = in newSchemaForRawMessageInfo()
572 buffer[bufferInde in newSchemaForRawMessageInfo()
180 MessageSchema( int[] buffer, Object[] objects, int minFieldNumber, int maxFieldNumber, MessageLite defaultInstance, boolean proto3, boolean useCachedSizeField, int[] intArray, int checkInitialized, int mapFieldPositions, NewInstanceSchema newInstanceSchema, ListFieldSchema listFieldSchema, UnknownFieldSchema<?, ?> unknownFieldSchema, ExtensionSchema<?> extensionSchema, MapFieldSchema mapFieldSchema) MessageSchema() argument
727 storeFieldData( FieldInfo fi, int[] buffer, int bufferIndex, Object[] objects) storeFieldData() argument
[all...]
/third_party/mesa3d/src/intel/vulkan/
H A Danv_device.c1865 * render targets and one slot for the descriptor buffer. */ in anv_GetPhysicalDeviceProperties()
2278 * byte offset of the element in the buffer. The base address must in anv_get_physical_device_properties_1_3()
2289 * arbitrary byte alignment for linear and buffer surfaces. It's in anv_get_physical_device_properties_1_3()
2990 /* Finding a buffer for batch decoding */
3056 intel_aux_map_buffer_free(void *driver_ctx, struct intel_buffer *buffer) in intel_aux_map_buffer_free() argument
3058 struct intel_aux_map_buffer *buf = (struct intel_aux_map_buffer*)buffer; in intel_aux_map_buffer_free()
3897 /* Check if we need to support Android HW buffer export. If so, in anv_AllocateMemory()
3936 * from passing a buffer to a trusted client, lying about the size, and in anv_AllocateMemory()
3940 * this sort of attack but only if it can trust the buffer size. in anv_AllocateMemory()
4311 ANV_FROM_HANDLE(anv_buffer, buffer, pBindInf in anv_bind_buffer_memory()
4517 struct anv_buffer *buffer; anv_CreateBuffer() local
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DvalidationES3.cpp787 // Check for pixel unpack buffer related API errors in ValidateES3TexImageParametersBase()
806 // ...the buffer object's data store is currently mapped but not persistently. in ValidateES3TexImageParametersBase()
969 // buffer component sizes. in GetSizedEffectiveInternalFormatInfo()
996 // Effective internal format coresponding to destination internal format andlinear source buffer in GetUnsizedEffectiveInternalFormatInfo()
1090 // The effective internal format of the source buffer is determined with the following rules in IsValidES3CopyTexImageCombination()
1092 // * If the source buffer is a texture or renderbuffer that was created with a sized internal in IsValidES3CopyTexImageCombination()
1093 // format then the effective internal format is the source buffer's sized internal format. in IsValidES3CopyTexImageCombination()
1094 // * If the source buffer is a texture that was created with an unsized base internal format, in IsValidES3CopyTexImageCombination()
1100 // sizes] are consistent with the values of the source buffer's [channel sizes]. Table 3.17 in IsValidES3CopyTexImageCombination()
1106 // Not the default framebuffer, therefore the read buffer mus in IsValidES3CopyTexImageCombination()
2025 ValidateBindBufferCommon(const Context *context, angle::EntryPoint entryPoint, BufferBinding target, GLuint index, BufferID buffer, GLintptr offset, GLsizeiptr size) ValidateBindBufferCommon() argument
2167 ValidateBindBufferBase(const Context *context, angle::EntryPoint entryPoint, BufferBinding target, GLuint index, BufferID buffer) ValidateBindBufferBase() argument
2176 ValidateBindBufferRange(const Context *context, angle::EntryPoint entryPoint, BufferBinding target, GLuint index, BufferID buffer, GLintptr offset, GLsizeiptr size) ValidateBindBufferRange() argument
2307 ValidateClearBufferiv(const Context *context, angle::EntryPoint entryPoint, GLenum buffer, GLint drawbuffer, const GLint *value) ValidateClearBufferiv() argument
2350 ValidateClearBufferuiv(const Context *context, angle::EntryPoint entryPoint, GLenum buffer, GLint drawbuffer, const GLuint *value) ValidateClearBufferuiv() argument
2384 ValidateClearBufferfv(const Context *context, angle::EntryPoint entryPoint, GLenum buffer, GLint drawbuffer, const GLfloat *value) ValidateClearBufferfv() argument
2428 ValidateClearBufferfi(const Context *context, angle::EntryPoint entryPoint, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) ValidateClearBufferfi() argument
2944 const OffsetBindingPointer<Buffer> &buffer = transformFeedback->getIndexedBuffer(i); ValidateBeginTransformFeedback() local
[all...]
/base/security/huks/services/huks_standard/huks_service/main/core/src/
H A Dhks_client_service.c320 /* check is enough buffer to store */ in CheckKeyCondition()
328 HKS_IF_NOT_SUCC_LOGE_RETURN(ret, HKS_ERROR_STORAGE_FAILURE, "buffer exceeds limit") in CheckKeyCondition()
757 uint8_t *buffer = (uint8_t *)HksMalloc(totalSize); in TranslateToInnerCurve25519Format() local
758 HKS_IF_NULL_LOGE_RETURN(buffer, HKS_ERROR_MALLOC_FAIL, "malloc failed! %" LOG_PUBLIC "u", totalSize) in TranslateToInnerCurve25519Format()
760 (void)memset_s(buffer, totalSize, 0, totalSize); in TranslateToInnerCurve25519Format()
762 struct HksPubKeyInfo *curve25519Key = (struct HksPubKeyInfo *)buffer; in TranslateToInnerCurve25519Format()
768 (void)memcpy_s(buffer + offset, totalSize - offset, key->data, key->size); in TranslateToInnerCurve25519Format()
769 publicKey->data = buffer; in TranslateToInnerCurve25519Format()
800 uint8_t *buffer = (uint8_t *)HksMalloc(size); in ConbineIntoKeyPair() local
801 HKS_IF_NULL_RETURN(buffer, HKS_ERROR_MALLOC_FAI in ConbineIntoKeyPair()
[all...]
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/
H A DRBManagerGUI.java30 private static final int buffer = 20; field in RBManagerGUI
34 private static final Dimension dimTop = new Dimension(dimMain.width - buffer,50);
35 private static final Dimension dimTopMax = new Dimension(dimMainMax.width - buffer,50);
36 private static final Dimension dimTopMin = new Dimension(dimMainMin.width - buffer,50);
37 private static final Dimension dimBottom = new Dimension(dimMain.width - buffer,dimMain.height-dimTop.height - buffer);
38 private static final Dimension dimBottomMax = new Dimension(dimMainMax.width - buffer,dimMainMax.height-dimTopMin.height - buffer);
39 private static final Dimension dimBottomMin = new Dimension(dimMainMin.width - buffer,dimMainMin.height-dimTopMax.height - buffer);
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiImageClearingTests.cpp92 const VkBuffer& buffer, in allocateBuffer()
101 const VkMemoryRequirements memoryRequirements = getBufferMemoryRequirements(vkd, device, buffer); in allocateBuffer()
108 return allocateDedicated(vki, vkd, physDevice, device, buffer, requirement); in allocateBuffer()
438 // support reading 64-bit floats from pixel buffer accesses (see getPixel below). in comparePixelToColorClearValue()
590 de::MovePtr<Allocation> allocateAndBindBufferMemory (VkBuffer buffer) const;
810 de::MovePtr<Allocation> ImageClearingTestInstance::allocateAndBindBufferMemory (VkBuffer buffer) const in allocateAndBindBufferMemory()
812 de::MovePtr<Allocation> stagingBufferMemory = allocateBuffer(m_vki, m_vkd, m_context.getPhysicalDevice(), m_device, buffer, MemoryRequirement::HostVisible, m_allocator, m_params.allocationKind); in allocateAndBindBufferMemory()
813 VK_CHECK(m_vkd.bindBufferMemory(m_device, buffer, stagingBufferMemory->getMemory(), stagingBufferMemory->getOffset())); in allocateAndBindBufferMemory()
1205 Move<VkBuffer> buffer; in readImage() local
1208 // Create destination buffer in readImage()
88 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
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
H A DvktTransformFeedbackFuzzLayoutCase.cpp162 << ", buffer = " << entry.xfbBuffer in operator <<()
335 deUint32 buffer; member
344 , buffer (buffer_) in LayoutFlagsFmt()
371 if (bitDesc[descNdx].bit == LAYOUT_XFBBUFFER) str << " = " << fmt.buffer; in operator <<()
737 // and the space taken in the buffer will be a multiple of 8. in computeXfbLayout()
749 // and the space taken in the buffer will be a multiple of 8. in computeXfbLayout()
830 // Store maximum per-buffer alignment in computeXfbLayout()
885 // If the buffer is capturing any outputs with double-precision components, the stride must be a multiple of 8, ... in computeXfbLayout()
979 void generateDeclaration (std::ostringstream& src, const VarType& type, const std::string& name, int indentLevel, deUint32 unusedHints, deUint32 flagsMask, deUint32 buffer, deUint32 stride, deUint32 offset);
980 void generateDeclaration (std::ostringstream& src, const InterfaceBlockMember& member, int indentLevel, deUint32 buffer, deUint3
1014 generateLayoutAndPrecisionDeclaration(std::ostringstream& src, deUint32 flags, deUint32 buffer, deUint32 stride, deUint32 offset) generateLayoutAndPrecisionDeclaration() argument
1023 generateDeclaration(std::ostringstream& src, const VarType& type, const std::string& name, int indentLevel, deUint32 fieldHints, deUint32 flagsMask, deUint32 buffer, deUint32 stride, deUint32 offset) generateDeclaration() argument
1074 generateDeclaration(std::ostringstream& src, const InterfaceBlockMember& member, int indentLevel, deUint32 buffer, deUint32 stride, deUint32 offset) generateDeclaration() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiImageClearingTests.cpp84 const VkBuffer& buffer, in allocateBuffer()
93 const VkMemoryRequirements memoryRequirements = getBufferMemoryRequirements(vkd, device, buffer); in allocateBuffer()
100 return allocateDedicated(vki, vkd, physDevice, device, buffer, requirement); in allocateBuffer()
527 de::MovePtr<Allocation> allocateAndBindBufferMemory (VkBuffer buffer) const;
734 de::MovePtr<Allocation> ImageClearingTestInstance::allocateAndBindBufferMemory (VkBuffer buffer) const in allocateAndBindBufferMemory()
736 de::MovePtr<Allocation> stagingBufferMemory = allocateBuffer(m_vki, m_vkd, m_context.getPhysicalDevice(), m_device, buffer, MemoryRequirement::HostVisible, m_allocator, m_params.allocationKind); in allocateAndBindBufferMemory()
737 VK_CHECK(m_vkd.bindBufferMemory(m_device, buffer, stagingBufferMemory->getMemory(), stagingBufferMemory->getOffset())); in allocateAndBindBufferMemory()
1073 Move<VkBuffer> buffer; in readImage() local
1076 // Create destination buffer in readImage()
1090 buffer in readImage()
80 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
[all...]

Completed in 57 milliseconds

1...<<171172173174175176177178179180>>...324