Home
last modified time | relevance | path

Searched refs:sourceCode (Results 1 – 25 of 34) sorted by relevance

12

/external/webkit/WebCore/bindings/v8/
DWorkerScriptController.cpp63 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode) in evaluate() argument
65 return evaluate(sourceCode, 0); in evaluate()
68 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, ScriptValue* excep… in evaluate() argument
77 …ScriptValue result = m_proxy->evaluate(sourceCode.source(), sourceCode.url().string(), sourceCode.… in evaluate()
DScriptController.cpp219 ScriptValue ScriptController::evaluate(const ScriptSourceCode& sourceCode) in evaluate() argument
221 String sourceURL = sourceCode.url(); in evaluate()
223 if (!m_XSSAuditor->canEvaluate(sourceCode.source())) { in evaluate()
237 v8::Local<v8::Value> object = m_proxy->evaluate(sourceCode, 0); in evaluate()
/external/webkit/WebCore/workers/
DWorkerThread.cpp61 …ThreadStartupData> create(const KURL& scriptURL, const String& userAgent, const String& sourceCode) in create()
63 …::auto_ptr<WorkerThreadStartupData>(new WorkerThreadStartupData(scriptURL, userAgent, sourceCode)); in create()
70 … WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode);
73 …::WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode) in WorkerThreadStartupData() argument
76 , m_sourceCode(sourceCode.crossThreadString()) in WorkerThreadStartupData()
80 WorkerThread::WorkerThread(const KURL& scriptURL, const String& userAgent, const String& sourceCode in WorkerThread() argument
84 , m_startupData(WorkerThreadStartupData::create(scriptURL, userAgent, sourceCode)) in WorkerThread()
DSharedWorkerThread.cpp41 …g& name, const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerLoaderPro… in create() argument
43 …return adoptRef(new SharedWorkerThread(name, scriptURL, userAgent, sourceCode, workerLoaderProxy, … in create()
46 … String& name, const KURL& url, const String& userAgent, const String& sourceCode, WorkerLoaderPro… in SharedWorkerThread() argument
47 : WorkerThread(url, userAgent, sourceCode, workerLoaderProxy, workerReportingProxy) in SharedWorkerThread()
DDedicatedWorkerThread.cpp42 …::create(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerLoaderPro… in create() argument
44 …return adoptRef(new DedicatedWorkerThread(scriptURL, userAgent, sourceCode, workerLoaderProxy, wor… in create()
47 …edWorkerThread(const KURL& url, const String& userAgent, const String& sourceCode, WorkerLoaderPro… in DedicatedWorkerThread() argument
48 : WorkerThread(url, userAgent, sourceCode, workerLoaderProxy, workerObjectProxy) in DedicatedWorkerThread()
DSharedWorkerThread.h41 …onst String& name, const KURL&, const String& userAgent, const String& sourceCode, WorkerLoaderPro…
48 …onst String& name, const KURL&, const String& userAgent, const String& sourceCode, WorkerLoaderPro…
DDedicatedWorkerThread.h43 …> create(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerLoaderPro…
52 …DedicatedWorkerThread(const KURL&, const String& userAgent, const String& sourceCode, WorkerLoader…
DWorkerContextProxy.h52 …d startWorkerContext(const KURL& scriptURL, const String& userAgent, const String& sourceCode) = 0;
DWorkerThread.h68 …WorkerThread(const KURL&, const String& userAgent, const String& sourceCode, WorkerLoaderProxy&, W…
DWorkerMessagingProxy.cpp236 …Proxy::startWorkerContext(const KURL& scriptURL, const String& userAgent, const String& sourceCode) in startWorkerContext() argument
238 …rkerThread> thread = DedicatedWorkerThread::create(scriptURL, userAgent, sourceCode, *this, *this); in startWorkerContext()
DWorkerMessagingProxy.h55 … void startWorkerContext(const KURL& scriptURL, const String& userAgent, const String& sourceCode);
/external/webkit/WebCore/bindings/js/
DScriptController.cpp94 ScriptValue ScriptController::evaluateInWorld(const ScriptSourceCode& sourceCode, DOMWrapperWorld* … in evaluateInWorld() argument
96 const SourceCode& jsSourceCode = sourceCode.jsSourceCode(); in evaluateInWorld()
99 if (!m_XSSAuditor->canEvaluate(sourceCode.source())) { in evaluateInWorld()
122 timelineAgent->willEvaluateScript(sourceURL, sourceCode.startLine()); in evaluateInWorld()
150 ScriptValue ScriptController::evaluate(const ScriptSourceCode& sourceCode) in evaluate() argument
152 return evaluateInWorld(sourceCode, mainThreadNormalWorld()); in evaluate()
445 ScriptSourceCode sourceCode(script, forceUserGesture ? KURL() : m_frame->loader()->url()); in executeScriptInWorld() local
453 ScriptValue result = evaluateInWorld(sourceCode, world); in executeScriptInWorld()
DWorkerScriptController.cpp94 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode) in evaluate() argument
102 ScriptValue result = evaluate(sourceCode, &exception); in evaluate()
110 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, ScriptValue* excep… in evaluate() argument
123 …= JSC::evaluate(exec, exec->dynamicGlobalObject()->globalScopeChain(), sourceCode.jsSourceCode(), … in evaluate()
DJSInjectedScriptHostCustom.cpp80 SourceCode sourceCode = makeSource(source); in createInjectedScript() local
84 …Completion comp = JSC::evaluate(scriptState, globalObject->globalScopeChain(), sourceCode, globalT… in createInjectedScript()
/external/webkit/WebKit/chromium/src/
DWebWorkerClientImpl.cpp136 const String& sourceCode) in startWorkerContext() argument
147 sourceCode)); in startWorkerContext()
150 m_webWorker->startWorkerContext(scriptURL, userAgent, sourceCode); in startWorkerContext()
313 const String& sourceCode) in startWorkerContextTask() argument
316 userAgent, sourceCode); in startWorkerContextTask()
DWebSharedWorkerImpl.cpp95 …(const WebURL& url, const WebString& name, const WebString& userAgent, const WebString& sourceCode) in startWorkerContext() argument
98 setWorkerThread(SharedWorkerThread::create(name, url, userAgent, sourceCode, *this, *this)); in startWorkerContext()
DWebWorkerImpl.cpp101 const WebString& sourceCode) in startWorkerContext() argument
105 sourceCode, *this, *this)); in startWorkerContext()
DWebSharedWorkerImpl.h54 …ext(const WebURL&, const WebString& name, const WebString& userAgent, const WebString& sourceCode);
/external/webkit/JavaScriptCore/parser/
DNodes.cpp161 …ldren, VarStack* varStack, FunctionStack* funcStack, const SourceCode& sourceCode, CodeFeatures fe… in FunctionBodyNode() argument
162 : ScopeNode(globalData, sourceCode, children, varStack, funcStack, features, numConstants) in FunctionBodyNode()
184 …ldren, VarStack* varStack, FunctionStack* funcStack, const SourceCode& sourceCode, CodeFeatures fe… in create() argument
186 …node = new FunctionBodyNode(globalData, children, varStack, funcStack, sourceCode, features, numCo… in create()
DLexer.h53 SourceCode sourceCode(int openBrace, int closeBrace, int firstLine);
/external/webkit/WebCore/bindings/
DScriptControllerBase.cpp49 ScriptValue ScriptController::executeScript(const ScriptSourceCode& sourceCode) in executeScript() argument
57 ScriptValue result = evaluate(sourceCode); in executeScript()
/external/webkit/WebCore/dom/
DScriptElement.cpp174 void ScriptElementData::evaluateScript(const ScriptSourceCode& sourceCode) in evaluateScript() argument
176 if (m_evaluated || sourceCode.isEmpty() || !shouldExecuteAsJavaScript()) in evaluateScript()
185 frame->script()->evaluate(sourceCode); in evaluateScript()
DXMLTokenizer.cpp312 ScriptSourceCode sourceCode(m_pendingScript.get()); in notifyFinished() local
327 m_view->frame()->script()->executeScript(sourceCode); in notifyFinished()
/external/webkit/WebKit/chromium/public/
DWebWorker.h51 const WebString& sourceCode) = 0;
DWebSharedWorker.h63 const WebString& sourceCode) = 0;

12