HomeSort by relevance Sort by last modified time
    Searched refs:sourceCode (Results 1 - 25 of 37) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/workers/
WorkerThreadStartupData.cpp 37 WorkerThreadStartupData::WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType, PassOwnPtr<WorkerClients> workerClients)
40 , m_sourceCode(sourceCode.isolatedCopy())
WorkerThreadStartupData.h 48 static PassOwnPtr<WorkerThreadStartupData> create(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType, PassOwnPtr<WorkerClients> workerClients)
50 return adoptPtr(new WorkerThreadStartupData(scriptURL, userAgent, sourceCode, startMode, contentSecurityPolicy, contentSecurityPolicyType, workerClients));
64 WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType, PassOwnPtr<WorkerClients>);
WorkerGlobalScopeProxy.h 49 virtual void startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode) = 0;
WorkerMessagingProxy.h 55 virtual void startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode) OVERRIDE;
WorkerThread.cpp 106 String sourceCode = m_startupData->m_sourceCode;
126 script->evaluate(ScriptSourceCode(sourceCode, scriptURL));
WorkerMessagingProxy.cpp 108 void WorkerMessagingProxy::startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode)
114 OwnPtr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create(scriptURL, userAgent, sourceCode, startMode, document->contentSecurityPolicy()->deprecatedHeader(), document->contentSecurityPolicy()->deprecatedHeaderType(), m_workerClients.release());
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
ScriptPreprocessor.cpp 72 String ScriptPreprocessor::preprocessSourceCode(const String& sourceCode, const String& sourceName)
75 return sourceCode;
77 return preprocessSourceCode(sourceCode, sourceName, v8::Undefined(m_isolate));
80 String ScriptPreprocessor::preprocessSourceCode(const String& sourceCode, const String& sourceName, const String& functionName)
83 return sourceCode;
86 return preprocessSourceCode(sourceCode, sourceName, functionNameString);
89 String ScriptPreprocessor::preprocessSourceCode(const String& sourceCode, const String& sourceName, v8::Handle<v8::Value> functionName)
92 return sourceCode;
97 v8::Handle<v8::String> sourceCodeString = v8String(m_isolate, sourceCode);
109 return sourceCode;
    [all...]
ScriptPreprocessor.h 49 String preprocessSourceCode(const String& sourceCode, const String& sourceName);
50 String preprocessSourceCode(const String& sourceCode, const String& sourceName, const String& functionName);
55 String preprocessSourceCode(const String& sourceCode, const String& sourceName, v8::Handle<v8::Value> functionName);
WorkerScriptController.cpp 191 void WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, RefPtr<ErrorEvent>* errorEvent)
197 evaluate(sourceCode.source(), sourceCode.url().string(), sourceCode.startPosition(), &state);
PageScriptDebugServer.cpp 263 PassOwnPtr<ScriptSourceCode> PageScriptDebugServer::preprocess(Frame* frame, const ScriptSourceCode& sourceCode)
268 String preprocessedSource = m_scriptPreprocessor->preprocessSourceCode(sourceCode.source(), sourceCode.url());
269 return adoptPtr(new ScriptSourceCode(preprocessedSource, sourceCode.url()));
ScriptController.cpp 626 void ScriptController::executeScriptInMainWorld(const ScriptSourceCode& sourceCode, AccessControlStatus corsStatus)
628 evaluateScriptInMainWorld(sourceCode, corsStatus, DoNotExecuteScriptWhenScriptsDisabled);
631 ScriptValue ScriptController::executeScriptInMainWorldAndReturnValue(const ScriptSourceCode& sourceCode)
633 return evaluateScriptInMainWorld(sourceCode, NotSharableCrossOrigin, DoNotExecuteScriptWhenScriptsDisabled);
636 ScriptValue ScriptController::evaluateScriptInMainWorld(const ScriptSourceCode& sourceCode, AccessControlStatus corsStatus, ExecuteScriptPolicy policy)
641 String sourceURL = sourceCode.url();
654 OwnPtr<ScriptSourceCode> maybeProcessedSourceCode = InspectorInstrumentation::preprocess(m_frame, sourceCode);
655 const ScriptSourceCode& sourceCodeToCompile = maybeProcessedSourceCode ? *maybeProcessedSourceCode : sourceCode;
  /cts/tools/dex-tools/test/dex/reader/util/
JavaSource.java 33 public JavaSource(String sourceName, String sourceCode) {
37 this.src = sourceCode;
  /external/chromium_org/third_party/WebKit/public/web/
WebSharedWorkerConnector.h 56 const WebString& sourceCode,
WebDocument.h 134 BLINK_EXPORT void insertUserStyleSheet(const WebString& sourceCode, UserStyleLevel);
135 BLINK_EXPORT void insertStyleSheet(const WebString& sourceCode);
WebView.h 471 // Treats |sourceCode| as a CSS author style sheet and injects it into all Documents whose URLs match |patterns|,
473 BLINK_EXPORT static void injectStyleSheet(const WebString& sourceCode, const WebVector<WebString>& patterns, StyleInjectionTarget);
  /external/jsilver/src/com/google/clearsilver/jsilver/compiler/
CompilingClassLoader.java 106 * @param sourceCode Java source for class. e.g. "package com.foo; class MyClass { ... }".
109 public CompilingClassLoader(ClassLoader parent, String className, CharSequence sourceCode,
112 if (!compileSourceCodeToByteCode(className, sourceCode, diagnosticListener)) {
133 private boolean compileSourceCodeToByteCode(String className, CharSequence sourceCode,
140 JavaFileObject javaFile = new InMemoryJavaFile(className, sourceCode);
193 private final CharSequence sourceCode;
195 public InMemoryJavaFile(String className, CharSequence sourceCode) {
197 this.sourceCode = sourceCode;
210 return sourceCode;
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorInstrumentationCustomInl.h 71 inline PassOwnPtr<ScriptSourceCode> preprocess(Frame* frame, const ScriptSourceCode& sourceCode)
75 return preprocessImpl(instrumentingAgents, frame, sourceCode);
PageDebuggerAgent.cpp 151 PassOwnPtr<ScriptSourceCode> PageDebuggerAgent::preprocess(Frame* frame, const ScriptSourceCode& sourceCode)
155 return m_pageScriptDebugServer->preprocess(frame, sourceCode);
InspectorInstrumentation.cpp 141 PassOwnPtr<ScriptSourceCode> preprocessImpl(InstrumentingAgents* instrumentingAgents, Frame* frame, const ScriptSourceCode& sourceCode)
144 return debuggerAgent->preprocess(frame, sourceCode);
  /external/chromium_org/third_party/WebKit/Source/core/dom/
ScriptLoader.cpp 298 void ScriptLoader::executeScript(const ScriptSourceCode& sourceCode)
302 if (sourceCode.isEmpty())
312 bool shouldBypassMainWorldContentSecurityPolicy = (frame && frame->script().shouldBypassMainWorldContentSecurityPolicy()) || elementDocument->contentSecurityPolicy()->allowScriptNonce(m_element->fastGetAttribute(HTMLNames::nonceAttr)) || elementDocument->contentSecurityPolicy()->allowScriptHash(sourceCode.source());
329 if (sourceCode.resource() && sourceCode.resource()->passesAccessControlCheck(m_element->document().securityOrigin()))
335 frame->script().executeScriptInMainWorld(sourceCode, corsCheck);
366 bool ScriptLoader::executePotentiallyCrossOriginScript(const ScriptSourceCode& sourceCode)
368 if (sourceCode.resource()
370 && !m_element->document().fetcher()->canAccess(sourceCode.resource(), PotentiallyCORSEnabled)) {
374 executeScript(sourceCode);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLScriptRunner.cpp 122 ScriptSourceCode sourceCode = sourceFromPendingScript(pendingScript, errorOccurred);
140 if (scriptLoader->executePotentiallyCrossOriginScript(sourceCode))
310 ScriptSourceCode sourceCode(script->textContent(), documentURLForScriptExecution(m_document), scriptStartPosition);
311 scriptLoader->executeScript(sourceCode);
  /external/chromium_org/third_party/WebKit/Source/web/
WebDocument.cpp 209 void WebDocument::insertUserStyleSheet(const WebString& sourceCode, UserStyleLevel)
211 insertStyleSheet(sourceCode);
214 void WebDocument::insertStyleSheet(const WebString& sourceCode)
219 parsedSheet->parseString(sourceCode);
WebSharedWorkerImpl.h 93 virtual void startWorkerContext(const WebURL&, const WebString& name, const WebString& userAgent, const WebString& sourceCode, const WebString& contentSecurityPolicy, WebContentSecurityPolicyType, long long cacheId);
WebSharedWorkerImpl.cpp 253 void WebSharedWorkerImpl::startWorkerContext(const WebURL& url, const WebString& name, const WebString& userAgent, const WebString& sourceCode, const WebString& contentSecurityPolicy, WebContentSecurityPolicyType policyType, long long)
263 OwnPtr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create(url, userAgent, sourceCode, startMode, contentSecurityPolicy, static_cast<WebCore::ContentSecurityPolicy::HeaderType>(policyType), workerClients.release());
  /dalvik/docs/
prettify.js 516 * where index_n is an index into the sourceCode, and style_n is a style
518 * all characters in sourceCode[index_n-1:index_n].
562 return function (sourceCode, opt_basePos) {
566 var pos = 0; // index into sourceCode
567 var tail = sourceCode;
695 * decorator that takes sourceCode as plain text and that returns a
750 * @param {string} sourceCode as plain text
807 return function (sourceCode) {
812 var decorations = splitStringAndCommentTokens(sourceCode);
815 decorations = splitNonStringNonCommentTokens(sourceCode, decorations)
    [all...]

Completed in 939 milliseconds

1 2