Home
last modified time | relevance | path

Searched refs:buffer (Results 5626 - 5650 of 12508) sorted by relevance

1...<<221222223224225226227228229230>>...501

/third_party/node/src/inspector/
H A Dmain_thread_interface.cc291 MaybeStackBuffer<char16_t> buffer(expected_u16_length); in Utf8ToStringView()
293 message.data(), message.length(), buffer.out()); in Utf8ToStringView()
294 StringView view(reinterpret_cast<uint16_t*>(buffer.out()), utf16_length); in Utf8ToStringView()
/third_party/node/src/
H A Djs_udp_wrap.cc148 ArrayBufferViewContents<char> buffer(args[0]); in EmitReceived()
149 const char* data = buffer.data(); in EmitReceived()
150 int len = buffer.length(); in EmitReceived()
H A Djs_stream.cc168 ArrayBufferViewContents<char> buffer(args[0]); in ReadBuffer()
169 const char* data = buffer.data(); in ReadBuffer()
170 int len = buffer.length(); in ReadBuffer()
/third_party/mesa3d/src/mesa/main/
H A Dmultisample.c313 GLint buffer[16] = {-1}; in _mesa_check_sample_count() local
317 GL_SAMPLES, buffer); in _mesa_check_sample_count()
321 limit = buffer[0]; in _mesa_check_sample_count()
/third_party/node/deps/icu-small/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 nullptr, 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.h805 * @param result A pointer to a buffer to receive the attribute.
808 * @return The total buffer size needed; if greater than resultLength,
920 * @param resultCapacity capacity of the fillin buffer
929 * @return the actual buffer size needed for the locale. If greater
964 * @param buffer space to hold the resulting string
965 * @param capacity capacity of the buffer
975 char *buffer,
985 * @param capacity capacity of the buffer
1014 * Like ICU functions that write to an output buffer, the buffer content
[all...]
/third_party/icu/icu4c/source/i18n/unicode/
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
1004 * Like ICU functions that write to an output buffer, the buffer content
[all...]
/third_party/icu/icu4c/source/test/perf/utfperf/
H A Dutfperf.cpp66 "\t--pivot Length (in UChars) of the UTF-16 pivot buffer, if applicable.\n"
91 countInputCodePoints = u_countChar32(buffer, bufferLen); in UtfPerformanceTest()
92 u_strToUTF8(utf8, (int32_t)sizeof(utf8), &utf8Length, buffer, bufferLen, &status); in UtfPerformanceTest()
98 const UChar *getBuffer() const { return buffer; } in getBuffer()
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetDecoderICU.java62 CharBuffer target, IntBuffer offsets, char[] buffer, int length, CoderResult cr) {
64 return onUnmappableCharacter.call(decoder, context, source, target, offsets, buffer,
67 return onMalformedInput.call(decoder, context, source, target, offsets, buffer,
70 // return CharsetCallback.TO_U_CALLBACK_STOP.call(decoder, context, source, target, offsets, buffer, length, cr);
193 * Flushes any characters saved in the converter's internal buffer and
228 * This method allows a buffer by buffer conversion of a data stream.
235 * @param in buffer to decode
236 * @param out buffer to populate with decoded result
265 * @param in The input byte buffer
[all...]
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client/
H A Dminimal-http-client.c162 char buffer[1024 + LWS_PRE]; in callback_http() local
163 char *px = buffer + LWS_PRE; in callback_http()
164 int lenx = sizeof(buffer) - LWS_PRE; in callback_http()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-custom/
H A Dminimal-http-server.c329 char buffer[1024 + LWS_PRE]; in callback_http() local
330 char *px = buffer + LWS_PRE; in callback_http()
331 int lenx = sizeof(buffer) - LWS_PRE; in callback_http()
/third_party/lwip/src/netif/ppp/polarssl/
H A Dmd4.c190 * MD4 process buffer
211 MEMCPY( (void *) (ctx->buffer + left), in md4_update()
213 md4_process( ctx, ctx->buffer ); in md4_update()
228 MEMCPY( (void *) (ctx->buffer + left), in md4_update()
270 * output = MD4( input buffer )
/third_party/node/deps/v8/src/date/
H A Ddateparser-inl.h197 uint32_t buffer[3] = {0, 0, 0}; in Scan() local
198 int length = in_->ReadWord(buffer, 3); in Scan()
199 int index = KeywordTable::Lookup(buffer, length); in Scan()
/third_party/node/deps/v8/src/codegen/
H A Dassembler.h124 // The code buffer offset at the time of the request.
159 // without any buffer to hold reloc information.
201 // Return a grown copy of this buffer. The contained data is uninitialized.
208 // Allocate an AssemblerBuffer which uses an existing buffer. This buffer cannot
211 std::unique_ptr<AssemblerBuffer> ExternalAssemblerBuffer(void* buffer,
286 std::unique_ptr<AssemblerBuffer> buffer = std::move(buffer_); in ReleaseBuffer() local
288 // Reset fields to prevent accidental further modifications of the buffer. in ReleaseBuffer()
291 return buffer; in ReleaseBuffer()
345 // The minimum buffer siz
[all...]
/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

Completed in 23 milliseconds

1...<<221222223224225226227228229230>>...501