Searched defs:cached (Results 1 - 25 of 60) sorted by relevance

123

/external/oprofile/libutil++/
H A Dcached_value.h3 * Hold a cached value.
17 * Hold a single value, returning a cached value if there is one.
27 /// return the cached value
30 throw op_fatal_error("cached value not set");
34 /// return true if a value is cached
35 bool cached() const { return set; } function in class:cached_value
45 /// the cached value
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_libcdep.cc30 static int cached = 0; local
32 if (!cached) { // Not thread-safe.
34 cached = 1;
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DOkResponseCache.java40 * with the headers from {@code network}. The cached response body is not
41 * updated. If the stored response has changed since {@code cached} was
44 void update(Response cached, Response network) throws IOException; argument
H A DHttpResponseCache.java67 * return cached data for any calls to {@link #get(java.net.URI, String,
97 * If it is only necessary to force a cached response to be validated by the
106 * restrict a request to locally-cached resources, add the {@code
107 * only-if-cached} directive: <pre> {@code
109 * connection.addRequestProperty("Cache-Control", "only-if-cached");
110 * InputStream cached = connection.getInputStream();
111 * // the resource was cached! show it
113 * // the resource was not cached
117 * better than no response. To permit stale cached responses, use the {@code
240 @Override public void update(Response cached, Respons argument
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DResponseCacheAdapter.java68 // that it's ok to keep using the cached data. Otherwise the server shouldn't declare it as
74 public void update(Response cached, Response network) throws IOException { argument
79 // with the original cached response.
/external/chromium_org/net/quic/crypto/
H A Dquic_crypto_client_config_test.cc161 QuicCryptoClientConfig::CachedState cached; local
167 &cached, &out_params, &error));
255 // Clear the cached states.
H A Dcert_compressor.cc176 // by |client_common_set_hashes| and who has cached the certificates with the
194 bool cached = false; local
210 cached = true;
214 if (cached) {
292 // The dictionary starts with the common and cached certs in reverse order.
H A Dquic_crypto_client_config.cc324 CachedState* cached = new CachedState; local
325 cached_states_.insert(make_pair(server_id, cached));
326 PopulateFromCanonicalConfig(server_id, cached);
327 return cached;
340 const CachedState* cached,
357 if (!cached->source_address_token().empty()) {
358 out->SetStringPiece(kSourceAddressTokenTag, cached->source_address_token());
373 const vector<string>& certs = cached->certs();
376 // doesn't update the cached certificates and cause us to be unable to
394 const CachedState* cached,
337 FillInchoateClientHello( const QuicServerId& server_id, const QuicVersion preferred_version, const CachedState* cached, QuicCryptoNegotiatedParameters* out_params, CryptoHandshakeMessage* out) const argument
390 FillClientHello( const QuicServerId& server_id, QuicConnectionId connection_id, const QuicVersion preferred_version, const CachedState* cached, QuicWallTime now, QuicRandom* rand, const ChannelIDKey* channel_id_key, QuicCryptoNegotiatedParameters* out_params, CryptoHandshakeMessage* out, string* error_details) const argument
578 CacheNewServerConfig( const CryptoHandshakeMessage& message, QuicWallTime now, const vector<string>& cached_certs, CachedState* cached, string* error_details) argument
635 ProcessRejection( const CryptoHandshakeMessage& rej, QuicWallTime now, CachedState* cached, bool is_https, QuicCryptoNegotiatedParameters* out_params, string* error_details) argument
688 ProcessServerHello( const CryptoHandshakeMessage& server_hello, QuicConnectionId connection_id, const QuicVersionVector& negotiated_versions, CachedState* cached, QuicCryptoNegotiatedParameters* out_params, string* error_details) argument
764 ProcessServerConfigUpdate( const CryptoHandshakeMessage& server_config_update, QuicWallTime now, CachedState* cached, QuicCryptoNegotiatedParameters* out_params, string* error_details) argument
806 CachedState* cached = LookupOrCreate(server_id); local
[all...]
/external/chromium_org/third_party/skia/src/image/
H A DSkSurface_Gpu.cpp17 SkSurface_Gpu(GrRenderTarget*, bool cached, const SkSurfaceProps*, bool doClear);
36 SkSurface_Gpu::SkSurface_Gpu(GrRenderTarget* renderTarget, bool cached, const SkSurfaceProps* props, argument
41 deviceFlags |= cached ? SkGpuDevice::kCached_Flag : 0;
/external/skia/src/image/
H A DSkSurface_Gpu.cpp17 SkSurface_Gpu(GrRenderTarget*, bool cached, TextRenderMode trm);
36 SkSurface_Gpu::SkSurface_Gpu(GrRenderTarget* renderTarget, bool cached, TextRenderMode trm) argument
39 flags |= cached ? SkGpuDevice::kCached_Flag : 0;
/external/chromium_org/net/quic/
H A Dquic_crypto_client_stream.cc146 QuicCryptoClientConfig::CachedState* cached = local
151 cached,
181 QuicCryptoClientConfig::CachedState* cached = local
189 if (!cached->IsEmpty() && !cached->signature().empty() &&
191 // Note that we verify the proof even if the cached proof is valid.
196 // If the cached state needs to be verified, do it now.
212 if (!cached->IsComplete(session()->connection()->clock()->WallNow())) {
216 cached, &crypto_negotiated_params_, &out);
242 cached,
449 DoInitializeServerConfigUpdate( QuicCryptoClientConfig::CachedState* cached) argument
468 DoVerifyProof( QuicCryptoClientConfig::CachedState* cached) argument
506 DoVerifyProofComplete( QuicCryptoClientConfig::CachedState* cached) argument
533 SetCachedProofValid( QuicCryptoClientConfig::CachedState* cached) argument
539 RequiresChannelID( QuicCryptoClientConfig::CachedState* cached) argument
[all...]
H A Dquic_client_session.cc399 // we learn about SSL info (sync vs async vs cached).
658 const QuicCryptoClientConfig::CachedState& cached) {
659 DCHECK(cached.proof_valid());
667 state->server_config = cached.server_config();
668 state->source_address_token = cached.source_address_token();
669 state->server_config_sig = cached.signature();
670 state->certs = cached.certs();
657 OnProofValid( const QuicCryptoClientConfig::CachedState& cached) argument
H A Dquic_stream_factory.cc575 QuicCryptoClientConfig::CachedState* cached = local
577 DCHECK(cached);
578 if (cached->IsEmpty()) {
966 QuicCryptoClientConfig::CachedState* cached =
968 if (!cached->IsEmpty())
971 if (!cached->Initialize(server_info->state().server_config,
980 cached->SetProofValid();
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DNodeListsNodeData.h133 T* cached(CollectionType collectionType) function in class:blink::FINAL
262 return nodeLists ? nodeLists->cached<Collection>(type) : 0;
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dshaders_cache.c398 struct cached_shader *cached = local
401 cached->driver_shader);
413 struct cached_shader *cached; local
417 cached = CALLOC_STRUCT(cached_shader);
418 cached->driver_shader = create_shader(sc->pipe->pipe, key, &cached->state);
420 cso_hash_insert(sc->hash, key, cached);
422 return cached->driver_shader;
425 cached = (struct cached_shader *)cso_hash_iter_data(iter);
427 assert(cached
[all...]
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dshaders_cache.c398 struct cached_shader *cached = local
401 cached->driver_shader);
413 struct cached_shader *cached; local
417 cached = CALLOC_STRUCT(cached_shader);
418 cached->driver_shader = create_shader(sc->pipe->pipe, key, &cached->state);
420 cso_hash_insert(sc->hash, key, cached);
422 return cached->driver_shader;
425 cached = (struct cached_shader *)cso_hash_iter_data(iter);
427 assert(cached
[all...]
/external/chromium_org/base/process/
H A Dprocess_metrics.h270 int cached; member in struct:base::SystemMemoryInfoKB
/external/chromium_org/chrome/browser/chromeos/app_mode/
H A Dkiosk_external_updater.cc369 bool cached = KioskAppManager::Get()->GetCachedCrx( local
371 DCHECK(cached);
/external/chromium_org/third_party/WebKit/Source/modules/geolocation/
H A DGeolocation.cpp281 // This may be due to either a new position from the service, or a cached position.
300 // If any of the requests are waiting for permission for a cached position,
367 void Geolocation::extractNotifiersWithCachedPosition(GeoNotifierVector& notifiers, GeoNotifierVector* cached) argument
374 if (cached)
375 cached->append(notifier);
409 // Don't send non-fatal errors to notifiers due to receive a cached position.
418 // cached position and those requiring a fresh position. Perform the check
423 // Maintain a reference to the cached notifiers until their timer fires.
458 // Also clear the set of notifiers waiting for a cached position. All the
/external/chromium_org/third_party/skia/src/gpu/
H A DGrClipMaskManager.cpp53 // This could be a long-lived effect that is cached with the alpha-mask.
509 bool cached = fAACache.canReuse(elementsGenID, clipSpaceIBounds); local
510 if (!cached) {
524 // currently cached mask so it can be reused.
549 // First, check for cached texture
/external/chromium_org/ui/display/chromeos/
H A Ddisplay_configurator_unittest.cc1028 const DisplayConfigurator::DisplayStateList* cached = local
1030 ASSERT_EQ(static_cast<size_t>(1), cached->size());
1031 EXPECT_EQ(outputs_[0].current_mode(), (*cached)[0].display->current_mode());
1037 cached = &configurator_.cached_displays();
1038 ASSERT_EQ(static_cast<size_t>(2), cached->size());
1039 EXPECT_EQ(outputs_[0].current_mode(), (*cached)[0].display->current_mode());
1040 EXPECT_EQ(outputs_[1].current_mode(), (*cached)[1].display->current_mode());
/external/valgrind/main/VEX/priv/
H A Dmain_main.c1084 static Int cached = 0; /* DO NOT MAKE NON-STATIC */ local
1085 if (UNLIKELY(cached == 0)) {
1088 cached = evCheckSzB_X86(); break;
1090 cached = evCheckSzB_AMD64(); break;
1092 cached = evCheckSzB_ARM(); break;
1094 cached = evCheckSzB_ARM64(); break;
1096 cached = evCheckSzB_S390(); break;
1099 cached = evCheckSzB_PPC(); break;
1102 cached = evCheckSzB_MIPS(); break;
1107 return cached;
[all...]
/external/chromium_org/chrome/browser/history/
H A Dtop_sites_impl.cc882 MostVisitedURLList cached; local
883 ApplyBlacklist(cache_->top_sites(), &cached);
884 thread_safe_cache_->SetTopSites(cached);
/external/chromium_org/third_party/icu/source/i18n/
H A Dzonemeta.cpp244 // Checking the cached results
257 // Check if it was already cached
434 // Checking the cached results
441 // Check if it was already cached
442 UBool cached = FALSE; local
446 singleZone = cached = gSingleZoneCountries->contains((void*)region);
447 if (!cached) {
448 cached = gMultiZonesCountries->contains((void*)region);
453 if (!cached) {
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontMgr_win_dw.cpp334 static bool FindByDWriteFont(SkTypeface* cached, SkTypeface::Style, void* ctx) { argument
335 DWriteFontTypeface* cshFace = reinterpret_cast<DWriteFontTypeface*>(cached);

Completed in 1029 milliseconds

123