Home
last modified time | relevance | path

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

123

/external/v8/src/
Dstring-stream.cc189 if (o->IsString()) { in PrintObject()
330 if (name->IsString()) { in PrintName()
355 if (key->IsString() || key->IsNumber()) { in PrintUsingMap()
357 if (key->IsString()) { in PrintUsingMap()
362 if (key->IsString()) { in PrintUsingMap()
538 if (!name->IsString() || in PrintPrototype()
539 !key->IsString() || in PrintPrototype()
543 if (name->IsString() && String::cast(name)->length() == 0) { in PrintPrototype()
Dobjects-debug.cc426 CHECK(type()->IsString()); in JSMessageObjectVerify()
438 CHECK(IsString()); in StringVerify()
452 CHECK(this->first()->IsString()); in ConsStringVerify()
454 this->second()->IsString()); in ConsStringVerify()
604 ASSERT(arr->get(JSRegExp::kAtomPatternIndex)->IsString()); in JSRegExpVerify()
622 ASSERT(ascii_saved->IsSmi() || ascii_saved->IsString() || in JSRegExpVerify()
625 ASSERT(uc16_saved->IsSmi() || uc16_saved->IsString() || in JSRegExpVerify()
Dmessages.cc50 if (data->IsString()) in DefaultMessageReport()
161 if (caught_exception || !result->IsString()) { in GetMessage()
Dast.cc63 return AsLiteral() != NULL && AsLiteral()->handle()->IsString(); in IsStringLiteral()
219 ASSERT((*reinterpret_cast<String**>(first))->IsString()); in IsEqualString()
220 ASSERT((*reinterpret_cast<String**>(second))->IsString()); in IsEqualString()
417 ASSERT(lit_key != NULL && lit_key->handle()->IsString()); in RecordTypeFeedback()
439 ASSERT(lit_key != NULL && lit_key->handle()->IsString()); in RecordTypeFeedback()
557 ASSERT(key != NULL && key->handle()->IsString()); in RecordTypeFeedback()
1147 if (handle_->IsString()) return Handle<String>::cast(handle_); in ToString()
Dic.cc230 if (state != MONOMORPHIC || !name->IsString()) return state; in StateFrom()
488 if (object->IsString() || object->IsNumber() || object->IsBoolean()) { in ReceiverToObjectIfRequired()
603 if (object->IsString()) { in TryUpdateExtraICState()
816 if ((object->IsString() || object->IsStringWrapper()) && in Load()
822 stub = object->IsString() in Load()
1082 if (object->IsString() && in Load()
1166 if (object->IsString() && key->IsNumber()) { in Load()
1315 if (strict_mode == kStrictMode && object->IsString() && in Store()
2262 if (left_type.IsString()) { in GetTypeInfo()
2263 return right_type.IsString() ? BOTH_STRING : STRING; in GetTypeInfo()
[all …]
Dic-inl.h105 ASSERT(object->IsString() || object->IsNumber() || object->IsBoolean()); in GetCodeCacheForObject()
Dcompilation-cache.cc158 if (!name->IsString() || !script->name()->IsString()) return false; in HasOrigin()
Dobjects-inl.h186 bool Object::IsString() { in TYPE_CHECKER()
218 if (!IsString()) return false; in IsConsString()
224 if (!IsString()) return false; in IsSlicedString()
230 if (!IsString()) return false; in IsSeqString()
236 if (!IsString()) return false; in IsSeqAsciiString()
243 if (!IsString()) return false; in IsSeqTwoByteString()
250 if (!IsString()) return false; in IsExternalString()
256 if (!IsString()) return false; in IsExternalAsciiString()
263 if (!IsString()) return false; in IsExternalTwoByteString()
622 return IsJSValue() && JSValue::cast(this)->value()->IsString(); in TYPE_CHECKER()
[all …]
Dlog.cc622 if (key->IsString()) { in ApiNamedSecurityCheck()
666 if (!source->IsString()) { in LogRegExpSource()
765 ASSERT(name->IsString()); in ApiNamedPropertyAccess()
1542 if (script->name()->IsString()) { in LogExistingFunction()
1610 if (!ai->name()->IsString()) continue; in LogAccessorCallbacks()
Dhandles.cc399 if (!script->source()->IsString()) { in InitScriptLineEnds()
523 if (!script->source()->IsString()) { in GetScriptLineNumberSafe()
594 if (!(e->IsString() || e->IsNumber())) return false; in ContainsOnlyValidKeys()
Dtype-info.h163 inline bool IsString() { in IsString() function
/external/webkit/Source/WebCore/bindings/v8/
DScriptValue.cpp58 if (!m_value->IsString()) in getString()
88 if (value->IsString()) in v8ToInspectorValue()
113 … if (name->IsString() && !object->HasRealNamedProperty(v8::Handle<v8::String>::Cast(name))) in v8ToInspectorValue()
DV8Binding.cpp131 if (value->IsString()) in v8ValueToWebCoreString()
138 if (value->IsString()) in v8ValueToAtomicWebCoreString()
405 ASSERT(!object->IsString()); in v8NonStringValueToWebCoreString()
428 ASSERT(!object->IsString()); in v8NonStringValueToAtomicWebCoreString()
DV8NPUtils.cpp64 else if (object->IsString()) { in convertV8ObjectToNPVariant()
DIDBBindingUtilities.cpp47 if (value->IsString()) in createIDBKeyFromValue()
DV8Binding.h222 if (LIKELY(m_v8Object->IsString())) in prepareBase()
/external/v8/src/extensions/
Dexternalize-string-extension.cc77 if (args.Length() < 1 || !args[0]->IsString()) { in Externalize()
126 if (args.Length() != 1 || !args[0]->IsString()) { in IsAscii()
/external/chromium/net/proxy/
Dproxy_resolver_v8.cc201 if (args.Length() == 0 || args[0].IsEmpty() || !args[0]->IsString()) in GetHostnameArgument()
378 if (!ret->IsString()) { in ResolveProxy()
644 if (args.Length() == 0 || args[0].IsEmpty() || !args[0]->IsString()) in SortIpAddressListCallback()
660 if (args.Length() < 2 || args[0].IsEmpty() || !args[0]->IsString() || in IsInNetExCallback()
661 args[1].IsEmpty() || !args[1]->IsString()) in IsInNetExCallback()
/external/v8/test/cctest/
Dtest-strings.cc549 CHECK(result->IsString()); in TEST()
556 CHECK(result->IsString()); in TEST()
577 CHECK(result->IsString()); in TEST()
584 CHECK(result->IsString()); in TEST()
Dtest-func-name-inference.cc76 CHECK(i_script->source()->IsString()); in CheckFunctionName()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8NavigatorCustom.cpp96 if (!args[0]->IsString()) in isApplicationInstalledCallback()
DV8CanvasRenderingContext2DCustom.cpp65 if (value->IsString()) in toCanvasStyle()
DV8InspectorFrontendHostCustom.cpp88 if (!type->IsString()) in showContextMenuCallback()
DV8WorkerContextCustom.cpp67 if (function->IsString()) { in SetTimeoutOrInterval()
DV8DOMWindowCustom.cpp92 if (function->IsString()) in WindowSetTimeoutImpl()
550 if (key->IsString()) { in namedSecurityCheck()

123