• Home
  • Raw
  • Download

Lines Matching refs:result

103     status_t result;  in open()  local
109 result = readCentralDir(); in open()
121 result = NO_ERROR; in open()
129 return result; in open()
206 status_t result = NO_ERROR; in readCentralDir() local
219 result = INVALID_OPERATION; in readCentralDir()
227 result = NO_MEMORY; in readCentralDir()
240 result = UNKNOWN_ERROR; in readCentralDir()
247 result = UNKNOWN_ERROR; in readCentralDir()
262 result = INVALID_OPERATION; in readCentralDir()
267 result = mEOCD.readBuf(buf + i, readAmount - i); in readCentralDir()
268 if (result != NO_ERROR) { in readCentralDir()
278 result = INVALID_OPERATION; in readCentralDir()
299 result = UNKNOWN_ERROR; in readCentralDir()
311 result = pEntry->initFromCDE(mZipFp); in readCentralDir()
312 if (result != NO_ERROR) { in readCentralDir()
329 result = INVALID_OPERATION; in readCentralDir()
334 result = UNKNOWN_ERROR; in readCentralDir()
342 return result; in readCentralDir()
363 status_t result = NO_ERROR; in addCommon() local
390 result = UNKNOWN_ERROR; in addCommon()
417 result = compressFpToFp(mZipFp, inputFp, data, size, &crc); in addCommon()
418 if (result != NO_ERROR) { in addCommon()
446 result = copyFpToFp(mZipFp, inputFp, &crc); in addCommon()
448 result = copyDataToFp(mZipFp, data, size, &crc); in addCommon()
450 if (result != NO_ERROR) { in addCommon()
472 result = UNKNOWN_ERROR; in addCommon()
476 result = copyPartialFpToFp(mZipFp, inputFp, compressedLen, NULL); in addCommon()
477 if (result != NO_ERROR) { in addCommon()
483 result = UNKNOWN_ERROR; in addCommon()
512 result = UNKNOWN_ERROR; in addCommon()
529 return result; in addCommon()
543 status_t result; in add() local
554 result = UNKNOWN_ERROR; in add()
560 result = NO_MEMORY; in add()
564 result = pEntry->initFromExternal(pSourceZip, pSourceEntry); in add()
565 if (result != NO_ERROR) in add()
568 result = pEntry->addPadding(padding); in add()
569 if (result != NO_ERROR) in add()
594 result = UNKNOWN_ERROR; in add()
607 result = UNKNOWN_ERROR; in add()
633 result = NO_ERROR; in add()
637 return result; in add()
746 status_t result = NO_ERROR; in compressFpToFp() local
761 result = NO_MEMORY; in compressFpToFp()
781 result = UNKNOWN_ERROR; in compressFpToFp()
835 result = UNKNOWN_ERROR; in compressFpToFp()
868 return result; in compressFpToFp()
899 status_t result = NO_ERROR; in flush() local
910 result = crunchArchive(); in flush()
911 if (result != NO_ERROR) in flush()
912 return result; in flush()
952 status_t result = NO_ERROR; in crunchArchive() local
1018 result = filemove(mZipFp, pEntry->getLFHOffset() - adjust, in crunchArchive()
1020 if (result != NO_ERROR) { in crunchArchive()
1023 return result; in crunchArchive()
1043 return result; in crunchArchive()