Home
last modified time | relevance | path

Searched refs:v8String (Results 1 – 25 of 32) sorted by relevance

12

/external/webkit/Source/WebCore/bindings/v8/
DJavaScriptCallFrame.cpp55 v8::Handle<v8::Value> callerFrame = m_callFrame.get()->Get(v8String("caller")); in caller()
67 v8::Handle<v8::Value> result = m_callFrame.get()->Get(v8String("sourceID")); in sourceID()
77 v8::Handle<v8::Value> result = m_callFrame.get()->Get(v8String("line")); in line()
87 v8::Handle<v8::Value> result = m_callFrame.get()->Get(v8String("column")); in column()
97 v8::Handle<v8::Value> result = m_callFrame.get()->Get(v8String("functionName")); in functionName()
103 …v8::Handle<v8::Array> scopeChain = v8::Handle<v8::Array>::Cast(m_callFrame.get()->Get(v8String("sc… in scopeChain()
112 …v8::Handle<v8::Array> scopeType = v8::Handle<v8::Array>::Cast(m_callFrame.get()->Get(v8String("sco… in scopeType()
118 return m_callFrame.get()->Get(v8String("thisObject")); in thisObject()
123 …ction> evalFunction = v8::Handle<v8::Function>::Cast(m_callFrame.get()->Get(v8String("evaluate"))); in evaluate()
124 v8::Handle<v8::Value> argv[] = { v8String(expression) }; in evaluate()
DV8Binding.cpp109 static WebCoreStringResource* toStringResource(v8::Handle<v8::String> v8String) in toStringResource() argument
111 return static_cast<WebCoreStringResource*>(v8String->GetExternalStringResource()); in toStringResource()
266 return str.isNull() ? v8::Handle<v8::Value>(v8::Null()) : v8::Handle<v8::Value>(v8String(str)); in v8StringOrNull()
271 …return str.isNull() ? v8::Handle<v8::Value>(v8::Undefined()) : v8::Handle<v8::Value>(v8String(str)… in v8StringOrUndefined()
276 return str.isNull() ? v8::Handle<v8::Value>(v8::False()) : v8::Handle<v8::Value>(v8String(str)); in v8StringOrFalse()
295 static S fromV8String(v8::Handle<v8::String> v8String, int length);
306 static String fromV8String(v8::Handle<v8::String> v8String, int length) in fromV8String()
308 ASSERT(v8String->Length() == length); in fromV8String()
313 v8String->Write(reinterpret_cast<uint16_t*>(buffer), 0, length); in fromV8String()
326 static AtomicString fromV8String(v8::Handle<v8::String> v8String, int length) in fromV8String()
[all …]
DScriptProfiler.cpp47 v8::CpuProfiler::StartProfiling(v8String(title)); in start()
54 v8::CpuProfiler::StopProfiling(v8String(title), state->context()->GetSecurityToken()) : in stop()
55 v8::CpuProfiler::StopProfiling(v8String(title)); in stop()
98 … snapshot = v8::HeapProfiler::TakeSnapshot(v8String(title), v8::HeapSnapshot::kFull, &adapter); in takeHeapSnapshot()
100 snapshot = v8::HeapProfiler::TakeSnapshot(v8String(title), v8::HeapSnapshot::kAggregated); in takeHeapSnapshot()
DV8Binding.h59 StringType v8StringToWebCoreString(v8::Handle<v8::String> v8String, ExternalMode external);
64 inline String v8StringToWebCoreString(v8::Handle<v8::String> v8String) in v8StringToWebCoreString() argument
66 return v8StringToWebCoreString<String>(v8String, Externalize); in v8StringToWebCoreString()
72 inline AtomicString v8StringToAtomicWebCoreString(v8::Handle<v8::String> v8String) in v8StringToAtomicWebCoreString() argument
74 return v8StringToWebCoreString<AtomicString>(v8String, Externalize); in v8StringToAtomicWebCoreString()
105 inline v8::Handle<v8::String> v8String(const String& string) in v8String() function
DScriptFunctionCall.cpp64 m_arguments.append(v8String(argument)); in appendArgument()
70 m_arguments.append(v8String(argument)); in appendArgument()
120 v8::Local<v8::Value> value = thisObject->Get(v8String(m_name)); in call()
153 v8::Local<v8::Value> value = thisObject->Get(v8String(m_name)); in construct()
DV8WorkerContextErrorHandler.cpp56 …v8::Handle<v8::Value> parameters[3] = { v8String(errorEvent->message()), v8String(errorEvent->file… in callListenerFunction()
DV8WindowErrorHandler.cpp56 …v8::Handle<v8::Value> parameters[3] = { v8String(errorEvent->message()), v8String(errorEvent->file… in callListenerFunction()
DScriptDebugServer.cpp70 args->Set(v8::String::New("sourceID"), v8String(sourceID)); in setBreakpoint()
73 args->Set(v8::String::New("condition"), v8String(scriptBreakpoint.condition)); in setBreakpoint()
91 args->Set(v8::String::New("breakpointId"), v8String(breakpointId)); in removeBreakpoint()
224 v8::Handle<v8::Value> argv[] = { v8String(sourceID), v8String(newContent) }; in editScriptSource()
364 …m_debuggerScript.set(v8::Handle<v8::Object>::Cast(v8::Script::Compile(v8String(debuggerScriptSourc… in ensureDebuggerScriptCompiled()
DIDBBindingUtilities.cpp81 return object->IsObject() && getValueFrom(v8String(keyPathElement.identifier), object); in get()
94 return object->IsObject() && setValue(object, v8String(keyPathElement.identifier), v8Value); in set()
DV8Proxy.cpp729 return v8::ThrowException(v8::Exception::RangeError(v8String(message))); in throwError()
731 return v8::ThrowException(v8::Exception::ReferenceError(v8String(message))); in throwError()
733 return v8::ThrowException(v8::Exception::SyntaxError(v8String(message))); in throwError()
735 return v8::ThrowException(v8::Exception::TypeError(v8String(message))); in throwError()
737 return v8::ThrowException(v8::Exception::Error(v8String(message))); in throwError()
DOptionsObject.cpp147 v8::Handle<v8::String> v8Key = v8String(key); in getKey()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8InspectorFrontendHostCustom.cpp48 return v8String("mac"); in platformCallback()
50 return v8String("linux"); in platformCallback()
52 return v8String("freebsd"); in platformCallback()
54 return v8String("windows"); in platformCallback()
56 return v8String("unknown"); in platformCallback()
DV8SQLResultSetRowListCustom.cpp73 value = v8String(sqlValue.string()); in itemCallback()
85 …item->Set(v8String(rowList->columnNames()[i]), value, static_cast<v8::PropertyAttribute>(v8::DontD… in itemCallback()
DV8ClipboardCustom.cpp60 result->Set(v8::Integer::New(index), v8String(*it)); in typesAccessorGetter()
94 return v8String(result); in getDataCallback()
DV8DOMStringMapCustom.cpp52 return v8String(V8DOMStringMap::toNative(info.Holder())->item(toWebCoreString(name))); in namedPropertyGetter()
62 properties->Set(v8::Integer::New(i), v8String(names[i])); in namedPropertyEnumerator()
DV8IDBKeyCustom.cpp50 return v8String(key->string()); in toV8()
DV8StorageCustom.cpp52 properties->Set(v8::Integer::New(i), v8String(key)); in namedPropertyEnumerator()
64 return v8String(storage->getItem(name)); in storageGetter()
DV8JavaScriptCallFrameCustom.cpp74 return v8String("function"); in typeAccessorGetter()
DV8CustomXPathNSResolver.cpp80 v8::Handle<v8::Value> argv[argc] = { v8String(prefix) }; in lookupNamespaceURI()
DV8CanvasRenderingContext2DCustom.cpp60 return v8String(style->color()); in toV8Object()
DV8DOMWindowCustom.cpp95 v8::Handle<v8::Value> v8String = function->ToString(); in WindowSetTimeoutImpl() local
98 if (v8String.IsEmpty()) in WindowSetTimeoutImpl()
101 functionString = toWebCoreString(v8String); in WindowSetTimeoutImpl()
DV8XSLTProcessorCustom.cpp137 return v8String(result); in getParameterCallback()
DV8CSSStyleDeclarationCustom.cpp190 return v8String(result); in namedPropertyGetter()
/external/webkit/Source/WebCore/bindings/scripts/test/V8/
DV8TestObj.cpp66 return v8String(imp->readOnlyStringAttr()); in readOnlyStringAttrAttrGetter()
167 return v8String(imp->stringAttr()); in stringAttrAttrGetter()
231 return v8String(imp->getAttribute(WebCore::HTMLNames::reflectedstringattrAttr)); in reflectedStringAttrAttrGetter()
295 return v8String(imp->getURLAttribute(WebCore::HTMLNames::reflectedurlattrAttr)); in reflectedURLAttrAttrGetter()
311 return v8String(imp->getNonEmptyURLAttribute(WebCore::HTMLNames::reflectednonemptyurlattrAttr)); in reflectedNonEmptyURLAttrAttrGetter()
327 return v8String(imp->getAttribute(WebCore::HTMLNames::customContentStringAttrAttr)); in reflectedStringAttrAttrGetter()
375 return v8String(imp->getURLAttribute(WebCore::HTMLNames::customContentURLAttrAttr)); in reflectedCustomURLAttrAttrGetter()
391 …return v8String(imp->getNonEmptyURLAttribute(WebCore::HTMLNames::customContentNonEmptyURLAttrAttr)… in reflectedCustomNonEmptyURLAttrAttrGetter()
457 return v8String(v); in stringAttrWithGetterExceptionAttrGetter()
476 return v8String(imp->stringAttrWithSetterException()); in stringAttrWithSetterExceptionAttrGetter()
[all …]
DV8TestCallback.cpp120 v8::Handle<v8::Value> strArgHandle = v8String(strArg); in callbackWithClass2Param()

12