Home
last modified time | relevance | path

Searched refs:buffer (Results 3076 - 3100 of 6014) sorted by relevance

1...<<121122123124125126127128129130>>...241

/third_party/node/deps/v8/src/deoptimizer/
H A Dtranslation-array.cc27 TranslationArrayIterator::TranslationArrayIterator(TranslationArray buffer, in TranslationArrayIterator() argument
29 : buffer_(buffer), index_(index) { in TranslationArrayIterator()
45 DCHECK(index >= 0 && index < buffer.length()); in TranslationArrayIterator()
/third_party/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_matrix_filter.c189 if(!filter->quad.buffer.resource) in vl_matrix_filter_init()
238 pipe_resource_reference(&filter->quad.buffer.resource, NULL); in vl_matrix_filter_init()
262 pipe_resource_reference(&filter->quad.buffer.resource, NULL); in vl_matrix_filter_cleanup()
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_draw_elements.c41 * Return a new index buffer which contains a translation of the original
42 * index buffer. An example of a translation is converting from QUAD
46 * Before generating the new index buffer we'll check if the incoming
47 * buffer already has a translated buffer that can be re-used.
51 * \param offset offset in bytes to first index to translate in src buffer
54 * \param orig_nr number of indexes to translate in source buffer
55 * \param gen_nr number of indexes to write into new/dest buffer
58 * \param out_buf returns the new/translated index buffer
87 /* If the draw_info provides us with a buffer rathe in translate_indices()
[all...]
/third_party/node/deps/uv/src/
H A Dfs-poll.c138 int uv_fs_poll_getpath(uv_fs_poll_t* handle, char* buffer, size_t* size) { in uv_fs_poll_getpath() argument
156 memcpy(buffer, ctx->path, required_len); in uv_fs_poll_getpath()
158 buffer[required_len] = '\0'; in uv_fs_poll_getpath()
/third_party/node/deps/uv/src/unix/
H A Dibmi.c528 int uv_get_process_title(char* buffer, size_t size) { in uv_get_process_title() argument
529 if (buffer == NULL || size == 0) in uv_get_process_title()
532 buffer[0] = '\0'; in uv_get_process_title()
/third_party/rust/crates/codespan/codespan-reporting/examples/
H A Dreadme_preview.rs82 let mut buffer = Vec::new(); in main() variables
83 let mut writer = HtmlEscapeWriter::new(SvgWriter::new(&mut buffer)); in main()
93 let num_lines = buffer.iter().filter(|byte| **byte == b'\n').count() + 1; in main()
166 writer.write_all(&buffer)?; in main()
/third_party/vk-gl-cts/external/amber/src/src/
H A Dscript.h28 #include "src/buffer.h"
114 /// Adds |buffer| to the list of known buffers. The |buffer| must have a
116 Result AddBuffer(std::unique_ptr<Buffer> buffer) { in AddBuffer() argument
117 if (name_to_buffer_.count(buffer->GetName()) > 0) in AddBuffer()
118 return Result("duplicate buffer name provided"); in AddBuffer()
120 buffers_.push_back(std::move(buffer)); in AddBuffer()
125 /// Retrieves the buffer with |name|, |nullptr| if not found.
/third_party/skia/src/codec/
H A DSkIcoCodec.cpp22 bool SkIcoCodec::IsIco(const void* buffer, size_t bytesRead) { in IsIco() argument
26 (!memcmp(buffer, icoSig, sizeof(icoSig)) || in IsIco()
27 !memcmp(buffer, curSig, sizeof(curSig))); in IsIco()
32 // It is helpful to have the entire stream in a contiguous buffer. In some cases, in MakeFromStream()
/third_party/skia/src/gpu/gl/
H A DGrGLBuffer.cpp45 sk_sp<GrGLBuffer> buffer(new GrGLBuffer(gpu, size, intendedType, accessPattern, data)); in Make()
46 if (0 == buffer->bufferID()) { in Make()
49 return buffer; in Make()
52 // GL_STREAM_DRAW triggers an optimization in Chromium's GPU process where a client's vertex buffer
197 // Make sure the GL buffer size agrees with fDesc before mapping. in onMap()
219 // Make sure the GL buffer size agrees with fDesc before mapping. in onMap()
243 // bind buffer handles the dirty context in onUnmap()
286 // glBufferData with nullptr. This makes the old buffer contents in onUpdateData()
303 // portions of the buffer (map() does a glBufferData(..size, nullptr..)) in onUpdateData()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DShader.cpp240 char buffer[256]; in compile() local
241 sprintf(buffer, "shader-input-%d-%d.txt", getName(), serial); in compile()
242 FILE *file = fopen(buffer, "wt"); in compile()
/third_party/skia/third_party/externals/libpng/contrib/libtests/
H A Dtimepng.c68 (png_structp png_ptr, png_bytep buffer, size_t cb)) in PNG_CALLBACK()
72 if (fread(buffer, cb, 1, io->input) != 1) in PNG_CALLBACK()
75 if (fwrite(buffer, cb, 1, io->output) != 1) in PNG_CALLBACK()
349 " Otherwise: read by row using png_read_row (to a single row buffer)\n" in usage()
67 PNG_CALLBACK(void, read_and_copy, (png_structp png_ptr, png_bytep buffer, size_t cb)) PNG_CALLBACK() argument
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
H A Dtblcoll.h484 * @param buffer a fill-in buffer to receive the binary image
485 * @param capacity capacity of the destination buffer
491 int32_t cloneBinary(uint8_t *buffer, int32_t capacity, UErrorCode &status) const;
500 * @param buffer UnicodeString to store the result rules
504 void getRules(UColRuleOption delta, UnicodeString &buffer) const;
629 * @param result buffer to store result in. If NULL, number of bytes needed
631 * @param resultLength length of the result buffer. If if not enough the
632 * buffer will be filled to capacity.
640 * Get the sort key as an array of bytes from a char16_t buffer
[all...]
H A Ducol.h795 * @param result A pointer to a buffer to receive the attribute.
798 * @return The total buffer size needed; if greater than resultLength,
910 * @param resultCapacity capacity of the fillin buffer
919 * @return the actual buffer size needed for the locale. If greater
954 * @param buffer space to hold the resulting string
955 * @param capacity capacity of the buffer
965 char *buffer,
975 * @param capacity capacity of the buffer
1005 * Like ICU functions that write to an output buffer, the buffer content
[all...]
/third_party/skia/third_party/externals/icu/source/io/
H A Dufile.cpp147 // stack-allocated buffer to contain a file name or path. If PATH_MAX (POSIX) or MAX_PATH
149 // otherwise, we will use FILENAME_BUF_MAX for the stack-allocated buffer, and dynamically
150 // allocate a buffer for any file name or path that is that length or longer.
167 char buffer[FILENAME_BUF_CAPACITY]; in u_fopen_u() local
168 char *filenameBuffer = buffer; in u_fopen_u()
173 if (filenameLength >= FILENAME_BUF_CAPACITY) { // could not fit (with zero termination) in buffer in u_fopen_u()
201 if (filenameBuffer != buffer) { in u_fopen_u()
/third_party/skia/third_party/externals/libwebp/src/webp/
H A Ddecode.h81 // returned is the Y samples buffer. Upon return, *u and *v will point to
85 // Upon return, the Y buffer has a stride returned as '*stride', while U and V
95 // directly into a pre-allocated buffer 'output_buffer'. The maximum storage
96 // available in this buffer is indicated by 'output_buffer_size'. If this
124 // chroma ones. The size of each plane buffer is passed as 'luma_size',
135 // Output colorspaces and buffer
181 // WebPDecBuffer: Generic structure for describing the output sample buffer.
186 size_t size; // total size of the *rgba buffer.
199 // Output buffer
210 } u; // Nameless union of buffer parameter
223 WebPInitDecBuffer(WebPDecBuffer* buffer) WebPInitDecBuffer() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DIndirectDrawValidationEncoder.cpp218 // data from the same indirect buffer, but they may still be split into multiple passes if in EncodeIndirectDrawValidationCommands()
333 bufferDataBinding.buffer = batchDataBuffer.GetBuffer(); in EncodeIndirectDrawValidationCommands()
340 validatedParamsBinding.buffer = validatedParamsBuffer.GetBuffer(); in EncodeIndirectDrawValidationCommands()
361 clientIndirectBinding.buffer = pass.clientIndirectBuffer; in EncodeIndirectDrawValidationCommands()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DRenderPassLoadOpTests.cpp124 wgpu::Buffer buffer = device.CreateBuffer(&bufferDescriptor); in TestIntegerClearColor() local
129 utils::CreateImageCopyBuffer(buffer, 0, kTextureBytesPerRowAlignment); in TestIntegerClearColor()
136 buffer, 0, bufferSize / sizeof(uint32_t)); in TestIntegerClearColor() local
H A DFirstIndexOffsetTests.cpp82 // values to a storage buffer. If vertex index is used, the vertex buffer is padded with 0s.
170 wgpu::Buffer buffer = utils::CreateBufferFromData( in TestImpl() local
192 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), {{0, buffer}}); in TestImpl()
230 EXPECT_BUFFER_U32_RANGE_EQ(expected.data(), buffer, 0, expected.size()); in TestImpl()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-shape-complex-indic-machine.hh433 find_syllables_indic (hb_buffer_t *buffer) in find_syllables_indic() argument
437 hb_glyph_info_t *info = buffer->info; in find_syllables_indic()
451 pe = eof = buffer->len; in find_syllables_indic()
/third_party/skia/third_party/externals/piex/src/binary_parse/
H A Drange_checked_byte_ptr.cc35 MemoryPagedByteArray(const unsigned char *buffer, const size_t len);
47 MemoryPagedByteArray::MemoryPagedByteArray(const unsigned char *buffer, in MemoryPagedByteArray() argument
49 : buffer_(buffer), len_(len) {} in MemoryPagedByteArray()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DErrorOr.h38 /// auto buffer = getBuffer();
39 /// if (error_code ec = buffer.getError())
41 /// buffer->write("adena");
244 return reinterpret_cast<storage_type*>(TStorage.buffer); in getStorage()
249 return reinterpret_cast<const storage_type*>(TStorage.buffer); in getStorage()
254 return reinterpret_cast<std::error_code *>(ErrorStorage.buffer); in getErrorStorage()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DErrorOr.h50 /// auto buffer = getBuffer();
51 /// if (error_code ec = buffer.getError())
53 /// buffer->write("adena");
254 return reinterpret_cast<storage_type*>(TStorage.buffer); in getStorage()
259 return reinterpret_cast<const storage_type*>(TStorage.buffer); in getStorage()
264 return reinterpret_cast<std::error_code *>(ErrorStorage.buffer); in getErrorStorage()
/third_party/skia/tools/skiaserve/
H A DRequest.cpp49 SkDynamicMemoryWStream buffer; in writeCanvasToPng() local
50 DrawCommand::WritePNG(bmp, buffer); in writeCanvasToPng()
51 return buffer.detachAsData(); in writeCanvasToPng()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DCommandBufferValidationTests.cpp27 // Test for an empty command buffer
32 // Test that a command buffer cannot be ended mid render pass
36 // Control case, command buffer ended after the pass is ended. in TEST_F()
44 // Error case, command buffer ended mid-pass. in TEST_F()
50 HasSubstr("Command buffer recording ended before [RenderPassEncoder] was ended.")); in TEST_F()
53 // Error case, command buffer ended mid-pass. Trying to use encoders after Finish in TEST_F()
60 HasSubstr("Command buffer recording ended before [RenderPassEncoder] was ended.")); in TEST_F()
67 // Test that a command buffer cannot be ended mid compute pass
69 // Control case, command buffer ended after the pass is ended. in TEST_F()
77 // Error case, command buffer ende in TEST_F()
222 wgpu::Buffer buffer = device.CreateBuffer(&bufferDesc); TEST_F() local
[all...]
/third_party/skia/third_party/externals/egl-registry/api/1.0/EGL/
H A Degl.h162 /* EGL_RENDER_BUFFER values / BindTexImage / ReleaseTexImage buffer targets */
182 /* Back buffer swap behaviors */
186 /* CreatePbufferFromClientBuffer buffer types */
250 EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer,
255 EGLAPI EGLBoolean APIENTRY eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);
256 EGLAPI EGLBoolean APIENTRY eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer);

Completed in 19 milliseconds

1...<<121122123124125126127128129130>>...241