Study of direct-reaction cross sections in collisions between heavy ions