Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DV8Binding.cpp142 static double enforceRange(double x, double minimum, double maximum, const char* typeName, Exceptio… in enforceRange() function
217 …return enforceRange(numberObject->Value(), LimitsTrait::minValue, LimitsTrait::maxValue, typeName,… in toSmallerInt()
265 … return enforceRange(numberObject->Value(), 0, LimitsTrait::maxValue, typeName, exceptionState); in toSmallerUInt()
343 return enforceRange(numberObject->Value(), kMinInt32, kMaxInt32, "long", exceptionState); in toInt32()
396 return enforceRange(numberObject->Value(), 0, kMaxUInt32, "unsigned long", exceptionState); in toUInt32()
440 … return enforceRange(numberValue, -kJSMaxInteger, kJSMaxInteger, "long long", exceptionState); in toInt64()
490 return enforceRange(numberValue, 0, kJSMaxInteger, "unsigned long long", exceptionState); in toUInt64()