Home | History | Annotate | Download | only in androidfw

Lines Matching refs:BUFSIZE

216     const int bufsize = 4*1024;
223 char* buf = (char*)malloc(bufsize);
251 while ((amt = read(fd, buf, bufsize)) != 0 && bytesLeft > 0) {
266 memset(buf, 0, bufsize);
268 amt = bytesLeft < bufsize ? bytesLeft : bufsize;
313 const int bufsize = 4*1024;
316 char* buf = (char*)malloc(bufsize);
321 while ((amt = read(fd, buf, bufsize)) != 0) {
552 const size_t BUFSIZE = 32 * 1024;
553 char* buf = (char *)calloc(1,BUFSIZE);
556 const size_t PAXDATA_SIZE = BUFSIZE - (PAXHEADER_SIZE + PAXHEADER_OFFSET);
679 calc_tar_checksum(buf, BUFSIZE);
688 if (toRead > BUFSIZE) {
689 toRead = BUFSIZE;
1203 size_t bufSize = strlen(str)+1;
1204 char* buf = (char*)malloc(bufSize);
1237 if (actualSize != bufSize) {
1239 bufSize, actualSize);
1244 nRead = reader.ReadEntityData(buf, bufSize);
1251 if (0 != memcmp(buf, str, bufSize)) {