| /third_party/mesa3d/src/gallium/drivers/tegra/ |
| H A D | tegra_context.c | 68 if (pinfo && ((pindirect && pindirect->buffer) || pinfo->index_size)) { in tegra_draw_vbo() 71 if (pindirect && pindirect->buffer) { in tegra_draw_vbo() 73 indirect.buffer = tegra_resource_unwrap(pindirect->buffer); in tegra_draw_vbo() 483 struct pipe_constant_buffer buffer; in tegra_set_constant_buffer() local 485 if (buf && buf->buffer) { in tegra_set_constant_buffer() 486 memcpy(&buffer, buf, sizeof(buffer)); in tegra_set_constant_buffer() 487 buffer.buffer in tegra_set_constant_buffer() [all...] |
| /third_party/node/deps/v8/tools/profview/ |
| H A D | profview.js | 798 ctx.drawImage(this.buffer, 0, this.imageOffset); 810 let width = this.buffer.width; 831 ctx.drawImage(this.buffer, 0, this.imageOffset); 840 let height = this.buffer.height - this.functionTimelineHeight; 842 ctx.fillRect(right, this.imageOffset, this.buffer.width - right, height); 845 right = this.buffer.width; 952 let buffer = document.createElement("canvas"); 954 buffer.width = width; 955 buffer.height = height; 983 // Draw the category graph into the buffer [all...] |
| /third_party/node/deps/icu-small/source/common/ |
| H A D | unistr.cpp | 426 // Useful for discussion of a desirable stack buffer size. in ~UnicodeString() 428 // Ignore open-buffer strings and strings which alias external storage. in ~UnicodeString() 514 // empty string - use the stack buffer in copyFrom() 523 // short string using the stack buffer, do the same in copyFrom() 528 // src uses a refCounted string buffer, use that buffer with refCount in copyFrom() 531 // copy all fields, share the reference-counted buffer in copyFrom() 550 // -> allocate a new buffer and copy the contents in copyFrom() 587 // Short string using the stack buffer, copy the contents. 589 // although it should be harmless to copy a buffer t 1338 setTo(char16_t *buffer, int32_t buffLength, int32_t buffCapacity) setTo() argument 1418 char16_t buffer[U16_MAX_LENGTH]; replace() local 1430 char16_t buffer[U16_MAX_LENGTH]; append() local 1952 char16_t buffer[U16_MAX_LENGTH]; appendCodePoint() local [all...] |
| /third_party/mesa3d/src/mesa/vbo/ |
| H A D | vbo_save_api.c | 79 * - an index buffer is built. 81 * At the end of this transformation, the index buffer and the vertex buffer 82 * are uploaded in vRAM in the same buffer object. 83 * This buffer object is shared between multiple display list to allow 86 * The layout of this buffer for two display lists is: 93 * the same Offset in the buffer object. To achieve this, the start values of 98 * can't be drawn with an index buffer so this transformation is disabled 161 assert(save->copied.buffer == NULL); in copy_vertices() 162 save->copied.buffer in copy_vertices() 550 const char *buffer = (const char *)save->vertex_store->buffer_in_ram; compile_vertex_list() local [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
| H A D | vktSynchronizationCrossInstanceSharingTests.cpp | 237 log << TestLog::Message << "External buffer properties: " << info << "\n" << properties << TestLog::EndMessage; in NotSupportedChecker() 616 vk::VkBuffer buffer, in getMemoryRequirements() 628 buffer in getMemoryRequirements() 652 vkd.getBufferMemoryRequirements(device, buffer, &memoryRequirements); in getMemoryRequirements() 727 vk::VkBuffer buffer, in importAndBindMemory() 733 const vk::VkMemoryRequirements requirements = vk::getBufferMemoryRequirements(vkd, device, buffer); in importAndBindMemory() 735 ? importDedicatedMemory(vkd, device, buffer, requirements, externalType, exportedMemoryTypeIndex, nativeHandle) in importAndBindMemory() 738 VK_CHECK(vkd.bindBufferMemory(device, buffer, *memory, 0u)); in importAndBindMemory() 850 vk::Move<vk::VkBuffer> buffer = vk::createBuffer(vkd, device, &createInfo); in importResource() local 851 de::MovePtr<vk::Allocation> allocation = importAndBindMemory(vkd, device, *buffer, nativeHandl in importResource() 614 getMemoryRequirements(const vk::DeviceInterface& vkd, vk::VkDevice device, vk::VkBuffer buffer, bool dedicated, bool getMemReq2Supported) getMemoryRequirements() argument 725 importAndBindMemory(const vk::DeviceInterface& vkd, vk::VkDevice device, vk::VkBuffer buffer, NativeHandle& nativeHandle, vk::VkExternalMemoryHandleTypeFlagBits externalType, deUint32 exportedMemoryTypeIndex, bool dedicated) importAndBindMemory() argument 1101 vk::Move<vk::VkBuffer> buffer = createBuffer(m_vkdA, *m_deviceA, size, usage, m_memoryHandleType, m_queueFamilyIndicesA); iterate() local [all...] |
| H A D | vktSynchronizationSignalOrderTests.cpp | 270 VkBuffer buffer) in getMemoryRequirements() 276 buffer in getMemoryRequirements() 311 VkBuffer buffer, in importAndBindMemory() 316 const VkMemoryRequirements requirements = getBufferMemoryRequirements(vkd, device, buffer); in importAndBindMemory() 319 if (!!buffer) in importAndBindMemory() 320 memory = importDedicatedMemory(vkd, device, buffer, requirements, externalType, exportedMemoryTypeIndex, nativeHandle); in importAndBindMemory() 324 VK_CHECK(vkd.bindBufferMemory(device, buffer, *memory, 0u)); in importAndBindMemory() 460 Move<VkBuffer> buffer = createBuffer(vkd, device, &createInfo); in importResource() local 463 *buffer, in importResource() 468 return MovePtr<Resource>(new Resource(resourceDesc.type, buffer, allocatio in importResource() 268 getMemoryRequirements(const DeviceInterface& vkd, VkDevice device, VkBuffer buffer) getMemoryRequirements() argument 309 importAndBindMemory(const DeviceInterface& vkd, VkDevice device, VkBuffer buffer, NativeHandle& nativeHandle, VkExternalMemoryHandleTypeFlagBits externalType, const deUint32 exportedMemoryTypeIndex) importAndBindMemory() argument 703 Move<VkBuffer> buffer = createBuffer(vkA, deviceA, size, universalQueueFamilyIndex); iterate() local [all...] |
| /third_party/skia/third_party/externals/icu/source/common/ |
| H A D | unistr.cpp | 425 // Useful for discussion of a desirable stack buffer size. in ~UnicodeString() 427 // Ignore open-buffer strings and strings which alias external storage. in ~UnicodeString() 513 // empty string - use the stack buffer in copyFrom() 522 // short string using the stack buffer, do the same in copyFrom() 527 // src uses a refCounted string buffer, use that buffer with refCount in copyFrom() 530 // copy all fields, share the reference-counted buffer in copyFrom() 549 // -> allocate a new buffer and copy the contents in copyFrom() 586 // Short string using the stack buffer, copy the contents. 588 // although it should be harmless to copy a buffer t 1295 setTo(UChar *buffer, int32_t buffLength, int32_t buffCapacity) setTo() argument 1375 UChar buffer[U16_MAX_LENGTH]; replace() local 1387 UChar buffer[U16_MAX_LENGTH]; append() local 1909 UChar buffer[U16_MAX_LENGTH]; appendCodePoint() local [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
| H A D | vktSynchronizationCrossInstanceSharingTests.cpp | 240 log << TestLog::Message << "External buffer properties: " << info << "\n" << properties << TestLog::EndMessage; in NotSupportedChecker() 619 vk::VkBuffer buffer, in getMemoryRequirements() 631 buffer in getMemoryRequirements() 655 vkd.getBufferMemoryRequirements(device, buffer, &memoryRequirements); in getMemoryRequirements() 730 vk::VkBuffer buffer, in importAndBindMemory() 736 const vk::VkMemoryRequirements requirements = vk::getBufferMemoryRequirements(vkd, device, buffer); in importAndBindMemory() 738 ? importDedicatedMemory(vkd, device, buffer, requirements, externalType, exportedMemoryTypeIndex, nativeHandle) in importAndBindMemory() 741 VK_CHECK(vkd.bindBufferMemory(device, buffer, *memory, 0u)); in importAndBindMemory() 853 vk::Move<vk::VkBuffer> buffer = vk::createBuffer(vkd, device, &createInfo); in importResource() local 854 de::MovePtr<vk::Allocation> allocation = importAndBindMemory(vkd, device, *buffer, nativeHandl in importResource() 617 getMemoryRequirements(const vk::DeviceInterface& vkd, vk::VkDevice device, vk::VkBuffer buffer, bool dedicated, bool getMemReq2Supported) getMemoryRequirements() argument 728 importAndBindMemory(const vk::DeviceInterface& vkd, vk::VkDevice device, vk::VkBuffer buffer, NativeHandle& nativeHandle, vk::VkExternalMemoryHandleTypeFlagBits externalType, deUint32 exportedMemoryTypeIndex, bool dedicated) importAndBindMemory() argument 1104 vk::Move<vk::VkBuffer> buffer = createBuffer(m_vkdA, *m_deviceA, size, usage, m_memoryHandleType, m_queueFamilyIndicesA); iterate() local [all...] |
| H A D | vktSynchronizationSignalOrderTests.cpp | 252 VkBuffer buffer) in getMemoryRequirements() 258 buffer in getMemoryRequirements() 293 VkBuffer buffer, in importAndBindMemory() 298 const VkMemoryRequirements requirements = getBufferMemoryRequirements(vkd, device, buffer); in importAndBindMemory() 301 if (!!buffer) in importAndBindMemory() 302 memory = importDedicatedMemory(vkd, device, buffer, requirements, externalType, exportedMemoryTypeIndex, nativeHandle); in importAndBindMemory() 306 VK_CHECK(vkd.bindBufferMemory(device, buffer, *memory, 0u)); in importAndBindMemory() 442 Move<VkBuffer> buffer = createBuffer(vkd, device, &createInfo); in importResource() local 445 *buffer, in importResource() 450 return MovePtr<Resource>(new Resource(resourceDesc.type, buffer, allocatio in importResource() 250 getMemoryRequirements(const DeviceInterface& vkd, VkDevice device, VkBuffer buffer) getMemoryRequirements() argument 291 importAndBindMemory(const DeviceInterface& vkd, VkDevice device, VkBuffer buffer, NativeHandle& nativeHandle, VkExternalMemoryHandleTypeFlagBits externalType, const deUint32 exportedMemoryTypeIndex) importAndBindMemory() argument 681 Move<VkBuffer> buffer = createBuffer(vkA, deviceA, size, universalQueueFamilyIndex); iterate() local [all...] |
| /kernel/linux/linux-6.6/drivers/scsi/ |
| H A D | ipr.c | 1206 * @buffer: buffer 1207 * @len: length of buffer provided 1210 * pointer to buffer 1212 static char *__ipr_format_res_path(u8 *res_path, char *buffer, int len) in __ipr_format_res_path() argument 1215 char *p = buffer; in __ipr_format_res_path() 1218 p += scnprintf(p, buffer + len - p, "%02X", res_path[0]); in __ipr_format_res_path() 1220 p += scnprintf(p, buffer + len - p, "-%02X", res_path[i]); in __ipr_format_res_path() 1222 return buffer; in __ipr_format_res_path() 1229 * @buffer 1235 ipr_format_res_path(struct ipr_ioa_cfg *ioa_cfg, u8 *res_path, char *buffer, int len) ipr_format_res_path() argument 1257 char buffer[IPR_MAX_RES_PATH_LENGTH]; ipr_update_res_entry() local 1486 char buffer[IPR_VENDOR_ID_LEN + IPR_PROD_ID_LEN ipr_log_vpd() local 1653 char buffer[IPR_MAX_RES_PATH_LENGTH]; ipr_log_sis64_config_error() local 2002 char buffer[IPR_MAX_RES_PATH_LENGTH]; ipr_log64_fabric_path() local 2149 char buffer[IPR_MAX_RES_PATH_LENGTH]; ipr_log64_path_elem() local 2231 char buffer[IPR_MAX_RES_PATH_LENGTH]; ipr_log_sis64_array_error() local 2360 char buffer[IPR_MAX_RES_PATH_LENGTH]; ipr_log_sis64_device_error() local 3822 ipr_copy_ucode_buffer(struct ipr_sglist *sglist, u8 *buffer, u32 len) ipr_copy_ucode_buffer() argument 4464 char buffer[IPR_MAX_RES_PATH_LENGTH]; ipr_show_resource_path() local 4784 char buffer[IPR_MAX_RES_PATH_LENGTH]; ipr_slave_configure() local 6377 static char buffer[512]; ipr_ioa_info() local [all...] |
| /kernel/linux/linux-5.10/arch/x86/include/asm/ |
| H A D | cmdline.h | 7 char *buffer, int bufsize);
|
| /kernel/linux/linux-6.6/arch/x86/include/asm/ |
| H A D | cmdline.h | 7 char *buffer, int bufsize);
|
| /third_party/curl/src/ |
| H A D | tool_getpass.h | 35 char *getpass_r(const char *prompt, char *buffer, size_t buflen);
|
| /third_party/node/deps/v8/src/codegen/s390/ |
| H A D | cpu-s390.cc | 13 void CpuFeatures::FlushICache(void* buffer, size_t size) { in FlushICache() argument
|
| /third_party/skia/third_party/externals/harfbuzz/src/ |
| H A D | hb-ot-shape-complex-vowel-constraints.hh | 36 hb_buffer_t *buffer,
|
| /third_party/skia/third_party/externals/dng_sdk/source/ |
| H A D | dng_jpeg_memory_source.h | 14 // buffer with length 'size'. 15 jpeg_source_mgr CreateJpegMemorySource(const uint8 *buffer, size_t size);
|
| /third_party/selinux/libsepol/cil/src/ |
| H A D | cil_parser.h | 35 int cil_parser(const char *path, char *buffer, uint32_t size, struct cil_tree **parse_tree);
|
| /third_party/selinux/libsepol/cil/test/unit/ |
| H A D | CilTest.h | 37 char *buffer; member
|
| /kernel/linux/linux-5.10/drivers/pci/controller/ |
| H A D | pci-hyperv.c | 658 * @val: Pointer to the buffer receiving the data 1109 u8 buffer[sizeof(struct pci_delete_interrupt)]; in hv_int_desc_free() member 1538 * Make sure that the ring buffer data structure doesn't get in hv_compose_msi_msg() 1539 * freed while we dereference the ring buffer pointer. Test in hv_compose_msi_msg() 2001 u8 buffer[sizeof(struct pci_child_message)]; in new_pcichild_device() member 2365 u8 buffer[sizeof(struct pci_eject_response)]; in hv_eject_device_work() member 2450 unsigned char *buffer; in hv_pci_onchannelcallback() local 2461 buffer = kmalloc(bufferlen, GFP_ATOMIC); in hv_pci_onchannelcallback() 2462 if (!buffer) in hv_pci_onchannelcallback() 2466 ret = vmbus_recvpacket_raw(hbus->hdev->channel, buffer, in hv_pci_onchannelcallback() 3323 u8 buffer[sizeof(struct pci_message)]; hv_pci_bus_exit() member [all...] |
| /third_party/icu/icu4c/source/test/cintltst/ |
| H A D | custrtrn.c | 1345 wchar_t buffer[10]; in Test_UChar_WCHART_API() local 1348 buffer[3]=0x20ac; in Test_UChar_WCHART_API() 1349 wDestLen=u_terminateWChars(buffer, UPRV_LENGTHOF(buffer), 3, &err); in Test_UChar_WCHART_API() 1350 if(err!=U_ZERO_ERROR || wDestLen!=3 || buffer[3]!=0) { in Test_UChar_WCHART_API() 1351 log_err("u_terminateWChars(buffer, all, 3, zero) failed: %s length %d [3]==U+%04x\n", in Test_UChar_WCHART_API() 1352 u_errorName(err), wDestLen, buffer[3]); in Test_UChar_WCHART_API() 1356 buffer[3]=0x20ac; in Test_UChar_WCHART_API() 1357 wDestLen=u_terminateWChars(buffer, 3, 3, &err); in Test_UChar_WCHART_API() 1358 if(err!=U_STRING_NOT_TERMINATED_WARNING || wDestLen!=3 || buffer[ in Test_UChar_WCHART_API() [all...] |
| /third_party/mesa3d/src/egl/drivers/dri2/ |
| H A D | platform_wayland.c | 245 wl_buffer_release(void *data, struct wl_buffer *buffer) in wl_buffer_release() argument 251 if (dri2_surf->color_buffers[i].wl_buffer == buffer) in wl_buffer_release() 257 wl_buffer_destroy(buffer); in wl_buffer_release() 565 * of format and modifier. We can't change the buffer format, but we can in surface_dmabuf_feedback_done() 567 * buffer reallocation based on the dma-buf feedback sent. */ in surface_dmabuf_feedback_done() 1029 /* There might be a buffer release already queued that wasn't processed */ in get_back_bo() 1034 /* Get an unlocked buffer, preferably one with a dri_buffer in get_back_bo() 1047 /* If we don't have a buffer, then block on the server to release one for in get_back_bo() 1049 * events, however not all servers flush on issuing a buffer release in get_back_bo() 1094 back_bo_to_dri_buffer(struct dri2_egl_surface *dri2_surf, __DRIbuffer *buffer) in back_bo_to_dri_buffer() argument 1228 __DRIbuffer *buffer; dri2_wl_get_buffers() local 1637 struct wl_buffer *buffer; dri2_wl_create_wayland_buffer_from_image() local 2278 dri2_wl_swrast_allocate_buffer(struct dri2_egl_surface *dri2_surf, int format, int w, int h, void **data, int *size, struct wl_buffer **buffer) dri2_wl_swrast_allocate_buffer() argument [all...] |
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
| H A D | vk_helpers.h | 52 // A dynamic buffer is conceptually an infinitely long buffer. Each time you write to the buffer, 54 // the buffer data to the device. Buffer lifetime currently assumes that each new allocation will 68 // Used where future allocations from the dynamic buffer are unlikely, so it's best to free the 86 // Init is called after the buffer creation so that the alignment can be specified later. 94 // Init that gives the ability to pass in specified memory property flags for the buffer. 102 // This call will allocate a new region at the end of the current buffer. If it can't find 103 // enough space in the current buffer, it returns false. This gives caller a chance to deal with 104 // buffer switc 2121 BufferUpdate buffer; global() member 2745 BufferHelper *buffer; global() member 2769 onBufferTransferRead(BufferHelper *buffer) onBufferTransferRead() argument 2773 onBufferTransferWrite(BufferHelper *buffer) onBufferTransferWrite() argument 2777 onBufferSelfCopy(BufferHelper *buffer) onBufferSelfCopy() argument 2782 onBufferComputeShaderRead(BufferHelper *buffer) onBufferComputeShaderRead() argument 2786 onBufferComputeShaderWrite(BufferHelper *buffer) onBufferComputeShaderWrite() argument [all...] |
| /third_party/backends/backend/ |
| H A D | lexmark_low.c | 76 unsigned char *buffer); 111 static size_t read_buffer_get_bytes (Read_Buffer * rb, SANE_Byte * buffer, 842 /* free the read buffer */ in sanei_lexmark_low_destroy() 1031 * do a simple scan with the given registers. data buffer is allocated within 1304 low_is_home_line (Lexmark_Device * dev, unsigned char *buffer) in low_is_home_line() argument 1307 This function assumes the buffer has a size of 2500 bytes.It is in low_is_home_line() 1308 destructive to the buffer. in low_is_home_line() 1312 Go through the buffer finding low and high values, which are computed by in low_is_home_line() 1316 to 0x00 (black),so that the buffer only contains white (0xFF) or black in low_is_home_line() 1319 Next, we go through the buffer in low_is_home_line() 1655 SANE_Byte *buffer; sanei_lexmark_low_search_home_fwd() local 1977 SANE_Byte *buffer; sanei_lexmark_low_search_home_bwd() local 2512 SANE_Byte *buffer; sanei_lexmark_low_find_start_line() local 5412 read_buffer_get_bytes(Read_Buffer * rb, SANE_Byte * buffer, size_t rqst_size) read_buffer_get_bytes() argument [all...] |
| /third_party/vk-gl-cts/external/openglcts/modules/gl/ |
| H A D | gl4cShadingLanguage420PackTests.cpp | 85 GLchar buffer[64]; in checkUniformArrayBinding() local 86 sprintf(buffer, "%s[%d]", name, index); in checkUniformArrayBinding() 88 const GLint uniform_location = program.getUniformLocation(buffer); in checkUniformArrayBinding() 533 result = "buffer"; in getTextureTypeName() 1905 void GLSLTestBase::prepareVertexBuffer(const Utils::program&, Utils::buffer&, Utils::vertexArray& vao) in prepareVertexBuffer() 2145 Utils::buffer vertex_buffer(m_context); in testDrawArray() 2205 /* Test specific preparation of vertex buffer and vao*/ in testDrawArray() 2362 /** Prepare buffer, filled with given color 2364 * @param buffer Buffer object 2367 void BindingImageTest::prepareBuffer(Utils::buffer argument 2389 prepareTexture(Utils::texture& texture, const Utils::buffer& buffer, Utils::TEXTURE_TYPES texture_type, GLuint color, GLuint unit) prepareTexture() argument 2978 prepareVertexBuffer(const Utils::program& program, Utils::buffer& buffer, Utils::vertexArray& vao) prepareVertexBuffer() argument 6001 prepareVertexBuffer(const Utils::program& program, Utils::buffer& buffer, Utils::vertexArray& vao) prepareVertexBuffer() argument 6402 prepareVertexBuffer(const Utils::program& program, Utils::buffer& buffer, Utils::vertexArray& vao) prepareVertexBuffer() argument 7924 prepareVertexBuffer(const Utils::program& program, Utils::buffer& buffer, Utils::vertexArray& vao) prepareVertexBuffer() argument 8837 GLchar buffer[64]; checkBinding() local 15421 prepareVertexBuffer(const Utils::program& program, Utils::buffer& buffer, Utils::vertexArray& vao) prepareVertexBuffer() argument 17652 Utils::buffer::buffer(deqp::Context& context) : m_id(0), m_context(context), m_target(0) buffer() function in gl4cts::GLSL420Pack::Utils::buffer [all...] |
| /third_party/protobuf/conformance/third_party/jsoncpp/ |
| H A D | jsoncpp.cpp | 136 /// Constant that specify the size of the buffer that must be passed to 141 // Defines a char buffer for use with uintToString(). 146 * @param current Input/Output string buffer. 157 /** Change ',' to '.' everywhere in buffer. 804 std::string buffer(token.start_, token.end_); 805 std::istringstream is(buffer); 999 char buffer[18 + 16 + 16 + 1]; 1000 snprintf(buffer, sizeof(buffer), "Line %d, Column %d", line, column); 1001 return buffer; 4070 UIntToStringBuffer buffer; valueToString() local 4086 UIntToStringBuffer buffer; valueToString() local 4108 char buffer[32]; valueToString() local [all...] |