Home
last modified time | relevance | path

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

12

/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DCompilingClassLoader.java109 public CompilingClassLoader(ClassLoader parent, String className, CharSequence sourceCode, in CompilingClassLoader() argument
112 if (!compileSourceCodeToByteCode(className, sourceCode, diagnosticListener)) { in CompilingClassLoader()
133 private boolean compileSourceCodeToByteCode(String className, CharSequence sourceCode, in compileSourceCodeToByteCode() argument
140 JavaFileObject javaFile = new InMemoryJavaFile(className, sourceCode); in compileSourceCodeToByteCode()
193 private final CharSequence sourceCode;
195 public InMemoryJavaFile(String className, CharSequence sourceCode) {
197 this.sourceCode = sourceCode;
210 return sourceCode;
/external/webkit/Source/WebCore/bindings/v8/
DWorkerScriptController.cpp64 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode) in evaluate() argument
66 return evaluate(sourceCode, 0); in evaluate()
69 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, ScriptValue* excep… in evaluate() argument
75 …Value result = m_proxy->evaluate(sourceCode.source(), sourceCode.url().string(), WTF::toZeroBasedT… in evaluate()
/external/webkit/Source/WebCore/workers/
DWorkerThread.cpp67 …ThreadStartupData> create(const KURL& scriptURL, const String& userAgent, const String& sourceCode) in create()
69 return new WorkerThreadStartupData(scriptURL, userAgent, sourceCode); in create()
76 … WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode);
79 …::WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode) in WorkerThreadStartupData() argument
82 , m_sourceCode(sourceCode.crossThreadString()) in WorkerThreadStartupData()
86 WorkerThread::WorkerThread(const KURL& scriptURL, const String& userAgent, const String& sourceCode in WorkerThread() argument
90 , 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;
/external/webkit/Source/JavaScriptCore/qt/api/
Dqscriptprogram_p.h40 inline QScriptProgramPrivate(const QString& sourceCode,
48 inline QString sourceCode() const;
75 QScriptProgramPrivate::QScriptProgramPrivate(const QString& sourceCode, in QScriptProgramPrivate() argument
78 : m_program(QScriptConverter::toString(sourceCode)) in QScriptProgramPrivate()
96 QString QScriptProgramPrivate::sourceCode() const in sourceCode() function
Dqscriptprogram.cpp57 QScriptProgram::QScriptProgram(const QString& sourceCode, in QScriptProgram() argument
60 : d_ptr(new QScriptProgramPrivate(sourceCode, fileName, firstLineNumber)) in QScriptProgram()
98 QString QScriptProgram::sourceCode() const in sourceCode() function in QScriptProgram
100 return d_ptr->sourceCode(); in sourceCode()
Dqscriptprogram.h31 QScriptProgram(const QString& sourceCode,
41 QString sourceCode() const;
/external/webkit/Source/WebCore/bindings/js/
DWorkerScriptController.cpp102 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode) in evaluate() argument
108 ScriptValue result(evaluate(sourceCode, &exception)); in evaluate()
116 ScriptValue WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, ScriptValue* excep… in evaluate() argument
126 …= JSC::evaluate(exec, exec->dynamicGlobalObject()->globalScopeChain(), sourceCode.jsSourceCode(), … in evaluate()
143 String sourceURL = sourceCode.url().string(); in evaluate()
DScriptController.cpp118 ScriptValue ScriptController::evaluateInWorld(const ScriptSourceCode& sourceCode, DOMWrapperWorld* … in evaluateInWorld() argument
120 const SourceCode& jsSourceCode = sourceCode.jsSourceCode(); in evaluateInWorld()
139 … cookie = InspectorInstrumentation::willEvaluateScript(m_frame, sourceURL, sourceCode.startLine()); in evaluateInWorld()
163 ScriptValue ScriptController::evaluate(const ScriptSourceCode& sourceCode) in evaluate() argument
165 return evaluateInWorld(sourceCode, mainThreadNormalWorld()); in evaluate()
496 ScriptSourceCode sourceCode(script, forceUserGesture ? KURL() : m_frame->document()->url()); in executeScriptInWorld() local
504 ScriptValue result = evaluateInWorld(sourceCode, world); in executeScriptInWorld()
DJSInjectedScriptManager.cpp53 SourceCode sourceCode = makeSource(stringToUString(source)); in createInjectedScript() local
57 …readExecState::evaluate(scriptState, globalObject->globalScopeChain(), sourceCode, globalThisValue… in createInjectedScript()
/external/webkit/Source/WebKit/chromium/src/
DWebWorkerClientImpl.cpp136 const String& sourceCode) in startWorkerContext() argument
147 sourceCode)); in startWorkerContext()
150 m_webWorker->startWorkerContext(scriptURL, userAgent, sourceCode); in startWorkerContext()
320 const String& sourceCode) in startWorkerContextTask() argument
323 userAgent, sourceCode); in startWorkerContextTask()
DWebSharedWorkerImpl.cpp95 …RL& url, const WebString& name, const WebString& userAgent, const WebString& sourceCode, long long) 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 …ebURL&, const WebString& name, const WebString& userAgent, const WebString& sourceCode, long long);
/external/webkit/Source/WebCore/html/parser/
DHTMLScriptRunner.cpp129 ScriptSourceCode sourceCode = sourceFromPendingScript(pendingScript, errorOccurred); in executePendingScriptAndDispatchEvent() local
144 scriptElement->executeScript(sourceCode); in executePendingScriptAndDispatchEvent()
306 …ScriptSourceCode sourceCode(script->textContent(), documentURLForScriptExecution(m_document), scri… in runScript() local
307 scriptElement->executeScript(sourceCode); in runScript()
/external/webkit/Source/JavaScriptCore/parser/
DNodes.cpp162 …nStack* funcStack, IdentifierSet& capturedVariables, const SourceCode& sourceCode, CodeFeatures fe… in FunctionBodyNode() argument
163 …: ScopeNode(globalData, sourceCode, children, varStack, funcStack, capturedVariables, features, nu… in FunctionBodyNode()
185 …nStack* funcStack, IdentifierSet& capturedVariables, const SourceCode& sourceCode, CodeFeatures fe… in create() argument
187 …BodyNode(globalData, children, varStack, funcStack, capturedVariables, sourceCode, features, numCo… in create()
/external/webkit/Source/WebCore/bindings/
DScriptControllerBase.cpp53 ScriptValue ScriptController::executeScript(const ScriptSourceCode& sourceCode) in executeScript() argument
61 ScriptValue result = evaluate(sourceCode); in executeScript()
/external/webkit/Source/WebCore/dom/
DScriptElement.cpp261 void ScriptElement::executeScript(const ScriptSourceCode& sourceCode) in executeScript() argument
265 if (sourceCode.isEmpty()) in executeScript()
279 frame->script()->evaluate(sourceCode); in executeScript()
/external/webkit/Source/WebKit/chromium/public/
DWebView.h332 WEBKIT_API static void addUserScript(const WebString& sourceCode,
336 WEBKIT_API static void addUserStyleSheet(const WebString& sourceCode,
DWebWorker.h51 const WebString& sourceCode) = 0;
DWebSharedWorker.h63 const WebString& sourceCode,

12