Searched refs:seconds_f (Results 1 – 2 of 2) sorted by relevance
110 const upb_fielddef *seconds_f = upb_msgdef_itof(m, 1); in jsonenc_timestamp() local112 int64_t seconds = upb_msg_get(msg, seconds_f).int64_val; in jsonenc_timestamp()151 const upb_fielddef *seconds_f = upb_msgdef_itof(m, 1); in jsonenc_duration() local153 int64_t seconds = upb_msg_get(msg, seconds_f).int64_val; in jsonenc_duration()
302 seconds_f = round(self.seconds + 60 * (minutes_f - minutes), 8)303 seconds = int(seconds_f)305 microseconds = round(self.microseconds + 1e6 * (seconds_f - seconds))