Lines Matching refs:money
2678 if (data->money->unnormalized_amount.empty()) { in ParseAndFillInMoneyAmount()
2690 UTF8ToUnicodeText(data->money->unnormalized_amount, /*do_copy=*/false); in ParseAndFillInMoneyAmount()
2711 &data->money->amount_whole_part)) { in ParseAndFillInMoneyAmount()
2714 << data->money->unnormalized_amount; in ParseAndFillInMoneyAmount()
2719 data->money->amount_decimal_part = 0; in ParseAndFillInMoneyAmount()
2720 data->money->nanos = 0; in ParseAndFillInMoneyAmount()
2726 if (!unilib_->ParseInt32(decimal_part, &data->money->amount_decimal_part)) { in ParseAndFillInMoneyAmount()
2729 << data->money->unnormalized_amount; in ParseAndFillInMoneyAmount()
2732 data->money->nanos = data->money->amount_decimal_part * in ParseAndFillInMoneyAmount()
2744 data->money->amount_whole_part * pow(10, quantity_exponent) + in ParseAndFillInMoneyAmount()
2745 data->money->nanos / pow(10, 9 - quantity_exponent); in ParseAndFillInMoneyAmount()
2750 data->money->amount_whole_part = amount_whole_part; in ParseAndFillInMoneyAmount()
2751 data->money->nanos = data->money->nanos % in ParseAndFillInMoneyAmount()
2757 data->money->unnormalized_amount = strings::JoinStrings( in ParseAndFillInMoneyAmount()
2758 " ", {data->money->unnormalized_amount, quantity}); in ParseAndFillInMoneyAmount()