Lines Matching refs:Position
638 @retval EFI_DEVICE_ERROR On entry, the current file position is beyond the end of the file.
706 if (*BufferSize + File->Position > FileSize) {
707 *BufferSize = (UINTN)(FileSize - File->Position);
710 CopyMem (Buffer, (UINT8*)FileBuffer + File->Position, *BufferSize);
711 File->Position += *BufferSize;
759 Returns a file's current position.
762 handle to get the current position on.
763 @param Position The address to return the file's current position value.
765 @retval EFI_SUCCESS The position was returned.
767 @retval EFI_DEVICE_ERROR An attempt was made to get the position from a deleted file.
774 OUT UINT64 *Position
786 *Position = File->Position;
792 Sets a file's current position.
795 file handle to set the requested position on.
796 @param Position The byte position from the start of the file to set.
798 @retval EFI_SUCCESS The position was set.
801 @retval EFI_DEVICE_ERROR An attempt was made to set the position of a deleted file.
808 IN UINT64 Position
818 if (Position != 0) {
822 // Reset directory position to first entry
825 } else if (Position == 0xFFFFFFFFFFFFFFFFull) {
826 File->Position = File->FvFileInfo->FileInfo.FileSize;
828 File->Position = Position;