HomeSort by relevance Sort by last modified time
    Searched refs:cbuf (Results 1 - 25 of 305) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/ojluni/src/main/java/java/io/
Writer.java 120 * @param cbuf
126 public void write(char cbuf[]) throws IOException {
127 write(cbuf, 0, cbuf.length);
133 * @param cbuf
145 abstract public void write(char cbuf[], int off, int len) throws IOException;
182 char cbuf[]; local
187 cbuf = writeBuffer;
189 cbuf = new char[len];
191 str.getChars(off, (off + len), cbuf, 0)
    [all...]
Reader.java 99 char[] cbuf = new char[len]; local
100 int n = read(cbuf, 0, len);
102 target.put(cbuf, 0, n);
131 * @param cbuf Destination buffer
139 public int read(char cbuf[]) throws IOException {
140 return read(cbuf, 0, cbuf.length);
148 * @param cbuf Destination buffer
157 abstract public int read(char cbuf[], int off, int len) throws IOException;
PushbackReader.java 97 * @param cbuf Destination buffer
106 public int read(char cbuf[], int off, int len) throws IOException {
113 } else if ((off < 0) || (off > cbuf.length)) {
122 System.arraycopy(buf, pos, cbuf, off, avail);
128 len = super.read(cbuf, off, len);
163 * character to be read will have the value <code>cbuf[off]</code>, the
164 * character after that will have the value <code>cbuf[off+1]</code>, and
167 * @param cbuf Character array
174 public void unread(char cbuf[], int off, int len) throws IOException {
180 System.arraycopy(cbuf, off, buf, pos, len)
    [all...]
FilterReader.java 73 public int read(char cbuf[], int off, int len) throws IOException {
74 return in.read(cbuf, off, len);
FilterWriter.java 71 * @param cbuf Buffer of characters to be written
77 public void write(char cbuf[], int off, int len) throws IOException {
78 out.write(cbuf, off, len);
StringReader.java 79 * @param cbuf Destination buffer
88 public int read(char cbuf[], int off, int len) throws IOException {
91 if ((off < 0) || (off > cbuf.length) || (len < 0) ||
92 ((off + len) > cbuf.length) || ((off + len) < 0)) {
100 str.getChars(next, next + n, cbuf, off);
StringWriter.java 83 * @param cbuf Array of characters
87 public void write(char cbuf[], int off, int len) {
88 if ((off < 0) || (off > cbuf.length) || (len < 0) ||
89 ((off + len) > cbuf.length) || ((off + len) < 0)) {
94 buf.append(cbuf, off, len);
Console.java 420 public int read(char cbuf[], int offset, int length)
425 if (offset < 0 || offset > cbuf.length || length < 0 ||
426 end < 0 || end > cbuf.length) {
456 if (leftoverLF && cbuf == rcb && cb[nextChar] == '\n') {
465 c = cbuf[off++] = cb[nextChar];
475 if (cbuf == rcb) {
476 cbuf = grow();
477 end = cbuf.length;
495 cbuf[off++] = '\n';
500 if (cbuf == rcb)
    [all...]
PipedWriter.java 136 * @param cbuf the data.
144 public void write(char cbuf[], int off, int len) throws IOException {
147 } else if ((off | len | (off + len) | (cbuf.length - (off + len))) < 0) {
150 sink.receive(cbuf, off, len);
BufferedWriter.java 167 * @param cbuf A character array
173 public void write(char cbuf[], int off, int len) throws IOException {
176 if ((off < 0) || (off > cbuf.length) || (len < 0) ||
177 ((off + len) > cbuf.length) || ((off + len) < 0)) {
188 out.write(cbuf, off, len);
195 System.arraycopy(cbuf, b, cb, nextChar, d);
PipedReader.java 295 * @param cbuf the buffer into which the data is read.
306 public synchronized int read(char cbuf[], int off, int len) throws IOException {
316 if ((off < 0) || (off > cbuf.length) || (len < 0) ||
317 ((off + len) > cbuf.length) || ((off + len) < 0)) {
328 cbuf[off] = (char)c;
331 cbuf[off + rlen] = buffer[out++];
  /external/guava/guava/src/com/google/common/io/
LineBuffer.java 44 * @param cbuf the character buffer to process
50 protected void add(char[] cbuf, int off, int len) throws IOException {
54 if (finishLine(cbuf[pos] == '\n')) {
61 switch (cbuf[pos]) {
63 line.append(cbuf, start, pos - start);
66 if (finishLine(cbuf[pos + 1] == '\n')) {
74 line.append(cbuf, start, pos - start);
83 line.append(cbuf, start, off + len - start);
LineReader.java 42 private final CharBuffer cbuf = CharBuffer.wrap(buf); field in class:LineReader
73 cbuf.clear();
78 : readable.read(cbuf);
MultiReader.java 52 @Override public int read(@Nullable char cbuf[], int off, int len) throws IOException {
56 int result = current.read(cbuf, off, len);
59 return read(cbuf, off, len);
CharStreams.java 196 public void write(char[] cbuf) {
197 checkNotNull(cbuf);
201 public void write(char[] cbuf, int off, int len) {
202 checkPositionIndexes(off, off + len, cbuf.length);
272 public int read(char[] cbuf, int off, int len) throws IOException {
273 return read(CharBuffer.wrap(cbuf, off, len));
  /external/vboot_reference/tests/
vb21_host_misc_tests.c 37 uint8_t cbuf[sizeof(struct vb2_struct_common) + 12]; local
38 struct vb2_struct_common *c = (struct vb2_struct_common *)cbuf;
56 memset(cbuf, 0, sizeof(cbuf));
58 c->total_size = sizeof(cbuf);
60 cbuf[sizeof(cbuf) - 1] = 0xed; /* Some non-zero data at the end */
vb21_common_tests.c 55 uint8_t cbuf[sizeof(struct vb2_struct_common) + 128]; local
56 uint8_t cbufgood[sizeof(cbuf)];
57 struct vb2_struct_common *c = (struct vb2_struct_common *)cbuf;
62 c->total_size = sizeof(cbuf);
65 memcpy(cbuf + c->fixed_size, test_desc, sizeof(test_desc));
68 c2 = (struct vb2_struct_common *)(cbuf + desc_end);
77 TEST_SUCC(vb2_verify_common_header(cbuf, sizeof(cbuf)),
79 memcpy(cbufgood, cbuf, sizeof(cbufgood));
81 memcpy(cbuf, cbufgood, sizeof(cbuf))
    [all...]
  /external/curl/lib/
sockaddr.h 37 char cbuf[256]; /* this should be big enough to fit a lot */ member in union:Curl_sockaddr_storage::__anon10053
  /hardware/broadcom/wlan/bcmdhd/dhdutil/include/
hndrte_cons.h 39 * input line directly into cbuf and then write the length into vcons_in.
54 * Characters are read one at a time into cbuf until <CR> is received, then
58 char cbuf[CBUF_LEN]; member in struct:__anon30458
  /external/guava/guava-tests/test/com/google/common/io/
TestWriter.java 49 public void write(char[] cbuf, int off, int len) throws IOException {
50 super.write(cbuf, off, len);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
TestLogWriter.java 23 public void write(char cbuf[], int off, int len) throws IOException {
24 write(new String(cbuf, off, len));
  /external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
TestLogWriter.java 22 public void write(char cbuf[], int off, int len) throws IOException {
23 write(new String(cbuf, off, len));
  /external/proguard/src/proguard/io/
ManifestRewriter.java 117 public int read(char[] cbuf, int off, int len) throws IOException
129 cbuf[off + count++] = (char)c;
197 public void write(char[] cbuf, int off, int len) throws IOException
201 write(cbuf[off + count]);
  /libcore/ojluni/src/main/java/sun/nio/cs/
StreamEncoder.java 111 char cbuf[] = new char[1]; local
112 cbuf[0] = (char) c;
113 write(cbuf, 0, 1);
116 public void write(char cbuf[], int off, int len) throws IOException {
119 if ((off < 0) || (off > cbuf.length) || (len < 0) ||
120 ((off + len) > cbuf.length) || ((off + len) < 0)) {
125 implWrite(cbuf, off, len);
133 char cbuf[] = new char[len]; local
134 str.getChars(off, off + len, cbuf, 0);
135 write(cbuf, 0, len)
    [all...]
  /external/mesa3d/src/gallium/drivers/softpipe/
sp_quad_fs.c 87 uint cbuf; local
90 for (cbuf = 0; cbuf < softpipe->framebuffer.nr_cbufs; cbuf++) {
91 float (*quadColor)[4] = quad->output.color[cbuf];

Completed in 476 milliseconds

1 2 3 4 5 6 7 8 91011>>