Home
last modified time | relevance | path

Searched refs:buffer (Results 3751 - 3775 of 6014) sorted by relevance

1...<<151152153154155156157158159160>>...241

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/
H A DvktTransformFeedbackFuzzLayoutCase.cpp162 << ", buffer = " << entry.xfbBuffer in operator <<()
335 deUint32 buffer; member
344 , buffer (buffer_) in LayoutFlagsFmt()
371 if (bitDesc[descNdx].bit == LAYOUT_XFBBUFFER) str << " = " << fmt.buffer; in operator <<()
737 // and the space taken in the buffer will be a multiple of 8. in computeXfbLayout()
749 // and the space taken in the buffer will be a multiple of 8. in computeXfbLayout()
830 // Store maximum per-buffer alignment in computeXfbLayout()
885 // If the buffer is capturing any outputs with double-precision components, the stride must be a multiple of 8, ... in computeXfbLayout()
979 void generateDeclaration (std::ostringstream& src, const VarType& type, const std::string& name, int indentLevel, deUint32 unusedHints, deUint32 flagsMask, deUint32 buffer, deUint32 stride, deUint32 offset);
980 void generateDeclaration (std::ostringstream& src, const InterfaceBlockMember& member, int indentLevel, deUint32 buffer, deUint3
1014 generateLayoutAndPrecisionDeclaration(std::ostringstream& src, deUint32 flags, deUint32 buffer, deUint32 stride, deUint32 offset) generateLayoutAndPrecisionDeclaration() argument
1023 generateDeclaration(std::ostringstream& src, const VarType& type, const std::string& name, int indentLevel, deUint32 fieldHints, deUint32 flagsMask, deUint32 buffer, deUint32 stride, deUint32 offset) generateDeclaration() argument
1074 generateDeclaration(std::ostringstream& src, const InterfaceBlockMember& member, int indentLevel, deUint32 buffer, deUint32 stride, deUint32 offset) generateDeclaration() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dmpegaudiodec_template.c368 const uint8_t *buf = s->gb.buffer - HEADER_SIZE; in handle_crc()
723 if (s->in_gb.buffer && *pos >= s->gb.size_in_bits - s->extrasize * 8) { in switch_buffer()
725 s->in_gb.buffer = NULL; in switch_buffer()
1298 const uint8_t *ptr = s->gb.buffer + (get_bits_count(&s->gb) >> 3); in mp_decode_layer3()
1319 if (skip >= s->gb.size_in_bits - s->extrasize * 8 && s->in_gb.buffer) { in mp_decode_layer3()
1322 s->in_gb.buffer = NULL; in mp_decode_layer3()
1490 if (s->in_gb.buffer) { in mp_decode_frame()
1494 memmove(s->last_buf, s->gb.buffer + (get_bits_count(&s->gb) >> 3), i); in mp_decode_frame()
1499 s->in_gb.buffer = NULL; in mp_decode_frame()
1512 memcpy(s->last_buf + s->last_buf_size, s->gb.buffer in mp_decode_frame()
[all...]
H A Ddca_lbr.c991 // Reallocate time sample buffer in alloc_sample_buffer()
1213 bytestream2_init(&gb, gb.buffer, chunk_len); in ff_dca_lbr_parse()
1223 res += gb.buffer[i]; in ff_dca_lbr_parse()
1289 chunk.lfe.data = gb.buffer; in ff_dca_lbr_parse()
1297 chunk.tonal.data = gb.buffer; in ff_dca_lbr_parse()
1308 chunk.tonal_grp[i].data = gb.buffer; in ff_dca_lbr_parse()
1319 chunk.tonal_grp[i].data = gb.buffer; in ff_dca_lbr_parse()
1327 chunk.grid1[i].data = gb.buffer; in ff_dca_lbr_parse()
1335 chunk.hr_grid[i].data = gb.buffer; in ff_dca_lbr_parse()
1343 chunk.ts1[i].data = gb.buffer; in ff_dca_lbr_parse()
[all...]
/third_party/astc-encoder/Source/
H A Dastcenccli_toplevel.cpp178 char buffer[bar_size + 3]; in progress_emitter() local
179 buffer[0] = '['; in progress_emitter()
183 buffer[i + 1] = '='; in progress_emitter()
188 buffer[i + 1] = ' '; in progress_emitter()
191 buffer[bar_size + 1] = ']'; in progress_emitter()
192 buffer[bar_size + 2] = '\0'; in progress_emitter()
194 printf(" Progress: %s %03.1f%%\r", buffer, static_cast<double>(value)); in progress_emitter()
2217 uint8_t* buffer = new uint8_t[buffer_size];
2224 work.data_out = buffer;
2303 image_comp.data = buffer;
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dcustrtst.c1102 static UChar buffer[200]; in TestUnescape() local
1117 length=u_unescape(input, buffer, UPRV_LENGTHOF(buffer)); in TestUnescape()
1118 if(length!=explength || u_strcmp(buffer, expect)!=0) { in TestUnescape()
1124 length=u_unescape(input, NULL, UPRV_LENGTHOF(buffer)); in TestUnescape()
1125 if(length!=explength || u_strcmp(buffer, expect)!=0) { in TestUnescape()
1208 UChar buffer[100]; in TestCountChar32() local
1224 u_memcpy(buffer, string, length); in TestCountChar32()
1226 buffer[length]=0; in TestCountChar32()
1229 _testStrHasMoreChar32Than(buffer in TestCountChar32()
[all...]
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_device.c1865 char buffer[32]; in usb_make_dev() local
1881 devname = buffer; in usb_make_dev()
1882 (void)snprintf_s(buffer, sizeof(buffer), sizeof(buffer) - 1, USB_DEVICE_DIR "/%u.%u.%u", in usb_make_dev()
1885 (void)snprintf_s(buffer, sizeof(buffer), sizeof(buffer) - 1, USB_DEVICE_DIR "/%s", in usb_make_dev()
1889 ret = strncpy_s(pd->cdev_name, sizeof(pd->cdev_name), buffer, strlen(buffer)); in usb_make_dev()
[all...]
/third_party/icu/icu4c/source/common/
H A Duts46.cpp622 // Insert second s and account for possible buffer reallocation. in mapDevChars()
730 // Should never occur if we used capacity==-1 which uses the internal buffer. in processLabel()
871 UChar *buffer=punycode.getBuffer(63); // 63==maximum DNS label length in processLabel() local
872 if(buffer==NULL) { in processLabel()
876 buffer[0]=0x78; // Write "xn--". in processLabel()
877 buffer[1]=0x6e; in processLabel()
878 buffer[2]=0x2d; in processLabel()
879 buffer[3]=0x2d; in processLabel()
881 buffer+4, punycode.getCapacity()-4, in processLabel()
886 buffer in processLabel()
[all...]
/third_party/icu/icu4c/source/i18n/
H A Drulebasedcollator.cpp78 // Fill the buffer completely. in AppendBeyondCapacity()
350 RuleBasedCollator::getRules(UColRuleOption delta, UnicodeString &buffer) const { in getRules()
352 buffer = tailoring->rules; in getRules()
356 buffer.remove(); in getRules()
357 CollationLoader::appendRootRules(buffer); in getRules()
358 buffer.append(tailoring->rules).getTerminatedBuffer(); in getRules()
787 * Returns the next code point from the internal normalization buffer,
811 decomp = nfcImpl.getDecomposition(c, buffer, length); in nextDecomposedCodePoint()
825 UChar buffer[4]; member in __anon3370::NFDIterator
1542 char *buffer, int32_ in internalGetShortDefinitionString()
1541 internalGetShortDefinitionString(const char *locale, char *buffer, int32_t capacity, UErrorCode &errorCode) const internalGetShortDefinitionString() argument
[all...]
/third_party/lame/libmp3lame/
H A Dpsymodel.c36 Input: buffer of PCM data (1024 samples).
666 vbrpsy_compute_fft_l(lame_internal_flags * gfc, const sample_t * const buffer[2], int chn, in vbrpsy_compute_fft_l() argument
675 fft_long(gfc, *wsamp_l, chn, buffer); in vbrpsy_compute_fft_l()
718 vbrpsy_compute_fft_s(lame_internal_flags const *gfc, const sample_t * const buffer[2], int chn, in vbrpsy_compute_fft_s() argument
724 fft_short(gfc, *wsamp_s, chn, buffer); in vbrpsy_compute_fft_s()
770 vbrpsy_attack_detection(lame_internal_flags * gfc, const sample_t * const buffer[2], int gr_out, in vbrpsy_attack_detection() argument
785 /* Don't copy the input buffer into a temporary buffer */ in vbrpsy_attack_detection()
794 const sample_t *const firbuf = &buffer[chn][576 - 350 - NSFIRLEN + 192]; in vbrpsy_attack_detection()
1409 const sample_t * const buffer[ in L3psycho_anal_vbr()
1408 L3psycho_anal_vbr(lame_internal_flags * gfc, const sample_t * const buffer[2], int gr_out, III_psy_ratio masking_ratio[2][2], III_psy_ratio masking_MS_ratio[2][2], FLOAT percep_entropy[2], FLOAT percep_MS_entropy[2], FLOAT energy[4], int blocktype_d[2]) L3psycho_anal_vbr() argument
[all...]
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_descriptor_set.c903 if (buffer_info->buffer == VK_NULL_HANDLE) { in write_buffer_descriptor()
908 TU_FROM_HANDLE(tu_buffer, buffer, buffer_info->buffer); in write_buffer_descriptor()
911 uint64_t va = buffer->iova + buffer_info->offset; in write_buffer_descriptor()
912 uint32_t range = get_range(buffer, buffer_info->offset, buffer_info->range); in write_buffer_descriptor()
936 if (buffer_info->buffer == VK_NULL_HANDLE) { in write_ubo_descriptor()
941 TU_FROM_HANDLE(tu_buffer, buffer, buffer_info->buffer); in write_ubo_descriptor()
943 uint32_t range = get_range(buffer, buffer_info->offset, buffer_info->range); in write_ubo_descriptor()
946 uint64_t va = buffer in write_ubo_descriptor()
[all...]
/third_party/mesa3d/src/gallium/frontends/glx/xlib/
H A Dglx_api.c177 * Given an XVisualInfo and RGB, Double, and Depth buffer flags, save the
279 * Return the default number of bits for the Z buffer.
321 * for depth buffer size, stencil size, accum size, etc.
1010 * double buffering, depth buffer, etc. will be associated with the X in choose_visual()
1044 * largest depth buffer size, which is 32bits/value. Instead, we in choose_visual()
1415 XMesaBuffer buffer = XMesaFindBuffer( dpy, drawable ); in glXSwapBuffers() local
1426 if (buffer) { in glXSwapBuffers()
1427 XMesaSwapBuffers(buffer); in glXSwapBuffers()
1443 XMesaBuffer buffer = XMesaFindBuffer( dpy, drawable ); in glXCopySubBufferMESA() local
1444 if (buffer) { in glXCopySubBufferMESA()
2634 glXBindTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list) glXBindTexImageEXT() argument
2643 glXReleaseTexImageEXT(Display *dpy, GLXDrawable drawable, int buffer) glXReleaseTexImageEXT() argument
[all...]
/third_party/node/deps/icu-small/source/common/
H A Duts46.cpp622 // Insert second s and account for possible buffer reallocation. in mapDevChars()
722 // Should never occur if we used capacity==-1 which uses the internal buffer. in processLabel()
860 char16_t *buffer=punycode.getBuffer(63); // 63==maximum DNS label length in processLabel() local
861 if(buffer==nullptr) { in processLabel()
865 buffer[0]=0x78; // Write "xn--". in processLabel()
866 buffer[1]=0x6e; in processLabel()
867 buffer[2]=0x2d; in processLabel()
868 buffer[3]=0x2d; in processLabel()
870 buffer+4, punycode.getCapacity()-4, in processLabel()
875 buffer in processLabel()
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Drulebasedcollator.cpp80 // Fill the buffer completely. in AppendBeyondCapacity()
352 RuleBasedCollator::getRules(UColRuleOption delta, UnicodeString &buffer) const { in getRules()
354 buffer = tailoring->rules; in getRules()
358 buffer.remove(); in getRules()
359 CollationLoader::appendRootRules(buffer); in getRules()
360 buffer.append(tailoring->rules).getTerminatedBuffer(); in getRules()
789 * Returns the next code point from the internal normalization buffer,
813 decomp = nfcImpl.getDecomposition(c, buffer, length); in nextDecomposedCodePoint()
827 char16_t buffer[4]; member in __anon12021::NFDIterator
1544 char *buffer, int32_ in internalGetShortDefinitionString()
1543 internalGetShortDefinitionString(const char *locale, char *buffer, int32_t capacity, UErrorCode &errorCode) const internalGetShortDefinitionString() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_cs.c1228 struct pipe_resource *buffer = csctx->constants[i].current.buffer; in update_csctx_consts() local
1231 if (buffer) { in update_csctx_consts()
1232 /* resource buffer */ in update_csctx_consts()
1233 current_data = (ubyte *) llvmpipe_resource_data(buffer); in update_csctx_consts()
1236 /* user-space buffer */ in update_csctx_consts()
1260 struct pipe_resource *buffer = csctx->ssbos[i].current.buffer; in update_csctx_ssbo() local
1263 /* resource buffer */ in update_csctx_ssbo()
1264 if (buffer) in update_csctx_ssbo()
[all...]
/third_party/node/deps/openssl/openssl/crypto/evp/
H A Dp_lib.c2151 unsigned char buffer[2048]; in EVP_PKEY_get_bn_param() local
2159 memset(buffer, 0, sizeof(buffer)); in EVP_PKEY_get_bn_param()
2160 params[0] = OSSL_PARAM_construct_BN(key_name, buffer, sizeof(buffer)); in EVP_PKEY_get_bn_param()
2167 * If it failed because the buffer was too small then allocate the in EVP_PKEY_get_bn_param()
2168 * required buffer size and retry. in EVP_PKEY_get_bn_param()
2190 OPENSSL_cleanse(buffer, params[0].data_size); in EVP_PKEY_get_bn_param()
2297 unsigned char buffer[2048]; in EVP_PKEY_set_bn_param() local
2307 if (!ossl_assert(bsize <= (int)sizeof(buffer))) in EVP_PKEY_set_bn_param()
[all...]
/third_party/openssl/crypto/evp/
H A Dp_lib.c2148 unsigned char buffer[2048]; in EVP_PKEY_get_bn_param() local
2156 memset(buffer, 0, sizeof(buffer)); in EVP_PKEY_get_bn_param()
2157 params[0] = OSSL_PARAM_construct_BN(key_name, buffer, sizeof(buffer)); in EVP_PKEY_get_bn_param()
2164 * If it failed because the buffer was too small then allocate the in EVP_PKEY_get_bn_param()
2165 * required buffer size and retry. in EVP_PKEY_get_bn_param()
2187 OPENSSL_cleanse(buffer, params[0].data_size); in EVP_PKEY_get_bn_param()
2294 unsigned char buffer[2048]; in EVP_PKEY_set_bn_param() local
2304 if (!ossl_assert(bsize <= (int)sizeof(buffer))) in EVP_PKEY_set_bn_param()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
H A DvktConditionalDrawAndClearTests.cpp168 ConditionalBufferMemory m_memoryType; //type of memory used for conditional rendering buffer
302 void bufferMemoryBarrier (VkBuffer buffer, VkDeviceSize offset, VkDeviceSize size, VkAccessFlags srcAccessMask, VkAccessFlags dstAccessMask,
415 de::SharedPtr<Draw::Buffer> buffer = Buffer::createAndAlloc in createInitBufferWithPredicate() local
423 void * conditionalRenderingBufferDataPointer = static_cast<char*>(buffer->getBoundMemory().getHostPtr()) + m_conditionalRenderingBufferOffset; in createInitBufferWithPredicate()
426 flushMappedMemoryRange(m_vkd, m_device, buffer->getBoundMemory().getMemory(), buffer->getBoundMemory().getOffset(), VK_WHOLE_SIZE); in createInitBufferWithPredicate()
471 buffer->getBoundMemory().getOffset(), in createInitBufferWithPredicate()
475 m_vkd.cmdCopyBuffer(*cmdBuffer, buffer->object(), m_conditionalRenderingBuffer->object(), 1, &copyInfo); in createInitBufferWithPredicate()
491 m_conditionalRenderingBuffer = buffer; in createInitBufferWithPredicate()
601 void ConditionalRenderingBaseTestInstance::bufferMemoryBarrier (VkBuffer buffer, VkDeviceSiz argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationInternallySynchronizedObjectsTests.cpp408 // Wait for command buffer execution finish in executeComputePipeline()
502 // Wait for command buffer execution finish in executeGraphicPipeline()
1130 ostringstream buffer; in initPrograms() local
1131 buffer << "layout(set = 0, binding = 0, std430) buffer Output\n" in initPrograms()
1141 << buffer.str() in initPrograms()
1155 << buffer.str() in initPrograms()
1171 << buffer.str() in initPrograms()
1203 ostringstream buffer; in initPrograms() local
1204 buffer << "layou in initPrograms()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/
H A DvktConditionalDrawAndClearTests.cpp167 ConditionalBufferMemory m_memoryType; //type of memory used for conditional rendering buffer
301 void bufferMemoryBarrier (VkBuffer buffer, VkDeviceSize offset, VkDeviceSize size, VkAccessFlags srcAccessMask, VkAccessFlags dstAccessMask,
403 de::SharedPtr<Draw::Buffer> buffer = Buffer::createAndAlloc in createInitBufferWithPredicate() local
411 void * conditionalRenderingBufferDataPointer = static_cast<char*>(buffer->getBoundMemory().getHostPtr()) + m_conditionalRenderingBufferOffset; in createInitBufferWithPredicate()
414 flushMappedMemoryRange(m_vkd, m_device, buffer->getBoundMemory().getMemory(), buffer->getBoundMemory().getOffset(), VK_WHOLE_SIZE); in createInitBufferWithPredicate()
451 buffer->getBoundMemory().getOffset(), in createInitBufferWithPredicate()
455 m_vkd.cmdCopyBuffer(*cmdBuffer, buffer->object(), m_conditionalRenderingBuffer->object(), 1, &copyInfo); in createInitBufferWithPredicate()
471 m_conditionalRenderingBuffer = buffer; in createInitBufferWithPredicate()
581 void ConditionalRenderingBaseTestInstance::bufferMemoryBarrier (VkBuffer buffer, VkDeviceSiz argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
H A DvktMemoryMappingTests.cpp404 VkMemoryRequirements getBufferMemoryRequirements(const DeviceInterface& vk, VkDevice device, Move<VkBuffer>& buffer)
410 *buffer // VkImage image
471 Move<VkDeviceMemory> allocMemory (const DeviceInterface& vk, VkDevice device, VkDeviceSize pAllocInfo_allocationSize, deUint32 pAllocInfo_memoryTypeIndex, Move<VkImage>& image, Move<VkBuffer>& buffer, const VkAllocationCallbacks* allocator = DE_NULL)
473 DE_ASSERT((!image) || (!buffer));
481 *buffer // VkBuffer buffer
487 !image && !buffer ? DE_NULL : &dedicatedAllocateInfo,
709 Move<VkBuffer> buffer;
718 buffer = makeBuffer(vkd, device, allocationSize, queueFamilyIndex);
719 req = getBufferMemoryRequirements(vkd, device, buffer);
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
H A Dframe_capture_utils.cpp636 const gl::BindingPointer<gl::Buffer> &buffer = boundBuffers[bufferBinding]; in SerializeContextState() local
639 json->addScalar(strstr.str(), buffer.id().value); in SerializeContextState()
689 gl::Buffer *buffer) in SerializeBuffer()
691 GroupScope group(json, "Buffer", buffer->id().value); in SerializeBuffer()
692 SerializeBufferState(json, buffer->getState()); in SerializeBuffer()
693 if (buffer->getSize()) in SerializeBuffer()
698 scratchBuffer->getInitialized(static_cast<size_t>(buffer->getSize()), &dataPtr, 0)); in SerializeBuffer()
699 ANGLE_TRY(buffer->getSubData(context, 0, dataPtr->size(), dataPtr->data())); in SerializeBuffer()
1353 for (const auto &buffer : bufferManager) in SerializeContextToString()
1355 gl::Buffer *bufferPtr = buffer in SerializeContextToString()
686 SerializeBuffer(const gl::Context *context, JsonSerializer *json, ScratchBuffer *scratchBuffer, gl::Buffer *buffer) SerializeBuffer() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DShaderStorageBufferTest.cpp78 // Create shader storage buffer in runMatrixTest()
87 // Bind shader storage buffer in runMatrixTest()
94 // Read back shader storage buffer in runMatrixTest()
122 // Create shader storage buffer in runVectorTest()
133 // Bind shader storage buffer in runVectorTest()
140 // Read back shader storage buffer in runVectorTest()
160 "buffer blockName {\n" in TEST_P()
168 "buffer blockName {\n" in TEST_P()
190 "layout(shared) buffer blockName {\n" in TEST_P()
240 "layout(shared) buffer blockName in TEST_P()
2688 GLBuffer buffer; TEST_P() local
2768 GLBuffer buffer; TEST_P() local
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Drulebasedcollator.cpp78 // Fill the buffer completely. in AppendBeyondCapacity()
350 RuleBasedCollator::getRules(UColRuleOption delta, UnicodeString &buffer) const { in getRules()
352 buffer = tailoring->rules; in getRules()
356 buffer.remove(); in getRules()
357 CollationLoader::appendRootRules(buffer); in getRules()
358 buffer.append(tailoring->rules).getTerminatedBuffer(); in getRules()
786 * Returns the next code point from the internal normalization buffer,
810 decomp = nfcImpl.getDecomposition(c, buffer, length); in nextDecomposedCodePoint()
824 UChar buffer[4]; member in __anon21247::NFDIterator
1541 char *buffer, int32_ in internalGetShortDefinitionString()
1540 internalGetShortDefinitionString(const char *locale, char *buffer, int32_t capacity, UErrorCode &errorCode) const internalGetShortDefinitionString() argument
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Duts46.cpp622 // Insert second s and account for possible buffer reallocation. in mapDevChars()
730 // Should never occur if we used capacity==-1 which uses the internal buffer. in processLabel()
871 UChar *buffer=punycode.getBuffer(63); // 63==maximum DNS label length in processLabel() local
872 if(buffer==NULL) { in processLabel()
876 buffer[0]=0x78; // Write "xn--". in processLabel()
877 buffer[1]=0x6e; in processLabel()
878 buffer[2]=0x2d; in processLabel()
879 buffer[3]=0x2d; in processLabel()
881 buffer+4, punycode.getCapacity()-4, in processLabel()
886 buffer in processLabel()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktSynchronizationInternallySynchronizedObjectsTests.cpp408 // Wait for command buffer execution finish in executeComputePipeline()
502 // Wait for command buffer execution finish in executeGraphicPipeline()
1131 ostringstream buffer; in initPrograms() local
1132 buffer << "layout(set = 0, binding = 0, std430) buffer Output\n" in initPrograms()
1142 << buffer.str() in initPrograms()
1156 << buffer.str() in initPrograms()
1172 << buffer.str() in initPrograms()
1205 ostringstream buffer; in initPrograms() local
1206 buffer << "layou in initPrograms()
[all...]

Completed in 64 milliseconds

1...<<151152153154155156157158159160>>...241