/external/webrtc/webrtc/system_wrappers/include/ |
D | ntp_time.h | 24 NtpTime(uint32_t seconds, uint32_t fractions) in NtpTime() argument 25 : seconds_(seconds), fractions_(fractions) {} in NtpTime() 33 void Set(uint32_t seconds, uint32_t fractions) { in Set() argument 35 fractions_ = fractions; in Set() 48 uint32_t fractions() const { return fractions_; } in fractions() function 56 return n1.seconds() == n2.seconds() && n1.fractions() == n2.fractions();
|
D | clock.h | 40 virtual void CurrentNtp(uint32_t& seconds, uint32_t& fractions) const = 0; 46 static int64_t NtpToMs(uint32_t seconds, uint32_t fractions); 67 void CurrentNtp(uint32_t& seconds, uint32_t& fractions) const override;
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | clock_unittest.cc | 20 uint32_t fractions; in TEST() local 21 clock->CurrentNtp(seconds, fractions); in TEST() 24 EXPECT_GE(milliseconds, Clock::NtpToMs(seconds, fractions)); in TEST() 25 EXPECT_NEAR(milliseconds, Clock::NtpToMs(seconds, fractions), 100); in TEST()
|
D | clock.cc | 50 void CurrentNtp(uint32_t& seconds, uint32_t& fractions) const override { in CurrentNtp() 54 fractions = static_cast<uint32_t>( in CurrentNtp() 251 void SimulatedClock::CurrentNtp(uint32_t& seconds, uint32_t& fractions) const { in CurrentNtp() 254 fractions = in CurrentNtp()
|
D | ntp_time_unittest.cc | 37 EXPECT_EQ(kNtpFrac, ntp.fractions()); in TEST() 64 EXPECT_EQ(ntp.ToMs(), Clock::NtpToMs(ntp.seconds(), ntp.fractions())); in TEST()
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_context.py | 9 async def fractions(t, precision, x, y): function 19 fractions(0.1, 3, 1, 3), fractions(0.2, 6, 1, 3))
|
/external/python/cpython2/Doc/library/ |
D | fractions.rst | 1 :mod:`fractions` --- Rational numbers 4 .. module:: fractions 10 **Source code:** :source:`Lib/fractions.py` 14 The :mod:`fractions` module provides support for rational number arithmetic. 51 >>> from fractions import Fraction 114 >>> from fractions import Fraction
|
D | numeric.rst | 24 fractions.rst
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | time_util.h | 21 uint32_t tmp = (static_cast<uint64_t>(ntp.fractions()) * freq) >> 32; in NtpToRtp() 39 return (ntp.seconds() << 16) | (ntp.fractions() >> 16); in CompactNtp()
|
/external/python/cpython3/Doc/library/ |
D | fractions.rst | 1 :mod:`fractions` --- Rational numbers 4 .. module:: fractions 10 **Source code:** :source:`Lib/fractions.py` 14 The :mod:`fractions` module provides support for rational number arithmetic. 51 >>> from fractions import Fraction 127 >>> from fractions import Fraction
|
D | numeric.rst | 24 fractions.rst
|
/external/python/cpython3/Doc/tutorial/ |
D | floatingpoint.rst | 15 fractions. For example, the decimal fraction :: 23 has value 0/2 + 0/4 + 1/8. These two fractions have identical values, the only 27 Unfortunately, most decimal fractions cannot be represented exactly as binary 28 fractions. A consequence is that, in general, the decimal floating-point 156 Another form of exact arithmetic is supported by the :mod:`fractions` module 216 decimal fractions cannot be represented exactly as binary (base 2) fractions. 284 The :mod:`fractions` and :mod:`decimal` modules make these calculations 288 >>> from fractions import Fraction
|
/external/tensorflow/tensorflow/python/ops/signal/ |
D | util_ops.py | 21 import fractions 62 return ops.convert_to_tensor(fractions.gcd(const_a, const_b))
|
/external/autotest/site_utils/ |
D | cloud_console.proto | 22 // or calendar, represented as seconds and fractions of seconds at 27 // Non-negative fractions of a second at nanosecond resolution.
|
/external/tensorflow/tensorflow/contrib/training/python/training/ |
D | resample_test.py | 208 fractions = [w / weight_sum for w in weights] 209 expected_counts = [expected_overall_count * f for f in fractions] 212 math.sqrt(expected_overall_count * f * (1 - f)) for f in fractions
|
/external/python/cpython2/Doc/tutorial/ |
D | floatingpoint.rst | 11 fractions. For example, the decimal fraction :: 19 has value 0/2 + 0/4 + 1/8. These two fractions have identical values, the only 23 Unfortunately, most decimal fractions cannot be represented exactly as binary 24 fractions. A consequence is that, in general, the decimal floating-point 157 decimal fractions cannot be represented exactly as binary (base 2) fractions.
|
/external/protobuf/src/google/protobuf/ |
D | timestamp.proto | 45 // or calendar, represented as seconds and fractions of seconds at 106 // Non-negative fractions of a second at nanosecond resolution. Negative 107 // second values with fractions must still have non-negative nanos values
|
D | duration.proto | 44 // as a count of seconds and fractions of seconds at nanosecond 91 // Signed fractions of a second at nanosecond resolution of the span
|
/external/fonttools/Tests/mtiLib/data/mti/ |
D | gsubsingle.txt | 3 lookup alt-fractions single
|
/external/freetype/src/autofit/ |
D | afcover.h | 53 COVERAGE( fractions, FRACTIONS,
|
/external/syzkaller/vendor/github.com/golang/protobuf/ptypes/timestamp/ |
D | timestamp.proto | 44 // or calendar, represented as seconds and fractions of seconds at 128 // Non-negative fractions of a second at nanosecond resolution. Negative 129 // second values with fractions must still have non-negative nanos values
|
/external/golang-protobuf/ptypes/timestamp/ |
D | timestamp.proto | 44 // or calendar, represented as seconds and fractions of seconds at 130 // Non-negative fractions of a second at nanosecond resolution. Negative 131 // second values with fractions must still have non-negative nanos values
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | rrtr.cc | 45 ByteWriter<uint32_t>::WriteBigEndian(&buffer[8], ntp_.fractions()); in Create()
|
D | rrtr_unittest.cc | 47 EXPECT_EQ(kNtpFrac, parsed.ntp().fractions()); in TEST()
|
/external/python/cpython2/Lib/test/ |
D | test_fractions.py | 8 import fractions 13 F = fractions.Fraction 14 gcd = fractions.gcd 65 if isinstance(other, fractions.Fraction): 92 class DummyFraction(fractions.Fraction):
|