HomeSort by relevance Sort by last modified time
    Searched defs:buffer (Results 426 - 450 of 6723) sorted by null

<<11121314151617181920>>

  /external/harfbuzz_ng/util/
shape-consumer.hh 42 buffer (nullptr) {}
49 buffer = hb_buffer_reference (buffer_);
51 output.init (buffer, font_opts);
64 shaper.populate_buffer (buffer, text, text_len, text_before, text_after);
66 output.consume_text (buffer, text, text_len, shaper.utf8_clusters);
67 if (!shaper.shape (font, buffer, &error))
71 if (hb_buffer_get_content_type (buffer) == HB_BUFFER_CONTENT_TYPE_GLYPHS)
78 output.consume_glyphs (buffer, text, text_len, shaper.utf8_clusters);
82 output.finish (buffer, font_opts);
85 hb_buffer_destroy (buffer);
97 hb_buffer_t *buffer; member in struct:shape_consumer_t
    [all...]
  /external/honggfuzz/examples/libjpeg/
persistent-jpeg.c 77 JSAMPARRAY buffer = (*cinfo.mem->alloc_sarray)((j_common_ptr)&cinfo, JPOOL_IMAGE, row_stride, 1); local
81 __msan_poison(buffer[0], row_stride);
84 jpeg_read_scanlines(&cinfo, buffer, 1);
85 write(null_fd, buffer[0], row_stride);
  /external/icu/icu4c/source/common/
bytesinkutil.cpp 35 char *buffer = sink.GetAppendBuffer(U8_MAX_LENGTH, desiredCapacity, local
42 U8_APPEND_UNSAFE(buffer, j, c);
48 sink.Append(buffer, j);
charstr.h 43 CharString() : len(0) { buffer[0]=0; }
45 buffer[0]=0;
49 buffer[0]=0;
53 buffer[0]=0;
68 char operator[](int32_t index) const { return buffer[index]; }
69 StringPiece toStringPiece() const { return StringPiece(buffer.getAlias(), len); }
71 const char *data() const { return buffer.getAlias(); }
72 char *data() { return buffer.getAlias(); }
77 CharString &clear() { len=0; buffer[0]=0; return *this; }
89 * Returns a writable buffer for appending and writes the buffer's capacity t
129 MaybeStackArray<char, 40> buffer; member in class:CharString
    [all...]
unorm.cpp 137 UnicodeString buffer; local
141 buffer.append(uiter_next32(src));
149 buffer.append(c);
154 /* always write this character to the front of the buffer */
155 buffer.insert(0, c);
164 if(buffer.length()>0 && doNormalize) {
165 n2->normalize(buffer, destString, *pErrorCode).extract(dest, destCapacity, *pErrorCode);
167 *pNeededToNormalize= destString!=buffer;
172 return buffer.extract(dest, destCapacity, *pErrorCode);
  /external/icu/icu4c/source/common/unicode/
caniter.h 181 UnicodeString buffer; member in class:U_FINAL
198 //Set extract(int comp, String segment, int segmentPos, StringBuffer buffer);
normlzr.h 105 * The normalized results is stored in an internal string buffer, and
110 * The following "safe" index, the internal buffer, and the secondary
111 * iteration index into that buffer are not exposed on the API.
115 * current index into the internal buffer.
761 // The normalization buffer is the result of normalization
765 // A buffer for holding intermediate results
766 UnicodeString buffer; member in class:Normalizer
  /external/icu/icu4c/source/samples/csdet/
csdet.c 22 static char buffer[BUFFER_SIZE]; local
51 inputLength = (int32_t) fread(buffer, 1, BUFFER_SIZE, file);
56 ucsdet_setText(csd, buffer, inputLength, &status);
  /external/icu/icu4c/source/tools/toolutil/
flagparser.cpp 18 static int32_t extractFlag(char* buffer, int32_t bufferSize, char* flag, int32_t flagSize, const char ** flagNames, int32_t numOfFlags, UErrorCode *status);
19 static int32_t getFlagOffset(const char *buffer, int32_t bufferSize);
26 char* buffer = NULL; local
38 buffer = (char *)uprv_malloc(sizeof(char) * currentBufferSize);
41 if (buffer == NULL || tmpFlagBuffer == NULL) {
50 uprv_free(buffer);
51 buffer = (char *)uprv_malloc(sizeof(char) * currentBufferSize);
52 if (buffer == NULL) {
58 if (T_FileStream_readLine(f, buffer, currentBufferSize) == NULL) {
62 if (buffer[0] == '#')
    [all...]
  /external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/
Pack200Streams.java 40 final ByteArrayOutputStream buffer = new ByteArrayOutputStream(); local
41 final JarOutputStream jar = new JarOutputStream(buffer);
44 return new ByteArrayInputStream(buffer.toByteArray());
48 * Packs a buffer in JAR/ZIP format into a stream in Pack200 format.
  /external/jline/src/src/main/java/jline/
FileNameCompletor.java 13 * A file name completor takes the buffer and issues a list of
40 String buffer = (buf == null) ? "" : buf; local
42 String translated = buffer;
69 return matchFiles(buffer, translated, entries, candidates);
81 * Match the specified <i>buffer</i> to the array of <i>entries</i>
86 * @param buffer the untranslated buffer
87 * @param translated the buffer with common characters replaced
93 public int matchFiles(String buffer, String translated, File[] entries,
129 final int index = buffer.lastIndexOf(File.separator)
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
BufferedResourceLoader.java 39 protected Reader buffer(Reader reader) { method in class:BufferedResourceLoader
  /external/jsilver/src/com/google/streamhtmlparser/util/
JavascriptTokenBuffer.java 24 * Implements a circular (ring) buffer of characters with specialized
34 * the buffer. Changing the API would mean changing the test
40 * <li> The buffer size is fixed. There is currently no need to
47 * Size of the ring buffer used to lookup the last token in the javascript
50 * an empty ring buffer slot.
54 /** Storage implementing the circular buffer. */
55 private final char[] buffer; field in class:JavascriptTokenBuffer
57 /** Index of the first item in our circular buffer. */
60 /** Index of the last item in our circular buffer. */
64 * Constructs an empty javascript token buffer. The size is fixed
    [all...]
  /external/libbrillo/brillo/
any_internal_impl_unittest.cc 10 using brillo::internal_details::Buffer;
13 TEST(Buffer, Empty) {
14 Buffer buffer; local
15 EXPECT_TRUE(buffer.IsEmpty());
16 EXPECT_EQ(Buffer::kExternal, buffer.storage_);
17 EXPECT_EQ(nullptr, buffer.GetDataPtr());
20 TEST(Buffer, Store_Int) {
21 Buffer buffer local
29 Buffer buffer; local
37 Buffer buffer; local
67 Buffer buffer; local
75 Buffer buffer; local
    [all...]
  /external/libbrillo/brillo/streams/
input_stream_set_unittest.cc 55 char buffer[100]; local
57 EXPECT_FALSE(stream_->WriteAsync(buffer, sizeof(buffer), {}, {}, nullptr));
58 EXPECT_FALSE(stream_->WriteAllAsync(buffer, sizeof(buffer), {}, {}, nullptr));
59 EXPECT_FALSE(stream_->WriteNonBlocking(buffer, sizeof(buffer), &size,
61 EXPECT_FALSE(stream_->WriteBlocking(buffer, sizeof(buffer), &size, nullptr));
62 EXPECT_FALSE(stream_->WriteAllBlocking(buffer, sizeof(buffer), nullptr))
77 char buffer[100]; local
    [all...]
  /external/libcap/progs/old/
setpcaps.c 32 static int read_caps(int quiet, const char *filename, char *buffer)
40 int j = read(STDIN_FILENO, buffer, i);
47 if (j==0 || buffer[0] == '\n') {
55 buffer += j;
59 buffer[0] = '\0';
66 char buffer[MAXCAP+1]; local
83 retval = read_caps(quiet, *argv, buffer);
86 text = buffer;
  /external/libchrome/base/
os_compat_android_unittest.cc 26 char* buffer = const_cast<char*>(sub_dir_string.c_str()); local
27 EXPECT_EQ(NULL, mkdtemp(buffer));
  /external/libchrome/base/posix/
unix_domain_socket_linux_unittest.cc 45 uint8_t buffer[16]; local
47 UnixDomainSocket::RecvMsg(fds[0], buffer, sizeof(buffer),
96 // Extra receiving buffer space to make sure we really received only
97 // sizeof(kHello) bytes and it wasn't just truncated to fit the buffer.
125 // Extra receiving buffer space to make sure we really received only
126 // sizeof(kHello) bytes and it wasn't just truncated to fit the buffer.
  /external/libcups/cups/
getifaddrs.c 30 char buffer[65536], /* Buffer for address info */ local
31 *bufptr, /* Pointer into buffer */
32 *bufend; /* End of buffer */
62 conf.ifc_len = sizeof(buffer);
63 conf.ifc_buf = buffer;
77 * buffer to pull them out...
86 for (bufptr = buffer, bufend = buffer + conf.ifc_len;
notify.c 35 char buffer[1024]; /* Subject buffer */ local
104 snprintf(buffer, sizeof(buffer), "%s %s-%d (%s) %s",
136 snprintf(buffer, sizeof(buffer), "%s %s %s",
142 strlcpy(buffer, subscribed->values[0].string.text, sizeof(buffer));
150 return (strdup(buffer));
  /external/libcxx/test/std/utilities/memory/storage.iterator/
raw_storage_iterator.pass.cpp 39 Storage buffer; local
40 std::raw_storage_iterator<S*, S> it((S*)&buffer);
45 S* ap = (S*)&buffer + i;
55 Storage buffer; local
56 std::raw_storage_iterator<S*, S> it((S*)&buffer);
60 S *ap = (S*) &buffer;
  /external/libdrm/libkms/
linux.c 61 struct stat buffer; local
78 ret = fstat(fd, &buffer);
82 if (!S_ISCHR(buffer.st_mode))
85 maj = major(buffer.st_rdev);
86 min = minor(buffer.st_rdev);
  /external/libevent/sample/
http-connect.c 6 #include <event2/buffer.h>
40 char buffer[URL_MAX]; local
51 evhttp_uri_join(location, buffer, URL_MAX)));
57 char buffer[URL_MAX]; local
106 evutil_snprintf(buffer, URL_MAX, "%s:%d",
108 evhttp_make_request(evcon, req, EVHTTP_REQ_CONNECT, buffer);
  /external/libjpeg-turbo/
example.c 57 * pointer to our image buffer. In particular, let's say that the image is
93 int row_stride; /* physical row width in image buffer */
219 * buffer, but to send it line-by-line someplace else. We need a one-
220 * scanline-high JSAMPLE array as a work buffer, and we will let the JPEG
222 * because we don't need to remember to deallocate the buffer separately: it
242 * longjmp(). But we need to make the setjmp buffer accessible to the
297 JSAMPARRAY buffer; /* Output row buffer */ local
298 int row_stride; /* physical row width in output buffer */
358 * In this example, we need to make an output work buffer of the right size
    [all...]
jcmainct.c 11 * This file contains the main buffer controller for compression.
12 * The main buffer lies between the pre-processor and the JPEG
21 /* Private buffer controller object */
31 /* If using just a strip buffer, this points to the entire set of buffers
35 JSAMPARRAY buffer[MAX_COMPONENTS]; member in struct:__anon25011
74 * where we have only a strip buffer.
85 /* Read input data if we haven't filled the main buffer yet */
89 main_ptr->buffer, &main_ptr->rowgroup_ctr,
100 if (! (*cinfo->coef->compress_data) (cinfo, main_ptr->buffer)) {
114 * call suspended; then mark the main buffer empty
    [all...]

Completed in 873 milliseconds

<<11121314151617181920>>