/external/v8/test/mjsunit/ |
toint32.js | 28 function toInt32(x) { 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/webkit/Source/WebCore/bindings/js/ |
IDBBindingUtilities.cpp | 40 return IDBKey::create(value.toInt32(exec));
|
JSHTMLInputElementCustom.cpp | 51 input->setSelectionStart(value.toInt32(exec)); 69 input->setSelectionEnd(value.toInt32(exec)); 78 int start = exec->argument(0).toInt32(exec); 79 int end = exec->argument(1).toInt32(exec);
|
JSAudioNodeCustom.cpp | 49 outputIndex = exec->argument(1).toInt32(exec); 52 inputIndex = exec->argument(2).toInt32(exec); 66 outputIndex = exec->argument(0).toInt32(exec);
|
JSArrayBufferCustom.cpp | 43 length = exec->argument(0).toInt32(exec); // NaN/+inf/-inf returns 0, this is intended by WebIDL
|
JSAudioContextCustom.cpp | 68 unsigned numberOfChannels = exec->argument(0).toInt32(exec); 69 unsigned numberOfFrames = exec->argument(1).toInt32(exec); 111 unsigned numberOfChannels = exec->argument(0).toInt32(exec); 112 unsigned numberOfFrames = exec->argument(1).toInt32(exec);
|
JSImageConstructor.cpp | 60 width = exec->argument(0).toInt32(exec); 64 height = exec->argument(1).toInt32(exec);
|
JSArrayBufferViewHelper.h | 53 offset = exec->argument(1).toInt32(exec); 65 offset = exec->argument(1).toInt32(exec); 66 uint32_t length = array->get(exec, JSC::Identifier(exec, "length")).toInt32(exec); 151 int length = exec->argument(0).toInt32(exec);
|
JSHTMLSelectElementCustom.cpp | 43 select.remove(exec->argument(0).toInt32(exec));
|
JSInt16ArrayCustom.cpp | 38 impl()->set(index, static_cast<signed short>(value.toInt32(exec)));
|
JSInt32ArrayCustom.cpp | 38 impl()->set(index, static_cast<signed int>(value.toInt32(exec)));
|
JSInt8ArrayCustom.cpp | 39 impl()->set(index, static_cast<signed char>(value.toInt32(exec)));
|
JSUint16ArrayCustom.cpp | 38 impl()->set(index, static_cast<unsigned short>(value.toInt32(exec)));
|
JSUint8ArrayCustom.cpp | 38 impl()->set(index, static_cast<unsigned char>(value.toInt32(exec)));
|
JSClipboardCustom.cpp | 111 int x = exec->argument(1).toInt32(exec); 112 int y = exec->argument(2).toInt32(exec);
|
JSWorkerContextCustom.cpp | 129 int delay = exec->argument(1).toInt32(exec); 139 int delay = exec->argument(1).toInt32(exec);
|
/external/webkit/Source/JavaScriptCore/runtime/ |
DateConstructor.cpp | 111 int year = JSC::toInt32(doubleArguments[0]); 113 t.month = JSC::toInt32(doubleArguments[1]); 114 t.monthDay = (numArgs >= 3) ? JSC::toInt32(doubleArguments[2]) : 1; 115 t.hour = JSC::toInt32(doubleArguments[3]); 116 t.minute = JSC::toInt32(doubleArguments[4]); 117 t.second = JSC::toInt32(doubleArguments[5]); 191 int year = JSC::toInt32(doubleArguments[0]); 193 t.month = JSC::toInt32(doubleArguments[1]); 194 t.monthDay = (n >= 3) ? JSC::toInt32(doubleArguments[2]) : 1; 195 t.hour = JSC::toInt32(doubleArguments[3]) [all...] |
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8AudioNodeCustom.cpp | 52 output = toInt32(args[1], ok); 58 input = toInt32(args[2], ok); 76 output = toInt32(args[0], ok);
|
V8ArrayBufferCustom.cpp | 65 length = toInt32(args[0]); // NaN/+inf/-inf returns 0, this is intended by WebIDL
|
V8AudioContextCustom.cpp | 67 unsigned numberOfChannels = toInt32(args[0], ok); 71 unsigned numberOfFrames = toInt32(args[1], ok); 125 unsigned numberOfChannels = toInt32(args[0], ok); 129 unsigned numberOfFrames = toInt32(args[1], ok);
|
V8HTMLImageElementConstructor.cpp | 76 width = toInt32(args[0]); 80 height = toInt32(args[1]);
|
V8DocumentCustom.cpp | 82 int type = toInt32(args[3]); 106 int width = toInt32(args[2]); 107 int height = toInt32(args[3]);
|
V8ClipboardCustom.cpp | 110 int x = toInt32(args[1]); 111 int y = toInt32(args[2]);
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
TextInputController.cpp | 109 arguments[1].toInt32(), 110 arguments[1].toInt32() + arguments[2].toInt32()); 192 if (!mainFrame->firstRectForCharacterRange(arguments[0].toInt32(), arguments[1].toInt32(), rect))
|
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalue/ |
tst_qscriptvalue.h | 119 void toInt32();
|