Home
last modified time | relevance | path

Searched refs:resourceLoader (Results 1 – 24 of 24) sorted by relevance

/external/webkit/Source/WebCore/loader/
DResourceLoadScheduler.cpp103 void ResourceLoadScheduler::addMainResourceLoad(ResourceLoader* resourceLoader) in addMainResourceLoad() argument
105 hostForURL(resourceLoader->url(), CreateIfNotFound)->addLoadInProgress(resourceLoader); in addMainResourceLoad()
108 void ResourceLoadScheduler::scheduleLoad(ResourceLoader* resourceLoader, ResourceLoadPriority prior… in scheduleLoad() argument
110 ASSERT(resourceLoader); in scheduleLoad()
116 …urceLoading, "ResourceLoadScheduler::load resource %p '%s'", resourceLoader, resourceLoader->url()… in scheduleLoad()
117 HostInformation* host = hostForURL(resourceLoader->url(), CreateIfNotFound); in scheduleLoad()
119 host->schedule(resourceLoader, priority); in scheduleLoad()
121 …if (priority > ResourceLoadPriorityLow || !resourceLoader->url().protocolInHTTPFamily() || (priori… in scheduleLoad()
128 …dScheduleResourceRequest(resourceLoader->frameLoader() ? resourceLoader->frameLoader()->frame()->d… in scheduleLoad()
132 void ResourceLoadScheduler::remove(ResourceLoader* resourceLoader) in remove() argument
[all …]
/external/webkit/Source/WebCore/loader/icon/
DIconLoader.cpp90 void IconLoader::didReceiveResponse(SubresourceLoader* resourceLoader, const ResourceResponse& resp… in didReceiveResponse() argument
95 …LOG(IconDatabase, "IconLoader::didReceiveResponse() - Loader %p, response %i", resourceLoader, sta… in didReceiveResponse()
98 ResourceHandle* handle = resourceLoader->handle(); in didReceiveResponse()
112 void IconLoader::didFail(SubresourceLoader* resourceLoader, const ResourceError&) in didFail() argument
114 LOG(IconDatabase, "IconLoader::didFail() - Loader %p", resourceLoader); in didFail()
121 ASSERT(resourceLoader == m_resourceLoader); in didFail()
122 ResourceHandle* handle = resourceLoader->handle(); in didFail()
134 void IconLoader::didFinishLoading(SubresourceLoader* resourceLoader, double) in didFinishLoading() argument
136 LOG(IconDatabase, "IconLoader::didFinishLoading() - Loader %p", resourceLoader); in didFinishLoading()
143 ASSERT(resourceLoader == m_resourceLoader); in didFinishLoading()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/compatibility/
DClearsilverRenderer.java45 public ClearsilverRenderer(ClearsilverFactory factory, ResourceLoader resourceLoader) { in ClearsilverRenderer() argument
47 this.defaultResourceLoader = resourceLoader; in ClearsilverRenderer()
54 public ClearsilverRenderer(ResourceLoader resourceLoader) { in ClearsilverRenderer() argument
55 this(new JniClearsilverFactory(), resourceLoader); in ClearsilverRenderer()
60 final ResourceLoader resourceLoader) throws IOException, JSilverException { in render() argument
64 return loadResource(filename, resourceLoader); in render()
100 public void render(Template template, Data data, Appendable output, ResourceLoader resourceLoader) in render() argument
135 private String loadResource(String filename, ResourceLoader resourceLoader) throws IOException { in loadResource() argument
136 Reader reader = resourceLoader.open(filename); in loadResource()
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DHDFDataFactory.java52 public void loadData(final String dataFileName, ResourceLoader resourceLoader, Data output) in loadData() argument
54 Reader reader = resourceLoader.open(dataFileName); in loadData()
64 }, resourceLoader, dataFileName, ignoreAttributes); in loadData()
66 resourceLoader.close(reader); in loadData()
71 public Data loadData(String dataFileName, ResourceLoader resourceLoader) throws IOException { in loadData() argument
73 loadData(dataFileName, resourceLoader, result); in loadData()
DNewHdfParser.java103 final ResourceLoader resourceLoader; field in NewHdfParser.ParseState
114 ResourceLoader resourceLoader, NewHdfParser hdfParser, String parsedFileName, in ParseState() argument
120 this.resourceLoader = resourceLoader; in ParseState()
129 ErrorHandler errorHandler, ResourceLoader resourceLoader, NewHdfParser hdfParser, in createNewParseState() argument
138 return new ParseState(output, new LineNumberReader(reader), errorHandler, resourceLoader, in createNewParseState()
145 originalState.errorHandler, originalState.resourceLoader, originalState.hdfParser, in createParseStateForIncludedFile()
191 ResourceLoader resourceLoader, String dataFileName, boolean ignoreAttributes) in parse() argument
194 parse(ParseState.createNewParseState(output, reader, errorHandler, resourceLoader, this, in parse()
574 Reader reader = state.resourceLoader.open(includeFileName); in handleInclude()
DDataFactory.java37 void loadData(final String dataFileName, ResourceLoader resourceLoader, Data output) in loadData() argument
43 Data loadData(String dataFileName, ResourceLoader resourceLoader) throws IOException; in loadData() argument
DParser.java56 void parse(Reader reader, Data output, ErrorHandler errorHandler, ResourceLoader resourceLoader, in parse() argument
DDefaultHdfParser.java36 ResourceLoader resourceLoader, String dataFileName, boolean ignoreAttributes) in parse() argument
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
DJHdf.java45 private ResourceLoaderAdaptor resourceLoader; field in JHdf
53 this.resourceLoader = new ResourceLoaderAdaptor(this, loadPathCache, null); in JHdf()
70 return resourceLoader; in getResourceLoaderAdaptor()
83 dataFactory.loadData(filename, resourceLoader, data); in readFile()
89 return resourceLoader.getCSFileLoader(); in getFileLoader()
94 this.resourceLoader = new ResourceLoaderAdaptor(this, loadPathCache, fileLoader); in setFileLoader()
117 }, resourceLoader, null, options.getIgnoreAttributes()); in readString()
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DBaseCompiledTemplate.java74 public void render(Data data, Appendable out, ResourceLoader resourceLoader) throws IOException { in render() argument
76 render(createRenderingContext(data, out, resourceLoader)); in render()
81 ResourceLoader resourceLoader) { in createRenderingContext() argument
83 return new DefaultRenderingContext(dataContext, resourceLoader, out, functionExecutor, in createRenderingContext()
255 … public void render(Data data, Appendable out, ResourceLoader resourceLoader) throws IOException { in render() argument
256 render(createRenderingContext(data, out, resourceLoader)); in render()
261 ResourceLoader resourceLoader) { in createRenderingContext() argument
262 return BaseCompiledTemplate.this.createRenderingContext(data, out, resourceLoader); in createRenderingContext()
DTemplateCompiler.java71 public Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode) { in load() argument
72 return compile(templateFactory.find(templateName, resourceLoader, escapeMode), templateName, in load()
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
DInterpretedTemplate.java58 public void render(Data data, Appendable out, ResourceLoader resourceLoader) throws IOException { in render() argument
59 render(createRenderingContext(data, out, resourceLoader)); in render()
73 ResourceLoader resourceLoader) { in createRenderingContext() argument
75 return new DefaultRenderingContext(dataContext, resourceLoader, out, functionExecutor, in createRenderingContext()
DInterpretedMacro.java72 public void render(Data data, Appendable out, ResourceLoader resourceLoader) throws IOException { in render() argument
73 render(createRenderingContext(data, out, resourceLoader)); in render()
78 ResourceLoader resourceLoader) { in createRenderingContext() argument
79 return owningTemplate.createRenderingContext(data, out, resourceLoader); in createRenderingContext()
DLoadingTemplateFactory.java36 public TemplateSyntaxTree find(String templateName, ResourceLoader resourceLoader, in find() argument
39 Reader reader = resourceLoader.openOrFail(templateName); in find()
DOptimizingTemplateFactory.java65 public TemplateSyntaxTree find(String templateName, ResourceLoader resourceLoader, in find() argument
67 TemplateSyntaxTree result = wrapped.find(templateName, resourceLoader, escapeMode); in find()
DInterpretedTemplateLoader.java51 public Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode) { in load() argument
53 resourceLoader, escapeMode), templateName, globalFunctionExecutor, autoEscapeOptions, in load()
DTemplateFactory.java39 …TemplateSyntaxTree find(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode); in find() argument
/external/jsilver/src/com/google/clearsilver/jsilver/template/
DTemplate.java38 void render(Data data, Appendable out, ResourceLoader resourceLoader) throws IOException; in render() argument
54 RenderingContext createRenderingContext(Data data, Appendable out, ResourceLoader resourceLoader); in createRenderingContext() argument
DDefaultRenderingContext.java45 private final ResourceLoader resourceLoader; field in DefaultRenderingContext
65 public DefaultRenderingContext(DataContext dataContext, ResourceLoader resourceLoader, in DefaultRenderingContext() argument
68 this.resourceLoader = resourceLoader; in DefaultRenderingContext()
205 return resourceLoader; in getResourceLoader()
DTemplateLoader.java39 Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode); in load() argument
/external/webkit/Source/WebCore/loader/appcache/
DApplicationCacheHost.cpp176 bool ApplicationCacheHost::maybeLoadFallbackForRedirect(ResourceLoader* resourceLoader, ResourceReq… in maybeLoadFallbackForRedirect() argument
179 if (scheduleLoadFallbackResourceFromApplicationCache(resourceLoader)) in maybeLoadFallbackForRedirect()
184 bool ApplicationCacheHost::maybeLoadFallbackForResponse(ResourceLoader* resourceLoader, const Resou… in maybeLoadFallbackForResponse() argument
187 if (scheduleLoadFallbackResourceFromApplicationCache(resourceLoader)) in maybeLoadFallbackForResponse()
192 bool ApplicationCacheHost::maybeLoadFallbackForError(ResourceLoader* resourceLoader, const Resource… in maybeLoadFallbackForError() argument
195 if (scheduleLoadFallbackResourceFromApplicationCache(resourceLoader)) in maybeLoadFallbackForError()
/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/
DPrecompiledTemplateLoader.java104 public Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode) { in load() argument
105 Object key = resourceLoader.getKey(templateName); in load()
111 return nextLoader.load(templateName, resourceLoader, escapeMode); in load()
/external/jsilver/src/com/google/clearsilver/jsilver/
DTemplateRenderer.java41 void render(String templateName, Data data, Appendable output, ResourceLoader resourceLoader) in render() argument
68 void render(Template template, Data data, Appendable output, ResourceLoader resourceLoader) in render() argument
DJSilver.java250 ResourceLoader resourceLoader) throws IOException, JSilverException { in render() argument
252 render(templateLoader.load(templateName, resourceLoader, escapeMode), data, output, in render()
253 resourceLoader); in render() local
295 public void render(Template template, Data data, Appendable output, ResourceLoader resourceLoader) in render() argument
301 template.render(data, output, resourceLoader); in render()