Home
last modified time | relevance | path

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

12

/external/v8/src/
Ddateparser-inl.h80 if (token.IsNumber()) { in Parse()
96 if (!scanner.Peek().IsNumber()) return false; in Parse()
131 if (scanner.Peek().IsNumber()) return false; in Parse()
138 if (scanner.Peek().IsNumber()) { in Parse()
260 if (!scanner->Peek().IsNumber() || in ParseES5DateTime()
Ddateparser.h145 bool IsNumber() { return tag_ == kNumberTag; } in IsNumber() function
154 DCHECK(IsNumber()); in number()
176 return IsNumber() && length_ == length; in IsFixedLengthNumber()
Dd8-posix.cc226 if (args[3]->IsNumber()) { in GetTimeouts()
235 if (args[2]->IsNumber()) { in GetTimeouts()
556 if (args[0]->IsNumber()) { in SetUMask()
620 if (args[1]->IsNumber()) { in MakeDirectory()
Dstring-stream.cc170 } else if (o->IsNumber() || o->IsOddball()) { in PrintObject()
341 if (key->IsString() || key->IsNumber()) { in PrintUsingMap()
Delements.cc503 if (raw_length->IsNumber()) { in CheckArrayAbuse()
801 DCHECK(e->IsString() || e->IsNumber()); in AddElementsToFixedArray()
1363 if (key->IsNumber()) { in SetLengthWithoutNormalize()
1386 if (key->IsNumber()) { in SetLengthWithoutNormalize()
1786 if (length->IsNumber()) { in SetLengthImpl()
1797 DCHECK(new_length->IsNumber()); in SetLengthImpl()
Dast-value-factory.h145 bool IsNumber() const { in IsNumber() function
Dlookup.cc55 if (receiver_->IsNumber()) return isolate_->factory()->heap_number_map(); in GetReceiverMap()
Dast.cc288 (value->IsNumber() || value->IsUninitialized())) { in BuildConstantProperties()
1134 DCHECK(value_->IsNumber()); in ToString()
Druntime.cc106 RUNTIME_ASSERT(args[index]->IsNumber()); \
127 RUNTIME_ASSERT(args[index]->IsNumber()); \
134 RUNTIME_ASSERT(obj->IsNumber()); \
159 RUNTIME_ASSERT(args[index]->IsNumber()); \
300 DCHECK(key->IsNumber()); in CreateObjectLiteralBoilerplate()
3175 if (args[0]->IsNumber()) { in RUNTIME_FUNCTION()
4814 if (object->IsString() || object->IsNumber() || object->IsBoolean()) { in GetElementOrCharAt()
5176 if (!value->IsNumber() && !value->IsUndefined()) { in SetObjectProperty()
5196 if (!value->IsNumber() && !value->IsUndefined()) { in SetObjectProperty()
5509 if (value->IsNumber()) { in RUNTIME_FUNCTION()
[all …]
Dapi.cc2473 bool Value::IsNumber() const { in IsNumber() function in v8::Value
2474 return Utils::OpenHandle(this)->IsNumber(); in IsNumber()
2513 if (obj->IsNumber()) { in IsInt32()
2523 if (obj->IsNumber()) { in IsUint32()
2643 if (obj->IsNumber()) { in ToNumber()
2735 Utils::ApiCheck(obj->IsNumber(), in CheckCast()
2743 Utils::ApiCheck(obj->IsNumber(), in CheckCast()
2890 if (obj->IsNumber()) { in NumberValue()
2908 if (obj->IsNumber()) { in IntegerValue()
3051 if (!other->IsNumber()) return false; in StrictEquals()
[all …]
Dobjects.cc70 if (object->IsNumber()) { in ToObject()
838 if (IsNumber()) { in GetHash()
870 if (IsNumber() && other->IsNumber()) { in SameValue()
891 if (IsNumber() && other->IsNumber()) { in SameValueZero()
5670 if (!(e->IsString() || e->IsNumber())) return false; in ContainsOnlyValidKeys()
6345 if (value->IsNumber() && property->Number() == value->Number()) { in SlowReverseLookup()
7704 DCHECK(current->IsNumber() || current->IsName()); in AddKeysFromArrayLike()
7730 DCHECK(current->IsNumber() || current->IsName()); in UnionOfKeys()
11149 if (new_length_handle->IsNumber() && in SetElementsLength()
12003 if (object->HasFastSmiElements() && !value->IsSmi() && value->IsNumber()) { in SetFastElement()
[all …]
Djson-stringifier.h682 DCHECK(key->IsNumber()); in SerializeJSObject()
/external/v8/test/cctest/
Dtest-date.cc183 CHECK(date_cache_version->Get(0)->IsNumber()); in TEST()
189 CHECK(date_cache_version->Get(0)->IsNumber()); in TEST()
Dtest-lockers.cc76 CHECK(v->IsNumber()); in Run()
87 CHECK(v->IsNumber()); in Run()
124 CHECK(v->IsNumber()); in CalcFibAndCheck()
Dtest-javascript-arm64.cc76 CHECK(result->IsNumber()); in ExpectNumber()
Dtest-heap.cc83 CHECK(number->IsNumber()); in CheckNumber()
140 CHECK(value->IsNumber()); in TEST()
145 CHECK(value->IsNumber()); in TEST()
150 CHECK(value->IsNumber()); in TEST()
155 CHECK(value->IsNumber()); in TEST()
160 CHECK(value->IsNumber()); in TEST()
168 CHECK(value->IsNumber()); in TEST()
174 CHECK(value->IsNumber()); in TEST()
180 CHECK(value->IsNumber()); in TEST()
185 CHECK(factory->nan_value()->IsNumber()); in TEST()
[all …]
Dtest-strings.cc1089 CHECK_EQ(results[i]->IsNumber(), result->IsNumber()); in TEST()
1090 if (result->IsNumber()) { in TEST()
Dtest-api.cc481 CHECK(value->IsNumber()); in THREADED_TEST()
517 CHECK(value->IsNumber()); in THREADED_TEST()
549 CHECK(value->IsNumber()); in THREADED_TEST()
575 CHECK(value->IsNumber()); in THREADED_TEST()
825 CHECK(value->IsNumber()); in TEST()
846 CHECK(value->IsNumber()); in TEST()
899 CHECK(value->IsNumber()); in THREADED_TEST()
1208 CHECK(value->IsNumber()); in THREADED_PROFILED_TEST()
4307 CHECK(data->IsNumber()); in check_message_1()
5374 CHECK(result->Get(v8::Integer::New(isolate, 1))->IsNumber()); in THREADED_TEST()
[all …]
/external/pdfium/fpdfsdk/include/javascript/
DPublicMethods.h88 static FX_BOOL IsNumber(FX_LPCSTR string);
89 static FX_BOOL IsNumber(FX_LPCWSTR string);
/external/v8/src/ic/
Dic-state.cc525 if (value->IsNumber()) return NUMBER; in NewInputState()
558 if (x->IsNumber() && y->IsNumber()) return NUMBER; in TargetState()
562 if ((x->IsNumber() && y->IsUndefined()) || in TargetState()
563 (y->IsNumber() && x->IsUndefined())) { in TargetState()
585 return x->IsNumber() && y->IsNumber() ? NUMBER : GENERIC; in TargetState()
/external/v8/src/compiler/
Djs-graph.cc118 if (value->IsNumber()) { in Constant()
/external/pdfium/core/src/fpdftext/
Dfpdf_text.cpp430 static FX_BOOL IsNumber(CFX_WideString& str) in IsNumber() function
475 if (IsNumber(pTextBox->m_Text)) { in FindColumns()
/external/pdfium/fpdfsdk/src/javascript/
DJS_Value.cpp250 if(m_pValue->IsNumber()) return VT_number; in GetType()
DPublicMethods.cpp104 FX_BOOL CJS_PublicMethods::IsNumber(FX_LPCWSTR string) in IsNumber() function in CJS_PublicMethods
1288 if (!IsNumber(swTemp.c_str())) in AFNumber_Keystroke()
/external/pdfium/fpdfsdk/src/jsapi/
Dfxjs_v8.cpp486 if(pObj->IsNumber()) in JS_GetTypeof()
1009 if(v->IsNumber()) in JS_DateParse()

12