Searched refs:upward (Results 1 - 9 of 9) sorted by relevance
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuFloatFormat.cpp | 140 //! `upward` is true, otherwise down. 141 double FloatFormat::round (double d, bool upward) const in round() 147 const double roundFrac = upward ? deCeil(shiftFrac) : deFloor(shiftFrac); in round() 202 double FloatFormat::roundOut (double d, bool upward, bool roundUnderOverflow) const in roundOut() argument 207 if (roundUnderOverflow && exp > m_maxExp && (upward == (d < 0.0))) in roundOut() 210 return round(d, upward); in roundOut() 304 double NormalizedFormat::round(double d, bool upward) const 313 const double normValue = upward ? deCeil(value) : deFloor(value); 326 double NormalizedFormat::roundOut (double d, bool upward, bool roundUnderOverflow) const 328 if (roundUnderOverflow && deAbs(d) > 1.0 && (upward [all...] |
H A D | tcuFloatFormat.hpp | 63 virtual double round (double d, bool upward) const; 64 virtual double roundOut (double d, bool upward, bool roundUnderOverflow) const; 94 double round (double d, bool upward) const override; 95 double roundOut (double d, bool upward, bool roundUnderOverflow) const override;
|
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/ |
H A D | QrTemplate.java | 200 boolean upward = ((right + 1) & 2) == 0; in generateZigzagScan() 201 int y = upward ? size - 1 - vert : vert; // Actual y coordinate in generateZigzagScan()
|
/third_party/qrcodegen/rust-no-heap/src/ |
H A D | lib.rs | 659 let upward: bool = (right + 1) & 2 == 0; in draw_codewords() 660 let y = (if upward { size - 1 - vert } else { vert }) as u8; // Actual y coordinate in draw_codewords() 1402 /// - Propagate the error upward to the caller/user.
|
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/ |
H A D | QrCode.java | 482 boolean upward = ((right + 1) & 2) == 0; in drawCodewords() 483 int y = upward ? size - 1 - vert : vert; // Actual y coordinate in drawCodewords()
|
/third_party/qrcodegen/rust/src/ |
H A D | lib.rs | 573 let upward: bool = (right + 1) & 2 == 0; in draw_codewords() 574 let y: i32 = if upward { self.size - 1 - vert } else { vert }; // Actual y coordinate in draw_codewords() 1233 /// - Propagate the error upward to the caller/user.
|
/third_party/qrcodegen/cpp/ |
H A D | qrcodegen.cpp | 548 bool upward = ((right + 1) & 2) == 0; in drawCodewords() local 549 size_t y = static_cast<size_t>(upward ? size - 1 - vert : vert); // Actual y coordinate in drawCodewords()
|
/third_party/qrcodegen/python/ |
H A D | qrcodegen.py | 389 upward: bool = (right + 1) & 2 == 0 390 y: int = (self._size - 1 - vert) if upward else vert # Actual y coordinate 908 - Propagate the error upward to the caller/user."""
|
/third_party/qrcodegen/c/ |
H A D | qrcodegen.c | 587 bool upward = ((right + 1) & 2) == 0; in drawCodewords() local 588 int y = upward ? qrsize - 1 - vert : vert; // Actual y coordinate in drawCodewords()
|
Completed in 12 milliseconds