Home
last modified time | relevance | path

Searched refs:IsString (Results 1 – 25 of 88) sorted by relevance

1234

/external/v8/src/
Dstring-stream.cc166 if (o->IsString()) { in PrintObject()
314 if (name->IsString()) { in PrintName()
341 if (key->IsString() || key->IsNumber()) { in PrintUsingMap()
343 if (key->IsString()) { in PrintUsingMap()
348 if (key->IsString()) { in PrintUsingMap()
518 if (!name->IsString() || in PrintPrototype()
519 !key->IsString() || in PrintPrototype()
523 if (name->IsString() && String::cast(name)->length() == 0) { in PrintPrototype()
Dobjects-debug.cc204 CHECK(name()->IsUndefined() || name()->IsString()); in SymbolVerify()
474 CHECK(type()->IsString()); in JSMessageObjectVerify()
485 CHECK(IsString()); in StringVerify()
499 CHECK(this->first()->IsString()); in ConsStringVerify()
501 this->second()->IsString()); in ConsStringVerify()
748 CHECK(arr->get(JSRegExp::kAtomPatternIndex)->IsString()); in JSRegExpVerify()
768 CHECK(one_byte_saved->IsSmi() || one_byte_saved->IsString() || in JSRegExpVerify()
771 CHECK(uc16_saved->IsSmi() || uc16_saved->IsString() || in JSRegExpVerify()
Dmessages.cc28 if (data->IsString()) in DefaultMessageReport()
143 if (!maybe_result.ToHandle(&result) || !result->IsString()) { in GetMessage()
Dlog.cc74 if (name->IsString()) { in AppendName()
199 if (source->IsString()) { in CodeCreateEvent()
874 if (key->IsString()) { in ApiNamedSecurityCheck()
983 if (!source->IsString()) { in TIMER_EVENTS_LIST()
1046 if (name->IsString()) { in ApiNamedPropertyAccess()
1126 if (name->IsString()) { in CallbackEventInternal()
1203 if (name->IsString()) { in CodeCreateEvent()
1229 if (name->IsString()) { in CodeCreateEvent()
1263 if (source->IsString()) { in CodeCreateEvent()
1458 if (name->IsString()) { in SuspectReadEvent()
[all …]
Dhydrogen-types.cc49 if (value->IsString()) return HType::String(); in FromValue()
Dcompilation-cache.cc130 if (!name->IsString() || !script->name()->IsString()) return false; in HasOrigin()
Djson-stringifier.h442 if (object->IsString()) { in Serialize_()
649 if (!name->IsString()) continue; in SerializeJSObject()
678 if (key->IsString()) { in SerializeJSObject()
Dast-value-factory.h141 bool IsString() const { in IsString() function
Dast.cc42 return IsLiteral() && AsLiteral()->value()->IsString(); in IsStringLiteral()
299 if (key->IsString() in BuildConstantProperties()
1133 if (value_->IsString()) return value_->AsString()->string(); in ToString()
Dobjects-inl.h175 bool Object::IsString() const { in TYPE_CHECKER()
182 return IsString() || IsSymbol(); in IsName()
219 if (!IsString()) return false; in IsConsString()
225 if (!IsString()) return false; in IsSlicedString()
231 if (!IsString()) return false; in IsSeqString()
237 if (!IsString()) return false; in IsSeqOneByteString()
244 if (!IsString()) return false; in IsSeqTwoByteString()
251 if (!IsString()) return false; in IsExternalString()
257 if (!IsString()) return false; in IsExternalOneByteString()
264 if (!IsString()) return false; in IsExternalTwoByteString()
[all …]
Druntime.cc602 RUNTIME_ASSERT(name->IsString() || name->IsUndefined()); in RUNTIME_FUNCTION()
604 if (name->IsString()) symbol->set_name(*name); in RUNTIME_FUNCTION()
613 RUNTIME_ASSERT(name->IsString() || name->IsUndefined()); in RUNTIME_FUNCTION()
615 if (name->IsString()) symbol->set_name(*name); in RUNTIME_FUNCTION()
624 RUNTIME_ASSERT(name->IsString() || name->IsUndefined()); in RUNTIME_FUNCTION()
626 if (name->IsString()) symbol->set_name(*name); in RUNTIME_FUNCTION()
3391 DCHECK(element->IsSmi() || element->IsString()); in AddElement()
4800 if (object->IsString()) { in GetElementOrCharAt()
4814 if (object->IsString() || object->IsNumber() || object->IsBoolean()) { in GetElementOrCharAt()
4992 } else if (receiver_obj->IsString() && key_obj->IsSmi()) { in RUNTIME_FUNCTION()
[all …]
Dtyping.cc442 DCHECK(lit_key != NULL && lit_key->value()->IsString()); in VisitAssignment()
490 DCHECK(lit_key != NULL && lit_key->value()->IsString()); in VisitProperty()
Disolate.cc1116 if (exception->IsString() && location->script()->name()->IsString()) { in DoThrow()
1122 } else if (location->script()->name()->IsString()) { in DoThrow()
1133 if (location->script()->source()->IsString()) { in DoThrow()
/external/v8/src/extensions/
Dexternalize-string-extension.cc56 if (args.Length() < 1 || !args[0]->IsString()) { in Externalize()
114 if (args.Length() != 1 || !args[0]->IsString()) { in IsOneByte()
/external/chromium-libpac/src/
Dproxy_resolver_v8.cc211 if (args.Length() == 0 || args[0].IsEmpty() || !args[0]->IsString()) in GetHostnameArgument()
393 if (!ret->IsString()) { in ResolveProxy()
665 if (args.Length() == 0 || args[0].IsEmpty() || !args[0]->IsString()) { in SortIpAddressListCallback()
683 if (args.Length() < 2 || args[0].IsEmpty() || !args[0]->IsString() || in IsInNetExCallback()
684 args[1].IsEmpty() || !args[1]->IsString()) { in IsInNetExCallback()
/external/v8/src/ic/
Dic-state.cc401 } else if (object->IsString() && op() == Token::ADD) { in UpdateKind()
516 if (value->IsString()) return STRING; in NewInputState()
529 if (value->IsString()) return STRING; in NewInputState()
533 if (value->IsString()) return STRING; in NewInputState()
572 if (x->IsString() && y->IsString()) return STRING; in TargetState()
588 if (x->IsString() && y->IsString()) return STRING; in TargetState()
Daccess-compiler.cc33 return (FLAG_print_code_stubs && !name.is_null() && name->IsString()) in GetCodeWithFlags()
Dhandler-compiler.cc167 DCHECK(name->IsString()); in NonexistentFrontendHeader()
/external/v8/src/third_party/vtune/
Dvtune-jit.cc199 if ((*script->GetScriptName())->IsString()) { in event_handler()
/external/v8/test/cctest/
Dtest-strings.cc1169 CHECK(result->IsString()); in TEST()
1176 CHECK(result->IsString()); in TEST()
1197 CHECK(result->IsString()); in TEST()
1204 CHECK(result->IsString()); in TEST()
1303 CHECK(result->IsString()); in TEST()
Dtest-parsing.cc374 CHECK(result->IsString()); in TEST()
382 CHECK(result->IsString()); in TEST()
390 CHECK(result->IsString()); in TEST()
1204 CHECK(result->IsString()); in FormatMessage()
2819 CHECK(result->IsString()); in TEST()
2844 CHECK(result->IsString()); in TEST()
Dtest-func-name-inference.cc68 CHECK(i_script->source()->IsString()); in CheckFunctionName()
Dtest-serialize.cc501 CHECK(root->IsString()); in UNINITIALIZED_DEPENDENT_TEST()
513 CHECK(root2->IsString()); in UNINITIALIZED_DEPENDENT_TEST()
/external/v8/src/compiler/
Dcode-generator.cc153 if (info->script()->name()->IsString()) { in AssembleSourcePosition()
/external/pdfium/fpdfsdk/src/javascript/
DJS_Value.cpp249 if(m_pValue->IsString()) return VT_string; in GetType()

1234