Qualcomm, Broadcom each gain in latest court rulings