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

1 2 3 4 5 6 7 8 910

  /external/lzma/C/
7zBuf.h 15 } CBuf;
17 void Buf_Init(CBuf *p);
18 int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc);
19 void Buf_Free(CBuf *p, ISzAlloc *alloc);
7zBuf.c 8 void Buf_Init(CBuf *p)
14 int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc)
31 void Buf_Free(CBuf *p, ISzAlloc *alloc)
  /external/vboot_reference/tests/
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...]
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 */
  /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);
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);
AppendableWriter.java 54 @Override public void write(char cbuf[], int off, int len)
58 // than wrapping cbuf in a light-weight CharSequence.
59 target.append(new String(cbuf, off, len));
CharSequenceReader.java 82 public synchronized int read(char[] cbuf, int off, int len) throws IOException {
83 checkPositionIndexes(off, off + len, cbuf.length);
90 cbuf[off + i] = seq.charAt(pos++);
LineReader.java 42 private final CharBuffer cbuf = CharBuffer.wrap(buf); field in class:LineReader
73 cbuf.clear();
78 : readable.read(cbuf);
  /libcore/ojluni/src/main/java/java/io/
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...]
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;
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);
  /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...]
StreamDecoder.java 146 public int read(char cbuf[], int offset, int length) throws IOException {
151 if ((off < 0) || (off > cbuf.length) || (len < 0) ||
152 ((off + len) > cbuf.length) || ((off + len) < 0)) {
162 cbuf[off] = leftoverChar;
176 cbuf[off] = (char)c;
180 return n + implRead(cbuf, off, off + len);
307 int implRead(char[] cbuf, int off, int end) throws IOException {
315 CharBuffer cb = CharBuffer.wrap(cbuf, off, end - off);
317 // Ensure that cb[0] == cbuf[off]
  /libcore/luni/src/test/java/libcore/java/nio/charset/
OldCharsetEncoderDecoderBufferTest.java 40 char[] cBuf = new char[10];
41 CharBuffer out = CharBuffer.wrap(cBuf);
46 assertEquals("abcd", new String(cBuf, 0, 4));
47 assertEquals(0, cBuf[4]);
48 assertEquals(0, cBuf[5]);
59 assertEquals("abcd", new String(cBuf, 0, 4));
60 assertEquals(0, cBuf[4]);
61 assertEquals(0, cBuf[5]);
  /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:__anon39984
  /external/sl4a/ScriptingLayerForAndroid/src/de/mud/terminal/
VDUBuffer.java 365 char cbuf[][] = null; local
394 cbuf = new char[size][];
397 System.arraycopy(charArray, oldBase + l, cbuf, 0, bottom - l - (n - 1));
399 System.arraycopy(cbuf, 0, charArray, oldBase + l + n, bottom - l - (n - 1));
401 cbuf = charArray;
422 cbuf = new char[newBufSize][];
426 cbuf = charArray;
432 System.arraycopy(charArray, offset, cbuf, 0, oldBase - offset);
438 System.arraycopy(charArray, oldBase, cbuf, newScreenBase, top);
444 System.arraycopy(charArray, oldBase + top, cbuf, oldBase - offset, n)
748 char cbuf[][] = new char[amount][width]; local
    [all...]
  /frameworks/base/tests/StatusBar/src/com/android/statusbartest/
ToastTest.java 65 char[] cbuf = new char[200]; local
66 while ((len = f.read(cbuf, 0, cbuf.length)) >= 0) {
67 s += String.valueOf(cbuf, 0, len);
  /external/guava/guava-tests/test/com/google/common/io/
TestCharSink.java 64 public void write(char[] cbuf, int off, int len) throws IOException {
65 super.write(cbuf, off, len);
TestWriter.java 49 public void write(char[] cbuf, int off, int len) throws IOException {
50 super.write(cbuf, off, len);
  /external/icu/icu4c/source/i18n/
name2uni.cpp 124 char* cbuf = (char*) uprv_malloc(maxLen); local
125 if (cbuf == NULL) {
193 name.extract(0, len, cbuf, maxLen, US_INV);
196 c = u_charFromName(U_EXTENDED_CHAR_NAME, cbuf, &status);
253 uprv_free(cbuf);
  /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];
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_state_fs.c 248 unsigned cbuf; local
296 for(cbuf = 0; cbuf < key->nr_cbufs; cbuf++) {
298 color[cbuf][chan] = lp_build_alloca(gallivm, vec_type, "color");
416 unsigned cbuf = shader->info.base.output_semantic_index[attrib]; local
424 LLVMBuildStore(builder, out, color[cbuf][chan]);
476 unsigned cbuf; local
539 for(cbuf = 0; cbuf < key->nr_cbufs; cbuf++)
655 unsigned cbuf = shader->info.base.output_semantic_index[attrib]; local
801 unsigned cbuf; local
    [all...]

Completed in 1072 milliseconds

1 2 3 4 5 6 7 8 910