| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
| H A D | ArabicShaping.java | 50 * By default, this means that the destination buffer may receive text with a 73 * @param destStart The start of the range of the destination buffer to use. 74 * @param destSize The size (capacity) of the destination buffer. 76 * but the necessary buffer size is returned ("preflighting"). This 82 * @return The number of chars written to the destination buffer. 96 ") for buffer of length " + source.length); in shape() 105 ") for buffer of length " + dest.length); in shape() 248 * Spaces will be placed at beginning of the buffer 259 * Spaces will be placed at end of the buffer 269 * Shaping mode: Tashkeel characters will be removed, buffer lengt 913 invertBuffer(char[] buffer, int start, int length) invertBuffer() argument [all...] |
| /third_party/icu/icu4c/source/test/cintltst/ |
| H A D | ucsdetst.c | 56 char buffer[1024]; in preflight() local 57 char *dest, *destLimit = buffer + sizeof(buffer); in preflight() 62 dest = buffer; in preflight() 65 result += (int32_t) (dest - buffer); in preflight()
|
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
| H A D | ArabicShaping.java | 51 * By default, this means that the destination buffer may receive text with a 74 * @param destStart The start of the range of the destination buffer to use. 75 * @param destSize The size (capacity) of the destination buffer. 77 * but the necessary buffer size is returned ("preflighting"). This 83 * @return The number of chars written to the destination buffer. 96 ") for buffer of length " + source.length); in shape() 105 ") for buffer of length " + dest.length); in shape() 241 * Spaces will be placed at beginning of the buffer 251 * Spaces will be placed at end of the buffer 260 * Shaping mode: Tashkeel characters will be removed, buffer lengt 865 invertBuffer(char[] buffer, int start, int length) invertBuffer() argument [all...] |
| /third_party/mesa3d/src/gallium/drivers/radeonsi/ |
| H A D | si_sqtt.c | 47 /* The buffer size and address need to be aligned in HW regs. Align the in si_thread_trace_init_bo() 328 /* Make sure to wait for the trace buffer. */ in si_emit_thread_trace_stop() 563 "because the buffer is too small. The " in si_get_thread_trace() 565 "buffer size is %d KB.\n", in si_get_thread_trace() 567 fprintf(stderr, "Please update the buffer size with " in si_get_thread_trace() 616 /* Default buffer size set to 32MB per SE. */ in si_init_thread_trace() 755 /* Map the SPM counter buffer */ in si_handle_thread_trace() 948 uint8_t *buffer = alloca(sizeof(marker) + marker.length); in si_write_user_event() local 949 memcpy(buffer, &marker, sizeof(marker)); in si_write_user_event() 950 memcpy(buffer in si_write_user_event() [all...] |
| /third_party/mesa3d/src/gbm/backends/dri/ |
| H A D | gbm_dri.c | 906 * offset is irrelevant, as they have no buffer to offset into, so in gbm_dri_bo_get_offset() 986 uint32_t type, void *buffer, uint32_t usage) in gbm_dri_bo_import() 1011 wb = wayland_drm_buffer_get(dri->wl_drm, (struct wl_resource *) buffer); in gbm_dri_bo_import() 1034 image = dri->lookup_image(dri->screen, buffer, dri->lookup_user_data); in gbm_dri_bo_import() 1048 struct gbm_import_fd_data *fd_data = buffer; in gbm_dri_bo_import() 1074 struct gbm_import_fd_modifier_data *fd_data = buffer; in gbm_dri_bo_import() 1287 /* If it's a dumb buffer, we already have a mapping */ in gbm_dri_bo_map() 1318 /* Check if it's a dumb buffer and check the pointer is in range */ in gbm_dri_bo_unmap() 985 gbm_dri_bo_import(struct gbm_device *gbm, uint32_t type, void *buffer, uint32_t usage) gbm_dri_bo_import() argument
|
| /third_party/node/src/ |
| H A D | node_http_parser.cc | 45 // No copying is performed when slicing the buffer, only small reference 466 Local<Value> buffer = Buffer::Copy(env, at, length).ToLocalChecked(); in on_body() 468 MaybeLocal<Value> r = MakeCallback(cb.As<Function>(), 1, &buffer); in on_body() 595 // var bytesParsed = parser->execute(buffer); 600 ArrayBufferViewContents<char> buffer(args[0]); in Execute() 602 Local<Value> ret = parser->Execute(buffer.data(), buffer.length()); in Execute() 759 // OnStreamAlloc, and will consume all data, so using a static buffer for 774 // Once we’re done here, either indicate that the HTTP parser buffer
|
| /third_party/mesa3d/src/virtio/vulkan/ |
| H A D | vn_android.c | 51 /* get gralloc module for gralloc buffer info query */ in vn_android_gralloc_init() 160 * gralloc buffer metadata. in vn_android_gralloc_get_dma_buf_fd() 994 const struct AHardwareBuffer *buffer, in vn_GetAndroidHardwareBufferPropertiesANDROID() 1009 vn_android_get_ahb_format_properties(dev, buffer, format_props); in vn_GetAndroidHardwareBufferPropertiesANDROID() 1015 AHardwareBuffer_getNativeHandle(buffer)); in vn_GetAndroidHardwareBufferPropertiesANDROID() 1211 if (dedicated_info && dedicated_info->buffer != VK_NULL_HANDLE) { in vn_android_device_import_ahb() 1212 struct vn_buffer *buf = vn_buffer_from_handle(dedicated_info->buffer); in vn_android_device_import_ahb() 1435 /* AHB backed buffer layers on top of dma_buf, so here we must comine the in vn_android_buffer_from_ahb() 1436 * queried type bits from both buffer memory requirement and dma_buf fd in vn_android_buffer_from_ahb() 992 vn_GetAndroidHardwareBufferPropertiesANDROID( VkDevice device, const struct AHardwareBuffer *buffer, VkAndroidHardwareBufferPropertiesANDROID *pProperties) vn_GetAndroidHardwareBufferPropertiesANDROID() argument
|
| /third_party/icu/icu4c/source/io/ |
| H A D | uprntf_p.cpp | 114 /* buffer size for formatting */ 206 UChar buffer[UFMT_DEFAULT_BUFFER_SIZE]; in u_printf_string_handler() local 214 if (argSize >= MAX_UCHAR_BUFFER_SIZE(buffer)) { in u_printf_string_handler() 223 s = ufmt_defaultCPToUnicode(arg, argSize, buffer, in u_printf_string_handler() 224 UPRV_LENGTHOF(buffer)); in u_printf_string_handler() 241 if (gNullStr != s && buffer != s) { in u_printf_string_handler() 766 /* allocate enough space for the buffer */ in u_printf_ustring_handler()
|
| /third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
| H A D | fd5_emit.c | 54 * prsc or dwords: buffer containing constant values 55 * sizedwords: size of const value buffer 461 if (buf->buffer) { in emit_ssbos() 462 struct fd_resource *rsc = fd_resource(buf->buffer); in emit_ssbos() 485 struct fd_resource *rsc = fd_resource(vb->buffer.resource); in fd5_emit_vertex_bufs() 490 uint32_t size = vb->buffer.resource->width0 - off; in fd5_emit_vertex_bufs() 739 OUT_RELOC(ring, fd_resource(target->base.buffer)->bo, 0, 0, 0); in fd5_emit_state() 923 /* emit setup at begin of new cmdstream buffer (don't rely on previous
|
| /third_party/mesa3d/src/gallium/drivers/lima/ |
| H A D | lima_draw.c | 128 /* add to job when the buffer is dirty and resolve is clear (not added before) */ in lima_update_job_wb() 137 /* add to job when the buffer is dirty and resolve is clear (not added before) */ in lima_update_job_wb() 749 if (ctx->const_buffer[PIPE_SHADER_FRAGMENT].buffer) { in lima_pack_render_state() 834 struct lima_resource *res = lima_resource(pvb->buffer.resource); in lima_update_gp_attribute_info() 863 if (ccb->buffer) in lima_update_gp_uniform() 864 memcpy(vs_const_buff, ccb->buffer, uniform_size); in lima_update_gp_uniform() 901 const float *const_buff = ctx->const_buffer[PIPE_SHADER_FRAGMENT].buffer; in lima_update_pp_uniform()
|
| /third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
| H A D | tr_screen.c | 1292 struct pipe_vertex_buffer *buffer, in trace_screen_create_vertex_state() 1304 trace_dump_arg(ptr, buffer->buffer.resource); in trace_screen_create_vertex_state() 1305 trace_dump_arg(vertex_buffer, buffer); in trace_screen_create_vertex_state() 1314 screen->create_vertex_state(screen, buffer, elements, num_elements, in trace_screen_create_vertex_state() 1291 trace_screen_create_vertex_state(struct pipe_screen *_screen, struct pipe_vertex_buffer *buffer, const struct pipe_vertex_element *elements, unsigned num_elements, struct pipe_resource *indexbuf, uint32_t full_velem_mask) trace_screen_create_vertex_state() argument
|
| /third_party/mesa3d/src/gallium/auxiliary/util/ |
| H A D | u_dump_state.c | 764 util_dump_member(stream, ptr, state, buffer); in util_dump_shader_buffer() 841 util_dump_member(stream, ptr, state, buffer); in util_dump_constant_buffer() 863 util_dump_member(stream, ptr, state, buffer.resource); in util_dump_vertex_buffer() 899 util_dump_member(stream, ptr, state, buffer); in util_dump_stream_output_target() 965 util_dump_member(stream, ptr, state, buffer); in util_dump_draw_indirect_info()
|
| /third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
| H A D | CodedInputStreamTest.cs | 168 Assert.IsTrue(SegmentedBufferHelper.IsAtEnd(ref parseCtx.buffer, ref parseCtx.state));
in AssertReadFromParseContext() 650 public override int Read(byte[] buffer, int offset, int count)
in Read() argument 652 return base.Read(buffer, offset, Math.Min(count, blockSize));
in Read() 936 public override int Read(byte[] buffer, int offset, int count)
in Read() argument 946 Array.Copy(bytes, (int)Position, buffer, offset, numBytesToCopy);
in Read()
|
| /third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
| H A D | vkRayTracingUtil.hpp | 83 // Checks the given vertex buffer format is valid for acceleration structures. 246 void calcBlockSize (); // Calculates and saves vertex buffer block size. 247 size_t getBlockSize () const; // Return stored vertex buffer block size. 467 const VkBuffer buffer, 682 // defines how many structures will be packet in single buffer 686 // defines how many geometries (vertices and/or indices) will be packet in single buffer 1097 VkBuffer buffer, in makeDeviceOrHostAddressConstKHR() 1109 buffer, // VkBuffer buffer in makeDeviceOrHostAddressConstKHR() 1118 VkBuffer buffer, in makeDeviceOrHostAddressKHR() 1095 makeDeviceOrHostAddressConstKHR(const DeviceInterface& vk, const VkDevice device, VkBuffer buffer, VkDeviceSize offset) makeDeviceOrHostAddressConstKHR() argument 1116 makeDeviceOrHostAddressKHR(const DeviceInterface& vk, const VkDevice device, VkBuffer buffer, VkDeviceSize offset) makeDeviceOrHostAddressKHR() argument [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
| H A D | vktRobustness1VertexAccessTests.cpp | 429 // Generate triangles with invalid vertices placed at end of buffer. NOTE: Assumes invalidIndices to be in ascending order! 689 auto buffer = createBuffer(vk, device, &createInfo); 690 auto bufferAlloc = allocator.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequirement::HostVisible); 691 VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); 694 inputVertexBufferPtrs.push_back(*buffer); 696 vertexBuffers.emplace_back(buffer);
|
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
| H A D | vktSpvAsmPhysicalStorageBufferPointerTests.cpp | 212 **m_buffer // VkBuffer buffer; in getDeviceAddress() 509 TCU_THROW(NotSupportedError, "Request physical storage buffer feature not supported"); in checkSupport() 732 ut::TypedBuffer<tcu::Vec4> buffer(m_context, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT, (m_params->elements * m_params->elements), true); in prepareColorBuffer() 733 for (auto j = buffer.begin(), begin = j; j != buffer.end(); ++j) in prepareColorBuffer() 738 if (flushAfter) buffer.flush(); in prepareColorBuffer() 739 return buffer; in prepareColorBuffer()
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
| H A D | ContextVk.h | 508 angle::Result onBufferReleaseToExternal(const vk::BufferHelper &buffer); 701 // Pipeline needs to rebind because a new command buffer has been allocated, or UtilsVk has 982 angle::Result endRenderPassIfTransformFeedbackBuffer(const vk::BufferHelper *buffer); 1078 // The offset we had the last time we bound the index buffer. 1105 // If any host-visible buffer is written by the GPU since last submission, a barrier is inserted 1106 // at the end of the command buffer to make that write available to the host. 1144 // render-pass command buffer. The ContextVk::handleGraphicsEventLog() method records the 1145 // appropriate command buffer for use by ContextVk::endEventLogForQuery(). The knowledge of 1146 // which command buffer to use depends on the particular type of query (e.g. samples 1150 // command buffer t 1234 endRenderPassIfTransformFeedbackBuffer( const vk::BufferHelper *buffer) endRenderPassIfTransformFeedbackBuffer() argument [all...] |
| /third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
| H A D | VkImage.cpp | 548 void Image::copy(Buffer *buffer, const VkBufferImageCopy2KHR ®ion, bool bufferIsSource) in copy() argument 580 uint8_t *bufferMemory = static_cast<uint8_t *>(buffer->getOffsetPointer(region.bufferOffset)); in copy() 631 ASSERT(((bufferIsSource ? srcMemory : dstMemory) + copySize) < buffer->end()); in copy() 641 ASSERT(((bufferIsSource ? srcSliceMemory : dstSliceMemory) + copySize) < buffer->end()); in copy() 658 ASSERT(((bufferIsSource ? srcSliceMemory : dstSliceMemory) + copySize) < buffer->end()); in copy() 892 // Offset by depth buffer to get to stencil buffer in getMemoryOffset()
|
| /third_party/skia/third_party/externals/spirv-cross/ |
| H A D | spirv_glsl.hpp | 223 // Returns the current string held in the conversion buffer. Useful for 442 StringStream<> buffer; member in SPIRV_CROSS_NAMESPACE::CompilerGLSL 447 buffer << std::forward<T>(t); in statement_inner() 454 buffer << std::forward<T>(t); in statement_inner() 478 buffer << " "; in statement() 480 buffer << '\n'; in statement()
|
| /third_party/skia/third_party/externals/icu/source/io/ |
| H A D | uprntf_p.cpp | 114 /* buffer size for formatting */ 206 UChar buffer[UFMT_DEFAULT_BUFFER_SIZE]; in u_printf_string_handler() local 214 if (argSize >= MAX_UCHAR_BUFFER_SIZE(buffer)) { in u_printf_string_handler() 223 s = ufmt_defaultCPToUnicode(arg, argSize, buffer, in u_printf_string_handler() 224 UPRV_LENGTHOF(buffer)); in u_printf_string_handler() 241 if (gNullStr != s && buffer != s) { in u_printf_string_handler() 766 /* allocate enough space for the buffer */ in u_printf_ustring_handler()
|
| /third_party/skia/third_party/externals/freetype/src/sfnt/ |
| H A D | ttcolr.c | 1131 if ( !dstSlot->bitmap.buffer ) in FT_LOCAL_DEF() 1150 FT_MEM_ZERO( dstSlot->bitmap.buffer, size ); in FT_LOCAL_DEF() 1186 p = dstSlot->bitmap.buffer; in FT_LOCAL_DEF() 1253 src = srcSlot->bitmap.buffer; in FT_LOCAL_DEF() 1254 dst = dstSlot->bitmap.buffer + in FT_LOCAL_DEF()
|
| /third_party/skia/third_party/externals/dng_sdk/source/ |
| H A D | dng_info.cpp | 1432 char buffer [64]; in ParseDNGPrivateData() local 1437 sizeof (buffer) - 1); in ParseDNGPrivateData() 1439 stream.Get (buffer, readLength); in ParseDNGPrivateData() 1441 buffer [readLength] = 0; in ParseDNGPrivateData() 1443 privateName.Set (buffer); in ParseDNGPrivateData()
|
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/ |
| H A D | vktRobustness1VertexAccessTests.cpp | 309 "Last elements 4 out of bounds, color with stride 30, data middle of buffer", // string description 368 "Last elements 4 out of bounds, color with stride 8, data middle of buffer", // string description 432 // Generate triangles with invalid vertices placed at end of buffer. NOTE: Assumes invalidIndices to be in ascending order! 669 auto buffer = createBuffer(vk, device, &createInfo); 670 auto bufferAlloc = allocator.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequirement::HostVisible); 671 VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); 674 inputVertexBufferPtrs.push_back(*buffer); 676 vertexBuffers.emplace_back(buffer);
|
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
| H A D | vktSpvAsmPhysicalStorageBufferPointerTests.cpp | 212 **m_buffer // VkBuffer buffer; in getDeviceAddress() 509 TCU_THROW(NotSupportedError, "Request physical storage buffer feature not supported"); in checkSupport() 732 ut::TypedBuffer<tcu::Vec4> buffer(m_context, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT, (m_params->elements * m_params->elements), true); in prepareColorBuffer() 733 for (auto j = buffer.begin(), begin = j; j != buffer.end(); ++j) in prepareColorBuffer() 738 if (flushAfter) buffer.flush(); in prepareColorBuffer() 739 return buffer; in prepareColorBuffer()
|
| /foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
| H A D | gltf2_loader.cpp | 377 SetError(loadResult, "Failed to read buffer.byteLength"); 382 SetError(loadResult, "buffer.byteLength was smaller than 1 byte"); 391 auto buffer = make_unique<Buffer>(); 394 buffer->uri = move(uri); 395 buffer->byteLength = size_t(length); 398 loadResult.data->buffers.push_back(move(buffer)); 406 if (!SafeGetJsonValue(jsonData, "buffer", loadResult.error, index)) { 407 SetError(loadResult, "Failed to read bufferView.buffer"); 410 SetError(loadResult, "bufferView.buffer isn't valid index"); 431 LoadResult& loadResult, const json::value& jsonData, std::optional<Buffer*> buffer, st [all...] |