Home
last modified time | relevance | path

Searched refs:IsNumber (Results 1 – 25 of 66) sorted by relevance

123

/external/v8/src/runtime/
Druntime-utils.h34 RUNTIME_ASSERT(args[index]->IsNumber()); \
55 RUNTIME_ASSERT(args[index]->IsNumber()); \
63 RUNTIME_ASSERT(args[index]->IsNumber()); \
73 RUNTIME_ASSERT(obj->IsNumber()); \
97 RUNTIME_ASSERT(args[index]->IsNumber()); \
Druntime-strings.cc646 RUNTIME_ASSERT(elements->get(i)->IsNumber()); in RUNTIME_FUNCTION()
1178 if (args[0]->IsNumber()) { in RUNTIME_FUNCTION()
1191 if (!args[1]->IsNumber()) return Smi::FromInt(0); in RUNTIME_FUNCTION()
1243 if (!args[1]->IsNumber()) return isolate->heap()->undefined_value(); in RUNTIME_FUNCTION()
Druntime-literals.cc112 DCHECK(key->IsNumber()); in CreateObjectLiteralBoilerplate()
427 if (value->IsNumber()) { in RUNTIME_FUNCTION()
/external/v8/src/
Ddateparser-inl.h82 if (token.IsNumber()) { in Parse()
98 if (!scanner.Peek().IsNumber()) return false; in Parse()
133 if (scanner.Peek().IsNumber()) return false; in Parse()
141 if (scanner.Peek().IsNumber()) { in Parse()
295 if (!scanner->Peek().IsNumber() || in ParseES5DateTime()
Ddateparser.h130 bool IsNumber() { return tag_ == kNumberTag; } in IsNumber() function
139 DCHECK(IsNumber()); in number()
161 return IsNumber() && length_ == length; in IsFixedLengthNumber()
Dd8-posix.cc233 if (args[3]->IsNumber()) { in GetTimeouts()
246 if (args[2]->IsNumber()) { in GetTimeouts()
590 if (args[0]->IsNumber()) { in SetUMask()
666 if (args[1]->IsNumber()) { in MakeDirectory()
Dstring-stream.cc182 } else if (o->IsNumber() || o->IsOddball()) { in PrintObject()
353 if (key->IsString() || key->IsNumber()) { in PrintUsingMap()
Dkey-accumulator.cc162 if (convert == PROXY_MAGIC && key->IsNumber()) { in AddStringKey()
Dobjects.cc126 if (input->IsNumber()) { in ToNumber()
182 if (input->IsNumber()) { in ToString()
283 if (!x->IsNumber()) { in Compare()
288 } else if (!y->IsNumber()) { in Compare()
302 if (x->IsNumber()) { in Equals()
303 if (y->IsNumber()) { in Equals()
321 } else if (y->IsNumber()) { in Equals()
338 } else if (y->IsNumber()) { in Equals()
396 if (this->IsNumber()) { in StrictEquals()
397 if (!that->IsNumber()) return false; in StrictEquals()
[all …]
/external/v8/src/ic/
Dic-state.cc419 if (value->IsNumber()) return NUMBER; in NewInputState()
453 if (x->IsNumber() && y->IsNumber()) return NUMBER; in TargetState()
457 if ((x->IsNumber() && y->IsUndefined()) || in TargetState()
458 (y->IsNumber() && x->IsUndefined())) { in TargetState()
480 return x->IsNumber() && y->IsNumber() ? NUMBER : GENERIC; in TargetState()
/external/pdfium/fpdfsdk/src/jsapi/
Dfxjs_v8_embeddertest.cpp30 EXPECT_TRUE(fred->IsNumber()); in TEST_F()
/external/pdfium/fpdfsdk/src/javascript/
DPublicMethods.h169 static FX_BOOL IsNumber(const FX_CHAR* string);
170 static FX_BOOL IsNumber(const FX_WCHAR* string);
DJS_Value.cpp228 if (m_pValue->IsNumber()) in GetType()
817 if (v->IsNumber()) { in JS_DateParse()
/external/v8/test/cctest/
Dtest-compiler.cc571 CHECK(a->IsNumber()); in TEST()
575 CHECK(x->IsNumber()); in TEST()
579 CHECK(y->IsNumber()); in TEST()
611 CHECK(result->IsNumber()); in TEST()
636 CHECK(result->IsNumber()); in TEST()
662 CHECK(result->IsNumber()); in TEST()
Dtest-lockers.cc75 CHECK(v->IsNumber()); in Run()
86 CHECK(v->IsNumber()); in Run()
125 CHECK(v->IsNumber()); in CalcFibAndCheck()
Dtest-javascript-arm64.cc77 CHECK(result->IsNumber()); in ExpectNumber()
Dtest-strings.cc1114 CHECK_EQ(results[i]->IsNumber(), result->IsNumber()); in TEST()
1115 if (result->IsNumber()) { in TEST()
1349 CHECK(result->IsNumber()); in TEST()
/external/pdfium/xfa/src/fxjse/src/
Dvalue.h56 V8_INLINE FX_BOOL IsNumber() const { in IsNumber() function
63 return hValue->IsNumber(); in IsNumber()
/external/v8/src/wasm/
Dasm-wasm-builder.cc400 if (expr->raw_value()->IsNumber()) { in VisitLiteral()
538 DCHECK(value->raw_value()->IsNumber()); in VisitProperty()
548 DCHECK(binop->right()->AsLiteral()->raw_value()->IsNumber()); in VisitProperty()
607 DCHECK(right->raw_value()->IsNumber()); in MatchIntBinaryOperation()
621 DCHECK(right->raw_value()->IsNumber()); in MatchDoubleBinaryOperation()
/external/v8/src/ast/
Dast.cc439 (value->IsNumber() || value->IsUninitialized())) { in BuildConstantProperties()
821 (x->IsNumber() && y->IsNumber() && x->AsNumber() == y->AsNumber()); in Match()
Dast-value-factory.h142 bool IsNumber() const { in IsNumber() function
/external/pdfium/core/src/fpdfdoc/
Ddoc_basic.cpp18 if (pPage->IsNumber()) in GetPageIndex()
32 if (pPage->IsNumber()) in GetPageObjNum()
Ddoc_formfield.cpp421 if (pValue->IsString() || pValue->IsNumber()) in CountSelectedItems()
434 if (pValue->IsNumber()) in GetSelectedIndex()
520 if (pValue->IsNumber()) { in IsItemSelected()
/external/v8/src/compiler/
Djs-graph.cc89 if (value->IsNumber()) { in Constant()
Djs-global-object-specialization.cc120 } else if (property_cell_value->IsNumber()) { in ReduceJSLoadGlobal()

123