The SW tie-in novels used to refer to them as E-11 blaster rifles, but I started to refer to them as carbines, following realisation that real-life rifles being really long weapons.
I don't think I have seen anyone apart from myself, and now, yourself, refer to carbines relating to SW weapons.

So as far as I am concerned, the long weapons carried by sandtroopers qualify as rifles, while the ones on the Death Star were generally carbines, I think both might have appeared.

See my reply in Hoopers; the Wookieepedia articles do give the answer. [link=http://starwars.wikia.com/wiki/E-11_carbine]The carbine article[/link] only lists Galaxies as an appearance, so we can rule out the carbine as appearing in any of the films. [link=http://starwars.wikia.com/wiki/E-11b_blaster_rifle]The E-11b article[/link] points out that it was "[m]odified by skilled Blastech and SoroSuub armorers who defected to the Rebel Alliance" (emphasis mine), so the E-11b was a Rebel weapon, not an Imperial weapon, and therefore would not have been used by stormtroopers. By process of elimination, that means the E-11 rifle was used by stormtroopers on both the Death Star and Endor, a fact backed up by [link=http://starwars.wikia.com/wiki/E-11_blaster_rifle]its article[/link], which states, "It was the standard blaster rifle of the Imperial stormtroopers."