Home
last modified time | relevance | path

Searched refs:new_timestamp (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/system_wrappers/source/
Drtp_to_ntp.cc44 bool CompensateForWrapAround(uint32_t new_timestamp, in CompensateForWrapAround() argument
48 int64_t wraps = CheckForWrapArounds(new_timestamp, old_timestamp); in CompensateForWrapAround()
53 *compensated_timestamp = new_timestamp + (wraps << 32); in CompensateForWrapAround()
133 int CheckForWrapArounds(uint32_t new_timestamp, uint32_t old_timestamp) { in CheckForWrapArounds() argument
134 if (new_timestamp < old_timestamp) { in CheckForWrapArounds()
138 if (static_cast<int32_t>(new_timestamp - old_timestamp) > 0) { in CheckForWrapArounds()
142 } else if (static_cast<int32_t>(old_timestamp - new_timestamp) > 0) { in CheckForWrapArounds()
/external/autotest/server/cros/chaos_lib/
Dchaos_log_analyzer.py102 new_timestamp = time.localtime(timestamp_secs - 1)
104 (time.strftime(self.LOG_TIMESTAMP_FORMAT, new_timestamp))