Searched refs:prevPos (Results 1 – 3 of 3) sorted by relevance
104 int prevPos = 0; in precomputeGradientColors() local110 prevPos = nextPos++; in precomputeGradientColors()113 float percent = (currentPos - mPositions[prevPos]) / in precomputeGradientColors()114 (mPositions[nextPos] - mPositions[prevPos]); in precomputeGradientColors()116 mGradient[i] = computeColor(mColors[prevPos], mColors[nextPos], percent); in precomputeGradientColors()
173 int prevPos; in writeHeader_native() local178 prevPos = lseek(fd, 0, SEEK_CUR); in writeHeader_native()186 header.dataSize = prevPos - (pos + header.headerSize); in writeHeader_native()209 lseek(fd, prevPos, SEEK_SET); in writeHeader_native()
566 off_t prevPos; in DRM_file_write() local580 prevPos = lseek( (int)handle, 0, SEEK_CUR); in DRM_file_write()581 if ( (off_t)-1 == prevPos ) in DRM_file_write()586 delta = (int)prevPos + length - prevFileSize; in DRM_file_write()600 delta = prevPos + n - prevFileSize; in DRM_file_write()