/external/chromium_org/third_party/WebKit/Source/wtf/ |
CheckedArithmetic.h | 36 /* Checked<T> 43 * - The default is Checked<T, CrashOnOverflow>, and crashes at the point 45 * - The alternative is Checked<T, RecordOverflow>, which uses an additional 60 * Checked<T> works for all integer types, with the following caveats: 113 template <typename T, class OverflowHandler = CrashOnOverflow> class Checked; 115 template <typename T> struct RemoveChecked<Checked<T> >; 181 template <typename T> struct RemoveChecked<Checked<T, CrashOnOverflow> > { 186 template <typename T> struct RemoveChecked<Checked<T, RecordOverflow> > { 422 template <typename T, class OverflowHandler> class Checked : public OverflowHandler { 424 template <typename _T, class _OverflowHandler> friend class Checked; [all...] |
CheckedArithmeticTest.cpp | 36 Checked<type, RecordOverflow> value; \ 63 EXPECT_EQ(true, (Checked<type, RecordOverflow>(value - coerceLiteral(1))).hasOverflowed()); \ 68 EXPECT_EQ(true, (Checked<type, RecordOverflow>(value + coerceLiteral(1))).hasOverflowed()); \ 76 EXPECT_EQ(true, CheckedState::DidNotOverflow == (value * Checked<type, RecordOverflow>(0)).safeGet(_value)); \ 78 EXPECT_EQ(true, CheckedState::DidNotOverflow == (Checked<type, RecordOverflow>(0) * value).safeGet(_value)); \ 80 EXPECT_EQ(true, CheckedState::DidOverflow == (value * Checked<type, RecordOverflow>(std::numeric_limits<type>::max())).safeGet(_value)); \ 82 EXPECT_EQ(true, CheckedState::DidOverflow == (Checked<type, RecordOverflow>(std::numeric_limits<type>::max()) * value).safeGet(_value)); \ 85 EXPECT_EQ(true, CheckedState::DidNotOverflow == (value * Checked<type, RecordOverflow>(std::numeric_limits<type>::max())).safeGet(_value)); \ 87 EXPECT_EQ(true, CheckedState::DidNotOverflow == (Checked<type, RecordOverflow>(std::numeric_limits<type>::max()) * value).safeGet(_value)); \ 90 EXPECT_EQ(true, CheckedState::DidNotOverflow == (value * Checked<type, RecordOverflow>(std::numeric_limits<type>::max())).safeGet(_value)); [all...] |
/external/wpa_supplicant_8/src/common/ |
ieee802_1x_defs.h | 59 Checked,
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
ImageData.cpp | 40 Checked<int, RecordOverflow> dataSize = 4; 51 Checked<int, RecordOverflow> dataSize = 4; 75 Checked<unsigned, RecordOverflow> dataSize = 4;
|
HTMLCanvasElement.cpp | 558 Checked<intptr_t, RecordOverflow> checkedExternallyAllocatedMemory = 4 * bufferCount;
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
CharacterData.cpp | 114 Checked<unsigned, RecordOverflow> offsetCount = offset;
|
/external/chromium_org/base/numerics/ |
safe_math.h | 208 T result = Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \
|
safe_math_impl.h | 25 // Integer promotion templates used by the portable checked integer arithmetic. 109 // Here are the actual portable checked integer math implementations. 298 Checked##NAME(T, T, RangeConstraint*) { \ 485 // can skip the checked operations if they're not needed. So, for an integer we
|
/external/chromium_org/v8/src/base/ |
safe_math.h | 212 T result = Checked##NAME(static_cast<Promotion>(lhs.ValueUnsafe()), \
|
safe_math_impl.h | 55 // Integer promotion templates used by the portable checked integer arithmetic. 139 // Here are the actual portable checked integer math implementations. 329 Checked##NAME(T, T, RangeConstraint*) { \ 513 // can skip the checked operations if they're not needed. So, for an integer we
|
/external/wpa_supplicant_8/src/pae/ |
ieee802_1x_cp.c | 156 sm->validate_frames = Checked; 174 sm->validate_frames = Checked;
|
/external/llvm/lib/Target/X86/ |
X86FloatingPoint.cpp | 608 { static bool TABLE##Checked = false; \ 609 if (!TABLE##Checked) { \ 612 TABLE##Checked = true; \ [all...] |
/external/chromium_org/third_party/skia/debugger/QT/ |
SkDebuggerGUI.cpp | 515 if (item->checkState() == Qt::Checked) { 684 item->setCheckState(Qt::Checked); [all...] |
/external/skia/debugger/QT/ |
SkDebuggerGUI.cpp | 515 if (item->checkState() == Qt::Checked) { 684 item->setCheckState(Qt::Checked); [all...] |
/external/clang/lib/CodeGen/ |
CGExpr.cpp | [all...] |
CodeGenFunction.h | [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/ |
DrawingBuffer.cpp | [all...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_macsec_qca.c | 628 else if (validate_frames == Checked)
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
SelectionDAG.cpp | 6787 SmallPtrSet<const SDNode*, 32> checked; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
WebGLRenderingContextBase.cpp | [all...] |
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
code-load.js | 302 a.type===\"radio\")a.defaultChecked=a.checked}function bl(a){return typeof a.ge\ 309 ltValue:c===\"script\"&&b.text!==a.text&&(b.text=a.text):(a.checked&&(b.default\ 310 Checked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value)),b.removeAttr\ [all...] |