| /third_party/ffmpeg/libavformat/ |
| H A D | hlsenc.c | 549 // re-open buffer in flush_dynbuf() 555 // re-open buffer in reflush_dynbuf() 2754 uint8_t *buffer = NULL; in hls_write_trailer() local 2757 range_length = avio_close_dyn_buf(oc->pb, &buffer); in hls_write_trailer() 2758 avio_write(vs->out, buffer, range_length); in hls_write_trailer() 2759 av_freep(&buffer); in hls_write_trailer()
|
| /third_party/curl/lib/ |
| H A D | url.c | 138 /* Some parts of the code (e.g. chunked encoding) assume this buffer has at 283 Curl_safefree(data->state.buffer); in Curl_close() 589 Curl_safefree(conn->http_proxy.host.rawalloc); /* http proxy name buffer */ in conn_free() 590 Curl_safefree(conn->socks_proxy.host.rawalloc); /* socks proxy name buffer */ in conn_free() 597 Curl_safefree(conn->host.rawalloc); /* host name buffer */ in conn_free() 598 Curl_safefree(conn->conn_to_host.rawalloc); /* host name buffer */ in conn_free() 1753 char buffer[STRERROR_LEN]; local 1755 Curl_strerror(errno, buffer, sizeof(buffer))); 2643 /* Allocate the user portion buffer, whic [all...] |
| /third_party/cups-filters/filter/ |
| H A D | imagetoraster.c | 15 * blank_line() - Clear a line buffer to the blank value... 175 cups_izoom_t *z; /* Image zoom buffer */ in main() 228 char buffer[8192]; /* Buffer to read into */ in main() local 242 while ((bytes = fread(buffer, 1, sizeof(buffer), stdin)) > 0) in main() 243 bytes = write(fd, buffer, bytes); in main() 1628 * 'blank_line()' - Clear a line buffer to the blank value... 1633 unsigned char *row) /* I - Row buffer */ in blank_line()
|
| /third_party/icu/icu4c/source/common/ |
| H A D | ucnvmbcs.cpp | 2063 /* sourceIndex=-1 if the current character began in the previous buffer */ in ucnv_MBCSSingleToUnicodeWithOffsets() 2166 /* not mappable or buffer overflow */ in ucnv_MBCSSingleToUnicodeWithOffsets() 2214 /* sourceIndex=-1 if the current character began in the previous buffer */ in ucnv_MBCSSingleToBMPWithOffsets() 2367 /* not mappable or buffer overflow */ in ucnv_MBCSSingleToBMPWithOffsets() 2492 * pass sourceIndex=-1 because we continue from an earlier buffer in ucnv_MBCSToUnicodeWithOffsets() 2539 /* sourceIndex=-1 if the current character began in the previous buffer */ in ucnv_MBCSToUnicodeWithOffsets() 2839 /* Back out bytes from the previous buffer: Need to replay them. */ in ucnv_MBCSToUnicodeWithOffsets() 2860 /* not mappable or buffer overflow */ in ucnv_MBCSToUnicodeWithOffsets() 3450 /* sourceIndex=-1 if the current character began in the previous buffer */ in ucnv_MBCSDoubleFromUnicodeWithOffsets() 3568 /* not mappable or buffer overflo in ucnv_MBCSDoubleFromUnicodeWithOffsets() 5656 char buffer[4]; ucnv_MBCSWriteSub() local [all...] |
| /third_party/lzma/CPP/7zip/UI/Common/ |
| H A D | Bench.cpp | 1217 /* we copy the data to local buffer of thread to eliminate
1218 using of shared buffer by different threads */
2576 CAlignedBuffer buffer;
2580 buffer.Alloc(kBufferSize0 + kBufferSize1);
2581 if (!buffer.IsAllocated())
2583 Byte *buf = (Byte *)buffer;
3351 CMidAlignedBuffer buffer;
3354 ALLOC_WITH_HRESULT(&buffer, bufferSize)
3355 RandGen(buffer, bufferSize);
3356 fileData = buffer;
[all...] |
| /third_party/mesa3d/src/amd/vulkan/ |
| H A D | radv_shader.c | 296 char buffer[256]; in radv_spirv_nir_debug() local 298 snprintf(buffer, sizeof(buffer), "SPIR-V offset %lu: %s", (unsigned long)spirv_offset, message); in radv_spirv_nir_debug() 300 vk_debug_report(&instance->vk, vk_flags[level], debug_data->object, 0, 0, "radv", buffer); in radv_spirv_nir_debug()
|
| /third_party/node/deps/icu-small/source/common/ |
| H A D | ucnvmbcs.cpp | 2063 /* sourceIndex=-1 if the current character began in the previous buffer */ in ucnv_MBCSSingleToUnicodeWithOffsets() 2166 /* not mappable or buffer overflow */ in ucnv_MBCSSingleToUnicodeWithOffsets() 2214 /* sourceIndex=-1 if the current character began in the previous buffer */ in ucnv_MBCSSingleToBMPWithOffsets() 2367 /* not mappable or buffer overflow */ in ucnv_MBCSSingleToBMPWithOffsets() 2492 * pass sourceIndex=-1 because we continue from an earlier buffer in ucnv_MBCSToUnicodeWithOffsets() 2539 /* sourceIndex=-1 if the current character began in the previous buffer */ in ucnv_MBCSToUnicodeWithOffsets() 2839 /* Back out bytes from the previous buffer: Need to replay them. */ in ucnv_MBCSToUnicodeWithOffsets() 2860 /* not mappable or buffer overflow */ in ucnv_MBCSToUnicodeWithOffsets() 3450 /* sourceIndex=-1 if the current character began in the previous buffer */ in ucnv_MBCSDoubleFromUnicodeWithOffsets() 3568 /* not mappable or buffer overflo in ucnv_MBCSDoubleFromUnicodeWithOffsets() 5656 char buffer[4]; ucnv_MBCSWriteSub() local [all...] |
| /third_party/mesa3d/src/gallium/drivers/r600/ |
| H A D | r600_asm.c | 2853 (struct pipe_resource**)&shader->buffer); in r600_create_vertex_fetch_shader() 2854 if (!shader->buffer) { in r600_create_vertex_fetch_shader() 2861 (&rctx->b, shader->buffer, in r600_create_vertex_fetch_shader() 2872 rctx->b.ws->buffer_unmap(rctx->b.ws, shader->buffer->buf); in r600_create_vertex_fetch_shader()
|
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/ |
| H A D | vktPrimitivesGeneratedQueryTests.cpp | 505 // When resetting them using a queue, we will submit a separate command buffer with the reset operation and wait for it to in iterate() 622 *pgqResultsBuffer, // VkBuffer buffer in iterate() 632 bufferBarrier.buffer = *xfbResultsBuffer; in iterate() 1356 void copyColorImageToBuffer (const DeviceInterface& vk, VkCommandBuffer cmdBuffer, VkImage image, VkBuffer buffer); 1915 return tcu::TestStatus::fail("Color buffer contains unexpected results; check log for details"); in iterate() 2184 void ConcurrentPrimitivesGeneratedQueryTestInstance::copyColorImageToBuffer (const DeviceInterface& vk, VkCommandBuffer cmdBuffer, VkImage image, VkBuffer buffer) in copyColorImageToBuffer() argument 2192 vk.cmdCopyImageToBuffer(cmdBuffer, image, vk::VK_IMAGE_LAYOUT_GENERAL, buffer, 1u, &colorCopyRegion); in copyColorImageToBuffer()
|
| /third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
| H A D | UniformBufferTest.cpp | 89 // Query the uniform buffer alignment requirement in TEST_P() 104 // Let's create a buffer which contains two vec4. in TEST_P() 134 // Bind the first part of the uniform buffer and draw in TEST_P() 142 // Bind the second part of the uniform buffer and draw in TEST_P() 145 // the buffer bufferSize = stride + vec4Size < 2 * stride. Ensure that this behaviour works. in TEST_P() 160 // Let's create a buffer which contains one vec4. in TEST_P() 175 // Try to bind the buffer to binding point 2 in TEST_P() 187 // Try to bind the buffer to another binding point in TEST_P() 232 // Use a large number of buffer ranges (compared to the actual size of the UBO) 238 // Query the uniform buffer alignmen in TEST_P() 796 GLBuffer buffer; TEST_P() local [all...] |
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
| H A D | UtilsVk.cpp | 1197 {VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1}, // dst index buffer in ensureConvertIndexIndirectResourcesInitialized() 1198 {VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1}, // source index buffer in ensureConvertIndexIndirectResourcesInitialized() 1199 {VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1}, // src indirect buffer in ensureConvertIndexIndirectResourcesInitialized() 1200 {VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1}, // dst indirect buffer in ensureConvertIndexIndirectResourcesInitialized() 1216 {VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1}, // cmd buffer in ensureConvertIndexIndirectLineLoopResourcesInitialized() 1217 {VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1}, // dst cmd buffer in ensureConvertIndexIndirectLineLoopResourcesInitialized() 1218 {VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1}, // source index buffer in ensureConvertIndexIndirectLineLoopResourcesInitialized() 1219 {VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1}, // dst index buffer in ensureConvertIndexIndirectLineLoopResourcesInitialized() 1235 {VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1}, // cmd buffer in ensureConvertIndirectLineLoopResourcesInitialized() 1236 {VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, 1}, // dst cmd buffer in ensureConvertIndirectLineLoopResourcesInitialized() [all...] |
| /third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
| H A D | TextureZeroInitTests.cpp | 158 wgpu::Buffer buffer = device.CreateBuffer(&bufferDescriptor); in TEST_P() local 161 utils::CreateImageCopyBuffer(buffer, 0, bytesPerRow, kSize); in TEST_P() 327 // first half filled with 100, by the buffer data in TEST_P() 975 // Add data to buffer to ensure it is initialized in TEST_P() 1014 // Expect the buffer to be zeroed out by the compute pass in TEST_P() 1032 // Set buffer with dirty data so we know it is cleared by the lazy cleared texture copy in TEST_P() 1067 // Set buffer with dirty data so we know it is cleared by the lazy cleared texture copy in TEST_P() 1101 // Set buffer with dirty data so we know it is cleared by the lazy cleared texture copy in TEST_P() 1447 // Create and initialize the destination buffer to ensure we only count the times of in TEST_P() 1451 wgpu::Buffer buffer in TEST_P() local [all...] |
| /third_party/python/Lib/test/ |
| H A D | test_codecs.py | 61 def __init__(self, buffer): 62 self._buffer = buffer 137 self.assertEqual(d.buffer, b"") 147 self.assertEqual(d.buffer, b"") 1112 # SF bug #1601501: check that the codec works with a buffer 3361 # Test that seek() only resets its internal buffer when offset
|
| /third_party/skia/third_party/externals/icu/source/common/ |
| H A D | ucnvmbcs.cpp | 2063 /* sourceIndex=-1 if the current character began in the previous buffer */ in ucnv_MBCSSingleToUnicodeWithOffsets() 2166 /* not mappable or buffer overflow */ in ucnv_MBCSSingleToUnicodeWithOffsets() 2214 /* sourceIndex=-1 if the current character began in the previous buffer */ in ucnv_MBCSSingleToBMPWithOffsets() 2367 /* not mappable or buffer overflow */ in ucnv_MBCSSingleToBMPWithOffsets() 2492 * pass sourceIndex=-1 because we continue from an earlier buffer in ucnv_MBCSToUnicodeWithOffsets() 2539 /* sourceIndex=-1 if the current character began in the previous buffer */ in ucnv_MBCSToUnicodeWithOffsets() 2839 /* Back out bytes from the previous buffer: Need to replay them. */ in ucnv_MBCSToUnicodeWithOffsets() 2860 /* not mappable or buffer overflow */ in ucnv_MBCSToUnicodeWithOffsets() 3450 /* sourceIndex=-1 if the current character began in the previous buffer */ in ucnv_MBCSDoubleFromUnicodeWithOffsets() 3568 /* not mappable or buffer overflo in ucnv_MBCSDoubleFromUnicodeWithOffsets() 5656 char buffer[4]; ucnv_MBCSWriteSub() local [all...] |
| /third_party/vixl/src/aarch64/ |
| H A D | macro-assembler-aarch64.cc | 409 MacroAssembler::MacroAssembler(byte* buffer, in Emit() argument 412 : Assembler(buffer, capacity, pic), in Emit() 429 MacroAssembler::MacroAssembler(PandaAllocator* allocator, byte* buffer, in Emit() argument 432 : Assembler(buffer, capacity, pic), in Emit() 792 // Bind a label to a specified offset from the start of the buffer. in Emit()
|
| /third_party/protobuf/java/lite/src/test/java/com/google/protobuf/ |
| H A D | LiteTest.java | 2137 ByteBuffer buffer = ByteBuffer.wrap(message.toByteArray(), 0, message.getSerializedSize() - 1); in testParseFromByteBufferThrows() 2139 TestAllTypesLite.parseFrom(buffer); in testParseFromByteBufferThrows() 2183 ByteBuffer buffer = ByteBuffer.wrap(message.toByteArray(), 0, message.getSerializedSize() - 1); in testParseFromByteBufferThrows_extensions() 2185 TestAllExtensionsLite.parseFrom(buffer, registry); in testParseFromByteBufferThrows_extensions()
|
| /test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest_additional/src/ |
| H A D | hdi_model_prepare_test.cpp | 433 auto buffer = (float *)memAddress; in HWTEST_F() local 435 std::vector<float> outputValue(buffer, buffer + ADDEND_DATA_SIZE); in HWTEST_F() 497 auto buffer = (float *)memAddress; in HWTEST_F() local 499 std::vector<float> outputValue(buffer, buffer + ADDEND_DATA_SIZE); in HWTEST_F() 561 auto buffer = (float *)memAddress; in HWTEST_F() local 563 std::vector<float> outputValue(buffer, buffer + ADDEND_DATA_SIZE); in HWTEST_F() 625 auto buffer in HWTEST_F() local 689 auto buffer = (float *)memAddress; HWTEST_F() local 753 auto buffer = (float *)memAddress; HWTEST_F() local 817 auto buffer = (float *)memAddress; HWTEST_F() local 881 auto buffer = (float *)memAddress; HWTEST_F() local 945 auto buffer = (float *)memAddress; HWTEST_F() local 1009 auto buffer = (float *)memAddress; HWTEST_F() local 1073 auto buffer = (float *)memAddress; HWTEST_F() local 1137 auto buffer = (float *)memAddress; HWTEST_F() local 1201 auto buffer = (float *)memAddress; HWTEST_F() local 1265 auto buffer = (float *)memAddress; HWTEST_F() local 1329 auto buffer = (float *)memAddress; HWTEST_F() local 1393 auto buffer = (float *)memAddress; HWTEST_F() local 1457 auto buffer = (float *)memAddress; HWTEST_F() local 1521 auto buffer = (float *)memAddress; HWTEST_F() local 1585 auto buffer = (float *)memAddress; HWTEST_F() local 1651 auto buffer = (float *)memAddress; HWTEST_F() local [all...] |
| /third_party/glfw/deps/glad/ |
| H A D | gl.h | 1922 typedef void (GLAD_API_PTR *PFNGLBINDBUFFERPROC)(GLenum target, GLuint buffer); 1923 typedef void (GLAD_API_PTR *PFNGLBINDBUFFERBASEPROC)(GLenum target, GLuint index, GLuint buffer); 1924 typedef void (GLAD_API_PTR *PFNGLBINDBUFFERRANGEPROC)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); 1947 typedef void (GLAD_API_PTR *PFNGLCLEARBUFFERFIPROC)(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); 1948 typedef void (GLAD_API_PTR *PFNGLCLEARBUFFERFVPROC)(GLenum buffer, GLint drawbuffer, const GLfloat * value); 1949 typedef void (GLAD_API_PTR *PFNGLCLEARBUFFERIVPROC)(GLenum buffer, GLint drawbuffer, const GLint * value); 1950 typedef void (GLAD_API_PTR *PFNGLCLEARBUFFERUIVPROC)(GLenum buffer, GLint drawbuffer, const GLuint * value); 2072 typedef void (GLAD_API_PTR *PFNGLFEEDBACKBUFFERPROC)(GLsizei size, GLenum type, GLfloat * buffer); 2222 typedef GLboolean (GLAD_API_PTR *PFNGLISBUFFERPROC)(GLuint buffer); 2435 typedef void (GLAD_API_PTR *PFNGLSELECTBUFFERPROC)(GLsizei size, GLuint * buffer); [all...] |
| /third_party/node/deps/v8/src/compiler/ |
| H A D | js-call-reducer.cc | 37 #include "src/objects/js-array-buffer-inl.h" 737 // buffer to be re-allocated. in SafeLoadElement() 6197 Node* buffer = effect = graph()->NewNode( 6202 buffer, effect, control); 6286 Node* buffer = effect = graph()->NewNode( 6291 buffer, effect, control); 6385 Node* buffer = etrue = 6391 graph()->NewNode(simplified()->LoadTypedElement(array_type), buffer, 7790 Node* buffer = effect = graph()->NewNode( 7795 buffer, effec [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
| H A D | vktPipelineMultisampleTests.cpp | 2669 return tcu::TestStatus::fail("Depth buffer verification failed: depth buffer was not clear"); 2824 // Quad color gets written to color buffer at location 1, and the alpha value to location 0 which is unused. 4392 // Create vertex buffer 4411 // Load vertices into vertex buffer 4447 // Create command buffer 4588 // The first draw was without color buffer and zero coverage. The depth buffer is expected to still have the clear value. 4592 // The depth test should pass as the first draw didn't touch the depth buffer. 4755 // This is the key to test the depth buffer contain [all...] |
| /third_party/toybox/toys/pending/ |
| H A D | bc.c | 5735 BcVec buf, buffer; in bc_vm_stdin() local 5741 bc_vec_init(&buffer, sizeof(uchar), NULL); in bc_vm_stdin() 5743 bc_vec_pushByte(&buffer, '\0'); in bc_vm_stdin() 5758 bc_vec_concat(&buffer, buf.v); in bc_vm_stdin() 5784 bc_vec_concat(&buffer, buf.v); in bc_vm_stdin() 5789 s = bc_vm_process(buffer.v, 1); in bc_vm_stdin() 5792 bc_vec_empty(&buffer); in bc_vm_stdin() 5806 bc_vec_free(&buffer); in bc_vm_stdin()
|
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
| H A D | vktPipelineMultisampleTests.cpp | 2733 // Quad color gets written to color buffer at location 1, and the alpha value to location 0 which is unused. 4294 // Create vertex buffer 4313 // Load vertices into vertex buffer 4349 // Create command buffer 4490 // The first draw was without color buffer and zero coverage. The depth buffer is expected to still have the clear value. 4494 // The depth test should pass as the first draw didn't touch the depth buffer. 4624 << "layout(set=0, binding=0, std430) buffer OutBuffer {\n" 4690 void zeroOutAndFlush(const vk::DeviceInterface& vkd, vk::VkDevice device, vk::BufferWithMemory& buffer, vk::VkDeviceSize size) 4692 auto& alloc = buffer [all...] |
| /third_party/vulkan-headers/include/vulkan/ |
| H A D | vulkan_hash.hpp | 118 std::size_t operator()( VULKAN_HPP_NAMESPACE::Buffer const & buffer ) const VULKAN_HPP_NOEXCEPT 120 return std::hash<VkBuffer>{}( static_cast<VkBuffer>( buffer ) ); 609 VULKAN_HPP_HASH_COMBINE( seed, accelerationStructureCreateInfoKHR.buffer ); 1313 VULKAN_HPP_HASH_COMBINE( seed, bindBufferMemoryInfo.buffer ); 1506 VULKAN_HPP_HASH_COMBINE( seed, sparseBufferMemoryBindInfo.buffer ); 1721 VULKAN_HPP_HASH_COMBINE( seed, bufferCaptureDescriptorDataInfoEXT.buffer ); 1919 VULKAN_HPP_HASH_COMBINE( seed, bufferDeviceAddressInfo.buffer ); 1970 VULKAN_HPP_HASH_COMBINE( seed, bufferMemoryBarrier.buffer ); 1991 VULKAN_HPP_HASH_COMBINE( seed, bufferMemoryBarrier2.buffer ); 2006 VULKAN_HPP_HASH_COMBINE( seed, bufferMemoryRequirementsInfo2.buffer ); [all...] |
| /test/xts/hats/hdf/codec/hdi_image/ |
| H A D | codec_hdi_jpeg_test.cpp | 56 outBuffer.buffer = new NativeBuffer(bufferHandle); in InitOutBuffer()
|
| /third_party/ffmpeg/libavcodec/ |
| H A D | svq1dec.c | 558 csum = av_bswap16(av_crc(av_crc_get_table(AV_CRC_16_CCITT), av_bswap16(csum), bitbuf->buffer, bitbuf->size_in_bits >> 3)); in svq1_decode_frame_header() 630 /* initialize bit buffer */ in svq1_decode_frame()
|