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()
253 result = UNKNOWN_ERROR; in readCentralDir()
268 result = INVALID_OPERATION; in readCentralDir()
273 result = mEOCD.readBuf(buf + i, readAmount - i); in readCentralDir()
274 if (result != OK) { in readCentralDir()
284 result = INVALID_OPERATION; in readCentralDir()
305 result = UNKNOWN_ERROR; in readCentralDir()
317 result = pEntry->initFromCDE(mZipFp); in readCentralDir()
318 if (result != OK) { in readCentralDir()
339 result = INVALID_OPERATION; in readCentralDir()
344 result = UNKNOWN_ERROR; in readCentralDir()
352 return result; in readCentralDir()
372 status_t result = OK; in addCommon() local
399 result = UNKNOWN_ERROR; in addCommon()
425 result = compressFpToFp(mZipFp, inputFp, data, size, &crc); in addCommon()
426 if (result != OK) { in addCommon()
454 result = copyFpToFp(mZipFp, inputFp, &crc); in addCommon()
456 result = copyDataToFp(mZipFp, data, size, &crc); in addCommon()
458 if (result != OK) { in addCommon()
493 result = UNKNOWN_ERROR; in addCommon()
510 return result; in addCommon()
550 status_t result; in add() local
561 result = UNKNOWN_ERROR; in add()
567 result = NO_MEMORY; in add()
571 result = pEntry->initFromExternal(pSourceEntry); in add()
572 if (result != OK) in add()
575 result = alignEntry(pEntry, alignTo); in add()
576 if (result != OK) in add()
600 result = UNKNOWN_ERROR; in add()
613 result = UNKNOWN_ERROR; in add()
639 result = OK; in add()
643 return result; in add()
656 status_t result; in addRecompress() local
667 result = UNKNOWN_ERROR; in addRecompress()
673 result = NO_MEMORY; in addRecompress()
677 result = pEntry->initFromExternal(pSourceEntry); in addRecompress()
678 if (result != OK) in addRecompress()
704 result = UNKNOWN_ERROR; in addRecompress()
713 result = NO_MEMORY; in addRecompress()
720 result = UNKNOWN_ERROR; in addRecompress()
738 result = UNKNOWN_ERROR; in addRecompress()
761 result = UNKNOWN_ERROR; in addRecompress()
774 result = OK; in addRecompress()
778 return result; in addRecompress()
892 status_t result = OK; in compressFpToFp() local
916 result = NO_MEMORY; in compressFpToFp()
928 result = UNKNOWN_ERROR; in compressFpToFp()
946 result = UNKNOWN_ERROR; in compressFpToFp()
955 return result; in compressFpToFp()
986 status_t result = OK; in flush() local
997 result = crunchArchive(); in flush()
998 if (result != OK) in flush()
999 return result; in flush()
1039 status_t result = OK; in crunchArchive() local
1105 result = filemove(mZipFp, pEntry->getLFHOffset() - adjust, in crunchArchive()
1107 if (result != OK) { in crunchArchive()
1110 return result; in crunchArchive()
1130 return result; in crunchArchive()