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

1 2 3 4

  /external/dropbear/
circbuffer.c 33 circbuffer *cbuf = NULL; local
36 dropbear_exit("bad cbuf size");
39 cbuf = (circbuffer*)m_malloc(sizeof(circbuffer));
40 cbuf->data = (unsigned char*)m_malloc(size);
41 cbuf->used = 0;
42 cbuf->readpos = 0;
43 cbuf->writepos = 0;
44 cbuf->size = size;
46 return cbuf;
49 void cbuf_free(circbuffer * cbuf) {
    [all...]
circbuffer.h 39 void cbuf_free(circbuffer * cbuf);
41 unsigned int cbuf_getused(circbuffer * cbuf); /* how much data stored */
42 unsigned int cbuf_getavail(circbuffer * cbuf); /* how much we can write */
43 unsigned int cbuf_readlen(circbuffer *cbuf); /* max linear read len */
44 unsigned int cbuf_writelen(circbuffer *cbuf); /* max linear write len */
46 unsigned char* cbuf_readptr(circbuffer *cbuf, unsigned int len);
47 unsigned char* cbuf_writeptr(circbuffer *cbuf, unsigned int len);
48 void cbuf_incrwrite(circbuffer *cbuf, unsigned int len);
49 void cbuf_incrread(circbuffer *cbuf, unsigned int len);
  /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);
80 line.append(cbuf, start, off + len - start);
LineReader.java 41 private final CharBuffer cbuf = CharBuffer.wrap(buf); field in class:LineReader
73 cbuf.clear();
78 : readable.read(cbuf);
MultiReader.java 51 @Override public int read(char cbuf[], int off, int len) throws IOException {
55 int result = current.read(cbuf, off, len);
58 return read(cbuf, off, len);
AppendableWriter.java 50 @Override public void write(char cbuf[], int off, int len)
54 // than wrapping cbuf in a light-weight CharSequence.
55 target.append(new String(cbuf, off, len));
  /external/qemu/
charpipe.c 277 CharBuffer* cbuf = cs->opaque; local
279 while (cbuf->bip_first) {
280 BipBuffer* bip = cbuf->bip_first;
281 cbuf->bip_first = bip->next;
284 cbuf->bip_last = NULL;
285 cbuf->endpoint = NULL;
287 if (cbuf->endpoint != NULL) {
288 qemu_chr_close(cbuf->endpoint);
289 cbuf->endpoint = NULL;
296 CharBuffer* cbuf = cs->opaque local
389 CharBuffer* cbuf = cs->opaque; local
423 CharBuffer* cbuf = _s_charbuffers; local
    [all...]
  /external/proguard/src/proguard/io/
ManifestRewriter.java 122 public int read(char[] cbuf, int off, int len) throws IOException
134 cbuf[off + count++] = (char)c;
202 public void write(char[] cbuf, int off, int len) throws IOException
206 write(cbuf[off + count]);
  /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/icu4c/i18n/
name2uni.cpp 121 char* cbuf = (char*) uprv_malloc(maxLen); local
122 if (cbuf == NULL) {
190 name.extract(0, len, cbuf, maxLen, US_INV);
193 c = u_charFromName(U_EXTENDED_CHAR_NAME, cbuf, &status);
250 uprv_free(cbuf);
  /external/guava/guava-tests/test/com/google/common/io/
LineBufferTest.java 132 public int read(CharBuffer cbuf) throws IOException {
133 return reader.read(cbuf);
140 @Override public int read(char[] cbuf, int off, int len)
142 return super.read(cbuf, off, Math.min(chunk, len));
  /dalvik/dexgen/src/com/android/dexgen/util/
IndentingWriter.java 139 public void write(char[] cbuf, int off, int len) throws IOException {
142 write(cbuf[off]);
  /dalvik/dx/src/com/android/dx/util/
IndentingWriter.java 139 public void write(char[] cbuf, int off, int len) throws IOException {
142 write(cbuf[off]);
  /external/dexmaker/src/dx/java/com/android/dx/util/
IndentingWriter.java 139 public void write(char[] cbuf, int off, int len) throws IOException {
142 write(cbuf[off]);
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
IndentingWriter.java 147 public void write(char[] cbuf, int off, int len) throws IOException {
150 write(cbuf[off]);
  /external/icu4c/tools/toolutil/
ucbuf.c 165 char* cbuf = carr; local
184 inputRead=T_FileStream_read(buf->in,cbuf,cbufSize-offset);
189 cbuf = (char*)uprv_malloc(cbufSize);
190 if (cbuf == NULL) {
194 inputRead= T_FileStream_read(buf->in,cbuf,cbufSize);
217 source = cbuf;
245 pos = (int32_t)(source - cbuf - len);
251 memcpy(preContext,cbuf+start,stop-start);
257 stop = (int32_t)(((pos+CONTEXT_LEN)<= (sourceLimit-cbuf) )? (pos+(CONTEXT_LEN-1)) : (sourceLimit-cbuf));
    [all...]
  /external/mksh/src/
edit.c 3251 char *cbuf; member in struct:edstate
    [all...]
  /external/oprofile/daemon/
oprofiled.c 165 char * cbuf; local
167 cbuf = xmalloc(strlen(op_session_dir) + 5);
168 strcpy(cbuf, op_session_dir);
169 strcat(cbuf, "/abi");
170 op_write_abi_to_file(cbuf);
171 free(cbuf);
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
FixASCIIControlsReader.java 57 public int read(char[] cbuf, int off, int len) throws IOException
78 cbuf[pos++] = c;
  /external/opencv/cv/src/
cvstereobm.cpp 197 uchar *cbuf0, *cbuf; local
223 hsad = hsad0 - dy0*ndisp; cbuf = cbuf0 + (x + wsz2 + 1)*cstep - dy0*ndisp;
227 for( y = -dy0; y < height + dy1; y++, hsad += ndisp, cbuf += ndisp, lptr += sstep, rptr += sstep )
233 cbuf[d] = (uchar)diff;
254 uchar* cbuf = cbuf0 + ((x1 + wsz2 + 1) % (wsz + 1))*cstep - dy0*ndisp; local
260 for( y = -dy0; y < height + dy1; y++, cbuf += ndisp, cbuf_sub += ndisp,
273 _mm_store_si128((__m128i*)(cbuf + d), diff);
404 uchar *cbuf0, *cbuf; local
429 hsad = hsad0 - dy0*ndisp; cbuf = cbuf0 + (x + wsz2 + 1)*cstep - dy0*ndisp;
433 for( y = -dy0; y < height + dy1; y++, hsad += ndisp, cbuf += ndisp, lptr += sstep, rptr += sstep
460 uchar* cbuf = cbuf0 + ((x1 + wsz2 + 1) % (wsz + 1))*cstep - dy0*ndisp; local
    [all...]
  /hardware/ril/mock-ril/src/cpp/
node_util.cpp 57 const unsigned char *cbuf = static_cast<const unsigned char*>(buf); local
61 twobytebuf[i] = cbuf[i];
  /external/e2fsprogs/debugfs/
htree.c 163 char *cbuf; local
167 cbuf = malloc(fs->blocksize);
168 if (!cbuf) {
189 cbuf, level);
191 free(cbuf);
  /external/svox/pico/lib/
picoacph.c 72 - cbuf : buffer for item contents (referenced by index in
75 0. bottom up filling of items in headx and cbuf
136 picoos_uint8 inspaceok; /* flag: headx/cbuf has space for an item */
145 picoos_uint8 cbuf[PICOACPH_MAXSIZE_CBUF]; member in struct:acph_subobj
182 /* init headx, cbuf */
193 acph->cbuf[i] = 0;
337 ch = acph->cbuf[acph->headx[ind].cind + i];
656 if (picoktab_isPrimstress(acph->tabphones, acph->cbuf[pind])) {
658 } else if (picoktab_isSyllbound(acph->tabphones, acph->cbuf[pind])) {
775 if (picoktab_isPrimstress(acph->tabphones, acph->cbuf[pos + i]) |
    [all...]
  /external/icu4c/test/cintltst/
cdattst.c 771 char cbuf[256]; local
1081 char cbuf[256]; local
    [all...]
  /external/openssl/apps/
s_client.c 563 char *cbuf=NULL,*sbuf=NULL,*mbuf=NULL; local
643 if ( ((cbuf=OPENSSL_malloc(BUFSIZZ)) == NULL) ||
    [all...]

Completed in 1016 milliseconds

1 2 3 4