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

1 2

  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
ScriptPreprocessor.h 48 String preprocessSourceCode(const String& sourceCode, const String& sourceName);
49 String preprocessSourceCode(const String& sourceCode, const String& sourceName, const String& functionName);
54 String preprocessSourceCode(const String& sourceCode, const String& sourceName, v8::Handle<v8::Value> functionName);
ScriptPreprocessor.cpp 75 String ScriptPreprocessor::preprocessSourceCode(const String& sourceCode, const String& sourceName)
78 return sourceCode;
80 return preprocessSourceCode(sourceCode, sourceName, v8::Undefined(m_scriptState->isolate()));
83 String ScriptPreprocessor::preprocessSourceCode(const String& sourceCode, const String& sourceName, const String& functionName)
86 return sourceCode;
89 return preprocessSourceCode(sourceCode, sourceName, functionNameString);
92 String ScriptPreprocessor::preprocessSourceCode(const String& sourceCode, const String& sourceName, v8::Handle<v8::Value> functionName)
95 return sourceCode;
100 v8::Handle<v8::String> sourceCodeString = v8String(isolate, sourceCode);
112 return sourceCode;
    [all...]
ScriptStreamerTest.cpp 163 ScriptSourceCode sourceCode = pendingScript().getSource(KURL(), errorOccurred);
165 EXPECT_TRUE(sourceCode.streamer());
167 v8::Handle<v8::Script> script = V8ScriptRunner::compileScript(sourceCode, isolate());
196 ScriptSourceCode sourceCode = pendingScript().getSource(KURL(), errorOccurred);
198 EXPECT_TRUE(sourceCode.streamer());
200 v8::Handle<v8::Script> script = V8ScriptRunner::compileScript(sourceCode, isolate());
251 ScriptSourceCode sourceCode = pendingScript().getSource(KURL(), errorOccurred);
256 EXPECT_FALSE(sourceCode.streamer());
275 ScriptSourceCode sourceCode = pendingScript().getSource(KURL(), errorOccurred);
277 EXPECT_FALSE(sourceCode.streamer())
    [all...]
WorkerScriptController.cpp 241 void WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, RefPtrWillBeRawPtr<ErrorEvent>* errorEvent)
247 evaluate(sourceCode.source(), sourceCode.url().string(), sourceCode.startPosition());
ScriptController.cpp 575 void ScriptController::executeScriptInMainWorld(const ScriptSourceCode& sourceCode, AccessControlStatus corsStatus, double* compilationFinishTime)
578 evaluateScriptInMainWorld(sourceCode, corsStatus, DoNotExecuteScriptWhenScriptsDisabled, compilationFinishTime);
581 v8::Local<v8::Value> ScriptController::executeScriptInMainWorldAndReturnValue(const ScriptSourceCode& sourceCode)
583 return evaluateScriptInMainWorld(sourceCode, NotSharableCrossOrigin, DoNotExecuteScriptWhenScriptsDisabled);
586 v8::Local<v8::Value> ScriptController::evaluateScriptInMainWorld(const ScriptSourceCode& sourceCode, AccessControlStatus corsStatus, ExecuteScriptPolicy policy, double* compilationFinishTime)
591 String sourceURL = sourceCode.url();
607 OwnPtr<ScriptSourceCode> maybeProcessedSourceCode = InspectorInstrumentation::preprocess(m_frame, sourceCode);
608 const ScriptSourceCode& sourceCodeToCompile = maybeProcessedSourceCode ? *maybeProcessedSourceCode : sourceCode;
PageScriptDebugServer.cpp 294 PassOwnPtr<ScriptSourceCode> PageScriptDebugServer::preprocess(LocalFrame* frame, const ScriptSourceCode& sourceCode)
299 String preprocessedSource = m_scriptPreprocessor->preprocessSourceCode(sourceCode.source(), sourceCode.url());
300 return adoptPtr(new ScriptSourceCode(preprocessedSource, sourceCode.url()));
  /external/chromium_org/third_party/WebKit/Source/core/workers/
WorkerThreadStartupData.h 50 static PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> create(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicyHeaderType contentSecurityPolicyType, PassOwnPtrWillBeRawPtr<WorkerClients> workerClients)
52 return adoptPtrWillBeNoop(new WorkerThreadStartupData(scriptURL, userAgent, sourceCode, startMode, contentSecurityPolicy, contentSecurityPolicyType, workerClients));
68 WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode, const String& contentSecurityPolicy, ContentSecurityPolicyHeaderType contentSecurityPolicyType, PassOwnPtrWillBeRawPtr<WorkerClients>);
WorkerThreadStartupData.cpp 38 WorkerThreadStartupData::WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicyHeaderType contentSecurityPolicyType, PassOwnPtrWillBeRawPtr<WorkerClients> workerClients)
41 , m_sourceCode(sourceCode.isolatedCopy())
WorkerGlobalScopeProxy.h 49 virtual void startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode) = 0;
WorkerMessagingProxy.h 56 virtual void startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode) OVERRIDE;
WorkerMessagingProxy.cpp 110 void WorkerMessagingProxy::startWorkerGlobalScope(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode)
120 OwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData = WorkerThreadStartupData::create(scriptURL, userAgent, sourceCode, startMode, document->contentSecurityPolicy()->deprecatedHeader(), document->contentSecurityPolicy()->deprecatedHeaderType(), m_workerClients.release());
WorkerThread.cpp 249 String sourceCode = m_startupData->m_sourceCode;
283 script->evaluate(ScriptSourceCode(sourceCode, scriptURL));
  /cts/tools/dex-tools/test/dex/reader/util/
JavaSource.java 33 public JavaSource(String sourceName, String sourceCode) {
37 this.src = sourceCode;
  /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 72 inline PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame* frame, const ScriptSourceCode& sourceCode)
76 return preprocessImpl(instrumentingAgents, frame, sourceCode);
InspectorInstrumentation.cpp 135 PassOwnPtr<ScriptSourceCode> preprocessImpl(InstrumentingAgents* instrumentingAgents, LocalFrame* frame, const ScriptSourceCode& sourceCode)
138 return debuggerAgent->preprocess(frame, sourceCode);
  /external/chromium_org/third_party/WebKit/Source/core/dom/
ScriptLoader.cpp 298 void ScriptLoader::executeScript(const ScriptSourceCode& sourceCode, double* compilationFinishTime)
302 if (sourceCode.isEmpty())
315 || csp->allowScriptWithHash(sourceCode.source());
321 ScriptResource* resource = m_resource ? m_resource.get() : sourceCode.resource();
328 if (!SubresourceIntegrity::CheckSubresourceIntegrity(*m_element, sourceCode.source(), sourceCode.resource()->url()))
346 if (!m_isExternalScript || (sourceCode.resource() && sourceCode.resource()->passesAccessControlCheck(m_element->document().securityOrigin())))
352 frame->script().executeScriptInMainWorld(sourceCode, corsCheck, compilationFinishTime);
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLScriptRunner.cpp 128 ScriptSourceCode sourceCode = pendingScript.getSource(documentURLForScriptExecution(m_document), errorOccurred);
153 scriptLoader->executeScript(sourceCode, &compilationFinishTime);
332 ScriptSourceCode sourceCode(script->textContent(), documentURLForScriptExecution(m_document), scriptStartPosition);
333 scriptLoader->executeScript(sourceCode);
  /external/chromium_org/third_party/skia/experimental/webtry/res/js/
webtry.js 36 var sourceCode = document.getElementById('sourceCode');
67 sourceCode.classList.add('show');
72 sourceCode.classList.remove('show');
125 sourceCode.classList.remove('show');
  /external/skia/experimental/webtry/res/js/
webtry.js 36 var sourceCode = document.getElementById('sourceCode');
67 sourceCode.classList.add('show');
72 sourceCode.classList.remove('show');
125 sourceCode.classList.remove('show');
  /external/chromium_org/third_party/WebKit/public/web/
WebDocument.h 135 BLINK_EXPORT void insertStyleSheet(const WebString& sourceCode);
WebView.h 433 // Treats |sourceCode| as a CSS author style sheet and injects it into all Documents whose URLs match |patterns|,
435 BLINK_EXPORT static void injectStyleSheet(const WebString& sourceCode, const WebVector<WebString>& patterns, StyleInjectionTarget);
  /external/chromium_org/third_party/WebKit/Source/web/
WebDocument.cpp 212 void WebDocument::insertStyleSheet(const WebString& sourceCode)
217 parsedSheet->parseString(sourceCode);
  /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...]
  /external/chromium_org/third_party/polymer/components-chromium/core-component-page/
core-component-page-extracted.js     [all...]

Completed in 460 milliseconds

1 2