HomeSort by relevance Sort by last modified time
    Searched refs:Fraction (Results 1 - 16 of 16) sorted by null

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
fractions.py 13 __all__ = ['Fraction', 'gcd']
44 class Fraction(Rational):
47 In the two-argument form of the constructor, Fraction(8, 6) will
50 defaults to 1 so that Fraction(3) == 3 and Fraction() == 0.
69 """Constructs a Fraction.
77 >>> Fraction(10, -8)
78 Fraction(-5, 4)
79 >>> Fraction(Fraction(1, 7), 5
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
fractions.py 13 __all__ = ['Fraction', 'gcd']
44 class Fraction(Rational):
47 In the two-argument form of the constructor, Fraction(8, 6) will
50 defaults to 1 so that Fraction(3) == 3 and Fraction() == 0.
69 """Constructs a Fraction.
77 >>> Fraction(10, -8)
78 Fraction(-5, 4)
79 >>> Fraction(Fraction(1, 7), 5
    [all...]
  /external/libvpx/libvpx/vp9/encoder/
vp9_picklpf.c 24 YV12_BUFFER_CONFIG *dst_ybc, int fraction) {
28 const int lines_to_copy = MAX(height >> (fraction + 4), 1) << 4;
36 YV12_BUFFER_CONFIG *dest, int Fraction) {
43 int linestocopy = (source->y_height >> (Fraction + 4));
  /external/llvm/lib/Target/AArch64/InstPrinter/
AArch64InstPrinter.cpp 179 uint32_t Fraction = Imm8 & 0xf;
183 float Val = 1.0f + Fraction / 16.0f;
  /external/llvm/lib/Target/AArch64/Utils/
AArch64BaseInfo.cpp 900 uint64_t Fraction = Bits & FracMask;
906 // This translates to: only 4 bits of fraction; -3 <= exp <= 4.
910 // Are there too many fraction bits?
911 if (Fraction & ~(A64FracMask << A64FracStart))
917 uint32_t PackedFraction = (Fraction >> A64FracStart) & A64FracMask;
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_fractions.py 13 F = fractions.Fraction
57 """Test comparison of Fraction with a naive rational implementation."""
65 if isinstance(other, fractions.Fraction):
92 class DummyFraction(fractions.Fraction):
93 """Dummy Fraction subclass for copy and deepcopy testing."""
147 self.assertRaisesMessage(ZeroDivisionError, "Fraction(12, 0)",
197 ZeroDivisionError, "Fraction(3, 0)",
200 ValueError, "Invalid literal for Fraction: '3/'",
203 ValueError, "Invalid literal for Fraction: '/2'",
206 ValueError, "Invalid literal for Fraction: '3 /2'"
    [all...]
test_itertools.py 6 from fractions import Fraction
376 self.assertEqual(take(3, count(Fraction(2,3), Fraction(1,7))),
377 [Fraction(2,3), Fraction(17,21), Fraction(20,21)])
    [all...]
test_float.py 188 R = fractions.Fraction
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_fractions.py 13 F = fractions.Fraction
57 """Test comparison of Fraction with a naive rational implementation."""
65 if isinstance(other, fractions.Fraction):
92 class DummyFraction(fractions.Fraction):
93 """Dummy Fraction subclass for copy and deepcopy testing."""
147 self.assertRaisesMessage(ZeroDivisionError, "Fraction(12, 0)",
197 ZeroDivisionError, "Fraction(3, 0)",
200 ValueError, "Invalid literal for Fraction: '3/'",
203 ValueError, "Invalid literal for Fraction: '/2'",
206 ValueError, "Invalid literal for Fraction: '3 /2'"
    [all...]
test_itertools.py 6 from fractions import Fraction
376 self.assertEqual(take(3, count(Fraction(2,3), Fraction(1,7))),
377 [Fraction(2,3), Fraction(17,21), Fraction(20,21)])
    [all...]
test_float.py 188 R = fractions.Fraction
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/
wavefront.h 347 s32 Fraction:4;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/
wavefront.h 347 s32 Fraction:4;
  /external/llvm/test/MC/AArch64/
basic-a64-diagnostics.s     [all...]
  /prebuilts/tools/common/m2/internal/commons-lang/commons-lang/2.4/
commons-lang-2.4.jar 
  /external/libvpx/libvpx/vp8/encoder/
onyx_if.c     [all...]

Completed in 580 milliseconds