Home
last modified time | relevance | path

Searched refs:buffer (Results 12851 - 12875 of 15127) sorted by relevance

1...<<511512513514515516517518519520>>...606

/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fCopyImageTests.cpp674 void genTexel (de::Random& rng, deUint32 glFormat, int texelBlockSize, const int texelCount, deUint8* buffer)
679 const tcu::PixelBufferAccess access (format, texelCount, 1, 1, buffer);
720 deMemcpy(buffer + i * BLOCK_SIZE, blocks[blockNdx], BLOCK_SIZE);
729 buffer[i] = val;
739 buffer[i] = val;
1144 // \note: Reserve space upfront to avoid assigning tcu::Surface, which incurs buffer mem copy. Using a
2230 // new buffer in swap, it seems.
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktShaderExecutor.cpp648 TCU_THROW(NotSupportedError, "format not supported by device as vertex buffer attribute format"); in FragmentOutExecutor()
776 // Upload data to buffer in addAttribute()
794 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &vertexBufferParams); in addAttribute() local
795 de::MovePtr<Allocation> alloc = m_context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirement::HostVisible); in addAttribute()
797 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); in addAttribute()
802 m_vertexBuffers.push_back(de::SharedPtr<Unique<VkBuffer> >(new Unique<VkBuffer>(buffer))); in addAttribute()
1256 // Create command buffer in execute()
1356 // Copy image to buffer in execute()
1374 *readImageBuffer, // VkBuffer buffer; in execute()
1702 src << "layout(set = 0, binding = " << int(INPUT_BUFFER_BINDING) << ", std430) buffer InBuffe in declareBufferBlocks()
[all...]
/third_party/vk-gl-cts/modules/egl/
H A DteglImageFormatTests.cpp310 MovePtr<UniqueImage> createImage (const ImageSource& source, const ClientBuffer& buffer) const;
352 de::UniquePtr<ClientBuffer> buffer (m_imgSource->createBuffer(api.m_egl, api.m_gl, &ref)); in invokeGLES()
356 image = api.createImage(*m_imgSource, *buffer); in invokeGLES()
360 MovePtr<UniqueImage> GLESImageApi::createImage (const ImageSource& source, const ClientBuffer& buffer) const in createImage()
362 const EGLImageKHR image = source.createImage(m_egl, m_display, m_context, buffer.get()); in createImage()
1133 log << tcu::TestLog::Message << "Rendering with depth buffer" << tcu::TestLog::EndMessage; in invokeGLES()
1240 return tcu::pixelThresholdCompare(log, "Depth buffer rendering result", "Result from rendering with depth buffer", referenceScreen, screen, compareThreshold, tcu::COMPARE_LOG_RESULT); in invokeGLES()
1258 log << tcu::TestLog::Message << "Rendering with stencil buffer" << tcu::TestLog::EndMessage; in invokeGLES()
1358 return tcu::pixelThresholdCompare(log, "StencilResult", "Result from rendering with stencil buffer", referenceScree in invokeGLES()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
H A Dap_ctrl_iface.c3947 "DUP: cannot allocate buffer to stringify %s", in hostapd_ctrl_iface_dup_param()
4118 char buffer[256], *buf = buffer; in hostapd_global_ctrl_iface_receive() local
4129 res = recvfrom(sock, buffer, sizeof(buffer) - 1, 0, in hostapd_global_ctrl_iface_receive()
4260 interfaces, buf + 10, reply, sizeof(buffer)); in hostapd_global_ctrl_iface_receive()
/kernel/linux/linux-5.10/drivers/net/ethernet/nvidia/
H A Dforcedeth.c2255 /* setup the header buffer */ in nv_start_xmit()
2432 /* setup the header buffer */ in nv_start_xmit_optimized()
3108 /* return early if the buffer sizes will not change */ in nv_change_mtu()
3117 * internal buffer. The procedure for flushing everything is in nv_change_mtu()
5017 struct ethtool_stats *estats, u64 *buffer)
5025 memcpy(buffer, &np->estats, in netdev_priv()
5262 static void nv_self_test(struct net_device *dev, struct ethtool_test *test, u64 *buffer) in nv_self_test() argument
5269 memset(buffer, 0, count * sizeof(u64)); in nv_self_test()
5273 buffer[0] = 1; in nv_self_test()
5300 buffer[ in nv_self_test()
5342 nv_get_strings(struct net_device *dev, u32 stringset, u8 *buffer) nv_get_strings() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
H A Datomisp_cmd.c459 dev_err(isp->dev, " buffer overrun"); in print_csi_rx_errors()
774 /* find atomisp_video_pipe with css pipe id, buffer type and atomisp run_mode */
897 struct atomisp_css_buffer buffer; in atomisp_buf_done() local
919 dev_err(isp->dev, "%s, unsupported buffer type: %d\n", in atomisp_buf_done()
924 memset(&buffer, 0, sizeof(struct atomisp_css_buffer)); in atomisp_buf_done()
925 buffer.css_buffer.type = buf_type; in atomisp_buf_done()
927 buf_type, &buffer); in atomisp_buf_done()
946 buffer.css_buffer.data.stats_3a) { in atomisp_buf_done()
956 atomisp_3a_stats_ready_event(asd, buffer.css_buffer.exp_id); in atomisp_buf_done()
972 buffer in atomisp_buf_done()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/nvidia/
H A Dforcedeth.c2250 /* setup the header buffer */ in nv_start_xmit()
2427 /* setup the header buffer */ in nv_start_xmit_optimized()
3103 /* return early if the buffer sizes will not change */ in nv_change_mtu()
3112 * internal buffer. The procedure for flushing everything is in nv_change_mtu()
5018 struct ethtool_stats *estats, u64 *buffer)
5026 memcpy(buffer, &np->estats, in netdev_priv()
5263 static void nv_self_test(struct net_device *dev, struct ethtool_test *test, u64 *buffer) in nv_self_test() argument
5270 memset(buffer, 0, count * sizeof(u64)); in nv_self_test()
5274 buffer[0] = 1; in nv_self_test()
5301 buffer[ in nv_self_test()
5343 nv_get_strings(struct net_device *dev, u32 stringset, u8 *buffer) nv_get_strings() argument
[all...]
/third_party/mesa3d/src/compiler/glsl/
H A Dast_to_hir.cpp93 /* We can have memory_write_only set on both images and buffer variables, in visit()
96 * (memory_write_only), while in the case of buffer variables there is in visit()
98 * buffer variables alone. in visit()
954 /* We can have memory_read_only set on both images and buffer variables, in do_assignment()
957 * (memory_read_only), while in the case of buffer variables there is in do_assignment()
959 * buffer variables alone. in do_assignment()
2876 * buffer will be a multiple of 8.
2951 if (!qual->flags.q.uniform && !qual->flags.q.buffer) { in apply_explicit_binding()
2954 "shader storage buffer objects"); in apply_explicit_binding()
2973 * number of uniform buffer binding in apply_explicit_binding()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cDirectStateAccessFramebuffersAndRenderbuffersTests.cpp1618 /* Set up all attachments as draw buffer. */ in iterate()
2209 /** @brief Clear color buffer (float specialization), check errors and log.
2211 * @param [in] buffer Buffer to be cleared.
2218 bool ClearTest::ClearColor<glw::GLfloat>(glw::GLenum buffer, glw::GLint drawbuffer, glw::GLfloat value) in ClearColor() argument
2225 gl.clearNamedFramebufferfv(m_fbo, buffer, drawbuffer, value_vector); in ClearColor()
2239 /** @brief Clear color buffer (int specialization), check errors and log.
2241 * @param [in] buffer Buffer to be cleared.
2248 bool ClearTest::ClearColor<glw::GLint>(glw::GLenum buffer, glw::GLint drawbuffer, glw::GLint value) in ClearColor() argument
2255 gl.clearNamedFramebufferiv(m_fbo, buffer, drawbuffer, value_vector); in ClearColor()
2269 /** @brief Clear color buffer (uin
2278 ClearColor(glw::GLenum buffer, glw::GLint drawbuffer, glw::GLuint value) ClearColor() argument
2358 TestClearColor(glw::GLenum buffer, glw::GLenum attachment, T value) TestClearColor() argument
2545 PrepareFramebuffer(glw::GLenum buffer, glw::GLenum internalformat) PrepareFramebuffer() argument
[all...]
/third_party/python/Lib/test/
H A D_test_multiprocessing.py990 # the values may be in buffer but not yet in pipe so sleep a bit
3134 buffer = array.array('i', [0]*10)
3137 self.assertEqual(conn.recv_bytes_into(buffer),
3138 len(arr) * buffer.itemsize)
3139 self.assertEqual(list(buffer), expected)
3141 buffer = array.array('i', [0]*10)
3144 self.assertEqual(conn.recv_bytes_into(buffer, 3 * buffer.itemsize),
3145 len(arr) * buffer.itemsize)
3146 self.assertEqual(list(buffer), expecte
[all...]
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/
H A Dsendable_pixel_map_napi.cpp979 char *buffer = reinterpret_cast<char *>(malloc((bufLength + NUM_1) * sizeof(char))); in GetStringArgument() local
980 if (buffer == nullptr) { in GetStringArgument()
985 status = napi_get_value_string_utf8(env, value, buffer, bufLength + NUM_1, &bufLength); in GetStringArgument()
988 strValue.assign(buffer, 0, bufLength + NUM_1); in GetStringArgument()
990 if (buffer != nullptr) { in GetStringArgument()
991 free(buffer); in GetStringArgument()
992 buffer = nullptr; in GetStringArgument()
1610 nullptr, IMAGE_LOGE("fail to get buffer info")); in WriteBufferToPixels()
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
H A Ddrxk_hard.c1436 u8 buffer[34]; in scu_command() local
1455 buffer[cnt++] = (parameter[ii] & 0xFF); in scu_command()
1456 buffer[cnt++] = ((parameter[ii] >> 8) & 0xFF); in scu_command()
1459 buffer[cnt++] = (cmd & 0xFF); in scu_command()
1460 buffer[cnt++] = ((cmd >> 8) & 0xFF); in scu_command()
1463 (parameter_len - 1), cnt, buffer); in scu_command()
1513 print_hex_dump_bytes("drxk: ", DUMP_PREFIX_NONE, buffer, cnt); in scu_command()
/kernel/linux/linux-5.10/fs/
H A Dnamei.c4596 int readlink_copy(char __user *buffer, int buflen, const char *link) in readlink_copy() argument
4605 if (copy_to_user(buffer, link, len)) in readlink_copy()
4612 * vfs_readlink - copy symlink body into userspace buffer
4614 * @buffer: user memory pointer
4615 * @buflen: size of buffer
4621 int vfs_readlink(struct dentry *dentry, char __user *buffer, int buflen) in vfs_readlink() argument
4630 return inode->i_op->readlink(dentry, buffer, buflen); in vfs_readlink()
4646 res = readlink_copy(buffer, buflen, link); in vfs_readlink()
4713 int page_readlink(struct dentry *dentry, char __user *buffer, int buflen) in page_readlink() argument
4716 int res = readlink_copy(buffer, bufle in page_readlink()
[all...]
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/
H A Ddrxk_hard.c1417 u8 buffer[34]; in scu_command() local
1436 buffer[cnt++] = (parameter[ii] & 0xFF); in scu_command()
1437 buffer[cnt++] = ((parameter[ii] >> 8) & 0xFF); in scu_command()
1440 buffer[cnt++] = (cmd & 0xFF); in scu_command()
1441 buffer[cnt++] = ((cmd >> 8) & 0xFF); in scu_command()
1444 (parameter_len - 1), cnt, buffer); in scu_command()
1494 print_hex_dump_bytes("drxk: ", DUMP_PREFIX_NONE, buffer, cnt); in scu_command()
/kernel/linux/linux-6.6/fs/
H A Dnamei.c5077 int readlink_copy(char __user *buffer, int buflen, const char *link) in readlink_copy() argument
5086 if (copy_to_user(buffer, link, len)) in readlink_copy()
5093 * vfs_readlink - copy symlink body into userspace buffer
5095 * @buffer: user memory pointer
5096 * @buflen: size of buffer
5102 int vfs_readlink(struct dentry *dentry, char __user *buffer, int buflen) in vfs_readlink() argument
5111 return inode->i_op->readlink(dentry, buffer, buflen); in vfs_readlink()
5127 res = readlink_copy(buffer, buflen, link); in vfs_readlink()
5194 int page_readlink(struct dentry *dentry, char __user *buffer, int buflen) in page_readlink() argument
5197 int res = readlink_copy(buffer, bufle in page_readlink()
[all...]
/third_party/mesa3d/src/amd/compiler/
H A Daco_register_allocation.cpp935 unsigned buffer = best_gap.size - size; in get_reg_simple() local
936 if (buffer > 1) { in get_reg_simple()
937 if (((best_gap.lo() + size) % 8 != 0 && (best_gap.lo() + buffer) % 8 == 0) || in get_reg_simple()
938 ((best_gap.lo() + size) % 4 != 0 && (best_gap.lo() + buffer) % 4 == 0) || in get_reg_simple()
939 ((best_gap.lo() + size) % 2 != 0 && (best_gap.lo() + buffer) % 2 == 0)) in get_reg_simple()
940 best_gap = {PhysReg{best_gap.lo() + buffer}, best_gap.size - buffer}; in get_reg_simple()
/third_party/node/deps/v8/src/compiler/backend/
H A Dregister-allocator.cc1090 char buffer[kMaxPrefixLength]; in PrintBlockRow() local
1094 int prefix = snprintf(buffer, max_prefix_length, "[-B%d-%s", rpo_number, in PrintBlockRow()
1096 os << buffer; in PrintBlockRow() local
1137 char buffer[kMaxPrefixLength]; in PrintRangeRow() local
1141 prefix = snprintf(buffer, max_prefix_length, "|%s", kind_string); in PrintRangeRow()
1143 prefix = snprintf(buffer, max_prefix_length, "|%s", in PrintRangeRow()
1146 os << buffer; in PrintRangeRow() local
/third_party/node/deps/v8/src/codegen/ia32/
H A Dassembler-ia32.cc102 char buffer[128]; in OSHasAVXSupport() local
103 size_t buffer_size = arraysize(buffer); in OSHasAVXSupport()
105 if (sysctl(ctl_name, 2, buffer, &buffer_size, nullptr, 0) != 0) { in OSHasAVXSupport()
108 // The buffer now contains a string of the form XX.YY.ZZ, where in OSHasAVXSupport()
110 char* period_pos = strchr(buffer, '.'); in OSHasAVXSupport()
113 long kernel_version_major = strtol(buffer, nullptr, 10); // NOLINT in OSHasAVXSupport()
324 std::unique_ptr<AssemblerBuffer> buffer) in Assembler()
325 : AssemblerBase(options, std::move(buffer)) { in Assembler()
3277 // Compute new buffer size. in GrowBuffer()
3287 // Set up new buffer in GrowBuffer()
323 Assembler(const AssemblerOptions& options, std::unique_ptr<AssemblerBuffer> buffer) Assembler() argument
[all...]
/third_party/node/deps/v8/src/codegen/x64/
H A Dassembler-x64.cc55 char buffer[128]; in OSHasAVXSupport() local
56 size_t buffer_size = arraysize(buffer); in OSHasAVXSupport()
58 if (sysctl(ctl_name, 2, buffer, &buffer_size, nullptr, 0) != 0) { in OSHasAVXSupport()
61 // The buffer now contains a string of the form XX.YY.ZZ, where in OSHasAVXSupport()
63 char* period_pos = strchr(buffer, '.'); in OSHasAVXSupport()
66 long kernel_version_major = strtol(buffer, nullptr, 10); // NOLINT in OSHasAVXSupport()
353 std::unique_ptr<AssemblerBuffer> buffer) in Assembler()
354 : AssemblerBase(options, std::move(buffer)), constpool_(this) { in Assembler()
558 // Compute new buffer size.
569 // Set up new buffer
352 Assembler(const AssemblerOptions& options, std::unique_ptr<AssemblerBuffer> buffer) Assembler() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DProgram.cpp220 void CopyStringToBuffer(GLchar *buffer, in CopyStringToBuffer() argument
227 memcpy(buffer, string.c_str(), length); in CopyStringToBuffer()
228 buffer[length] = '\0'; in CopyStringToBuffer()
1956 // to a separate buffer, validate sizes and then copy it. in saveBinary()
1957 ANGLE_CHECK(context, false, "Insufficient buffer size", GL_INVALID_OPERATION); in saveBinary()
3700 auto &buffer = mState.mExecutable->mAtomicCounterBuffers[bufferIndex]; in linkAtomicCounterBuffers() local
3701 if (buffer.binding == uniform.binding) in linkAtomicCounterBuffers()
3703 buffer.memberIndexes.push_back(index); in linkAtomicCounterBuffers()
3706 buffer.unionReferencesWith(uniform); in linkAtomicCounterBuffers()
3721 // TODO(jie.a.chen@intel.com): Count each atomic counter buffer t in linkAtomicCounterBuffers()
[all...]
/third_party/vixl/test/aarch64/
H A Dtest-simulator-aarch64.cc132 CodeBuffer* buffer = masm.GetBuffer(); \
133 decoder.Decode(buffer->GetStartAddress<Instruction*>(), \
134 buffer->GetEndAddress<Instruction*>()); \
138 ExecuteMemory(buffer->GetStartAddress<byte*>(), \
160 CodeBuffer* buffer = masm.GetBuffer(); \
161 Instruction* start = buffer->GetStartAddress<Instruction*>(); \
162 Instruction* end = buffer->GetEndAddress<Instruction*>(); \
/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Dupb.c302 const char *limit; /* End of delimited region or end of buffer. */
802 /* Writes the given bytes to the buffer, handling reserve/advance. */
1402 * have a null-terminating byte since it may be a raw binary buffer. */ in upb_strdup2()
6943 ** handle the fact that values can span buffer seams and we have to be able to
6945 ** sometimes requires keeping a few trailing bytes from the last buffer around
6946 ** in the "residual" buffer.
6971 /* A dummy character we can point to when the user passes us a NULL buffer.
6976 /* Whether an op consumes any of the input buffer. */
7034 /* We operate on one buffer at a time, which is either the user's buffer passe
13245 char buffer[UPB_DURATION_MAX_JSON_LEN]; printer_enddurationmsg() local
13315 char buffer[UPB_TIMESTAMP_MAX_JSON_LEN]; printer_endtimestampmsg() local
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_msgbuf.c136 /* Length of buffer in host for bus throughput measurement */
304 * Pad a DMA-able buffer by an additional cachline. If the end of the DMA-able
305 * buffer does not occupy the entire cacheline, and another object is placed
306 * following the DMA-able buffer, data corruption may occur if the DMA-able
307 * buffer is used to DMAing into (e.g. D2H direction), when HW cache coherency
322 * larger DMA-able buffer. To avoid issues with fragmented cache coherent
326 * Each DMA-able buffer may be allocated independently, or may be carved out
336 * allocated and a DMA-able buffer (carved or allocated) is attached.
390 * buffer, the WR and RD indices, ring parameters such as max number of items
408 dhd_dma_buf_t dma_buf; /* DMA-able buffer
2979 void *buffer; dhd_prot_attach() local
2995 void *buffer; dhd_prot_attach() local
[all...]
/foundation/multimedia/image_framework/interfaces/innerkits/include/
H A Dimage_source.h332 uint32_t CreateExifMetadata(uint8_t *buffer, const uint32_t size, bool addFlag);
402 std::string source_; // Image source fd buffer etc
/kernel/linux/linux-5.10/drivers/firewire/
H A Dcore-card.c96 * Initialize contents of config rom buffer. On the OHCI in generate_config_rom()
631 struct fw_iso_buffer *buffer, unsigned long payload) in dummy_queue_iso()
630 dummy_queue_iso(struct fw_iso_context *ctx, struct fw_iso_packet *p, struct fw_iso_buffer *buffer, unsigned long payload) dummy_queue_iso() argument

Completed in 140 milliseconds

1...<<511512513514515516517518519520>>...606