Home
last modified time | relevance | path

Searched refs:buffer (Results 4826 - 4850 of 7438) sorted by relevance

1...<<191192193194195196197198199200>>...298

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DError.h822 return reinterpret_cast<storage_type *>(TStorage.buffer); in getStorage()
827 return reinterpret_cast<const storage_type *>(TStorage.buffer); in getStorage()
832 return reinterpret_cast<error_type *>(ErrorStorage.buffer); in getErrorStorage()
/third_party/skia/third_party/externals/icu/source/common/
H A Duprops.cpp273 // needs to release dest's buffer before we look at its contents. in changesWhenNFKC_Casefolded()
274 ReorderingBuffer buffer(*kcf, dest); in changesWhenNFKC_Casefolded()
276 if(buffer.init(5, errorCode)) { in changesWhenNFKC_Casefolded()
279 TRUE, buffer, errorCode); in changesWhenNFKC_Casefolded()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
H A DDIE.h385 new (reinterpret_cast<void *>(Val.buffer)) T(V); in construct()
388 template <class T> T *get() { return reinterpret_cast<T *>(Val.buffer); } in get()
390 return reinterpret_cast<const T *>(Val.buffer); in get()
/third_party/python/Lib/
H A Dcgi.py135 fp : file pointer; default: sys.stdin.buffer
165 fp = fp.buffer
338 fp : file pointer; default: sys.stdin.buffer
414 self.fp = sys.stdin.buffer
417 self.fp = fp.buffer
/third_party/python/Modules/_io/
H A Dwinconsoleio.c241 Open a console buffer by file descriptor.
382 "Cannot open console input buffer for writing"); in _io__WindowsConsoleIO___init___impl()
387 "Cannot open console output buffer for reading"); in _io__WindowsConsoleIO___init___impl()
452 "Console buffer does not support %s", action); in err_mode()
475 True if console is an input buffer.
490 True if console is an output buffer.
571 /* If we didn't read a full buffer that time, don't try in read_console_w()
575 /* If the buffer ended with a newline, break out */ in read_console_w()
578 /* If the buffer ends with a high surrogate, expand the in read_console_w()
579 buffer an in read_console_w()
734 _io__WindowsConsoleIO_readinto_impl(winconsoleio *self, Py_buffer *buffer) _io__WindowsConsoleIO_readinto_impl() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineImage2DViewOf3DTests.cpp92 VkBuffer buffer, in copyImageLayerToBuffer()
135 vk.cmdCopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, 1u, &region); in copyImageLayerToBuffer()
145 buffer, // VkBuffer buffer in copyImageLayerToBuffer()
223 // Copy the result image to a buffer. in runComputePipeline()
304 // Create vertex buffer and fill it with full screen quad. in runGraphicsPipeline()
331 // Copy the result image to a buffer. in runGraphicsPipeline()
366 // Create a buffer to upload the image. in iterate()
370 // Upload target mip level to the input buffer. in iterate()
500 // Prepare the command buffer in iterate()
89 copyImageLayerToBuffer(const DeviceInterface& vk, VkCommandBuffer cmdBuffer, VkImage image, VkBuffer buffer, tcu::IVec2 size, VkAccessFlags srcAccessMask, VkImageLayout oldLayout, deUint32 layerToCopy, uint32_t mipLevel) copyImageLayerToBuffer() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A DvktRayTracingDirectionTests.cpp331 const std::string bufferDecl = "layout(set=0, binding=1, std430) buffer OutBuffer { float val; } outBuffer;\n"; in initPrograms()
422 // Command pool and buffer. in iterate()
451 // Create output buffer. in iterate()
454 BufferWithMemory buffer (vkd, device, alloc, bufferCreateInfo, MemoryRequirement::HostVisible); in iterate()
455 auto& bufferAlloc = buffer.getAllocation(); in iterate()
457 // Fill output buffer with an initial value. in iterate()
503 const auto bufferDescInfo = makeDescriptorBufferInfo(buffer.get(), 0ull, VK_WHOLE_SIZE); in iterate()
592 // Barrier for the output buffer. in iterate()
599 // Read value back from the buffer. in iterate()
742 // Sometimes, update matrix after building the lop level AS and before submitting the command buffer in createDirectionLengthTests()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
H A DvktRenderPassSampleReadTests.cpp68 VkBuffer buffer) in createBufferMemory()
70 de::MovePtr<Allocation> allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, buffer), MemoryRequirement::HostVisible)); in createBufferMemory()
71 VK_CHECK(vk.bindBufferMemory(device, buffer, allocation->getMemory(), allocation->getOffset())); in createBufferMemory()
65 createBufferMemory(const DeviceInterface& vk, VkDevice device, Allocator& allocator, VkBuffer buffer) createBufferMemory() argument
H A DvktRenderPassSparseRenderTargetTests.cpp70 VkBuffer buffer) in createBufferMemory()
72 de::MovePtr<Allocation> allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, buffer), MemoryRequirement::HostVisible)); in createBufferMemory()
73 VK_CHECK(vk.bindBufferMemory(device, buffer, allocation->getMemory(), allocation->getOffset())); in createBufferMemory()
584 // record secondary command buffer in iterateInternalDynamicRendering()
601 // record primary command buffer in iterateInternalDynamicRendering()
67 createBufferMemory(const DeviceInterface& vk, VkDevice device, Allocator& allocator, VkBuffer buffer) createBufferMemory() argument
/third_party/vk-gl-cts/modules/egl/
H A DteglBufferAgeTests.cpp200 bool compareToReference (tcu::TestLog& log, const tcu::Surface& reference, const tcu::Surface& buffer, int frameNdx, int bufferNum);
220 // generate sources for vertex and fragment buffer
474 // return indices of frames that have been written to the given buffer
528 if (currentBufferAge > frameNdx || currentBufferAge < 0) // invalid buffer age in iterate()
539 stream << "Fail, EGL_BUFFER_PRESERVED is set to true, but buffer age is: " << currentBufferAge << " (should be 1)"; in iterate()
577 if (currentBufferAge > 0) //buffer contain previous content, need to verify in iterate()
588 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Fail, buffer content is not well preserved when age > 0"); in iterate()
592 else // currentBufferAge == 0, content is undefined, clear the buffer, currentBufferAge < 0 is ruled out at the beginning in iterate()
719 bool compareToReference (tcu::TestLog& log, const tcu::Surface& reference, const tcu::Surface& buffer, int frameNdx, int bufferNum) in compareToReference() argument
722 stream << "FrameNdx = " << frameNdx << ", compare current buffer (numbere in compareToReference()
[all...]
H A DteglPartialUpdateTests.cpp188 bool compareToReference (tcu::TestLog& log, const tcu::Surface& reference, const tcu::Surface& buffer, int frameNdx, int bufferNum);
208 // generate sources for vertex and fragment buffer
458 // return indices of frames that have been written to the given buffer
526 if (currentBufferAge > frameNdx || currentBufferAge < 0) // invalid buffer age in iterate()
553 // if the buffer age extension is not supported. in iterate()
595 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Fail, claim to support partial_update but buffer age is always 0"); in iterate()
664 bool compareToReference (tcu::TestLog& log, const tcu::Surface& reference, const tcu::Surface& buffer, int frameNdx, int bufferNum) in compareToReference() argument
667 stream << "FrameNdx = " << frameNdx << ", compare current buffer (numbered: " << bufferNum << ") to reference"; in compareToReference()
668 return tcu::intThresholdPositionDeviationCompare(log, "partial update test", stream.str().c_str(), reference.getAccess(), buffer.getAccess(), in compareToReference()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A Dangletypes.cpp859 "Output/input masks should fit into 16 bits - 1 bit per draw buffer. The "
860 "corresponding type masks should fit into 32 bits - 2 bits per draw buffer.");
865 // For performance reasons, draw buffer and attribute type validation is done using bit masks.
883 Buffer *buffer = binding.get();
884 if (buffer == nullptr)
889 const GLsizeiptr bufferSize = static_cast<GLsizeiptr>(buffer->getSize());
H A DvalidationES.cpp590 // Uniform buffer validation in ValidateProgramDrawStates()
1184 // ...the data would be unpacked from the buffer object such that the memory reads required in ValidImageDataSize()
1208 // Overflow past the end of the buffer in ValidImageDataSize()
1497 // color buffer, leaving only nearest being unfiltered from above in ValidateBlitFramebufferParameters()
1581 // 1) If the read buffer is fixed point format, the draw buffer must be as well in ValidateBlitFramebufferParameters()
1582 // 2) If the read buffer is an unsigned integer format, the draw buffer must be in ValidateBlitFramebufferParameters()
1584 // 3) If the read buffer is a signed integer format, the draw buffer mus in ValidateBlitFramebufferParameters()
3123 Renderbuffer *buffer = context->getRenderbuffer(PackParam<RenderbufferID>(name)); ValidateCopyImageSubDataTargetRegion() local
3203 Renderbuffer *buffer = context->getRenderbuffer(PackParam<RenderbufferID>(name)); GetTargetFormatInfo() local
5051 Buffer *buffer = context->getState().getTargetBuffer(target); ValidateUnmapBufferBase() local
5087 Buffer *buffer = context->getState().getTargetBuffer(target); ValidateMapBufferRangeBase() local
5201 Buffer *buffer = context->getState().getTargetBuffer(target); ValidateFlushMappedBufferRangeBase() local
6439 const Buffer *buffer = context->getState().getTargetBuffer(target); ValidateGetBufferParameterBase() local
8316 const OffsetBindingPointer<Buffer> &buffer = ValidateProgramExecutableXFBBuffersPresent() local
[all...]
/third_party/node/deps/v8/src/compiler/
H A Dbytecode-graph-builder.cc121 Node* buffer[] = {n0, nodes...}; in NewNode() local
122 return MakeNode(op, arraysize(buffer), buffer); in NewNode()
363 // Growth increment for the temporary buffer used to construct input lists to
4261 Node** buffer = EnsureInputBufferSize(input_count_with_deps); in MakeNode() local
4263 memcpy(buffer, value_inputs, kSystemPointerSize * value_input_count); in MakeNode()
4265 Node** current_input = buffer + value_input_count; in MakeNode()
4283 result = graph()->NewNode(op, input_count_with_deps, buffer, incomplete); in MakeNode()
4327 Node** buffer = EnsureInputBufferSize(count + 1); in NewPhi() local
4328 MemsetPointer(buffer, inpu in NewPhi()
4336 Node** buffer = EnsureInputBufferSize(count + 1); NewEffectPhi() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiCommandBuffersTests.cpp303 Move<VkBuffer> buffer; in readColorAttachment() local
309 // Create destination buffer in readColorAttachment()
323 buffer = createBuffer(m_vkd, m_device, &bufferParams); in readColorAttachment()
324 bufferAlloc = m_allocator.allocate(getBufferMemoryRequirements(m_vkd, m_device, *buffer), MemoryRequirement::HostVisible); in readColorAttachment()
325 VK_CHECK(m_vkd.bindBufferMemory(m_device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in readColorAttachment()
328 // Copy image to buffer in readColorAttachment()
330 copyImageToBuffer(m_vkd, m_primaryCommandBuffers[0].get(), *m_colorImage, *buffer, tcu::IVec2(DEFAULT_IMAGE_SIZE.width, DEFAULT_IMAGE_SIZE.height)); in readColorAttachment()
335 // Read buffer data in readColorAttachment()
479 // check if buffer has been executed in executeCommandBuffer()
557 // Command buffer in allocatePrimaryBufferTest()
4336 copyAndFlush(const DeviceInterface& vkd, VkDevice device, BufferWithMemory& buffer, const std::vector<ManyDrawsVertex>& vertices) copyAndFlush() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiCommandBuffersTests.cpp303 Move<VkBuffer> buffer; in readColorAttachment() local
309 // Create destination buffer in readColorAttachment()
323 buffer = createBuffer(m_vkd, m_device, &bufferParams); in readColorAttachment()
324 bufferAlloc = m_allocator.allocate(getBufferMemoryRequirements(m_vkd, m_device, *buffer), MemoryRequirement::HostVisible); in readColorAttachment()
325 VK_CHECK(m_vkd.bindBufferMemory(m_device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); in readColorAttachment()
328 // Copy image to buffer in readColorAttachment()
330 copyImageToBuffer(m_vkd, m_primaryCommandBuffers[0].get(), *m_colorImage, *buffer, tcu::IVec2(DEFAULT_IMAGE_SIZE.width, DEFAULT_IMAGE_SIZE.height)); in readColorAttachment()
335 // Read buffer data in readColorAttachment()
479 // check if buffer has been executed in executeCommandBuffer()
557 // Command buffer in allocatePrimaryBufferTest()
4336 copyAndFlush(const DeviceInterface& vkd, VkDevice device, BufferWithMemory& buffer, const std::vector<ManyDrawsVertex>& vertices) copyAndFlush() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A Dglslang_wrapper_utils.cpp186 ASSERT(xfb->buffer == ShaderInterfaceVariableXfbInfo::kInvalid); in SetXfbInfo()
196 xfb->buffer = xfbBuffer; in SetXfbInfo()
1999 "Parsing the xfb buffer index below must be adjusted");
2044 if ((info.xfb.buffer != ShaderInterfaceVariableInfo::kInvalid || !info.fieldXfb.empty()) &&
2142 if (xfb.buffer == ShaderInterfaceVariableXfbInfo::kInvalid)
2147 // Varyings captured to the same buffer have the same stride.
2148 ASSERT(mXfbVaryings[xfb.buffer].empty() ||
2149 mXfbVaryings[xfb.buffer][0].info->stride == xfb.stride);
2151 mXfbVaryings[xfb.buffer].push_back({&xfb, baseId, fieldIndex});
2244 // Define the buffer strid
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cDirectStateAccessTexturesTests.cpp766 /** @brief Create buffer textuew.
1182 /* Texture buffer. */ in CleanBufferTexture()
6025 * @param [in] size Size of the buffer.
8585 glw::GLuint buffer = 0; in iterate() local
8599 gl.createBuffers(1, &buffer); in iterate()
8602 gl.namedBufferData(buffer, data_size, data, GL_STATIC_COPY); in iterate()
8614 gl.textureBuffer(not_a_texture, GL_RGBA8, buffer); in iterate()
8623 gl.textureBuffer(texture_1D, GL_RGBA8, buffer); in iterate()
8632 gl.textureBuffer(texture_buffer, GL_COMPRESSED_SIGNED_RED_RGTC1, buffer); in iterate()
8638 /* Check that INVALID_OPERATION is generated if buffer i in iterate()
8738 glw::GLuint buffer = 0; iterate() local
13126 glw::GLuint buffer = 0; iterate() local
[all...]
/third_party/backends/backend/
H A Davision.c115 * . - sane_close() : do_cancel, close opened scanner-device, free buffer and handle
2091 avision_strcmd (SANE_String buffer, size_t size, const void* cmd) in avision_strcmd() argument
2100 return snprintf (buffer, size, "Test unit ready"); in avision_strcmd()
2102 return snprintf (buffer, size, "Request sense"); in avision_strcmd()
2104 return snprintf (buffer, size, "Media check"); in avision_strcmd()
2106 return snprintf (buffer, size, "Inquiry"); in avision_strcmd()
2108 return snprintf (buffer, size, "Mode select"); in avision_strcmd()
2110 return snprintf (buffer, size, "Reserve unit"); in avision_strcmd()
2112 return snprintf (buffer, size, "Release unit"); in avision_strcmd()
2114 return snprintf (buffer, siz in avision_strcmd()
3865 static char buffer [16]; string_for_button() local
8188 uint8_t* buffer; reader_process() local
[all...]
H A Dmustek.c517 DBG (4, "dev_open: wanted %d kbytes, got %d kbytes buffer\n", in dev_open()
521 DBG (1, "dev_open: sanei_scsi_open buffer too small\n"); in dev_open()
658 SANE_Byte buffer[6]; in dev_block_read_start() local
675 len = sizeof (buffer); in dev_block_read_start()
677 sizeof (scsi_get_image_status), buffer, &len); in dev_block_read_start()
682 memset (buffer, 0, sizeof (buffer)); in dev_block_read_start()
683 buffer[0] = MUSTEK_SCSI_READ_SCANNED_DATA; in dev_block_read_start()
684 buffer[2] = (lines >> 16) & 0xff; in dev_block_read_start()
685 buffer[ in dev_block_read_start()
[all...]
H A Dmicrotek2.c4216 DBG(1, "scsi_send_gamma: Couldn't get buffer for gamma table\n"); in scsi_send_gamma()
4245 DBG(1, "scsi_send_gamma: Couldn't get buffer for gamma table\n"); in scsi_send_gamma()
4663 scsi_read_image(Microtek2_Scanner *ms, uint8_t *buffer, int bytes_per_pixel) in scsi_read_image() argument
4673 DBG(30, "scsi_read_image: ms=%p, buffer=%p\n", in scsi_read_image()
4674 (void *) ms, (void *) buffer); in scsi_read_image()
4688 status = sanei_scsi_cmd(ms->sfd, cmd, sizeof(cmd), buffer, &size); in scsi_read_image()
4690 if ( buffer && ( ms->dev->model_flags & MD_PHANTOM_C6 ) && endiantype ) in scsi_read_image()
4698 tmp = buffer[i-1]; in scsi_read_image()
4699 buffer[i-1] = buffer[ in scsi_read_image()
4791 scsi_read_shading(Microtek2_Scanner *ms, uint8_t *buffer, uint32_t length) scsi_read_shading() argument
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dcbiditst.c122 getStringFromDirProps(const uint8_t *dirProps, int32_t length, UChar *buffer);
401 static char * formatLevels(UBiDi *bidi, char *buffer) { in formatLevels() argument
409 strcpy(buffer, "BAD LEVELS"); in formatLevels()
410 return buffer; in formatLevels()
418 buffer[i] = c; in formatLevels()
420 buffer[len] = '\0'; in formatLevels()
421 return buffer; in formatLevels()
432 static char *reorderingOptionNames(char *buffer, int options) { in reorderingOptionNames() argument
433 buffer[0] = 0; in reorderingOptionNames()
435 strcat(buffer, " UBIDI_OPTION_INSERT_MARK in reorderingOptionNames()
459 char buffer[100]; printCaseInfo() local
3592 getStringFromDirProps(const uint8_t *dirProps, int32_t length, UChar *buffer) getStringFromDirProps() argument
4638 formatMap(const int32_t * map, int len, char * buffer) formatMap() argument
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cArrayOfArraysTests.cpp3727 unsigned char buffer[4] = { 0 }; in execute_dispatch_test() local
3784 gl.readPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, buffer); in execute_dispatch_test()
3787 if (buffer[0] != 255) in execute_dispatch_test()
3860 unsigned char buffer[4] = { 0 }; in execute_draw_test() local
3926 gl.readPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, buffer); in execute_draw_test()
3929 if (buffer[0] != 255) in execute_draw_test()
4640 unsigned char buffer[4] = { 0 }; in execute_dispatch_test() local
4697 gl.readPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, buffer); in execute_dispatch_test()
4700 if (buffer[0] != 255) in execute_dispatch_test()
4774 unsigned char buffer[ in execute_draw_test() local
8644 char buffer[16]; execute() local
9161 unsigned char buffer[4] = { 0 }; execute_dispatch_test() local
9324 unsigned char buffer[4] = { 0 }; execute_draw_test() local
[all...]
/test/xts/acts/communication/dsoftbus/capi_ipc/entry/src/main/cpp/
H A Dipc_capi.cpp46 void *buffer = malloc(len); in MemAllocator() local
47 if (buffer == nullptr) { in MemAllocator()
50 (void)memset(buffer, 0, len); in MemAllocator()
51 return buffer; in MemAllocator()
/third_party/ffmpeg/libavcodec/
H A Dcook.c33 * Codec technicalities (all this assume a buffer length of 1024):
35 * In the timedomain the buffer is divided into 8 pieces and quantized. If
127 void (*interpolate)(struct cook *q, float *buffer,
286 * Out buffer size: extra bytes are needed to cope with
542 * @param mlt_p pointer into the mlt buffer
679 * @param buffer pointer to the timedomain buffer
683 static void interpolate_float(COOKContext *q, float *buffer, in interpolate_float() argument
692 buffer[i] *= fc1; in interpolate_float()
696 buffer[ in interpolate_float()
[all...]

Completed in 80 milliseconds

1...<<191192193194195196197198199200>>...298