Searched refs:lengthRemaining (Results 1 – 3 of 3) sorted by relevance
106 size_t lengthRemaining = this->fLength; in isValid() local107 if (lengthRemaining < sizeof(SkDescriptor)) { in isValid()110 lengthRemaining -= sizeof(SkDescriptor); in isValid()113 while (lengthRemaining > 0 && count > 0) { in isValid()114 if (lengthRemaining < sizeof(Entry)) { in isValid()117 lengthRemaining -= sizeof(Entry); in isValid()121 if (lengthRemaining < entry->fLen) { in isValid()124 lengthRemaining -= entry->fLen; in isValid()134 return lengthRemaining == 0 && count == 0; in isValid()
128 int lengthRemaining = metadataLength; in readMetadata() local130 while (lengthRemaining > 0) { in readMetadata()131 bytesRead = upstream.read(metadata, offset, lengthRemaining); in readMetadata()136 lengthRemaining -= bytesRead; in readMetadata()
251 int lengthRemaining = length; in expandFromList() local253 while (lengthRemaining > 0) { in expandFromList()271 copyLen = Math.min(lengthRemaining, block.length - copyOffset); in expandFromList()276 copyLen = Math.min(lengthRemaining, writeOffset + offsetRemaining); in expandFromList()280 lengthRemaining -= copyLen; in expandFromList()