/dports/www/chromium-legacy/chromium-88.0.4324.182/base/numerics/ |
H A D | checked_math_impl.h | 58 using Promotion = 70 Promotion presult = {}; 73 presult = static_cast<Promotion>(x) + static_cast<Promotion>(y); 118 using Promotion = 130 Promotion presult = {}; 133 presult = static_cast<Promotion>(x) - static_cast<Promotion>(y); 188 if (CheckedMulFastOp<Promotion, Promotion>::is_supported) { 190 is_valid = CheckedMulFastOp<Promotion, Promotion>::Do(x, y, &presult); 192 presult = static_cast<Promotion>(x) * static_cast<Promotion>(y); 237 Promotion presult = Promotion(x) / Promotion(y); [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/third_party/base/numerics/ |
H A D | checked_math_impl.h | 59 using Promotion = 71 Promotion presult = {}; 74 presult = static_cast<Promotion>(x) + static_cast<Promotion>(y); 119 using Promotion = 131 Promotion presult = {}; 134 presult = static_cast<Promotion>(x) - static_cast<Promotion>(y); 189 if (CheckedMulFastOp<Promotion, Promotion>::is_supported) { 191 is_valid = CheckedMulFastOp<Promotion, Promotion>::Do(x, y, &presult); 193 presult = static_cast<Promotion>(x) * static_cast<Promotion>(y); 238 Promotion presult = Promotion(x) / Promotion(y); [all …]
|
/dports/www/node10/node-v10.24.1/deps/v8/src/base/ |
H A D | safe_math.h | 203 typedef typename ArithmeticPromotion<T>::type Promotion; \ 207 if (IsIntegerArithmeticSafe<Promotion, T, T>::value) \ 208 return CheckedNumeric<Promotion>( \ 212 T result = Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \ 213 static_cast<Promotion>(rhs.ValueUnsafe()), \ 215 return CheckedNumeric<Promotion>( \ 230 typedef typename ArithmeticPromotion<T, Src>::type Promotion; \ 231 if (IsIntegerArithmeticSafe<Promotion, T, Src>::value) \ 232 return CheckedNumeric<Promotion>( \ 235 return CheckedNumeric<Promotion>::cast(lhs) \ [all …]
|
/dports/editors/texmaker/texmaker-5.0.3/pdfium/third_party/base/numerics/ |
H A D | safe_math.h | 199 typedef typename ArithmeticPromotion<T>::type Promotion; \ 203 if (IsIntegerArithmeticSafe<Promotion, T, T>::value) \ 204 return CheckedNumeric<Promotion>( \ 208 T result = Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \ 209 static_cast<Promotion>(rhs.ValueUnsafe()), \ 211 return CheckedNumeric<Promotion>( \ 226 typedef typename ArithmeticPromotion<T, Src>::type Promotion; \ 227 if (IsIntegerArithmeticSafe<Promotion, T, Src>::value) \ 228 return CheckedNumeric<Promotion>( \ 231 return CheckedNumeric<Promotion>::cast(lhs) \ [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/numerics/ |
H A D | checked_math_impl.h | 58 using Promotion = 70 Promotion presult = {}; 73 presult = static_cast<Promotion>(x) + static_cast<Promotion>(y); 118 using Promotion = 130 Promotion presult = {}; 133 presult = static_cast<Promotion>(x) - static_cast<Promotion>(y); 188 if (CheckedMulFastOp<Promotion, Promotion>::is_supported) { 190 is_valid = CheckedMulFastOp<Promotion, Promotion>::Do(x, y, &presult); 192 presult = static_cast<Promotion>(x) * static_cast<Promotion>(y); 237 Promotion presult = Promotion(x) / Promotion(y); [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/security/sandbox/chromium/base/numerics/ |
H A D | checked_math_impl.h | 58 using Promotion = 70 Promotion presult = {}; 73 presult = static_cast<Promotion>(x) + static_cast<Promotion>(y); 118 using Promotion = 130 Promotion presult = {}; 133 presult = static_cast<Promotion>(x) - static_cast<Promotion>(y); 188 if (CheckedMulFastOp<Promotion, Promotion>::is_supported) { 190 is_valid = CheckedMulFastOp<Promotion, Promotion>::Do(x, y, &presult); 192 presult = static_cast<Promotion>(x) * static_cast<Promotion>(y); 237 Promotion presult = Promotion(x) / Promotion(y); [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/gn/base/numerics/ |
H A D | checked_math_impl.h | 58 using Promotion = 70 Promotion presult = {}; 73 presult = static_cast<Promotion>(x) + static_cast<Promotion>(y); 118 using Promotion = 130 Promotion presult = {}; 133 presult = static_cast<Promotion>(x) - static_cast<Promotion>(y); 188 if (CheckedMulFastOp<Promotion, Promotion>::is_supported) { 190 is_valid = CheckedMulFastOp<Promotion, Promotion>::Do(x, y, &presult); 192 presult = static_cast<Promotion>(x) * static_cast<Promotion>(y); 237 Promotion presult = Promotion(x) / Promotion(y); [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/tools/gn/src/base/numerics/ |
H A D | checked_math_impl.h | 58 using Promotion = 70 Promotion presult = {}; 73 presult = static_cast<Promotion>(x) + static_cast<Promotion>(y); 118 using Promotion = 130 Promotion presult = {}; 133 presult = static_cast<Promotion>(x) - static_cast<Promotion>(y); 188 if (CheckedMulFastOp<Promotion, Promotion>::is_supported) { 190 is_valid = CheckedMulFastOp<Promotion, Promotion>::Do(x, y, &presult); 192 presult = static_cast<Promotion>(x) * static_cast<Promotion>(y); 237 Promotion presult = Promotion(x) / Promotion(y); [all …]
|
/dports/www/firefox/firefox-99.0/security/sandbox/chromium/base/numerics/ |
H A D | checked_math_impl.h | 58 using Promotion = 70 Promotion presult = {}; 73 presult = static_cast<Promotion>(x) + static_cast<Promotion>(y); 118 using Promotion = 130 Promotion presult = {}; 133 presult = static_cast<Promotion>(x) - static_cast<Promotion>(y); 188 if (CheckedMulFastOp<Promotion, Promotion>::is_supported) { 190 is_valid = CheckedMulFastOp<Promotion, Promotion>::Do(x, y, &presult); 192 presult = static_cast<Promotion>(x) * static_cast<Promotion>(y); 237 Promotion presult = Promotion(x) / Promotion(y); [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/security/sandbox/chromium/base/numerics/ |
H A D | checked_math_impl.h | 58 using Promotion = 70 Promotion presult; 73 presult = static_cast<Promotion>(x) + static_cast<Promotion>(y); 118 using Promotion = 130 Promotion presult; 133 presult = static_cast<Promotion>(x) - static_cast<Promotion>(y); 186 Promotion presult; 188 if (CheckedMulFastOp<Promotion, Promotion>::is_supported) { 192 presult = static_cast<Promotion>(x) * static_cast<Promotion>(y); 237 Promotion presult = Promotion(x) / Promotion(y); [all …]
|
/dports/devel/gn/gn-1962/src/base/numerics/ |
H A D | checked_math_impl.h | 58 using Promotion = 70 Promotion presult = {}; 73 presult = static_cast<Promotion>(x) + static_cast<Promotion>(y); 118 using Promotion = 130 Promotion presult = {}; 133 presult = static_cast<Promotion>(x) - static_cast<Promotion>(y); 188 if (CheckedMulFastOp<Promotion, Promotion>::is_supported) { 190 is_valid = CheckedMulFastOp<Promotion, Promotion>::Do(x, y, &presult); 192 presult = static_cast<Promotion>(x) * static_cast<Promotion>(y); 237 Promotion presult = Promotion(x) / Promotion(y); [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/security/sandbox/chromium/base/numerics/ |
H A D | checked_math_impl.h | 58 using Promotion = 70 Promotion presult = {}; 73 presult = static_cast<Promotion>(x) + static_cast<Promotion>(y); 118 using Promotion = 130 Promotion presult = {}; 133 presult = static_cast<Promotion>(x) - static_cast<Promotion>(y); 188 if (CheckedMulFastOp<Promotion, Promotion>::is_supported) { 190 is_valid = CheckedMulFastOp<Promotion, Promotion>::Do(x, y, &presult); 192 presult = static_cast<Promotion>(x) * static_cast<Promotion>(y); 237 Promotion presult = Promotion(x) / Promotion(y); [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/security/sandbox/chromium/base/numerics/ |
H A D | checked_math_impl.h | 58 using Promotion = 70 Promotion presult = {}; 73 presult = static_cast<Promotion>(x) + static_cast<Promotion>(y); 118 using Promotion = 130 Promotion presult = {}; 133 presult = static_cast<Promotion>(x) - static_cast<Promotion>(y); 188 if (CheckedMulFastOp<Promotion, Promotion>::is_supported) { 190 is_valid = CheckedMulFastOp<Promotion, Promotion>::Do(x, y, &presult); 192 presult = static_cast<Promotion>(x) * static_cast<Promotion>(y); 237 Promotion presult = Promotion(x) / Promotion(y); [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/angle/src/common/third_party/base/anglebase/numerics/ |
H A D | safe_math.h | 261 typedef typename ArithmeticPromotion<T>::type Promotion; \ 265 if (IsIntegerArithmeticSafe<Promotion, T, T>::value) \ 266 return CheckedNumeric<Promotion>(lhs.ValueUnsafe() OP rhs.ValueUnsafe(), \ 270 static_cast<T>(Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \ 271 static_cast<Promotion>(rhs.ValueUnsafe()), &validity)); \ 272 return CheckedNumeric<Promotion>( \ 289 typedef typename ArithmeticPromotion<T, Src>::type Promotion; \ 290 if (IsIntegerArithmeticSafe<Promotion, T, Src>::value) \ 293 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ 304 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ [all …]
|
/dports/x11-toolkits/qt5-gui/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/common/third_party/base/anglebase/numerics/ |
H A D | safe_math.h | 256 typedef typename ArithmeticPromotion<T>::type Promotion; \ 260 if (IsIntegerArithmeticSafe<Promotion, T, T>::value) \ 261 return CheckedNumeric<Promotion>(lhs.ValueUnsafe() OP rhs.ValueUnsafe(), \ 265 static_cast<T>(Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \ 266 static_cast<Promotion>(rhs.ValueUnsafe()), &validity)); \ 267 return CheckedNumeric<Promotion>( \ 284 typedef typename ArithmeticPromotion<T, Src>::type Promotion; \ 285 if (IsIntegerArithmeticSafe<Promotion, T, Src>::value) \ 288 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ 299 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/common/third_party/base/anglebase/numerics/ |
H A D | safe_math.h | 261 typedef typename ArithmeticPromotion<T>::type Promotion; \ 265 if (IsIntegerArithmeticSafe<Promotion, T, T>::value) \ 266 return CheckedNumeric<Promotion>(lhs.ValueUnsafe() OP rhs.ValueUnsafe(), \ 270 static_cast<T>(Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \ 271 static_cast<Promotion>(rhs.ValueUnsafe()), &validity)); \ 272 return CheckedNumeric<Promotion>( \ 289 typedef typename ArithmeticPromotion<T, Src>::type Promotion; \ 290 if (IsIntegerArithmeticSafe<Promotion, T, Src>::value) \ 293 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ 304 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/gfx/angle/checkout/src/common/third_party/base/anglebase/numerics/ |
H A D | safe_math.h | 261 typedef typename ArithmeticPromotion<T>::type Promotion; \ 265 if (IsIntegerArithmeticSafe<Promotion, T, T>::value) \ 266 return CheckedNumeric<Promotion>(lhs.ValueUnsafe() OP rhs.ValueUnsafe(), \ 270 static_cast<T>(Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \ 271 static_cast<Promotion>(rhs.ValueUnsafe()), &validity)); \ 272 return CheckedNumeric<Promotion>( \ 289 typedef typename ArithmeticPromotion<T, Src>::type Promotion; \ 290 if (IsIntegerArithmeticSafe<Promotion, T, Src>::value) \ 293 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ 304 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ [all …]
|
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/common/third_party/base/anglebase/numerics/ |
H A D | safe_math.h | 256 typedef typename ArithmeticPromotion<T>::type Promotion; \ 260 if (IsIntegerArithmeticSafe<Promotion, T, T>::value) \ 261 return CheckedNumeric<Promotion>(lhs.ValueUnsafe() OP rhs.ValueUnsafe(), \ 265 static_cast<T>(Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \ 266 static_cast<Promotion>(rhs.ValueUnsafe()), &validity)); \ 267 return CheckedNumeric<Promotion>( \ 284 typedef typename ArithmeticPromotion<T, Src>::type Promotion; \ 285 if (IsIntegerArithmeticSafe<Promotion, T, Src>::value) \ 288 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ 299 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ [all …]
|
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/common/third_party/base/anglebase/numerics/ |
H A D | safe_math.h | 256 typedef typename ArithmeticPromotion<T>::type Promotion; \ 260 if (IsIntegerArithmeticSafe<Promotion, T, T>::value) \ 261 return CheckedNumeric<Promotion>(lhs.ValueUnsafe() OP rhs.ValueUnsafe(), \ 265 static_cast<T>(Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \ 266 static_cast<Promotion>(rhs.ValueUnsafe()), &validity)); \ 267 return CheckedNumeric<Promotion>( \ 284 typedef typename ArithmeticPromotion<T, Src>::type Promotion; \ 285 if (IsIntegerArithmeticSafe<Promotion, T, Src>::value) \ 288 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ 299 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/angle/checkout/src/common/third_party/base/anglebase/numerics/ |
H A D | safe_math.h | 261 typedef typename ArithmeticPromotion<T>::type Promotion; \ 265 if (IsIntegerArithmeticSafe<Promotion, T, T>::value) \ 266 return CheckedNumeric<Promotion>(lhs.ValueUnsafe() OP rhs.ValueUnsafe(), \ 270 static_cast<T>(Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \ 271 static_cast<Promotion>(rhs.ValueUnsafe()), &validity)); \ 272 return CheckedNumeric<Promotion>( \ 289 typedef typename ArithmeticPromotion<T, Src>::type Promotion; \ 290 if (IsIntegerArithmeticSafe<Promotion, T, Src>::value) \ 293 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ 304 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ [all …]
|
/dports/databases/qt5-sqldrivers-ibase/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/common/third_party/base/anglebase/numerics/ |
H A D | safe_math.h | 256 typedef typename ArithmeticPromotion<T>::type Promotion; \ 260 if (IsIntegerArithmeticSafe<Promotion, T, T>::value) \ 261 return CheckedNumeric<Promotion>(lhs.ValueUnsafe() OP rhs.ValueUnsafe(), \ 265 static_cast<T>(Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \ 266 static_cast<Promotion>(rhs.ValueUnsafe()), &validity)); \ 267 return CheckedNumeric<Promotion>( \ 284 typedef typename ArithmeticPromotion<T, Src>::type Promotion; \ 285 if (IsIntegerArithmeticSafe<Promotion, T, Src>::value) \ 288 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ 299 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ [all …]
|
/dports/databases/qt5-sqldrivers-odbc/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/common/third_party/base/anglebase/numerics/ |
H A D | safe_math.h | 256 typedef typename ArithmeticPromotion<T>::type Promotion; \ 260 if (IsIntegerArithmeticSafe<Promotion, T, T>::value) \ 261 return CheckedNumeric<Promotion>(lhs.ValueUnsafe() OP rhs.ValueUnsafe(), \ 265 static_cast<T>(Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \ 266 static_cast<Promotion>(rhs.ValueUnsafe()), &validity)); \ 267 return CheckedNumeric<Promotion>( \ 284 typedef typename ArithmeticPromotion<T, Src>::type Promotion; \ 285 if (IsIntegerArithmeticSafe<Promotion, T, Src>::value) \ 288 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ 299 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ [all …]
|
/dports/databases/qt5-sqldrivers-mysql/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/common/third_party/base/anglebase/numerics/ |
H A D | safe_math.h | 256 typedef typename ArithmeticPromotion<T>::type Promotion; \ 260 if (IsIntegerArithmeticSafe<Promotion, T, T>::value) \ 261 return CheckedNumeric<Promotion>(lhs.ValueUnsafe() OP rhs.ValueUnsafe(), \ 265 static_cast<T>(Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \ 266 static_cast<Promotion>(rhs.ValueUnsafe()), &validity)); \ 267 return CheckedNumeric<Promotion>( \ 284 typedef typename ArithmeticPromotion<T, Src>::type Promotion; \ 285 if (IsIntegerArithmeticSafe<Promotion, T, Src>::value) \ 288 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ 299 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ [all …]
|
/dports/databases/qt5-sql/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/common/third_party/base/anglebase/numerics/ |
H A D | safe_math.h | 256 typedef typename ArithmeticPromotion<T>::type Promotion; \ 260 if (IsIntegerArithmeticSafe<Promotion, T, T>::value) \ 261 return CheckedNumeric<Promotion>(lhs.ValueUnsafe() OP rhs.ValueUnsafe(), \ 265 static_cast<T>(Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \ 266 static_cast<Promotion>(rhs.ValueUnsafe()), &validity)); \ 267 return CheckedNumeric<Promotion>( \ 284 typedef typename ArithmeticPromotion<T, Src>::type Promotion; \ 285 if (IsIntegerArithmeticSafe<Promotion, T, Src>::value) \ 288 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ 299 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ [all …]
|
/dports/databases/qt5-sqldrivers-pgsql/kde-qtbase-5.15.2p263/src/3rdparty/angle/src/common/third_party/base/anglebase/numerics/ |
H A D | safe_math.h | 256 typedef typename ArithmeticPromotion<T>::type Promotion; \ 260 if (IsIntegerArithmeticSafe<Promotion, T, T>::value) \ 261 return CheckedNumeric<Promotion>(lhs.ValueUnsafe() OP rhs.ValueUnsafe(), \ 265 static_cast<T>(Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \ 266 static_cast<Promotion>(rhs.ValueUnsafe()), &validity)); \ 267 return CheckedNumeric<Promotion>( \ 284 typedef typename ArithmeticPromotion<T, Src>::type Promotion; \ 285 if (IsIntegerArithmeticSafe<Promotion, T, Src>::value) \ 288 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ 299 return CheckedNumeric<Promotion>::cast(lhs) OP CheckedNumeric<Promotion>::cast(rhs); \ [all …]
|