• Home
  • Raw
  • Download

Lines Matching refs:result

106     status_t result;  in open()  local
112 result = readCentralDir(); in open()
124 result = NO_ERROR; in open()
132 return result; in open()
209 status_t result = NO_ERROR; in readCentralDir() local
222 result = INVALID_OPERATION; in readCentralDir()
230 result = NO_MEMORY; in readCentralDir()
243 result = UNKNOWN_ERROR; in readCentralDir()
250 result = UNKNOWN_ERROR; in readCentralDir()
265 result = INVALID_OPERATION; in readCentralDir()
270 result = mEOCD.readBuf(buf + i, readAmount - i); in readCentralDir()
271 if (result != NO_ERROR) { in readCentralDir()
281 result = INVALID_OPERATION; in readCentralDir()
302 result = UNKNOWN_ERROR; in readCentralDir()
314 result = pEntry->initFromCDE(mZipFp); in readCentralDir()
315 if (result != NO_ERROR) { in readCentralDir()
332 result = INVALID_OPERATION; in readCentralDir()
337 result = UNKNOWN_ERROR; in readCentralDir()
345 return result; in readCentralDir()
366 status_t result = NO_ERROR; in addCommon() local
393 result = UNKNOWN_ERROR; in addCommon()
420 result = compressFpToFp(mZipFp, inputFp, data, size, &crc); in addCommon()
421 if (result != NO_ERROR) { in addCommon()
449 result = copyFpToFp(mZipFp, inputFp, &crc); in addCommon()
451 result = copyDataToFp(mZipFp, data, size, &crc); in addCommon()
453 if (result != NO_ERROR) { in addCommon()
476 result = UNKNOWN_ERROR; in addCommon()
481 result = copyPartialFpToFp(mZipFp, inputFp, compressedLen, NULL); in addCommon()
482 if (result != NO_ERROR) { in addCommon()
488 result = UNKNOWN_ERROR; in addCommon()
517 result = UNKNOWN_ERROR; in addCommon()
534 return result; in addCommon()
548 status_t result; in add() local
559 result = UNKNOWN_ERROR; in add()
565 result = NO_MEMORY; in add()
569 result = pEntry->initFromExternal(pSourceEntry); in add()
570 if (result != NO_ERROR) in add()
573 result = pEntry->addPadding(padding); in add()
574 if (result != NO_ERROR) in add()
599 result = UNKNOWN_ERROR; in add()
612 result = UNKNOWN_ERROR; in add()
638 result = NO_ERROR; in add()
642 return result; in add()
655 status_t result; in addRecompress() local
666 result = UNKNOWN_ERROR; in addRecompress()
672 result = NO_MEMORY; in addRecompress()
676 result = pEntry->initFromExternal(pSourceEntry); in addRecompress()
677 if (result != NO_ERROR) in addRecompress()
703 result = UNKNOWN_ERROR; in addRecompress()
712 result = NO_MEMORY; in addRecompress()
719 result = UNKNOWN_ERROR; in addRecompress()
737 result = UNKNOWN_ERROR; in addRecompress()
760 result = UNKNOWN_ERROR; in addRecompress()
773 result = NO_ERROR; in addRecompress()
777 return result; in addRecompress()
886 status_t result = NO_ERROR; in compressFpToFp() local
910 result = NO_MEMORY; in compressFpToFp()
948 return result; in compressFpToFp()
979 status_t result = NO_ERROR; in flush() local
990 result = crunchArchive(); in flush()
991 if (result != NO_ERROR) in flush()
992 return result; in flush()
1032 status_t result = NO_ERROR; in crunchArchive() local
1098 result = filemove(mZipFp, pEntry->getLFHOffset() - adjust, in crunchArchive()
1100 if (result != NO_ERROR) { in crunchArchive()
1103 return result; in crunchArchive()
1123 return result; in crunchArchive()