Home
last modified time | relevance | path

Searched refs:ToNumber (Results 1 – 25 of 83) sorted by relevance

1234

/external/v8/src/builtins/
Dbuiltins-date.cc222 Object::ToNumber(value)); in BUILTIN()
229 Object::ToNumber(args.at<Object>(1))); in BUILTIN()
232 Object::ToNumber(args.at<Object>(2))); in BUILTIN()
239 Object::ToNumber(args.at<Object>(3))); in BUILTIN()
244 isolate, hours_object, Object::ToNumber(args.at<Object>(4))); in BUILTIN()
249 isolate, minutes_object, Object::ToNumber(args.at<Object>(5))); in BUILTIN()
254 isolate, seconds_object, Object::ToNumber(args.at<Object>(6))); in BUILTIN()
259 isolate, ms_object, Object::ToNumber(args.at<Object>(7))); in BUILTIN()
309 Object::ToNumber(args.at<Object>(1))); in BUILTIN()
314 Object::ToNumber(args.at<Object>(2))); in BUILTIN()
[all …]
Dbuiltins-dataview.cc253 ASSIGN_RETURN_ON_EXCEPTION(isolate, value, Object::ToNumber(value), Object); in SetViewValue()
Dbuiltins-sharedarraybuffer.cc101 Callable to_number = CodeFactory::ToNumber(a->isolate()); in ConvertTaggedAtomicIndexToWord32()
/external/v8/src/compiler/
Dtyper.cc265 static Type* ToNumber(Type*, Typer*);
438 type = ToNumber(type, t); in ToInteger()
473 Type* Typer::Visitor::ToNumber(Type* type, Typer* t) { in ToNumber() function in v8::internal::compiler::Typer::Visitor
474 return t->operation_typer_.ToNumber(type); in ToNumber()
927 lhs = ToNumber(lhs, t); in JSCompareTyper()
928 rhs = ToNumber(rhs, t); in JSCompareTyper()
980 return NumberBitwiseOr(ToNumber(lhs, t), ToNumber(rhs, t), t); in JSBitwiseOrTyper()
985 return NumberBitwiseAnd(ToNumber(lhs, t), ToNumber(rhs, t), t); in JSBitwiseAndTyper()
990 return NumberBitwiseXor(ToNumber(lhs, t), ToNumber(rhs, t), t); in JSBitwiseXorTyper()
995 return NumberShiftLeft(ToNumber(lhs, t), ToNumber(rhs, t), t); in JSShiftLeftTyper()
[all …]
Djs-builtin-reducer.cc982 Node* input = ToNumber(r.GetJSCallInput(0)); in ReduceGlobalIsFinite()
996 Node* input = ToNumber(r.GetJSCallInput(0)); in ReduceGlobalIsNaN()
1009 Node* input = ToNumber(r.GetJSCallInput(0)); in ReduceMathAbs()
1021 Node* input = ToNumber(r.GetJSCallInput(0)); in ReduceMathAcos()
1033 Node* input = ToNumber(r.GetJSCallInput(0)); in ReduceMathAcosh()
1045 Node* input = ToNumber(r.GetJSCallInput(0)); in ReduceMathAsin()
1057 Node* input = ToNumber(r.GetJSCallInput(0)); in ReduceMathAsinh()
1069 Node* input = ToNumber(r.GetJSCallInput(0)); in ReduceMathAtan()
1081 Node* input = ToNumber(r.GetJSCallInput(0)); in ReduceMathAtanh()
1095 Node* left = ToNumber(r.left()); in ReduceMathAtan2()
[all …]
Doperation-typer.h36 Type* ToNumber(Type* type);
Djs-builtin-reducer.h111 Node* ToNumber(Node* value); in NON_EXPORTED_BASE()
Djs-graph.cc29 HeapConstant(isolate()->builtins()->ToNumber())); in ToNumberBuiltinConstant()
Doperation-typer.cc244 Type* OperationTyper::ToNumber(Type* type) { in ToNumber() function in v8::internal::compiler::OperationTyper
923 lhs = ToNumber(Type::Intersect(lhs, Type::NumberOrOddball(), zone())); \
924 rhs = ToNumber(Type::Intersect(rhs, Type::NumberOrOddball(), zone())); \
Djs-typed-lowering.cc374 Node* const n = graph()->NewNode(javascript()->ToNumber(), node, context(), in ConvertSingleInputToNumber()
394 graph()->NewNode(javascript()->ToNumber(), left(), context(), in ConvertBothInputsToNumber()
399 graph()->NewNode(javascript()->ToNumber(), right(), context(), in ConvertBothInputsToNumber()
1031 String::ToNumber(Handle<String>::cast(input_value)))); in ReduceJSToNumberInput()
1038 Oddball::ToNumber(Handle<Oddball>::cast(input_value)))); in ReduceJSToNumberInput()
1272 graph()->NewNode(javascript()->ToNumber(), value, context, in ReduceJSStoreProperty()
Djs-intrinsic-lowering.cc248 NodeProperties::ChangeOp(node, javascript()->ToNumber()); in ReduceToNumber()
/external/pdfium/core/fpdfdoc/
Dcpdf_dest.cpp90 const CPDF_Number* numX = ToNumber(pArray->GetDirectObjectAt(2)); in GetXYZ()
91 const CPDF_Number* numY = ToNumber(pArray->GetDirectObjectAt(3)); in GetXYZ()
92 const CPDF_Number* numZoom = ToNumber(pArray->GetDirectObjectAt(4)); in GetXYZ()
Ddoc_tagged.cpp409 return ToNumber(pAttr) ? pAttr->GetNumber() : default_value; in GetNumber()
417 return ToNumber(pAttr) ? pAttr->GetInteger() : default_value; in GetInteger()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_number.h45 inline CPDF_Number* ToNumber(CPDF_Object* obj) { in ToNumber() function
49 inline const CPDF_Number* ToNumber(const CPDF_Object* obj) { in ToNumber() function
Dcpdf_linearized_header.cpp26 const CPDF_Number* pNum = ToNumber(pDict->GetObjectFor(key)); in IsValidNumericDictionaryValue()
Dfpdf_parser_utility.cpp86 CPDF_Number* pObj = ToNumber(pDict->GetObjectFor(key)); in GetDirectInteger()
/external/v8/src/runtime/
Druntime-numbers.cc29 return *String::ToNumber(subject); in RUNTIME_FUNCTION()
48 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, radix, Object::ToNumber(radix)); in RUNTIME_FUNCTION()
Druntime-i18n.cc384 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, value, Object::ToNumber(date)); in RUNTIME_FUNCTION()
485 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, value, Object::ToNumber(date)); in RUNTIME_FUNCTION()
604 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, value, Object::ToNumber(number)); in RUNTIME_FUNCTION()
/external/v8/src/interpreter/
Dinterpreter-intrinsics.h43 V(ToNumber, to_number, 1) \
Dinterpreter-intrinsics.cc274 Node* IntrinsicsHelper::ToNumber(Node* input, Node* arg_count, Node* context) { in ToNumber() function in v8::internal::interpreter::IntrinsicsHelper
275 return IntrinsicAsStubCall(input, context, CodeFactory::ToNumber(isolate())); in ToNumber()
/external/v8/src/
Dcode-factory.cc164 Callable CodeFactory::ToNumber(Isolate* isolate) { in ToNumber() function in v8::internal::CodeFactory
165 return Callable(isolate->builtins()->ToNumber(), in ToNumber()
Dcode-factory.h75 static Callable ToNumber(Isolate* isolate);
Djson-stringifier.cc165 ASSIGN_RETURN_ON_EXCEPTION_VALUE(isolate_, gap, Object::ToNumber(gap), in InitializeGap()
360 ASSIGN_RETURN_ON_EXCEPTION_VALUE(isolate_, value, Object::ToNumber(object), in SerializeJSValue()
Dobjects.cc142 MaybeHandle<Object> Object::ToNumber(Handle<Object> input) { in ToNumber() function in v8::internal::Object
148 return String::ToNumber(Handle<String>::cast(input)); in ToNumber()
151 return Oddball::ToNumber(Handle<Oddball>::cast(input)); in ToNumber()
172 ASSIGN_RETURN_ON_EXCEPTION(isolate, input, ToNumber(input), Object); in ToInteger()
179 ASSIGN_RETURN_ON_EXCEPTION(isolate, input, ToNumber(input), Object); in ToInt32()
186 ASSIGN_RETURN_ON_EXCEPTION(isolate, input, ToNumber(input), Object); in ToUint32()
379 ASSIGN_RETURN_ON_EXCEPTION(isolate, input, ToNumber(input), Object); in ToLength()
393 ASSIGN_RETURN_ON_EXCEPTION(isolate, input, ToNumber(input), Object); in ToIndex()
465 if (!Object::ToNumber(x).ToHandle(&x) || !Object::ToNumber(y).ToHandle(&y)) { in Compare()
485 return Just(NumberEquals(x, String::ToNumber(Handle<String>::cast(y)))); in Equals()
[all …]
/external/pdfium/fpdfsdk/javascript/
DJS_Value.cpp139 m_pValue->ToNumber(pIsolate->GetCurrentContext()); in MaybeCoerceToNumber()
686 double date = v->ToNumber(context).ToLocalChecked()->Value(); in JS_DateParse()

1234