Home
last modified time | relevance | path

Searched refs:timestamp_seconds (Results 1 – 9 of 9) sorted by relevance

/external/openthread/tests/scripts/thread-cert/
Dmle.py935 def __init__(self, timestamp_seconds, timestamp_ticks, u): argument
936 self._timestamp_seconds = timestamp_seconds
941 def timestamp_seconds(self): member in ActiveTimestamp
955 …return (self.timestamp_seconds == other.timestamp_seconds and self.timestamp_ticks == other.timest…
960 self.timestamp_seconds, self.timestamp_ticks, self.u)
969 timestamp_seconds = struct.unpack(">Q", bytes(seconds))[0]
972 return ActiveTimestamp(timestamp_seconds, timestamp_ticks, u)
977 def __init__(self, timestamp_seconds, timestamp_ticks, u): argument
978 self._timestamp_seconds = timestamp_seconds
983 def timestamp_seconds(self): member in PendingTimestamp
[all …]
Dtest_mle.py1548 timestamp_seconds = any_timestamp_seconds()
1550 … active_timestamp_obj = mle.ActiveTimestamp(timestamp_seconds, any_timestamp_ticks(), any_u())
1553 actual_timestamp_seconds = active_timestamp_obj.timestamp_seconds
1556 self.assertEqual(timestamp_seconds, actual_timestamp_seconds)
1587 timestamp_seconds = any_timestamp_seconds()
1593 … data = struct.pack(">Q", timestamp_seconds)[2:] + struct.pack(">H", (timestamp_ticks << 1) | u)
1600 self.assertEqual(timestamp_seconds, active_timestamp.timestamp_seconds)
1609 timestamp_seconds = any_timestamp_seconds()
1611 … pending_timestamp_obj = mle.PendingTimestamp(timestamp_seconds, any_timestamp_ticks(), any_u())
1614 actual_timestamp_seconds = pending_timestamp_obj.timestamp_seconds
[all …]
/external/rust/crates/env_logger/src/fmt/humantime/
Dextern_impl.rs43 pub fn timestamp_seconds(&self) -> Timestamp { in timestamp_seconds() method
/external/python/bumble/tests/
Da2dp_test.py217 packet.timestamp_seconds = timestamp / 44100
/external/protobuf/php/ext/google/protobuf/
Dmessage.c1289 upb_MessageValue timestamp_seconds; in PHP_METHOD() local
1298 !Convert_PhpToUpb(&retval, &timestamp_seconds, in PHP_METHOD()
1337 Message_setval(intern, "seconds", timestamp_seconds); in PHP_METHOD()
/external/cronet/third_party/protobuf/php/ext/google/protobuf/
Dmessage.c1290 upb_MessageValue timestamp_seconds; in PHP_METHOD() local
1299 !Convert_PhpToUpb(&retval, &timestamp_seconds, in PHP_METHOD()
1338 Message_setval(intern, "seconds", timestamp_seconds); in PHP_METHOD()
/external/python/bumble/bumble/
Da2dp.py626 packet.timestamp_seconds = timestamp / frame.sampling_frequency
Davdtp.py358 start_timestamp = packet.timestamp_seconds
361 when = start_time + (packet.timestamp_seconds - start_timestamp)
/external/rust/crates/env_logger/src/fmt/
Dmod.rs290 Some(Seconds) => self.buf.timestamp_seconds(), in write_timestamp()