| /third_party/skia/third_party/externals/dng_sdk/source/ |
| H A D | dng_gain_map.cpp | 545 dng_pixel_buffer &buffer, in ProcessArea() 561 plane < buffer.Planes (); in ProcessArea() 570 real32 *dPtr = buffer.DirtyPixel_real32 (row, overlap.l, plane); in ProcessArea() 543 ProcessArea(dng_negative & , uint32 , dng_pixel_buffer &buffer, const dng_rect &dstArea, const dng_rect &imageBounds) ProcessArea() argument
|
| H A D | dng_fingerprint.cpp | 287 memcpy (&buffer [index], in Process() 291 MD5Transform (state, buffer); in Process() 306 memcpy (&buffer [index], in Process()
|
| /third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
| H A D | Internal.java | 349 final byte[] buffer = new byte[bufferSize]; in hashCodeByteBuffer() 356 duplicated.get(buffer, 0, length); in hashCodeByteBuffer() 357 h = partialHash(h, buffer, 0, length); in hashCodeByteBuffer()
|
| /third_party/protobuf/js/binary/ |
| H A D | decoder_test.js | 32 * @fileoverview Test cases for jspb's binary protocol buffer decoder. 323 var buffer = encoder.end(); 324 var zigzagDecoder = jspb.BinaryDecoder.alloc(buffer); 325 var varintDecoder = jspb.BinaryDecoder.alloc(buffer);
|
| /third_party/python/PC/layout/support/ |
| H A D | appxmanifest.py | 485 buffer = io.BytesIO() 486 xml.write(buffer, encoding="utf-8", xml_declaration=True) 487 return buffer.getbuffer()
|
| /third_party/python/Lib/ |
| H A D | base64.py | 591 func(f, sys.stdout.buffer) 593 func(sys.stdin.buffer, sys.stdout.buffer)
|
| H A D | mailbox.py | 214 buffer = io.BytesIO() 215 gen = email.generator.BytesGenerator(buffer, mangle_from_, 0) 217 buffer.seek(0) 218 data = buffer.read() 239 if hasattr(message, 'buffer'): 242 message = message.buffer 686 buffer = self._file.read(min(4096, 688 if not buffer: 690 new_file.write(buffer) 1429 buffer [all...] |
| /third_party/python/Modules/_blake2/impl/ |
| H A D | blake2s.c | 333 memcpy( S->buf + left, in, fill ); // Fill buffer in blake2s_update() 337 memcpy( S->buf, S->buf + BLAKE2S_BLOCKBYTES, BLAKE2S_BLOCKBYTES ); // Shift buffer left in blake2s_update() 357 uint8_t buffer[BLAKE2S_OUTBYTES]; in blake2s_final() local 374 for( int i = 0; i < 8; ++i ) /* Output full hash to temp buffer */ in blake2s_final() 375 store32( buffer + sizeof( S->h[i] ) * i, S->h[i] ); in blake2s_final() 377 memcpy( out, buffer, outlen ); in blake2s_final()
|
| /third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
| H A D | escaping_test.cc | 597 StringType buffer; in TestEscapeAndUnescape() local 598 absl::WebSafeBase64Escape(tc.plaintext, &buffer); in TestEscapeAndUnescape() 599 EXPECT_EQ(tc.cyphertext, buffer); in TestEscapeAndUnescape()
|
| /third_party/skia/experimental/skottiekit/ |
| H A D | skottiekit_bindings.cpp | 235 // Wrap the frame buffer object attached to the screen in a Skia render in MakeOnScreenGLSurface() 237 GrGLint buffer; in MakeOnScreenGLSurface() local 238 glGetIntegerv(GL_FRAMEBUFFER_BINDING, &buffer); in MakeOnScreenGLSurface() 240 info.fFBOID = (GrGLuint) buffer; in MakeOnScreenGLSurface()
|
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/ |
| H A D | vktRayQueryProceduralGeometryTests.cpp | 74 void clearBuffer (de::SharedPtr<BufferWithMemory> buffer, VkDeviceSize bufferSize); 197 // verify result buffer in iterate() 224 void RayQueryProceduralGeometryTestBase::clearBuffer(de::SharedPtr<BufferWithMemory> buffer, VkDeviceSize bufferSize) in clearBuffer() argument 228 auto& bufferAlloc = buffer->getAllocation(); in clearBuffer() 409 "layout(set = 0, binding = 1, std430) writeonly buffer Result {\n" in initPrograms()
|
| /third_party/vk-gl-cts/external/vulkancts/vkscpc/ |
| H A D | vkscpc.cpp | 84 std::stringstream buffer; in importFilesForExternalCompiler() local 85 buffer << file.rdbuf(); in importFilesForExternalCompiler() 86 fileContents = buffer.str(); in importFilesForExternalCompiler()
|
| /third_party/vk-gl-cts/framework/common/ |
| H A D | tcuWaiverUtil.cpp | 182 std::stringstream buffer; in readWaivedTestsFromXML() 183 buffer << iStream.rdbuf(); in readWaivedTestsFromXML() 184 std::string wholeContent = buffer.str(); in readWaivedTestsFromXML()
|
| /third_party/skia/third_party/externals/angle2/src/libANGLE/ |
| H A D | VertexArray.h | 8 // The buffer objects that are to be used by the vertex stage of the GL are collected 96 // This is a performance optimization for buffer binding. Allows element array buffer updates. 116 void enableForBuffer(Buffer *buffer, uint32_t bufferIndex); 117 void disableForBuffer(Buffer *buffer, uint32_t bufferIndex); 206 // Returns true if the function finds and detaches a bound buffer. 317 // This is a performance optimization for buffer binding. Allows element array buffer updates. 328 void updateCachedTransformFeedbackBindingValidation(size_t bindingIndex, const Buffer *buffer);
|
| /third_party/vk-gl-cts/external/openglcts/modules/gl/ |
| H A D | gl4cEnhancedLayoutsTests.hpp | 134 /** Represents buffer instance 135 * Provides basic buffer functionality 177 void Init(BUFFERS buffer, USAGE usage, glw::GLsizeiptr size, glw::GLvoid* data); 196 static void Bind(const glw::Functions& gl, glw::GLuint id, BUFFERS buffer); 198 static void BindBase(const glw::Functions& gl, glw::GLuint id, BUFFERS buffer, glw::GLuint index); 200 static void BindRange(const glw::Functions& gl, glw::GLuint id, BUFFERS buffer, glw::GLuint index, 203 static void Data(const glw::Functions& gl, BUFFERS buffer, USAGE usage, glw::GLsizeiptr size, glw::GLvoid* data); 207 static void* Map(const glw::Functions& gl, BUFFERS buffer, ACCESS access); 209 static void SubData(const glw::Functions& gl, BUFFERS buffer, glw::GLintptr offset, glw::GLsizeiptr size, 212 static void UnMap(const glw::Functions& gl, BUFFERS buffer); [all...] |
| /third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
| H A D | VertexAttributeTest.cpp | 394 static void InitQuadVertexBuffer(GLBuffer *buffer) in InitQuadVertexBuffer() argument 400 glBindBuffer(GL_ARRAY_BUFFER, *buffer); in InitQuadVertexBuffer() 405 static void InitQuadPlusOneVertexBuffer(GLBuffer *buffer) in InitQuadPlusOneVertexBuffer() argument 411 glBindBuffer(GL_ARRAY_BUFFER, *buffer); in InitQuadPlusOneVertexBuffer() 567 // Verify that vertex data is updated correctly when using a float/half-float buffer. 647 // Verify that using different vertex format and same buffer won't mess up the draw. 672 // Verify that vertex format is updated correctly when the buffer is same. 698 // Verify that mixed using buffer and client memory pointer won't mess up the draw. 977 // starting a render pass. This to verify that buffer format conversion within 998 // starting a render pass. This to verify that buffer forma 1534 GLBuffer buffer; TEST_P() local 1716 GLBuffer buffer; TEST_P() local 1785 GLuint buffer; TEST_P() local 1859 GLBuffer buffer; TEST_P() local 1930 GLBuffer buffer; TEST_P() local 3272 GLBuffer buffer; TEST_P() local [all...] |
| H A D | WebGLCompatibilityTest.cpp | 610 GLBuffer buffer; in TEST_P() local 611 glBindBuffer(GL_PIXEL_PACK_BUFFER, buffer); in TEST_P() 630 glBindBuffer(GL_PIXEL_PACK_BUFFER, buffer); in TEST_P() 691 GLBuffer buffer; in TEST_P() local 692 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, buffer); in TEST_P() 1522 GLBuffer buffer; in TEST_P() local 1523 glBindBuffer(GL_ARRAY_BUFFER, buffer.get()); in TEST_P() 1536 GLBuffer buffer; in TEST_P() local 1537 glBindBuffer(GL_ARRAY_BUFFER, buffer.get()); in TEST_P() 1562 GLBuffer buffer; in TEST_P() local 1688 GLBuffer buffer; TEST_P() local 1754 GLBuffer buffer; TEST_P() local 2298 GLBuffer buffer; TEST_P() local 4657 GLBuffer buffer; TEST_P() local [all...] |
| /third_party/skia/third_party/externals/sfntly/java/lib/ |
| H A D | icu4j-charset-4_8_1_1.jar | META-INF/
META-INF/MANIFEST.MF
META-INF/services/
com/
com/ibm/
com/ibm/icu/
... |
| /third_party/python/Modules/ |
| H A D | _elementtree.c | 176 /* this either points to _children or to a malloced buffer */ 473 /* copy existing children from static area to malloc buffer */ in element_resize() 3934 PyObject* buffer; in _elementtree_XMLParser__parse_whole() local 3948 buffer = PyObject_CallFunction(reader, "i", 64*1024); in _elementtree_XMLParser__parse_whole() 3950 if (!buffer) { in _elementtree_XMLParser__parse_whole() 3956 if (PyUnicode_CheckExact(buffer)) { in _elementtree_XMLParser__parse_whole() 3958 if (PyUnicode_GET_LENGTH(buffer) == 0) { in _elementtree_XMLParser__parse_whole() 3959 Py_DECREF(buffer); in _elementtree_XMLParser__parse_whole() 3962 temp = PyUnicode_AsEncodedString(buffer, "utf-8", "surrogatepass"); in _elementtree_XMLParser__parse_whole() 3963 Py_DECREF(buffer); in _elementtree_XMLParser__parse_whole() [all...] |
| /third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/ |
| H A D | vktComputeBasicComputeShaderTests.cpp | 169 << "layout(binding = 0) writeonly buffer Output {\n" in initPrograms() 211 // Create a buffer and host-visible memory for it in iterate() 214 const BufferWithMemory buffer(vk, device, allocator, makeBufferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); in iterate() 230 const VkDescriptorBufferInfo descriptorInfo = makeDescriptorBufferInfo(*buffer, 0ull, bufferSizeBytes); in iterate() 241 const VkBufferMemoryBarrier computeFinishBarrier = makeBufferMemoryBarrier(VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *buffer, 0ull, bufferSizeBytes); in iterate() 265 const Allocation& bufferAllocation = buffer.getAllocation(); in iterate() 340 << "layout(binding = 0) writeonly buffer Output {\n" in initPrograms() 382 // Create a buffer and host-visible memory for it in iterate() 385 const BufferWithMemory buffer(vk, device, allocator, makeBufferCreateInfo(bufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); in iterate() 401 const VkDescriptorBufferInfo descriptorInfo = makeDescriptorBufferInfo(*buffer, in iterate() [all...] |
| /third_party/ffmpeg/libavcodec/arm/ |
| H A D | vp9itxfm_16bpp_neon.S | 577 @ r0 = dst (temp buffer) 604 @ which would be stored as the last row in the temp buffer, 623 @ r2 = src (temp buffer) 697 @ Align the stack, allocate a temp buffer 731 @ passthrough of coefficients to pass 2 and clear the end of the temp buffer 1026 @ r0 = dst (temp buffer) 1070 @ r2 = src (temp buffer) 1164 @ Align the stack, allocate a temp buffer 1551 @ r0 = dst (temp buffer) 1667 @ and use the source as temp buffer betwee [all...] |
| /third_party/glfw/src/ |
| H A D | win32_window.c | 1252 WCHAR* buffer = _glfw_calloc((size_t) length + 1, sizeof(WCHAR)); in windowProc() local 1254 DragQueryFileW(drop, i, buffer, length + 1); in windowProc() 1255 paths[i] = _glfwCreateUTF8FromWideStringWin32(buffer); in windowProc() 1257 _glfw_free(buffer); in windowProc() 2371 WCHAR* buffer; in _glfwSetClipboardStringWin32() local 2385 buffer = GlobalLock(object); in _glfwSetClipboardStringWin32() 2386 if (!buffer) in _glfwSetClipboardStringWin32() 2394 MultiByteToWideChar(CP_UTF8, 0, string, -1, buffer, characterCount); in _glfwSetClipboardStringWin32() 2421 WCHAR* buffer; in _glfwGetClipboardStringWin32() local 2448 buffer in _glfwGetClipboardStringWin32() [all...] |
| /third_party/backends/backend/ |
| H A D | gt68xx_high.c | 1023 * @param buffer scanned line 1026 gt68xx_afe_ccd_calc (GT68xx_Afe_Values * values, unsigned int *buffer) in gt68xx_afe_ccd_calc() argument 1054 if ((SANE_Int) (buffer[i] >> 8) < min_black) in gt68xx_afe_ccd_calc() 1055 min_black = (buffer[i] >> 8); in gt68xx_afe_ccd_calc() 1056 if ((SANE_Int) (buffer[i] >> 8) > max_black) in gt68xx_afe_ccd_calc() 1057 max_black = (buffer[i] >> 8); in gt68xx_afe_ccd_calc() 1059 if ((buffer[i] >> 8) > 15) in gt68xx_afe_ccd_calc() 1061 else if ((buffer[i] >> 8) < 5) in gt68xx_afe_ccd_calc() 1073 if ((SANE_Int) (buffer[i] >> 8) > max_white) in gt68xx_afe_ccd_calc() 1074 max_white = (buffer[ in gt68xx_afe_ccd_calc() 1093 gt68xx_afe_ccd_adjust_offset_gain(SANE_String_Const color_name, GT68xx_Afe_Values * values, unsigned int *buffer, SANE_Byte * offset, SANE_Byte * pga, SANE_Byte * old_offset, SANE_Byte * old_pga) gt68xx_afe_ccd_adjust_offset_gain() argument [all...] |
| /third_party/NuttX/fs/nfs/ |
| H A D | nfs_adapter.c | 515 /* Determine the size of a buffer that will hold one RPC data transfer. in nfs_bind() 527 /* The buffer size will be the maximum of those two sizes */ in nfs_bind() 534 /* But don't let the buffer size exceed the MSS of the socket type. in nfs_bind() 553 /* Save the allocated I/O buffer size */ in nfs_bind() 1554 int vfs_nfs_write(struct file *filep, const char *buffer, size_t buflen) in vfs_nfs_write() argument 1625 /* Now loop until we send the entire user buffer */ in vfs_nfs_write() 1641 * buffer size. in vfs_nfs_write() 1650 /* Copy a chunk of the user data into the temporary buffer */ in vfs_nfs_write() 1652 if (LOS_CopyToKernel(temp_buffer, writesize, buffer, writesize) != 0) in vfs_nfs_write() 1660 * RPC calls in that the entry RPC calls messasge lies in the I/O buffer in vfs_nfs_write() 1773 vfs_nfs_writepage(struct Vnode *node, char *buffer, off_t pos, size_t buflen) vfs_nfs_writepage() argument 2047 vfs_nfs_readpage(struct Vnode *node, char *buffer, off_t pos) vfs_nfs_readpage() argument 2197 vfs_nfs_read(struct file *filep, char *buffer, size_t buflen) vfs_nfs_read() argument [all...] |
| /third_party/skia/src/gpu/vk/ |
| H A D | GrVkGpu.cpp | 407 // we are not submitting the command buffer and may never come back around to submit it. in submitCommandBuffer() 429 // If we didn't submit the command buffer then we did not wait on any semaphores. We will in submitCommandBuffer() 430 // continue to hold onto these semaphores and wait on them during the next command buffer in submitCommandBuffer() 439 // Even if we did not submit the command buffer, we drop all the signal semaphores since we will in submitCommandBuffer() 458 // We must wait to call checkCommandBuffers until after we get a new command buffer. The in submitCommandBuffer() 460 // released GrVkImage. That barrier needs to be put into a new command buffer and not the old in submitCommandBuffer() 622 // Copy the buffer to the image. in onTransferPixelsTo() 652 // Reading from render targets that wrap a secondary command buffer is not allowed since in onTransferPixelsFrom() 694 // Make sure the copy to buffer has finished. in onTransferPixelsFrom() 816 // This fills in the 'regions' vector in preparation for copying a buffer t 982 char* buffer = (char*) slice.fOffsetMapPtr; uploadTexDataOptimal() local 1074 char* buffer = (char*)slice.fOffsetMapPtr; uploadTexDataCompressed() local 1296 updateBuffer(sk_sp<GrVkBuffer> buffer, const void* src, VkDeviceSize offset, VkDeviceSize size) updateBuffer() argument 2251 takeOwnershipOfBuffer(sk_sp<GrGpuBuffer> buffer) takeOwnershipOfBuffer() argument 2527 onReadPixels(GrSurface* surface, SkIRect rect, GrColorType surfaceColorType, GrColorType dstColorType, void* buffer, size_t rowBytes) onReadPixels() argument 2792 submitSecondaryCommandBuffer(std::unique_ptr<GrVkSecondaryCommandBuffer> buffer) submitSecondaryCommandBuffer() argument [all...] |