Home
last modified time | relevance | path

Searched refs:buffer (Results 8451 - 8475 of 10274) sorted by relevance

1...<<331332333334335336337338339340>>...411

/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cExplicitUniformLocationTest.cpp1173 << NL "layout (std430, binding = 1) buffer ResultBuffer {" << NL " vec4 cs_ValidationResult;" << NL "};"
1617 GLuint buffer;
1618 glGenBuffers(1, &buffer);
1619 glBindBuffer(GL_SHADER_STORAGE_BUFFER, buffer);
1621 glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, buffer);
1638 glDeleteBuffers(1, &buffer);
/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()
/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()
/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
/third_party/ffmpeg/libavcodec/
H A Dgifdec.c50 /* intermediate buffer for storing color indices
249 if ((ret = ff_lzw_decode_init(s->lzw, code_size, s->gb.buffer, in gif_read_image()
H A Dlibdav1d.c104 // Use the extra DAV1D_PICTURE_ALIGNMENT padding bytes in the buffer to align it in libdav1d_picture_allocator()
478 res = ff_parse_a53_cc(&buf, gb.buffer, bytestream2_get_bytes_left(&gb)); in libdav1d_receive_frame()
H A Dpsd.c442 ptr_data = s->gb.buffer; in decode_frame()
H A Dnotchlc.c246 init_get_bits8(&bit, dgb.buffer, bytestream2_get_bytes_left(&dgb)); in decode_blocks()
H A Dxan.c153 * @param dest destination buffer of dest_len, must be padded with at least 130 bytes
621 s->buf = ctx.buffer; in xan_decode_frame()
633 /* always report that the buffer was completely consumed */ in xan_decode_frame()
/third_party/ffmpeg/libavfilter/
H A Dvf_gblur_vulkan.c185 params_desc->buffer = params_buf->buf; in init_gblur_pipeline()
H A Dvf_scale_vulkan.c274 s->params_desc.buffer = s->params_buf.buf; in init_filter()

Completed in 104 milliseconds

1...<<331332333334335336337338339340>>...411