That would be the P90
I was thinking of something a little less sophisticated. Basically the same design as the pistol (use the same kind of mags and operate the same way) but with the polymer frame extended in back for a stock and in the front for a rail and grip.