I'd be worried more about customs in Asia than USCBP--bringing opioids into Malaysia or Japan without a prescription is guaranteed to be a bad time if you get caught.
CBP used to have a policy of letting up to 50 pills go for controlled substances even if you didn't have the prescription--since some US controlled substances are OTC in other places--but I have no idea if that's still the case.