/external/webrtc/system_wrappers/include/ |
D | ntp_time.h | 26 NtpTime(uint32_t seconds, uint32_t fractions) in NtpTime() argument 27 : value_(seconds * kFractionsPerSecond + fractions) {} in NtpTime() 33 void Set(uint32_t seconds, uint32_t fractions) { in Set() argument 34 value_ = seconds * kFractionsPerSecond + fractions; in Set() 40 const double frac_ms = static_cast<double>(fractions()) / kNtpFracPerMs; in ToMs() 50 uint32_t fractions() const { in fractions() function
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_context.py | 14 async def fractions(t, precision, x, y): function 24 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/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 138 >>> from fractions import Fraction
|
D | numeric.rst | 24 fractions.rst
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/units/ |
D | UnitsConverter.java | 221 String[] fractions = factor.split("/"); in processFactor() local 222 assert (fractions.length == 1 || fractions.length == 2); in processFactor() 224 if (fractions.length == 1) { in processFactor() 225 return processFactorWithoutDivision(fractions[0]); in processFactor() 228 Factor num = processFactorWithoutDivision(fractions[0]); in processFactor() 229 Factor den = processFactorWithoutDivision(fractions[1]); in processFactor()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
D | UnitsConverter.java | 211 String[] fractions = factor.split("/"); in processFactor() local 212 assert (fractions.length == 1 || fractions.length == 2); in processFactor() 214 if (fractions.length == 1) { in processFactor() 215 return processFactorWithoutDivision(fractions[0]); in processFactor() 218 Factor num = processFactorWithoutDivision(fractions[0]); in processFactor() 219 Factor den = processFactorWithoutDivision(fractions[1]); in processFactor()
|
/external/tensorflow/tensorflow/python/ops/signal/ |
D | util_ops.py | 17 import fractions # gcd is here for Python versions < 3 61 math_gcd = fractions.gcd
|
/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/webrtc/api/video_codecs/ |
D | video_encoder.cc | 147 const absl::InlinedVector<uint8_t, kMaxTemporalStreams>& fractions = in ToString() local 149 if (!fractions.empty()) { in ToString() 152 for (size_t i = 0; i < fractions.size(); ++i) { in ToString() 156 oss << (static_cast<double>(fractions[i]) / kMaxFramerateFraction); in ToString()
|
/external/webrtc/system_wrappers/source/ |
D | clock.cc | 80 uint32_t fractions = static_cast<uint32_t>( in ConvertTimestampToNtpTime() local 82 return NtpTime(seconds, fractions); in ConvertTimestampToNtpTime()
|
/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/cronet/net/third_party/quiche/src/quiche/blind_sign_auth/proto/ |
D | timestamp.proto | 27 // Non-negative fractions of a second at nanosecond resolution. Negative 28 // second values with fractions must still have non-negative nanos values
|
/external/python/cachetools/tests/ |
D | test_method.py | 112 import fractions 117 class Int(fractions.Fraction): 119 return Int(fractions.Fraction.__add__(self, other))
|
/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/cronet/buildtools/third_party/libc++/trunk/src/ |
D | chrono.cpp | 203 auto fractions = counter.QuadPart % freq.QuadPart; in __libcpp_steady_clock_now() local 204 auto dur = seconds * nano::den + fractions * nano::den / freq.QuadPart; in __libcpp_steady_clock_now()
|
/external/fonttools/Tests/mtiLib/data/mti/ |
D | gsubsingle.txt | 3 lookup alt-fractions single
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | time_util.h | 31 return (ntp.seconds() << 16) | (ntp.fractions() >> 16); in CompactNtp()
|
/external/perfetto/ui/src/common/ |
D | high_precision_time_unittest.ts | 28 const [base, fractions] = array; constant 32 if (fractions) { 33 const numFractions = Number(`0.${fractions}`);
|
/external/freetype/src/autofit/ |
D | afcover.h | 53 COVERAGE( fractions, FRACTIONS,
|
/external/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 | 46 EXPECT_EQ(kNtpFrac, parsed.ntp().fractions()); in TEST()
|
/external/rust/crates/protobuf-parse/src/proto/google/protobuf/ |
D | timestamp.proto | 44 // calendar, encoded as a count of seconds and fractions of seconds at 142 // Non-negative fractions of a second at nanosecond resolution. Negative 143 // second values with fractions must still have non-negative nanos values
|
/external/protobuf/src/google/protobuf/ |
D | timestamp.proto | 44 // calendar, encoded as a count of seconds and fractions of seconds at 142 // Non-negative fractions of a second at nanosecond resolution. Negative 143 // second values with fractions must still have non-negative nanos values
|