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

<<31323334353637383940>>

  /external/guava/guava/src/com/google/thirdparty/publicsuffix/
TrieParser.java 117 char[] buffer = new char[length]; local
118 buffer[0] = s.charAt(length - 1);
121 buffer[i] = s.charAt(length - 1 - i);
122 if (Character.isSurrogatePair(buffer[i], buffer[i - 1])) {
123 swap(buffer, i - 1, i);
127 return new String(buffer);
130 private static void swap(char[] buffer, int f, int s) {
131 char tmp = buffer[f];
132 buffer[f] = buffer[s]
    [all...]
  /external/harfbuzz_ng/src/
test.cc 101 hb_buffer_t *buffer = hb_buffer_create (); local
103 hb_buffer_add_utf8 (buffer, "\xe0\xa4\x95\xe0\xa5\x8d\xe0\xa4\xb0\xe0\xa5\x8d\xe0\xa4\x95", -1, 0, -1);
104 hb_buffer_guess_segment_properties (buffer);
106 hb_shape (font, buffer, nullptr, 0);
108 unsigned int count = hb_buffer_get_length (buffer);
109 hb_glyph_info_t *infos = hb_buffer_get_glyph_infos (buffer, nullptr);
110 hb_glyph_position_t *positions = hb_buffer_get_glyph_positions (buffer, nullptr);
127 hb_buffer_destroy (buffer);
  /external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
UVector32.java 25 public int elementAti(int i) { return buffer[i]; }
26 public int[] getBuffer() { return buffer; }
29 buffer[length++] = e;
31 public void setElementAt(int elem, int index) { buffer[index] = elem; }
34 System.arraycopy(buffer, index, buffer, index + 1, length - index);
35 buffer[index] = elem;
43 if(length >= buffer.length) {
44 int newCapacity = buffer.length <= 0xffff ? 4 * buffer.length : 2 * buffer.length
50 private int[] buffer = new int[32]; field in class:UVector32
    [all...]
UVector64.java 25 public long elementAti(int i) { return buffer[i]; }
26 public long[] getBuffer() { return buffer; }
29 buffer[length++] = e;
31 public void setElementAt(long elem, int index) { buffer[index] = elem; }
34 System.arraycopy(buffer, index, buffer, index + 1, length - index);
35 buffer[index] = elem;
43 if(length >= buffer.length) {
44 int newCapacity = buffer.length <= 0xffff ? 4 * buffer.length : 2 * buffer.length
50 private long[] buffer = new long[32]; field in class:UVector64
    [all...]
  /external/icu/icu4c/source/i18n/
numsys.cpp 117 char buffer[ULOC_KEYWORDS_CAPACITY]; local
118 int32_t count = inLocale.getKeywordValue("numbers",buffer, sizeof(buffer),status);
126 buffer[count] = '\0'; // Make sure it is null terminated.
127 if ( !uprv_strcmp(buffer,gDefault) || !uprv_strcmp(buffer,gNative) ||
128 !uprv_strcmp(buffer,gTraditional) || !uprv_strcmp(buffer,gFinance)) {
132 uprv_strcpy(buffer,gDefault);
143 const UChar *nsName = ures_getStringByKeyWithFallback(numberElementsRes, buffer, &count, &localStatus)
    [all...]
  /external/icu/icu4c/source/io/
ustream.cpp 43 char buffer[200]; local
52 char *s, *sLimit = buffer + (sizeof(buffer) - 1);
55 s = buffer;
60 if(s > buffer) {
61 stream << buffer; local
82 char buffer[16]; local
132 buffer[idx++] = ch;
134 stream.putback(buffer[--idx]);
157 buffer[idx++] = ch
    [all...]
  /external/icu/icu4c/source/tools/pkgdata/
pkgtypes.c 32 char buffer[1024]; local
37 uprv_strncpy(buffer, l->str, 1020);
38 buffer[1019]=0;
41 if(buffer[uprv_strlen(buffer)-1] == '"') {
42 buffer[uprv_strlen(buffer)-1] = '\0';
44 if(buffer[0] == '"') {
45 uprv_strcpy(buffer, buffer+1)
77 char buffer[1024]; local
    [all...]
  /external/iptables/extensions/
libip6t_dst.c 58 char *buffer, *cp, *next, *range; local
61 buffer = strdup(optsstr);
62 if (!buffer)
65 for (cp = buffer, i = 0; cp && i < IP6T_OPTS_OPTSNR; cp = next, i++)
99 free(buffer);
  /external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
MockSocketConnection.java 58 private final Queue<Byte> buffer = new ConcurrentLinkedQueue<Byte>(); field in class:MockSocketConnection.MockSocket
67 synchronized (other.buffer) {
68 other.buffer.add(Byte.valueOf((byte) b));
69 other.buffer.notifyAll();
78 synchronized (buffer) {
87 final Byte b = buffer.poll();
88 buffer.notifyAll();
92 buffer.wait();
102 synchronized (buffer) {
103 return buffer.size()
    [all...]
  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/instr/
MethodRecorder.java 59 StringWriter buffer = new StringWriter(); local
60 PrintWriter writer = new PrintWriter(buffer);
63 return buffer.toString();
  /external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/
HTMLDocumentTest.java 29 StringWriter buffer = new StringWriter(); local
30 new HTMLDocument(buffer, "UTF-8").close();
35 buffer.toString());
40 ByteArrayOutputStream buffer = new ByteArrayOutputStream(); local
41 new HTMLDocument(buffer, "UTF-8").close();
46 buffer.toString("UTF-8"));
51 StringWriter buffer = new StringWriter(); local
52 final HTMLDocument doc = new HTMLDocument(buffer, "UTF-8");
59 buffer.toString());
64 StringWriter buffer = new StringWriter() local
77 StringWriter buffer = new StringWriter(); local
    [all...]
  /external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/xml/
XMLDocumentTest.java 68 ByteArrayOutputStream buffer = new ByteArrayOutputStream(); local
69 new XMLDocument("test", null, null, "UTF-8", false, buffer).text(
73 buffer.toString("UTF-8"));
  /external/libcups/cups/
globals.c 332 _cups_buffer_t *buffer, /* Current read/write buffer */ local
333 *next; /* Next buffer */
339 for (buffer = cg->cups_buffers; buffer; buffer = next)
341 next = buffer->next;
342 free(buffer);
langprintf.c 33 char buffer[2048], /* Message buffer */ local
34 *bufptr, /* Pointer into buffer */
35 output[8192]; /* Output buffer */
67 snprintf(buffer, sizeof(buffer), "%s:", prefix);
68 bufptr = buffer + strlen(buffer);
71 bufptr = buffer;
73 snprintf(bufptr, sizeof(buffer) - (size_t)(bufptr - buffer)
104 buffer[2048], \/* Message buffer *\/ local
160 char buffer[2048], \/* Message buffer *\/ local
261 char buffer[8192]; \/* Command-line argument buffer *\/ local
    [all...]
  /external/libcups/filter/
commandtops.c 134 char buffer[1024], /* String buffer */ local
135 *bufptr; /* Pointer into buffer */
145 if (cupsSideChannelDoRequest(CUPS_SC_CMD_GET_BIDI, buffer, &datalen,
147 buffer[0] != CUPS_SC_BIDI_SUPPORTED)
189 while (cupsSideChannelDoRequest(CUPS_SC_CMD_GET_CONNECTED, buffer, &datalen,
190 5.0) == CUPS_SC_STATUS_OK && !buffer[0]);
205 snprintf(buffer, sizeof(buffer), "?%s", option->keyword);
207 if ((attr = ppdFindAttr(ppd, buffer, NULL)) == NULL || !attr->value
    [all...]
  /external/libcxx/src/
system_error.cpp 63 // GLIBC also uses 1024 as the maximum buffer size internally.
70 char buffer[strerror_buff_size]; local
71 if (::strerror_s(buffer, strerror_buff_size, ev) == 0)
72 return string(buffer);
73 std::snprintf(buffer, strerror_buff_size, "unknown error %d", ev);
74 return string(buffer);
83 handle_strerror_r_return(char *strerror_return, char *buffer) {
85 // string might point to either the input buffer, or a static
86 // buffer, but we don't care which.
92 handle_strerror_r_return(int strerror_return, char *buffer) {
114 char buffer[strerror_buff_size]; local
    [all...]
  /external/libjpeg-turbo/
jdatadst-tj.c 40 unsigned char **outbuffer; /* target buffer */
42 unsigned char *newbuffer; /* newly allocated buffer */
43 JOCTET *buffer; /* start of buffer */ member in struct:__anon25021
64 * Empty the output buffer --- called whenever buffer fills up.
66 * In typical applications, this should write the entire output buffer
68 * reset the pointer & count to the start of the buffer, and return TRUE
69 * indicating that the buffer has been dumped.
72 * overrun, a FALSE return indicates that the buffer cannot be emptied now
    [all...]
jdatasrc.c 33 JOCTET *buffer; /* start of buffer */ member in struct:__anon25024
53 * but we don't clear the input buffer.
69 * Fill the input buffer --- called whenever buffer is emptied.
71 * In typical applications, this should read fresh data into the buffer
73 * reset the pointer & count to the start of the buffer, and return TRUE
74 * indicating that the buffer has been reloaded. It is not necessary to
75 * fill the buffer entirely, only to obtain at least one more byte.
79 * the buffer. In most cases, generating a warning message and inserting
    [all...]
jdpostct.c 27 /* Private buffer controller object */
32 /* Color quantization source buffer: this holds output data from
34 * For two-pass color quantization, we need a full-image buffer;
35 * for one-pass operation, a strip buffer is sufficient.
38 JSAMPARRAY buffer; /* strip buffer, or current strip of virtual */ member in struct:__anon25042
39 JDIMENSION strip_height; /* buffer size in rows */
84 * allocate a strip buffer. Use the virtual-array buffer as workspace.
86 if (post->buffer == NULL)
    [all...]
jerror.c 60 * The setjmp buffer can be made a private field within an expanded error
99 char buffer[JMSG_LENGTH_MAX]; local
102 (*cinfo->err->format_message) (cinfo, buffer);
106 MessageBox(GetActiveWindow(), buffer, "JPEG Library Error", local
110 fprintf(stderr, "%s\n", buffer);
150 * The message is stored into buffer, which should be at least JMSG_LENGTH_MAX
156 format_message (j_common_ptr cinfo, char *buffer)
190 /* Format the message into the passed buffer */
192 sprintf(buffer, msgtext, err->msg_parm.s);
194 sprintf(buffer, msgtext
    [all...]
  /external/libjpeg-turbo/md5/
md5hl.c 64 unsigned char buffer[BUFSIZ]; local
89 if (n > sizeof(buffer))
90 i = read(f, buffer, sizeof(buffer));
92 i = read(f, buffer, n);
95 MD5Update(&ctx, buffer, i);
  /external/libmojo/base/debug/
proc_maps_linux.cc 61 // Compute |buffer| afterwards since resize() may reallocate.
64 void* buffer = &(*proc_maps)[pos]; local
66 ssize_t bytes_read = HANDLE_EINTR(read(fd.get(), buffer, kReadSize));
  /external/libmojo/mojo/edk/system/
broker_host.cc 103 scoped_refptr<PlatformSharedBuffer> buffer = local
105 if (buffer)
106 read_only_buffer = buffer->CreateReadOnlyDuplicate();
108 buffer = nullptr;
111 BrokerMessageType::BUFFER_RESPONSE, buffer ? 2 : 0, nullptr);
112 if (buffer) {
115 handles->at(0) = buffer->PassPlatformHandle().release();
shared_buffer_unittest.cc 56 // Reads a single message with a shared buffer handle, maps the buffer, copies
79 // Creates a new buffer, maps it, writes a message contents to it, unmaps it,
85 WriteMessageWithHandles(h, "have a buffer", &b, 1);
108 // Create a new shared buffer.
111 // Send a copy of the buffer to the parent and the other child.
125 // Receive a shared buffer from the other child.
129 // Write the message from the parent into the buffer and exit.
144 // and pass a buffer to the second child and back to us. The second child
145 // will write our message into the buffer
171 MojoHandle buffer; local
    [all...]
  /external/libvncserver/examples/
pnmshow.c 20 char buffer[1024]; local
33 fgets(buffer,1024,in);
34 if(!strncmp(buffer,"P6",2)) {
37 } else if(!strncmp(buffer,"P5",2)) {
40 } else if(!strncmp(buffer,"P4",2)) {
50 fgets(buffer,1024,in);
51 } while(buffer[0]=='#');
54 sscanf(buffer,"%d %d",&width,&height);
57 fgets(buffer,1024,in);

Completed in 993 milliseconds

<<31323334353637383940>>