Home
last modified time | relevance | path

Searched refs:loader (Results 1 – 25 of 589) sorted by relevance

12345678910>>...24

/external/webkit/Source/WebCore/loader/
DResourceLoadNotifier.cpp50 void ResourceLoadNotifier::didReceiveAuthenticationChallenge(ResourceLoader* loader, const Authenti… in didReceiveAuthenticationChallenge() argument
52 …m_frame->loader()->client()->dispatchDidReceiveAuthenticationChallenge(loader->documentLoader(), l… in didReceiveAuthenticationChallenge()
55 void ResourceLoadNotifier::didCancelAuthenticationChallenge(ResourceLoader* loader, const Authentic… in didCancelAuthenticationChallenge() argument
57 …m_frame->loader()->client()->dispatchDidCancelAuthenticationChallenge(loader->documentLoader(), lo… in didCancelAuthenticationChallenge()
60 void ResourceLoadNotifier::willSendRequest(ResourceLoader* loader, ResourceRequest& clientRequest, … in willSendRequest() argument
62 m_frame->loader()->applyUserAgent(clientRequest); in willSendRequest()
64 …dispatchWillSendRequest(loader->documentLoader(), loader->identifier(), clientRequest, redirectRes… in willSendRequest()
67 void ResourceLoadNotifier::didReceiveResponse(ResourceLoader* loader, const ResourceResponse& r) in didReceiveResponse() argument
69 loader->documentLoader()->addResponse(r); in didReceiveResponse()
72 page->progress()->incrementProgress(loader->identifier(), r); in didReceiveResponse()
[all …]
DPolicyChecker.cpp53 …checkNavigationPolicy(newRequest, m_frame->loader()->activeDocumentLoader(), 0, function, argument… in checkNavigationPolicy()
56 void PolicyChecker::checkNavigationPolicy(const ResourceRequest& request, DocumentLoader* loader, in checkNavigationPolicy() argument
59 NavigationAction action = loader->triggeringAction(); in checkNavigationPolicy()
62 loader->setTriggeringAction(action); in checkNavigationPolicy()
67 …if (equalIgnoringHeaderFields(request, loader->lastCheckedRequest()) || (!request.isNull() && requ… in checkNavigationPolicy()
69 loader->setLastCheckedRequest(request); in checkNavigationPolicy()
75 if (loader->substituteData().isValid() && !loader->substituteData().failingURL().isEmpty()) { in checkNavigationPolicy()
82 loader->setLastCheckedRequest(request); in checkNavigationPolicy()
87 …m_frame->loader()->client()->dispatchDecidePolicyForNavigationAction(&PolicyChecker::continueAfter… in checkNavigationPolicy()
96 …m_frame->loader()->client()->dispatchDecidePolicyForNewWindowAction(&PolicyChecker::continueAfterN… in checkNewWindowPolicy()
[all …]
DDocumentThreadableLoader.cpp54 …RefPtr<DocumentThreadableLoader> loader = adoptRef(new DocumentThreadableLoader(document, &client,… in loadResourceSynchronously() local
55 ASSERT(loader->hasOneRef()); in loadResourceSynchronously()
60 …RefPtr<DocumentThreadableLoader> loader = adoptRef(new DocumentThreadableLoader(document, client, … in create() local
61 if (!loader->m_loader) in create()
62 loader = 0; in create()
63 return loader.release(); in create()
179 void DocumentThreadableLoader::willSendRequest(SubresourceLoader* loader, ResourceRequest& request,… in willSendRequest() argument
182 ASSERT_UNUSED(loader, loader == m_loader); in willSendRequest()
194 void DocumentThreadableLoader::didSendData(SubresourceLoader* loader, unsigned long long bytesSent,… in didSendData() argument
197 ASSERT_UNUSED(loader, loader == m_loader); in didSendData()
[all …]
DHistoryController.cpp90 m_frame->loader()->client()->saveViewStateToItem(item); in saveScrollPositionAndViewStateToItem()
106 if (!m_frame->loader()->stateMachine()->committedFirstRealDocumentLoad()) in restoreScrollPositionAndViewState()
121 m_frame->loader()->client()->restoreViewState(); in restoreScrollPositionAndViewState()
140 if (m_frame->loader()->stateMachine()->creatingInitialEmptyDocument()) in saveDocumentState()
172 frame->loader()->history()->saveDocumentState(); in saveDocumentAndScrollState()
173 …frame->loader()->history()->saveScrollPositionAndViewStateToItem(frame->loader()->history()->curre… in saveDocumentAndScrollState()
183 switch (m_frame->loader()->loadType()) { in restoreDocumentState()
233 return m_frame->loader()->client()->shouldStopLoadingForHistoryItem(targetItem); in shouldStopLoadingForHistoryItem()
249 if (!m_frame->loader()->client()->shouldGoToHistoryItem(targetItem)) in goToItem()
257 m_frame->loader()->client()->updateGlobalHistoryItemForPage(); in goToItem()
[all …]
DNavigationScheduler.cpp109 …frame->loader()->changeLocation(m_securityOrigin, KURL(ParsedURLString, m_url), m_referrer, lockHi… in fire()
117 …frame->loader()->clientRedirected(KURL(ParsedURLString, m_url), delay(), currentTime() + timer->ne… in didStartTimer()
124 frame->loader()->clientRedirectCancelledOrFinished(newLoadInProgress); in didStopTimer()
146 … virtual bool shouldStartTimer(Frame* frame) { return frame->loader()->allAncestorsAreComplete(); } in shouldStartTimer()
165 …frame->loader()->changeLocation(securityOrigin(), KURL(ParsedURLString, url()), referrer(), lockHi… in fire()
184 …frame->loader()->urlSelected(frame->document()->url(), "_self", 0, lockHistory(), lockBackForwardL… in fire()
215 if (!requestingFrame->loader()->shouldAllowNavigation(frame)) in fire()
219 …frame->loader()->loadFrameRequest(frameRequest, lockHistory(), lockBackForwardList(), m_submission… in fire()
227 …frame->loader()->clientRedirected(m_submission->requestURL(), delay(), currentTime() + timer->next… in didStartTimer()
234 frame->loader()->clientRedirectCancelledOrFinished(newLoadInProgress); in didStopTimer()
[all …]
/external/freetype/src/base/
Dftgloadr.c72 FT_GlyphLoader loader = NULL; in FT_GlyphLoader_New() local
76 if ( !FT_NEW( loader ) ) in FT_GlyphLoader_New()
78 loader->memory = memory; in FT_GlyphLoader_New()
79 *aloader = loader; in FT_GlyphLoader_New()
87 FT_GlyphLoader_Rewind( FT_GlyphLoader loader ) in FT_GlyphLoader_Rewind() argument
89 FT_GlyphLoad base = &loader->base; in FT_GlyphLoader_Rewind()
90 FT_GlyphLoad current = &loader->current; in FT_GlyphLoader_Rewind()
104 FT_GlyphLoader_Reset( FT_GlyphLoader loader ) in FT_GlyphLoader_Reset() argument
106 FT_Memory memory = loader->memory; in FT_GlyphLoader_Reset()
109 FT_FREE( loader->base.outline.points ); in FT_GlyphLoader_Reset()
[all …]
/external/freetype/src/truetype/
Dttgload.c131 tt_get_metrics( TT_Loader loader, in tt_get_metrics() argument
134 TT_Face face = (TT_Face)loader->face; in tt_get_metrics()
147 loader->left_bearing = left_bearing; in tt_get_metrics()
148 loader->advance = advance_width; in tt_get_metrics()
149 loader->top_bearing = top_bearing; in tt_get_metrics()
150 loader->vadvance = advance_height; in tt_get_metrics()
152 if ( !loader->linear_def ) in tt_get_metrics()
154 loader->linear_def = 1; in tt_get_metrics()
155 loader->linear = advance_width; in tt_get_metrics()
163 tt_get_metrics_incr_overrides( TT_Loader loader, in tt_get_metrics_incr_overrides() argument
[all …]
/external/freetype/src/autofit/
Dafloader.c28 af_loader_init( AF_Loader loader, in af_loader_init() argument
31 FT_ZERO( loader ); in af_loader_init()
33 af_glyph_hints_init( &loader->hints, memory ); in af_loader_init()
35 _af_debug_hints = &loader->hints; in af_loader_init()
37 return FT_GlyphLoader_New( memory, &loader->gloader ); in af_loader_init()
44 af_loader_reset( AF_Loader loader, in af_loader_reset() argument
50 loader->face = face; in af_loader_reset()
51 loader->globals = (AF_FaceGlobals)face->autohint.data; in af_loader_reset()
53 FT_GlyphLoader_Rewind( loader->gloader ); in af_loader_reset()
55 if ( loader->globals == NULL ) in af_loader_reset()
[all …]
/external/chromium/chrome/browser/instant/
Dinstant_loader_manager_unittest.cc17 virtual void InstantStatusChanged(InstantLoader* loader) OVERRIDE {} in InstantStatusChanged() argument
19 virtual void SetSuggestedTextFor(InstantLoader* loader, in SetSuggestedTextFor() argument
31 virtual void CommitInstantLoader(InstantLoader* loader) OVERRIDE { in CommitInstantLoader() argument
35 InstantLoader* loader) OVERRIDE { in InstantLoaderDoesntSupportInstant() argument
38 virtual void AddToBlacklist(InstantLoader* loader, in AddToBlacklist() argument
52 void MarkReady(InstantLoader* loader) { in MarkReady() argument
53 loader->ready_ = true; in MarkReady()
64 scoped_ptr<InstantLoader> loader; in TEST_F() local
65 manager.UpdateLoader(0, &loader); in TEST_F()
66 EXPECT_EQ(NULL, loader.get()); in TEST_F()
[all …]
Dinstant_loader_manager.cc42 InstantLoader* loader = NULL; in UpdateLoader() local
44 loader = GetInstantLoader(instant_id); in UpdateLoader()
47 loader = current_loader_; in UpdateLoader()
49 loader = pending_loader_; in UpdateLoader()
51 loader = CreateLoader(0); in UpdateLoader()
54 if (loader->ready()) { in UpdateLoader()
56 current_loader_ = loader; in UpdateLoader()
63 current_loader_ = loader; in UpdateLoader()
71 pending_loader_ = loader; in UpdateLoader()
108 InstantLoader* loader = current_loader_; in ReleaseCurrentLoader() local
[all …]
Dinstant_controller.cc359 InstantLoader* loader = loader_manager_->active_loader(); in ReleasePreviewContents() local
360 if (loader && loader->ready() && in ReleasePreviewContents()
361 loader == loader_manager_->pending_loader()) { in ReleasePreviewContents()
368 scoped_ptr<InstantLoader> loader; in ReleasePreviewContents() local
370 loader.reset(loader_manager_->ReleaseCurrentLoader()); in ReleasePreviewContents()
371 TabContentsWrapper* tab = loader.get() ? in ReleasePreviewContents()
372 loader->ReleasePreviewContents(type) : NULL; in ReleasePreviewContents()
409 void InstantController::InstantStatusChanged(InstantLoader* loader) { in InstantStatusChanged() argument
410 if (!loader->http_status_ok()) { in InstantStatusChanged()
421 ProcessInstantStatusChanged(loader); in InstantStatusChanged()
[all …]
/external/emma/core/java12/com/vladium/util/
DResourceLoader.java37 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller); in loadClass() local
39 return Class.forName (name, false, loader); in loadClass()
48 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller); in getResource() local
50 if (loader != null) in getResource()
51 return loader.getResource (name); in getResource()
62 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller); in getResourceAsStream() local
64 if (loader != null) in getResourceAsStream()
65 return loader.getResourceAsStream (name); in getResourceAsStream()
77 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller); in getResources() local
79 if (loader != null) in getResources()
[all …]
/external/webkit/Source/WebCore/fileapi/
DFileReaderSync.cpp55 FileReaderLoader loader(FileReaderLoader::ReadAsArrayBuffer, 0); in readAsArrayBuffer() local
56 startLoading(scriptExecutionContext, loader, blob, ec); in readAsArrayBuffer()
58 return loader.arrayBufferResult(); in readAsArrayBuffer()
66 FileReaderLoader loader(FileReaderLoader::ReadAsBinaryString, 0); in readAsBinaryString() local
67 startLoading(scriptExecutionContext, loader, blob, ec); in readAsBinaryString()
68 return loader.stringResult(); in readAsBinaryString()
76 FileReaderLoader loader(FileReaderLoader::ReadAsText, 0); in readAsText() local
77 loader.setEncoding(encoding); in readAsText()
78 startLoading(scriptExecutionContext, loader, blob, ec); in readAsText()
79 return loader.stringResult(); in readAsText()
[all …]
/external/chromium/chrome/browser/policy/
Dasynchronous_policy_loader_unittest.cc60 scoped_refptr<AsynchronousPolicyLoader> loader = in TEST_F() local
62 loader->Init(); in TEST_F()
63 const DictionaryValue* loaded_dict(loader->policy()); in TEST_F()
75 scoped_refptr<AsynchronousPolicyLoader> loader = in TEST_F() local
77 loader->Init(); in TEST_F()
79 loader->Reload(); in TEST_F()
82 const DictionaryValue* loaded_dict(loader->policy()); in TEST_F()
93 scoped_refptr<AsynchronousPolicyLoader> loader = in TEST_F() local
95 loader->Init(); in TEST_F()
97 loader->Stop(); in TEST_F()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DCacheRefreshTest.java33 IncrementingLoader loader = incrementingLoader(); in testAutoRefresh() local
39 .build(loader); in testAutoRefresh()
45 assertEquals(expectedLoads, loader.getLoadCount()); in testAutoRefresh()
46 assertEquals(expectedReloads, loader.getReloadCount()); in testAutoRefresh()
53 assertEquals(expectedLoads, loader.getLoadCount()); in testAutoRefresh()
54 assertEquals(expectedReloads, loader.getReloadCount()); in testAutoRefresh()
62 assertEquals(expectedLoads, loader.getLoadCount()); in testAutoRefresh()
63 assertEquals(expectedReloads, loader.getReloadCount()); in testAutoRefresh()
71 assertEquals(expectedLoads, loader.getLoadCount()); in testAutoRefresh()
72 assertEquals(expectedReloads, loader.getReloadCount()); in testAutoRefresh()
[all …]
DCacheExpirationTest.java52 WatchedCreatorLoader loader = new WatchedCreatorLoader(); in testExpiration_expireAfterWrite() local
57 .build(loader); in testExpiration_expireAfterWrite()
58 checkExpiration(cache, loader, ticker, removalListener); in testExpiration_expireAfterWrite()
64 WatchedCreatorLoader loader = new WatchedCreatorLoader(); in testExpiration_expireAfterAccess() local
69 .build(loader); in testExpiration_expireAfterAccess()
70 checkExpiration(cache, loader, ticker, removalListener); in testExpiration_expireAfterAccess()
73 private void checkExpiration(LoadingCache<String, Integer> cache, WatchedCreatorLoader loader, in checkExpiration() argument
81 loader.reset(); in checkExpiration()
83 assertFalse("Creator should not have been called @#" + i, loader.wasCalled()); in checkExpiration()
101 WatchedCreatorLoader loader = new WatchedCreatorLoader(); in testExpiringGet_expireAfterWrite() local
[all …]
DCacheEvictionTest.java44 IdentityLoader<Object> loader = identityLoader(); in testEviction_setMaxSegmentSize() local
48 .build(loader); in testEviction_setMaxSegmentSize()
54 IdentityLoader<Object> loader = identityLoader(); in testEviction_setMaxSegmentWeight() local
59 .build(loader); in testEviction_setMaxSegmentWeight()
65 IdentityLoader<Integer> loader = identityLoader(); in testEviction_maxSizeOneSegment() local
69 .build(loader); in testEviction_maxSizeOneSegment()
80 IdentityLoader<Integer> loader = identityLoader(); in testEviction_maxWeightOneSegment() local
85 .build(loader); in testEviction_maxWeightOneSegment()
97 IdentityLoader<Integer> loader = identityLoader(); in testEviction_maxSize() local
101 .build(loader); in testEviction_maxSize()
[all …]
/external/javassist/src/main/javassist/util/proxy/
DProxyObjectInputStream.java46 loader = Thread.currentThread().getContextClassLoader(); in ProxyObjectInputStream()
47 if (loader == null) { in ProxyObjectInputStream()
48 loader = ClassLoader.getSystemClassLoader(); in ProxyObjectInputStream()
56 public void setClassLoader(ClassLoader loader) in setClassLoader() argument
58 if (loader != null) { in setClassLoader()
59 this.loader = loader; in setClassLoader()
61 loader = ClassLoader.getSystemClassLoader(); in setClassLoader()
69 Class superClass = loader.loadClass(name); in readClassDescriptor()
74 interfaces[i] = loader.loadClass(name); in readClassDescriptor()
98 private ClassLoader loader; field in ProxyObjectInputStream
/external/webkit/Source/WebCore/history/
DPageCache.cpp85 if (frame->loader()->stateMachine()->creatingInitialEmptyDocument()) in logCanCacheFrameDecision()
87 …KURL currentURL = frame->loader()->documentLoader() ? frame->loader()->documentLoader()->url() : K… in logCanCacheFrameDecision()
92 …KURL newURL = frame->loader()->provisionalDocumentLoader() ? frame->loader()->provisionalDocumentL… in logCanCacheFrameDecision()
101 if (!frame->loader()->documentLoader()) { in logCanCacheFrameDecision()
106 if (!frame->loader()->documentLoader()->mainDocumentError().isNull()) { in logCanCacheFrameDecision()
110 if (frame->loader()->subframeLoader()->containsPlugins()) { in logCanCacheFrameDecision()
138 if (!frame->loader()->history()->currentItem()) { in logCanCacheFrameDecision()
142 if (frame->loader()->quickRedirectComing()) { in logCanCacheFrameDecision()
146 if (frame->loader()->documentLoader()->isLoadingInAPISense()) { in logCanCacheFrameDecision()
150 if (frame->loader()->documentLoader()->isStopping()) { in logCanCacheFrameDecision()
[all …]
/external/webkit/Source/WebKit/win/WebCoreSupport/
DWebFrameLoaderClient.cpp75 static WebDataSource* getWebDataSource(DocumentLoader* loader) in getWebDataSource() argument
77 return loader ? static_cast<WebDocumentLoader*>(loader)->dataSource() : 0; in getWebDataSource()
114 …signIdentifierToInitialRequest(unsigned long identifier, DocumentLoader* loader, const ResourceReq… in assignIdentifierToInitialRequest() argument
122 …e->identifierForInitialRequest(webView, webURLRequest.get(), getWebDataSource(loader), identifier); in assignIdentifierToInitialRequest()
125 bool WebFrameLoaderClient::shouldUseCredentialStorage(DocumentLoader* loader, unsigned long identif… in shouldUseCredentialStorage() argument
137 …atePrivate->shouldUseCredentialStorage(webView, identifier, getWebDataSource(loader), &shouldUse))) in shouldUseCredentialStorage()
143 void WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge(DocumentLoader* loader, unsign… in dispatchDidReceiveAuthenticationChallenge() argument
152 …ReceiveAuthenticationChallenge(webView, identifier, webChallenge.get(), getWebDataSource(loader)))) in dispatchDidReceiveAuthenticationChallenge()
164 void WebFrameLoaderClient::dispatchDidCancelAuthenticationChallenge(DocumentLoader* loader, unsigne… in dispatchDidCancelAuthenticationChallenge() argument
172 …idCancelAuthenticationChallenge(webView, identifier, webChallenge.get(), getWebDataSource(loader)); in dispatchDidCancelAuthenticationChallenge()
[all …]
/external/webkit/Source/WebCore/page/
DPerformanceTiming.cpp189 DocumentLoader* loader = documentLoader(); in connectStart() local
190 if (!loader) in connectStart()
193 ResourceLoadTiming* timing = loader->response().resourceLoadTiming(); in connectStart()
200 if (connectStart < 0 || loader->response().connectionReused()) in connectStart()
213 DocumentLoader* loader = documentLoader(); in connectEnd() local
214 if (!loader) in connectEnd()
217 ResourceLoadTiming* timing = loader->response().resourceLoadTiming(); in connectEnd()
224 if (connectEnd < 0 || loader->response().connectionReused()) in connectEnd()
232 DocumentLoader* loader = documentLoader(); in secureConnectionStart() local
233 if (!loader) in secureConnectionStart()
[all …]
/external/webkit/Source/WebCore/loader/appcache/
DApplicationCacheGroup.cpp144 DocumentLoader* documentLoader = frame->loader()->documentLoader(); in selectCache()
179 …hange(frame->document()->securityOrigin(), documentLoader->url(), frame->loader()->referrer(), tru… in selectCache()
186 const ResourceRequest& request = frame->loader()->activeDocumentLoader()->request(); in selectCache()
217 DocumentLoader* documentLoader = frame->loader()->documentLoader(); in selectCacheWithoutManifestURL()
228 void ApplicationCacheGroup::finishedLoadingMainResource(DocumentLoader* loader) in finishedLoadingMainResource() argument
230 ASSERT(m_pendingMasterResourceLoaders.contains(loader)); in finishedLoadingMainResource()
232 KURL url = loader->url(); in finishedLoadingMainResource()
242 associateDocumentLoaderWithCache(loader, m_newestCache.get()); in finishedLoadingMainResource()
250 …esource(ApplicationCacheResource::create(url, loader->response(), ApplicationCacheResource::Master… in finishedLoadingMainResource()
257 loader->applicationCacheHost()->setApplicationCache(0); // Will unset candidate, too. in finishedLoadingMainResource()
[all …]
/external/webkit/Source/WebCore/platform/audio/
DHRTFDatabaseLoader.cpp46 RefPtr<HRTFDatabaseLoader> loader; in createAndLoadAsynchronouslyIfNecessary() local
50 loader = adoptRef(new HRTFDatabaseLoader(sampleRate)); in createAndLoadAsynchronouslyIfNecessary()
51 s_loader = loader.get(); in createAndLoadAsynchronouslyIfNecessary()
52 loader->loadAsynchronously(); in createAndLoadAsynchronouslyIfNecessary()
54 loader = s_loader; in createAndLoadAsynchronouslyIfNecessary()
55 ASSERT(sampleRate == loader->databaseSampleRate()); in createAndLoadAsynchronouslyIfNecessary()
58 return loader; in createAndLoadAsynchronouslyIfNecessary()
91 HRTFDatabaseLoader* loader = reinterpret_cast<HRTFDatabaseLoader*>(threadData); in databaseLoaderEntry() local
92 ASSERT(loader); in databaseLoaderEntry()
93 loader->load(); in databaseLoaderEntry()
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
DCompositeResourceLoader.java38 for (ResourceLoader loader : loaders) { in CompositeResourceLoader()
39 add(loader); in CompositeResourceLoader()
44 for (ResourceLoader loader : loaders) { in CompositeResourceLoader()
45 add(loader); in CompositeResourceLoader()
49 public void add(ResourceLoader loader) { in add() argument
50 loaders.add(loader); in add()
54 for (ResourceLoader loader : loaders) { in open()
55 Reader reader = loader.open(name); in open()
57 return new ReaderTracer(reader, loader); in open()
97 for (ResourceLoader loader : loaders) { in getResourceVersionId()
[all …]
/external/webkit/Source/WebKit/mac/WebView/
DWebDataSource.mm69 WebDocumentLoaderMac* loader; field
94 ASSERT(loader);
95 if (loader) {
96 ASSERT(!loader->isLoading());
97 loader->detachDataSource();
98 loader->deref();
110 ASSERT(loader);
111 if (loader) {
112 ASSERT(!loader->isLoading());
113 loader->detachDataSource();
[all …]

12345678910>>...24