/external/v8/test/mjsunit/ |
D | toint32.js | 28 function toInt32(x) { function 32 assertEquals(0, toInt32(Infinity), "Inf"); 33 assertEquals(0, toInt32(-Infinity), "-Inf"); 34 assertEquals(0, toInt32(NaN), "NaN"); 35 assertEquals(0, toInt32(0.0), "zero"); 36 assertEquals(0, toInt32(-0.0), "-zero"); 38 assertEquals(0, toInt32(Number.MIN_VALUE)); 39 assertEquals(0, toInt32(-Number.MIN_VALUE)); 40 assertEquals(0, toInt32(0.1)); 41 assertEquals(0, toInt32(-0.1)); [all …]
|
/external/chromium_org/v8/test/mjsunit/ |
D | toint32.js | 28 function toInt32(x) { function 32 assertEquals(0, toInt32(Infinity), "Inf"); 33 assertEquals(0, toInt32(-Infinity), "-Inf"); 34 assertEquals(0, toInt32(NaN), "NaN"); 35 assertEquals(0, toInt32(0.0), "zero"); 36 assertEquals(0, toInt32(-0.0), "-zero"); 38 assertEquals(0, toInt32(Number.MIN_VALUE)); 39 assertEquals(0, toInt32(-Number.MIN_VALUE)); 40 assertEquals(0, toInt32(0.1)); 41 assertEquals(0, toInt32(-0.1)); [all …]
|
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
D | GamepadController.cpp | 75 int index = args[0].toInt32(); in connect() 93 int index = args[0].toInt32(); in disconnect() 111 int index = args[0].toInt32(); in setId() 129 int index = args[0].toInt32(); in setButtonCount() 132 int buttons = args[1].toInt32(); in setButtonCount() 146 int index = args[0].toInt32(); in setButtonData() 149 int button = args[1].toInt32(); in setButtonData() 164 int index = args[0].toInt32(); in setAxisCount() 167 int axes = args[1].toInt32(); in setAxisCount() 181 int index = args[0].toInt32(); in setAxisData() [all …]
|
D | EventSender.cpp | 405 buttonCode = arguments[0].toInt32(); in getButtonNumberFromSingleArg() 517 WebPoint mousePos(arguments[0].toInt32(), arguments[1].toInt32()); in mouseMoveTo() 665 int location = arguments[2].toInt32(); in keyDown() 713 int msg = arguments[0].toInt32(); in dispatchMessage() 725 …w()->handleInputEvent(WebInputEventFactory::keyboardEvent(0, msg, arguments[1].toInt32(), lparam)); in dispatchMessage() 746 int milliseconds = arguments[0].toInt32(); in leapForward() 799 int x = arguments[1].toInt32(); in setPageScaleFactor() 800 int y = arguments[2].toInt32(); in setPageScaleFactor() 995 touchPoint.position = WebPoint(arguments[0].toInt32(), arguments[1].toInt32()); in addTouchPoint() 999 int radiusX = arguments[2].toInt32(); in addTouchPoint() [all …]
|
D | WebAXObjectProxy.cpp | 819 int index = arguments[0].toInt32(); in lineForIndexCallback() 840 int start = arguments[0].toInt32(); in boundsForRangeCallback() 841 int end = arguments[1].toInt32(); in boundsForRangeCallback() 869 WebAXObjectProxy* child = getChildAtIndex(arguments[0].toInt32()); in childAtIndexCallback() 885 int x = arguments[0].toInt32(); in elementAtPointCallback() 886 int y = arguments[1].toInt32(); in elementAtPointCallback() 930 int column = arguments[0].toInt32(); in cellForColumnAndRowCallback() 931 int row = arguments[1].toInt32(); in cellForColumnAndRowCallback() 958 int selectionStart = arguments[0].toInt32(); in setSelectedTextRangeCallback() 959 int selectionEnd = selectionStart + arguments[1].toInt32(); in setSelectedTextRangeCallback() [all …]
|
D | TextInputController.cpp | 93 int start = arguments[1].toInt32(); in setMarkedText() 94 int length = arguments[2].toInt32(); in setMarkedText() 185 if (!frame->firstRectForCharacterRange(arguments[0].toInt32(), arguments[1].toInt32(), rect)) in firstRectForCharacterRange()
|
D | CppVariant.h | 118 int32_t toInt32() const;
|
D | TestRunner.cpp | 832 m_workQueue.addWork(new WorkItemBackForward(-arguments[0].toInt32())); in queueBackNavigation() 839 m_workQueue.addWork(new WorkItemBackForward(arguments[0].toInt32())); in queueForwardNavigation() 1194 …m_webView->focusedFrame()->executeScriptInIsolatedWorld(arguments[0].toInt32(), &source, 1, 1, &va… in evaluateScriptInIsolatedWorldAndReturnValue() 1222 … m_webView->focusedFrame()->executeScriptInIsolatedWorld(arguments[0].toInt32(), &source, 1, 1); in evaluateScriptInIsolatedWorld() 1237 m_webView->focusedFrame()->setIsolatedWorldSecurityOrigin(arguments[0].toInt32(), origin); in setIsolatedWorldSecurityOrigin() 1247 …m_webView->focusedFrame()->setIsolatedWorldContentSecurityPolicy(arguments[0].toInt32(), cppVarian… in setIsolatedWorldContentSecurityPolicy() 1453 WebPoint point(arguments[1].toInt32(), arguments[2].toInt32()); in textSurroundingNode() 1454 unsigned maxLength = arguments[3].toInt32(); in textSurroundingNode() 1721 m_delegate->evaluateInWebInspector(arguments[0].toInt32(), arguments[1].toString()); in evaluateInWebInspector() 1734 m_delegate->setDatabaseQuota(arguments[0].toInt32()); in setDatabaseQuota() [all …]
|
D | CppVariant.cpp | 225 int32_t CppVariant::toInt32() const in toInt32() function in WebTestRunner::CppVariant
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
D | V8WebGLRenderingContextCustom.cpp | 115 int ival = toInt32(val, ok); in jsArrayToIntArray() 272 unsigned target = toInt32(info[0]); in getObjectParameter() 273 unsigned pname = toInt32(info[1]); in getObjectParameter() 361 unsigned target = toInt32(info[0]); in getFramebufferAttachmentParameterMethodCustom() 362 unsigned attachment = toInt32(info[1]); in getFramebufferAttachmentParameterMethodCustom() 363 unsigned pname = toInt32(info[2]); in getFramebufferAttachmentParameterMethodCustom() 376 unsigned pname = toInt32(info[0]); in getParameterMethodCustom() 394 unsigned pname = toInt32(info[1]); in getProgramParameterMethodCustom() 417 unsigned pname = toInt32(info[1]); in getShaderParameterMethodCustom() 521 index = toInt32(info[0]); in vertexAttribAndUniformHelperf()
|
D | V8DocumentCustom.cpp | 78 int type = toInt32(info[3]); in evaluateMethodCustom()
|
D | V8HTMLOptionsCollectionCustom.cpp | 87 V8TRYCATCH_VOID(int, index, toInt32(info[1], ok)); in addMethodCustom()
|
D | V8PromiseCustom.cpp | 632 uint32_t number = toInt32(value, ok); in getState()
|
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/ |
D | V8TestObject.cpp | 355 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in longAttrAttributeSetter() 631 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in reflectedIntegralAttrAttributeSetter() 776 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in reflectedCustomIntegralAttrAttributeSetter() 923 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in attrWithGetterExceptionAttributeSetter() 951 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in attrWithSetterExceptionAttributeSetter() 1057 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in withScriptStateAttributeAttributeSetter() 1457 …V8TRYCATCH_WITH_TYPECHECK_VOID(int, cppValue, toInt32(jsValue, EnforceRange, ok), info.GetIsolate(… in enforcedRangeLongAttrAttributeSetter() 1570 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in conditionalAttr1AttributeSetter() 1605 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in conditionalAttr2AttributeSetter() 1640 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in conditionalAttr3AttributeSetter() [all …]
|
D | V8TestObjectPython.cpp | 349 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in longAttributeAttributeSetter() 538 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in cssAttributeAttributeSetter() 565 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in imeAttributeAttributeSetter() 592 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in svgAttributeAttributeSetter() 619 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in xmlAttributeAttributeSetter() 1265 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in nullableLongAttributeAttributeSetter() 1345 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in staticLongAttributeAttributeSetter() 1403 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in activityLoggingAccessForAllWorldsLongAttributeAttributeSetter() 1438 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in activityLoggingGetterForAllWorldsLongAttributeAttributeSetter() 1465 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in activityLoggingSetterForAllWorldsLongAttributeAttributeSetter() [all …]
|
D | V8TestTypedefs.cpp | 152 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in attrWithGetterExceptionAttributeSetter() 180 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in attrWithSetterExceptionAttributeSetter()
|
D | V8TestInterfaceCheckSecurity.cpp | 101 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in doNotCheckSecurityLongAttributeAttributeSetter() 141 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue)); in doNotCheckSecurityOnSetterLongAttributeAttributeSetter()
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
D | V8Binding.h | 332 int32_t toInt32(v8::Handle<v8::Value>, IntegerConversionConfiguration, bool& ok); 333 …inline int32_t toInt32(v8::Handle<v8::Value> value, bool& ok) { return toInt32(value, NormalConver… 336 inline int32_t toInt32(v8::Handle<v8::Value> value) 339 return toInt32(value, NormalConversion, ok);
|
D | Dictionary.h | 254 return toInt32(value, configuration, ok); 263 return toInt32(value, configuration, ok);
|
D | V8Binding.cpp | 288 int32_t toInt32(v8::Handle<v8::Value> value, IntegerConversionConfiguration configuration, bool& ok) in toInt32() function
|
/external/antlr/antlr-3.4/runtime/C/include/ |
D | antlr3string.h | 184 ANTLR3_INT32 (*toInt32) (struct ANTLR3_STRING_struct * string); member
|
/external/antlr/antlr-3.4/runtime/C/src/ |
D | antlr3string.c | 282 string->toInt32 = toInt32_8; in stringInit8() 319 string->toInt32 = toInt32_UTF16; in stringInitUTF16()
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | C.stg | 3155 tokenLabelPropertyRef_int(scope,attr) ::= "(<scope>->getText(<scope>)->toInt32(<scope>->getText(<sc… 3201 lexerRulePropertyRef_int(scope,attr) ::= "LEXER->getText(LEXER)->toInt32(LEXER->getText(LEXER))"
|