Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_fractions.py110 def _components(r): function
132 self.assertEqual((0, 1), _components(F()))
133 self.assertEqual((7, 1), _components(F(7)))
134 self.assertEqual((7, 3), _components(F(F(7, 3))))
136 self.assertEqual((-1, 1), _components(F(-1, 1)))
137 self.assertEqual((-1, 1), _components(F(1, -1)))
138 self.assertEqual((1, 1), _components(F(-2, -2)))
139 self.assertEqual((1, 2), _components(F(5, 10)))
140 self.assertEqual((7, 15), _components(F(7, 15)))
141 self.assertEqual((10**23, 1), _components(F(10**23)))
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawCreateInfoUtil.cpp62 const vk::VkComponentMapping& _components, in ImageViewCreateInfo() argument
71 components.r = _components.r; in ImageViewCreateInfo()
72 components.g = _components.g; in ImageViewCreateInfo()
73 components.b = _components.b; in ImageViewCreateInfo()
74 components.a = _components.a; in ImageViewCreateInfo()
82 const vk::VkComponentMapping& _components, in ImageViewCreateInfo() argument
91 components.r = _components.r; in ImageViewCreateInfo()
92 components.g = _components.g; in ImageViewCreateInfo()
93 components.b = _components.b; in ImageViewCreateInfo()
94 components.a = _components.a; in ImageViewCreateInfo()