/macosx-10.10/JavaScriptCore-7600.1.17/API/tests/ |
H A D | DateTests.mm | 53 int year = [[jsNow invokeMethod:@"getFullYear" withArguments:@[]] toInt32]; 55 int month = [[jsNow invokeMethod:@"getMonth" withArguments:@[]] toInt32] + 1; 56 int day = [[jsNow invokeMethod:@"getDate" withArguments:@[]] toInt32]; 57 int hour = [[jsNow invokeMethod:@"getHours" withArguments:@[]] toInt32]; 58 int minute = [[jsNow invokeMethod:@"getMinutes" withArguments:@[]] toInt32]; 59 int second = [[jsNow invokeMethod:@"getSeconds" withArguments:@[]] toInt32]; 79 int year = [[jsDate invokeMethod:@"getFullYear" withArguments:@[]] toInt32]; 80 int month = [[jsDate invokeMethod:@"getMonth" withArguments:@[]] toInt32] + 1; 81 int day = [[jsDate invokeMethod:@"getDate" withArguments:@[]] toInt32]; 82 int hour = [[jsDate invokeMethod:@"getHours" withArguments:@[]] toInt32]; [all...] |
H A D | testapi.mm | 486 checkResult(@"2 + 2", [result isNumber] && [result toInt32] == 4); 535 checkResult(@"my_number is 42", [myNumber isNumber] && [myNumber toInt32] == 42); 608 sawExpectedExceptionLineNumber = [exception[@"line"] toInt32] == expectedExceptionLineNumber; 671 checkResult(@"sum([13, 2, 7])", [result toInt32] == 22); 711 checkResult(@"valueAtIndex:0", [[array valueAtIndex:0] toInt32] == 24); 712 checkResult(@"valueAtIndex:lowIndex", [[array valueAtIndex:lowIndex] toInt32] == 42); 713 checkResult(@"valueAtIndex:maxLength - 1", [[array valueAtIndex:(maxLength - 1)] toInt32] == 42); 714 checkResult(@"valueAtIndex:maxLength", [[array valueAtIndex:maxLength] toInt32] == 24); 715 checkResult(@"valueAtIndex:maxLength + 1", [[array valueAtIndex:(maxLength + 1)] toInt32] == 24); 756 int result = [object [@"getterProperty"] toInt32]; [all...] |
/macosx-10.10/WebCore-7600.1.25/bindings/js/ |
H A D | JSHTMLInputElementCustom.cpp | 51 input.setSelectionStart(value.toInt32(exec)); 69 input.setSelectionEnd(value.toInt32(exec)); 98 int start = exec->argument(0).toInt32(exec); 99 int end = exec->argument(1).toInt32(exec);
|
H A D | JSHTMLOptionsCollectionCustom.cpp | 71 int index = exec->argument(1).toInt32(exec); 87 impl().remove(argument.toInt32(exec));
|
H A D | JSImageConstructor.cpp | 65 width = exec->argument(0).toInt32(exec); 69 height = exec->argument(1).toInt32(exec);
|
H A D | JSAudioContextCustom.cpp | 82 int32_t numberOfChannels = exec->argument(0).toInt32(exec); 83 int32_t numberOfFrames = exec->argument(1).toInt32(exec);
|
H A D | JSWorkerGlobalScopeCustom.cpp | 95 int delay = exec->argument(1).toInt32(exec); 106 int delay = exec->argument(1).toInt32(exec);
|
H A D | JSHTMLSelectElementCustom.cpp | 49 select.removeByIndex(exec->argument(0).toInt32(exec));
|
H A D | JSNodeFilterCondition.cpp | 74 int intResult = result.toInt32(exec);
|
H A D | JSWebGLRenderingContextCustom.cpp | 167 unsigned target = exec->uncheckedArgument(0).toInt32(exec); 170 unsigned pname = exec->uncheckedArgument(1).toInt32(exec); 302 unsigned target = exec->uncheckedArgument(0).toInt32(exec); 305 unsigned attachment = exec->uncheckedArgument(1).toInt32(exec); 308 unsigned pname = exec->uncheckedArgument(2).toInt32(exec); 326 unsigned pname = exec->uncheckedArgument(0).toInt32(exec); 347 unsigned pname = exec->uncheckedArgument(1).toInt32(exec); 373 unsigned pname = exec->uncheckedArgument(1).toInt32(exec); 434 int32_t length = object->get(exec, exec->vm().propertyNames->length).toInt32(exec); 485 index = exec->uncheckedArgument(0).toInt32(exe [all...] |
H A D | JSCommandLineAPIHostCustom.cpp | 68 CommandLineAPIHost::InspectableObject* object = impl().inspectedObject(exec->uncheckedArgument(0).toInt32(exec));
|
H A D | JSInspectorFrontendHostCustom.cpp | 117 ContextMenuAction typedId = static_cast<ContextMenuAction>(ContextMenuItemBaseCustomTag + id.toInt32(exec));
|
H A D | JSDictionary.cpp | 93 result = value.toInt32(exec);
|
H A D | JSDOMBinding.h | 295 return JSC::toInt32(number); 319 inline int32_t toInt32(JSC::ExecState* exec, JSC::JSValue value, IntegerConversionConfiguration configuration) function in namespace:WebCore 323 return value.toInt32(exec);
|
/macosx-10.10/JavaScriptCore-7600.1.17/runtime/ |
H A D | DateConstructor.cpp | 160 int year = JSC::toInt32(doubleArguments[0]); 162 t.setMonth(JSC::toInt32(doubleArguments[1])); 163 t.setMonthDay((numArgs >= 3) ? JSC::toInt32(doubleArguments[2]) : 1); 164 t.setHour(JSC::toInt32(doubleArguments[3])); 165 t.setMinute(JSC::toInt32(doubleArguments[4])); 166 t.setSecond(JSC::toInt32(doubleArguments[5])); 239 int year = JSC::toInt32(doubleArguments[0]); 241 t.setMonth(JSC::toInt32(doubleArguments[1])); 242 t.setMonthDay((n >= 3) ? JSC::toInt32(doubleArguments[2]) : 1); 243 t.setHour(JSC::toInt32(doubleArgument [all...] |
H A D | JSArrayBufferPrototype.cpp | 49 int32_t begin = exec->argument(0).toInt32(exec); 55 end = exec->uncheckedArgument(1).toInt32(exec);
|
H A D | CommonSlowPaths.cpp | 406 int32_t a = OP_C(2).jsValue().toInt32(exec); 414 int32_t a = OP_C(2).jsValue().toInt32(exec); 437 int32_t a = OP_C(2).jsValue().toInt32(exec); 438 int32_t b = OP_C(3).jsValue().toInt32(exec); 445 int32_t a = OP_C(2).jsValue().toInt32(exec); 446 int32_t b = OP_C(3).jsValue().toInt32(exec); 453 int32_t a = OP_C(2).jsValue().toInt32(exec); 454 int32_t b = OP_C(3).jsValue().toInt32(exec);
|
H A D | JSGenericTypedArrayViewPrototypeInlines.h | 79 int32_t begin = exec->uncheckedArgument(0).toInt32(exec); 85 end = exec->uncheckedArgument(1).toInt32(exec);
|
H A D | JSCJSValue.h | 112 JS_EXPORT_PRIVATE int32_t toInt32(double); 119 return toInt32(number); 251 int32_t toInt32(ExecState*) const;
|
H A D | TypedArrayAdaptors.h | 68 result = toInt32(value);
|
H A D | JSCJSValue.cpp | 302 int32_t toInt32(double number) function in namespace:JSC
|
H A D | JSCJSValueInlines.h | 37 ALWAYS_INLINE int32_t JSValue::toInt32(ExecState* exec) const function in class:JSC::JSValue 41 return JSC::toInt32(toNumber(exec)); 47 return toInt32(exec);
|
/macosx-10.10/JavaScriptCore-7600.1.17/API/ |
H A D | JSValue.h | 254 - (int32_t)toInt32;
|
/macosx-10.10/WebCore-7600.1.25/bindings/scripts/test/JS/ |
H A D | JSTestObj.cpp | 2001 int nativeValue(toInt32(exec, value, NormalConversion)); 2161 int nativeValue(toInt32(exec, value, NormalConversion)); 2261 int nativeValue(toInt32(exec, value, NormalConversion)); 2341 int nativeValue(toInt32(exec, value, NormalConversion)); 2362 int nativeValue(toInt32(exec, value, NormalConversion)); 2437 int nativeValue(toInt32(exec, value, NormalConversion)); 2613 int nativeValue(toInt32(exec, value, NormalConversion)); 2635 int nativeValue(toInt32(exec, value, NormalConversion)); 2657 int nativeValue(toInt32(exec, value, NormalConversion)); 2783 int nativeValue(toInt32(exe [all...] |
/macosx-10.10/JavaScriptCore-7600.1.17/parser/ |
H A D | ASTBuilder.h | 774 return createNumber(location, ~toInt32(static_cast<NumberNode*>(expr)->value())); 835 return createNumber(location, toInt32(static_cast<NumberNode*>(expr1)->value()) << (toUInt32(static_cast<NumberNode*>(expr2)->value()) & 0x1f)); 842 return createNumber(location, toInt32(static_cast<NumberNode*>(expr1)->value()) >> (toUInt32(static_cast<NumberNode*>(expr2)->value()) & 0x1f)); 856 return createNumber(location, toInt32(static_cast<NumberNode*>(expr1)->value()) | toInt32(static_cast<NumberNode*>(expr2)->value())); 863 return createNumber(location, toInt32(static_cast<NumberNode*>(expr1)->value()) & toInt32(static_cast<NumberNode*>(expr2)->value())); 870 return createNumber(location, toInt32(static_cast<NumberNode*>(expr1)->value()) ^ toInt32(static_cast<NumberNode*>(expr2)->value()));
|