/external/v8/src/ |
D | date.js | 438 value = IS_STRING(time) ? DateParse(time) : TimeClip(ToNumber(time)); 442 year = ToNumber(year); 443 month = ToNumber(month); 444 date = argc > 2 ? ToNumber(date) : 1; 445 hours = argc > 3 ? ToNumber(hours) : 0; 446 minutes = argc > 4 ? ToNumber(minutes) : 0; 447 seconds = argc > 5 ? ToNumber(seconds) : 0; 448 ms = argc > 6 ? ToNumber(ms) : 0; 552 year = ToNumber(year); 553 month = ToNumber(month); [all …]
|
D | runtime.js | 64 return %NumberEquals(x, %ToNumber(y)); 67 if (IS_NUMBER(y)) return %NumberEquals(%ToNumber(x), y); 68 if (IS_BOOLEAN(y)) return %NumberEquals(%ToNumber(x), %ToNumber(y)); 76 return %NumberEquals(%ToNumber(x), %ToNumber(y)); 141 var left_number = %ToNumber(left); 142 var right_number = %ToNumber(right); 170 return %NumberAdd(%ToNumber(a), %ToNumber(b)); 465 return %ToNumber(this); 503 function ToNumber(x) { class 511 return (IS_NULL(x)) ? 0 : ToNumber(%DefaultNumber(x)); [all …]
|
D | json.js | 166 value = ToNumber(value); 287 value = ToNumber(value); 314 space = ToNumber(space);
|
D | macros.py | 124 macro TO_INTEGER(arg) = (%_IsSmi(%IS_VAR(arg)) ? arg : %NumberToInteger(ToNumber(arg))); 125 …_MAP_MINUS_ZERO(arg) = (%_IsSmi(%IS_VAR(arg)) ? arg : %NumberToIntegerMapMinusZero(ToNumber(arg)));
|
D | v8natives.js | 79 var n = ToNumber(number); 1015 var value = %_ArgumentsLength() == 0 ? 0 : ToNumber(x); 1073 var x = ToNumber(this); 1087 var x = ToNumber(this); 1099 var x = ToNumber(this);
|
D | debug-debugger.js | 909 if (!IS_UNDEFINED(opt_action)) action = %ToNumber(opt_action); 910 var count = opt_count ? %ToNumber(opt_count) : 1; 939 var i = %ToNumber(index); 1493 count = %ToNumber(stepcount); 1646 var break_point = %ToNumber(request.arguments.breakpoint); 1720 var break_point = %ToNumber(request.arguments.breakpoint); 1949 scope_index = %ToNumber(request.arguments.number); 2022 var frame_number = %ToNumber(frame); 2140 var frame_number = %ToNumber(request.arguments.frame); 2176 types = %ToNumber(request.arguments.types); [all …]
|
D | string.js | 126 var position = ToNumber(%_Arguments(1)); 729 if (!%_IsSmi(code)) code = ToNumber(code); 739 if (!%_IsSmi(code)) code = ToNumber(code);
|
D | execution.h | 86 static Handle<Object> ToNumber(Handle<Object> obj, bool* exc);
|
D | code-stubs.h | 59 V(ToNumber) \ 279 Major MajorKey() { return ToNumber; } in MajorKey()
|
D | accessors.cc | 125 Handle<Object> number_v = Execution::ToNumber(value_handle, &has_exception); in ArraySetLength()
|
D | execution.cc | 498 Handle<Object> Execution::ToNumber(Handle<Object> obj, bool* exc) { in ToNumber() function in v8::internal::Execution
|
D | handles.cc | 502 Handle<Object> number = Execution::ToNumber(value, &has_exception); in SetElement()
|
D | api.cc | 2112 Local<Number> Value::ToNumber() const { in ToNumber() function in v8::Value 2125 num = i::Execution::ToNumber(obj, &has_pending_exception); in ToNumber() 2260 num = i::Execution::ToNumber(obj, &has_pending_exception); in NumberValue()
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
D | V8GeolocationCustom.cpp | 83 v8::Local<v8::Number> timeoutNumber = timeoutValue->ToNumber(); in createPositionOptions() 107 v8::Local<v8::Number> maximumAgeNumber = maximumAgeValue->ToNumber(); in createPositionOptions()
|
/external/v8/src/mips/ |
D | register-allocator-mips-inl.h | 46 int RegisterAllocator::ToNumber(Register reg) { in ToNumber() function
|
D | macro-assembler-mips.h | 297 rt == static_cast<uint32_t>(ToNumber(zero_reg)) && in GetCodeMarker() 298 rs == static_cast<uint32_t>(ToNumber(zero_reg))); in GetCodeMarker()
|
D | assembler-mips.cc | 78 int ToNumber(Register reg) { in ToNumber() function 410 rt == static_cast<uint32_t>(ToNumber(zero_reg)) && in IsNop() 411 rs == static_cast<uint32_t>(ToNumber(zero_reg)) && in IsNop()
|
D | assembler-mips.h | 163 int ToNumber(Register reg);
|
/external/webkit/Source/WebCore/bindings/v8/ |
D | V8Binding.cpp | 152 v8::Local<v8::Number> numberObject = value->ToNumber(); in toInt32() 192 v8::Local<v8::Number> numberObject = value->ToNumber(); in toUInt32()
|
/external/v8/test/cctest/ |
D | test-heap-profiler.cc | 1020 static_cast<int>(string_obj_pos_val->ToNumber()->Value()); in TEST() 1024 nodes_array->Get(string_obj_pos + 1)->ToNumber()->Value()); in TEST()
|
D | test-api.cc | 1039 THREADED_TEST(ToNumber) { in THREADED_TEST() argument 2364 CHECK_EQ(5312874545152.0, obj->ToNumber()->Value()); in THREADED_TEST() 2370 CHECK_EQ(-1234567890123.0, obj->ToNumber()->Value()); in THREADED_TEST() 2376 CHECK_EQ(42.0, obj->ToNumber()->Value()); in THREADED_TEST() 2382 CHECK_EQ(-37.0, obj->ToNumber()->Value()); in THREADED_TEST() 2388 CHECK_EQ(2166572391.0, obj->ToNumber()->Value()); in THREADED_TEST() 2394 CHECK_EQ(42.3, obj->ToNumber()->Value()); in THREADED_TEST() 2400 CHECK_EQ(-5726623061.75, obj->ToNumber()->Value()); in THREADED_TEST() 2462 Local<Value> to_number_result = obj->ToNumber(); in THREADED_TEST()
|
/external/v8/include/ |
D | v8.h | 932 V8EXPORT Local<Number> ToNumber() const;
|
/external/webkit/Source/JavaScriptCore/ |
D | ChangeLog-2011-02-16 | 15992 ToNumber: 15994 ToNumber conversion from strings (see ecma-262 9.3.1), so UString::toDouble 15995 should largely just be moved out to a global jsToNumber function. ToNumber is 20073 ToNumber should ignore NBSP (\u00a0) 24329 Null characters handled incorrectly in ToNumber conversion 24338 standard JavaScript numeric conversion, ToNumber.
|
D | ChangeLog-2010-05-24 | 3631 Tests: fast/js/ToNumber.html 26600 bytecode generator, so x=x++ effectively becomes x=ToNumber(x) (for a
|
D | ChangeLog-2009-06-16 | 9495 uses ToNumber, not ToPrimitive. Change the test to match the spec.
|