/external/v8/src/ |
D | date.js | 160 value = IS_STRING(time) ? DateParse(time) : ToNumber(time); 164 year = ToNumber(year); 165 month = ToNumber(month); 166 date = argc > 2 ? ToNumber(date) : 1; 167 hours = argc > 3 ? ToNumber(hours) : 0; 168 minutes = argc > 4 ? ToNumber(minutes) : 0; 169 seconds = argc > 5 ? ToNumber(seconds) : 0; 170 ms = argc > 6 ? ToNumber(ms) : 0; 269 year = ToNumber(year); 270 month = ToNumber(month); [all …]
|
D | runtime.js | 42 return %NumberEquals(x, %ToNumber(y)); 50 if (IS_NUMBER(y)) return %NumberEquals(%ToNumber(x), y); 51 if (IS_BOOLEAN(y)) return %NumberEquals(%ToNumber(x), %ToNumber(y)); 61 if (IS_NUMBER(y)) return %NumberEquals(%ToNumber(x), y); 62 if (IS_STRING(y)) return %NumberEquals(%ToNumber(x), %ToNumber(y)); 65 x = %ToNumber(x); 76 if (IS_BOOLEAN(y)) y = %ToNumber(y); 131 var left_number = %ToNumber(left); 132 var right_number = %ToNumber(right); 160 return %NumberAdd(%ToNumber(a), %ToNumber(b)); [all …]
|
D | json.js | 152 value = ToNumber(value); 174 space = ToNumber(space); 203 if (IS_NUMBER_WRAPPER(item)) item = ToNumber(item);
|
D | debug-debugger.js | 943 if (!IS_UNDEFINED(opt_action)) action = %ToNumber(opt_action); 944 var count = opt_count ? %ToNumber(opt_count) : 1; 978 var i = %ToNumber(index); 1459 count = %ToNumber(stepcount); 1621 var break_point = %ToNumber(request.arguments.breakpoint); 1697 var break_point = %ToNumber(request.arguments.breakpoint); 1954 scope_index = %ToNumber(request.arguments.number); 2018 var scope_index = %ToNumber(scope_description.number); 2096 var frame_number = %ToNumber(frame); 2196 var frame_number = %ToNumber(request.arguments.frame); [all …]
|
D | macros.py | 160 macro TO_INTEGER(arg) = (%_IsSmi(%IS_VAR(arg)) ? arg : %NumberToInteger(ToNumber(arg))); 161 macro TO_INTEGER_FOR_SIDE_EFFECT(arg) = (%_IsSmi(%IS_VAR(arg)) ? arg : ToNumber(arg)); 162 …_MAP_MINUS_ZERO(arg) = (%_IsSmi(%IS_VAR(arg)) ? arg : %NumberToIntegerMapMinusZero(ToNumber(arg)));
|
D | string.js | 110 var position = ToNumber(%_Arguments(1)); 805 if (!%_IsSmi(code)) code = ToNumber(code); 813 if (!%_IsSmi(code)) code = ToNumber(code) & 0xffff; 824 if (!%_IsSmi(code)) code = ToNumber(code) & 0xffff;
|
D | code-factory.h | 51 static Callable ToNumber(Isolate* isolate);
|
D | code-factory.cc | 70 Callable CodeFactory::ToNumber(Isolate* isolate) { in ToNumber() function in v8::internal::CodeFactory
|
D | harmony-string.js | 154 code = ToNumber(code);
|
D | execution.h | 57 MUST_USE_RESULT static MaybeHandle<Object> ToNumber(
|
D | interface-descriptors.h | 25 V(ToNumber) \
|
D | v8natives.js | 865 if (new_length != ToNumber(desc.getValue())) { 1517 var value = %_ArgumentsLength() == 0 ? 0 : ToNumber(x);
|
D | code-stubs.h | 78 V(ToNumber) \ 547 DEFINE_CALL_INTERFACE_DESCRIPTOR(ToNumber); 548 DEFINE_HYDROGEN_CODE_STUB(ToNumber, HydrogenCodeStub);
|
D | execution.cc | 493 MaybeHandle<Object> Execution::ToNumber( in ToNumber() function in v8::internal::Execution
|
/external/v8/test/mjsunit/regress/ |
D | regress-seqstrsetchar-ex1.js | 31 function ToNumber(x) { class 43 if (!%_IsSmi(code)) code = ToNumber(code) & 0xffff;
|
/external/v8/test/cctest/compiler/ |
D | test-js-typed-lowering.cc | 123 return graph.NewNode(javascript.ToNumber(), node, context(), node, in UseForEffect() 394 const Operator* ton = R.javascript.ToNumber(); in TEST() 420 Node* c = R.graph.NewNode(R.javascript.ToNumber(), n, R.context(), in TEST() 451 Node* convert = R.Unop(R.javascript.ToNumber(), n); in TEST() 476 Node* r = R.ReduceUnop(R.javascript.ToNumber(), t); in TEST() 815 Node* ton = R.Unop(R.javascript.ToNumber(), p0); in TEST() 821 effect_use = R.graph.NewNode(R.javascript.ToNumber(), p0, R.context(), in TEST() 825 effect_use = R.graph.NewNode(R.javascript.ToNumber(), ton, R.context(), in TEST()
|
D | test-scheduler.cc | 857 op = js_builder.ToNumber(); in TEST() 981 op = js_builder.ToNumber(); in TEST() 1044 op = js_builder.ToNumber(); in TEST() 1230 op = js_builder.ToNumber(); in TEST() 1309 op = js_builder.ToNumber(); in TEST() 1368 op = js_builder.ToNumber(); in TEST() 1419 op = js_builder.ToNumber(); in TEST()
|
/external/v8/src/compiler/ |
D | js-operator.h | 106 const Operator* ToNumber() { UNOP(JSToNumber); } in ToNumber() function
|
D | js-generic-lowering.cc | 262 Callable callable = CodeFactory::ToNumber(isolate()); in LowerJSToNumber()
|
D | js-typed-lowering.cc | 160 Node* n = graph()->NewNode(javascript()->ToNumber(), node, context(), in ConvertToNumber()
|
/external/v8/test/webkit/ |
D | ToNumber-expected.txt | 24 Test the JavaScript ToNumber operation.
|
/external/pdfium/fpdfsdk/src/jsapi/ |
D | fxjs_v8.cpp | 740 return pValue->ToNumber(context).ToLocalChecked()->Value(); in JS_ToNumber() 1011 double date = v->ToNumber(context).ToLocalChecked()->Value(); in JS_DateParse()
|
/external/v8/src/mips/ |
D | macro-assembler-mips.h | 473 rt == static_cast<uint32_t>(ToNumber(zero_reg)) && in GetCodeMarker() 474 rs == static_cast<uint32_t>(ToNumber(zero_reg))); in GetCodeMarker()
|
D | assembler-mips.cc | 136 int ToNumber(Register reg) { in ToNumber() function 602 rd == static_cast<uint32_t>(ToNumber(zero_reg)) && in IsNop() 603 rt == static_cast<uint32_t>(ToNumber(nop_rt_reg)) && in IsNop()
|
/external/v8/src/mips64/ |
D | macro-assembler-mips64.h | 494 rt == static_cast<uint32_t>(ToNumber(zero_reg)) && in GetCodeMarker() 495 rs == static_cast<uint32_t>(ToNumber(zero_reg))); in GetCodeMarker()
|