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

  /external/webkit/Source/WebCore/html/canvas/
CheckedInt.h 40 // Necessary modifications are made to the original CheckedInt.h file to remove
357 /*** Step 4: Now define the CheckedInt class.
360 /** \class CheckedInt
378 CheckedInt<int32_t> checked_result = (CheckedInt<int32_t>(x) + y) / z;
388 CheckedInt<uint8_t> x(1); // 1 is of type int, is found to be in range for uint8_t, x is valid
389 CheckedInt<uint8_t> x(-1); // -1 is of type int, is found not to be in range for uint8_t, x is invalid
390 CheckedInt<int8_t> x(-1); // -1 is of type int, is found to be in range for int8_t, x is valid
391 CheckedInt<int8_t> x(int16_t(1000)); // 1000 is of type int16_t, is found not to be in range for int8_t, x is invalid
392 CheckedInt<int32_t> x(uint32_t(123456789)); // 3123456789 is of type uint32_t, is found not to be in rang
    [all...]
WebGLBuffer.cpp 33 #include "CheckedInt.h"
64 CheckedInt<GC3Dintptr> checkedOffset(byteOffset);
65 CheckedInt<GC3Dsizeiptr> checkedLength(byteLength);
66 CheckedInt<GC3Dintptr> checkedMax = checkedOffset + checkedLength;
127 CheckedInt<GC3Dintptr> checkedBufferOffset(offset);
128 CheckedInt<GC3Dintptr> checkedArrayOffset(arrayByteOffset);
129 CheckedInt<GC3Dsizeiptr> checkedLength(byteLength);
130 CheckedInt<GC3Dintptr> checkedArrayMax = checkedArrayOffset + checkedLength;
131 CheckedInt<GC3Dintptr> checkedBufferMax = checkedBufferOffset + checkedLength;
DataView.cpp 29 #include "CheckedInt.h"
47 CheckedInt<uint32_t> checkedOffset(byteOffset);
48 CheckedInt<uint32_t> checkedLength(byteLength);
49 CheckedInt<uint32_t> checkedMax = checkedOffset + checkedLength;
WebGLRenderingContext.cpp 34 #include "CheckedInt.h"
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/
GraphicsContext3D.cpp 34 #include "CheckedInt.h"
146 CheckedInt<uint32_t> checkedValue(bytesPerComponent * componentsPerPixel);
    [all...]

Completed in 178 milliseconds