/external/guava/src/com/google/common/io/ |
LineReader.java | 39 private final CharBuffer cbuf = CharBuffer.wrap(buf); field in class:LineReader 71 cbuf.clear(); 76 : readable.read(cbuf);
|
/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...] |
/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 | 120 char* cbuf = (char*) uprv_malloc(maxLen); local 121 if (cbuf == NULL) { 189 name.extract(0, len, cbuf, maxLen, US_INV); 192 c = u_charFromName(U_EXTENDED_CHAR_NAME, cbuf, &status); 249 uprv_free(cbuf);
|
/external/e2fsprogs/debugfs/ |
htree.c | 150 char *cbuf; local 154 cbuf = malloc(fs->blocksize); 155 if (!cbuf) { 176 cbuf, level); 178 free(cbuf);
|
/external/openssl/ssl/ |
ssl_asn1.c | 101 unsigned char cbuf; local 149 cbuf = (unsigned char)in->compress_meth; 152 a.comp_id.data = &cbuf;
|
ssltest.c | 1066 MS_STATIC char cbuf[1024*8]; local 1070 memset(cbuf, 0, sizeof(cbuf)); 1081 if (cw_num > (long)sizeof cbuf) 1082 i = sizeof cbuf; 1085 r = BIO_write(c_ssl_bio, cbuf, i); 1115 r = BIO_read(c_ssl_bio, cbuf, sizeof(cbuf)); 1386 MS_STATIC char cbuf[1024*8],sbuf[1024*8]; local [all...] |
/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...] |
qemu-char-android.c | 309 char cbuf[50] = "\n\r"; local 312 snprintf(cbuf, sizeof(cbuf), "\n\r"); 315 snprintf(cbuf, sizeof(cbuf), 319 chr->chr_write(chr, (uint8_t *)cbuf, strlen(cbuf)); [all...] |
qemu-char.c | 301 char cbuf[50] = "\n\r"; local 304 snprintf(cbuf, sizeof(cbuf), "\n\r"); 307 snprintf(cbuf, sizeof(cbuf), 311 chr->chr_write(chr, (uint8_t *)cbuf, strlen(cbuf)); [all...] |
/external/icu4c/test/cintltst/ |
utransts.c | 491 char *cbuf; local 535 cbuf=aescstrdup(buf, -1); 538 log_verbose("Ok: %s | %s -> %s\n", DATA[i+1], DATA[i], cbuf); 540 log_err("FAIL: %s | %s -> %s, expected %s\n", DATA[i+1], DATA[i], cbuf, DATA[i+2]);
|
cdattst.c | 771 char cbuf[256]; local 1081 char cbuf[256]; local [all...] |
cldrtest.c | 1142 char cbuf[32]; \/* 9 should be enough *\/ local [all...] |
/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/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/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...] |
picospho.c | 73 * - cbuf : unstructured buffer containing item contents 182 picoos_uint8 cbuf[SPHO_MAXSIZE_CBUF]; member in struct:spho_subobj 267 /* item buffer headx/cbuf */ 405 /* shift relevant data in headx/'cbuf' (between 'readPos' incl and writePos non-incl) to 'start'. 410 /* remember shift parameters for cbuf */ 442 /* shift cbuf */ 444 spho->cbuf[c_i++] = spho->cbuf[c_j++]; 550 content = spho->cbuf + spho->headx[pos].cind; [all...] |
picocep.c | 178 picoos_uint8 cbuf[PICOCEP_MAXSIZE_CBUF]; member in struct:cep_subobj 300 /* headx and cbuf */ [all...] |
/external/openssl/crypto/threads/ |
mttest.c | 420 static char cbuf[200],sbuf[200]; local 546 i=BIO_read(c_bio,cbuf,100); 575 fwrite(cbuf,1,i,stdout);
|
/external/icu4c/test/intltest/ |
utxttest.cpp | 235 const UChar *cbuf = sa.getBuffer(); local 236 CharacterIterator *ci = new UCharCharacterIterator(cbuf, saLen, status); [all...] |
/external/libpng/ |
pngwutil.c | 1461 png_byte cbuf[2]; local [all...] |
/external/openssl/apps/ |
s_client.c | 295 char *cbuf=NULL,*sbuf=NULL,*mbuf=NULL; local 372 if ( ((cbuf=OPENSSL_malloc(BUFSIZZ)) == NULL) || [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
pngwutil.c | 1435 png_byte cbuf[2]; local [all...] |
/external/ping/ |
ping.c | 968 char cbuf[512]; local 986 msg.msg_control = cbuf; 987 msg.msg_controllen = sizeof(cbuf); [all...] |
/external/ppp/pppd/ |
sys-solaris.c | 2644 struct strbuf cbuf, dbuf; local [all...] |