Lines Matching refs:result
105 status_t result; in open() local
111 result = readCentralDir(); in open()
123 result = OK; in open()
131 return result; in open()
208 status_t result = OK; in readCentralDir() local
221 result = INVALID_OPERATION; in readCentralDir()
229 result = NO_MEMORY; in readCentralDir()
242 result = UNKNOWN_ERROR; in readCentralDir()
249 result = UNKNOWN_ERROR; in readCentralDir()
264 result = INVALID_OPERATION; in readCentralDir()
269 result = mEOCD.readBuf(buf + i, readAmount - i); in readCentralDir()
270 if (result != OK) { in readCentralDir()
280 result = INVALID_OPERATION; in readCentralDir()
301 result = UNKNOWN_ERROR; in readCentralDir()
313 result = pEntry->initFromCDE(mZipFp); in readCentralDir()
314 if (result != OK) { in readCentralDir()
331 result = INVALID_OPERATION; in readCentralDir()
336 result = UNKNOWN_ERROR; in readCentralDir()
344 return result; in readCentralDir()
364 status_t result = OK; in addCommon() local
391 result = UNKNOWN_ERROR; in addCommon()
417 result = compressFpToFp(mZipFp, inputFp, data, size, &crc); in addCommon()
418 if (result != OK) { in addCommon()
446 result = copyFpToFp(mZipFp, inputFp, &crc); in addCommon()
448 result = copyDataToFp(mZipFp, data, size, &crc); in addCommon()
450 if (result != OK) { in addCommon()
485 result = UNKNOWN_ERROR; in addCommon()
502 return result; in addCommon()
516 status_t result; in add() local
527 result = UNKNOWN_ERROR; in add()
533 result = NO_MEMORY; in add()
537 result = pEntry->initFromExternal(pSourceEntry); in add()
538 if (result != OK) in add()
541 result = pEntry->addPadding(padding); in add()
542 if (result != OK) in add()
567 result = UNKNOWN_ERROR; in add()
580 result = UNKNOWN_ERROR; in add()
606 result = OK; in add()
610 return result; in add()
623 status_t result; in addRecompress() local
634 result = UNKNOWN_ERROR; in addRecompress()
640 result = NO_MEMORY; in addRecompress()
644 result = pEntry->initFromExternal(pSourceEntry); in addRecompress()
645 if (result != OK) in addRecompress()
671 result = UNKNOWN_ERROR; in addRecompress()
680 result = NO_MEMORY; in addRecompress()
687 result = UNKNOWN_ERROR; in addRecompress()
705 result = UNKNOWN_ERROR; in addRecompress()
728 result = UNKNOWN_ERROR; in addRecompress()
741 result = OK; in addRecompress()
745 return result; in addRecompress()
852 status_t result = OK; in compressFpToFp() local
876 result = NO_MEMORY; in compressFpToFp()
888 result = UNKNOWN_ERROR; in compressFpToFp()
907 result = UNKNOWN_ERROR; in compressFpToFp()
916 return result; in compressFpToFp()
947 status_t result = OK; in flush() local
958 result = crunchArchive(); in flush()
959 if (result != OK) in flush()
960 return result; in flush()
1000 status_t result = OK; in crunchArchive() local
1066 result = filemove(mZipFp, pEntry->getLFHOffset() - adjust, in crunchArchive()
1068 if (result != OK) { in crunchArchive()
1071 return result; in crunchArchive()
1091 return result; in crunchArchive()