Home | History | Annotate | Download | only in androidfw

Lines Matching refs:bufsize

217     const int bufsize = 4*1024;
224 char* buf = (char*)malloc(bufsize);
252 while ((amt = read(fd, buf, bufsize)) != 0 && bytesLeft > 0) {
267 memset(buf, 0, bufsize);
269 amt = bytesLeft < bufsize ? bytesLeft : bufsize;
314 const int bufsize = 4*1024;
317 char* buf = (char*)malloc(bufsize);
322 while ((amt = read(fd, buf, bufsize)) != 0) {
551 const size_t BUFSIZE = 32 * 1024;
552 char* buf = (char *)calloc(1,BUFSIZE);
636 memset(paxData, 0, BUFSIZE - (paxData - buf));
683 if (toRead > BUFSIZE) {
684 toRead = BUFSIZE;
1198 size_t bufSize = strlen(str)+1;
1199 char* buf = (char*)malloc(bufSize);
1232 if (actualSize != bufSize) {
1234 bufSize, actualSize);
1239 nRead = reader.ReadEntityData(buf, bufSize);
1246 if (0 != memcmp(buf, str, bufSize)) {