Home
last modified time | relevance | path

Searched refs:cached_ (Results 1 – 9 of 9) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/jwt/
Djwt_credentials.cc43 GRPC_MDELEM_UNREF(cached_.jwt_md); in reset_cache()
44 cached_.jwt_md = GRPC_MDNULL; in reset_cache()
45 if (cached_.service_url != nullptr) { in reset_cache()
46 gpr_free(cached_.service_url); in reset_cache()
47 cached_.service_url = nullptr; in reset_cache()
49 cached_.jwt_expiration = gpr_inf_past(GPR_CLOCK_REALTIME); in reset_cache()
70 if (cached_.service_url != nullptr && in get_request_metadata()
71 strcmp(cached_.service_url, context.service_url) == 0 && in get_request_metadata()
72 !GRPC_MDISNULL(cached_.jwt_md) && in get_request_metadata()
74 gpr_time_sub(cached_.jwt_expiration, gpr_now(GPR_CLOCK_REALTIME)), in get_request_metadata()
[all …]
Djwt_credentials.h69 } cached_; variable
/external/perfetto/src/trace_processor/sqlite/
Dquery_cache.h40 if (cached_.source != source || cs.size() != cached_.constraints.size()) in GetIfCached()
47 std::equal(cs.begin(), cs.end(), cached_.constraints.begin(), p); in GetIfCached()
48 return same_cs ? cached_.table : nullptr; in GetIfCached()
61 cached_.source = source; in GetOrCache()
62 cached_.constraints = cs; in GetOrCache()
63 cached_.table.reset(new Table(fn())); in GetOrCache()
64 return cached_.table; in GetOrCache()
75 CachedTable cached_; variable
/external/webrtc/test/scenario/
Dstats_collection.cc44 cached_.reset(); in HandleFramePair()
69 if (!cached_) { in stats()
70 cached_ = VideoQualityStats(); in stats()
72 cached_->AddStats(layer.second.stats_); in stats()
74 return *cached_; in stats()
Dstats_collection.h62 absl::optional<VideoQualityStats> cached_; variable
/external/llvm-project/llvm/utils/benchmark/include/benchmark/
Dbenchmark.h697 StateIterator() : cached_(0), parent_() {} in StateIterator()
701 : cached_(st->error_occurred_ ? 0 : st->max_iterations), parent_(st) {} in StateIterator()
709 assert(cached_ > 0);
710 --cached_;
716 if (BENCHMARK_BUILTIN_EXPECT(cached_ != 0, true)) return true;
722 size_t cached_;
/external/libcxx/utils/google-benchmark/include/benchmark/
Dbenchmark.h732 StateIterator() : cached_(0), parent_() {} in StateIterator()
736 : cached_(st->error_occurred_ ? 0 : st->max_iterations), parent_(st) {} in StateIterator()
744 assert(cached_ > 0);
745 --cached_;
751 if (BENCHMARK_BUILTIN_EXPECT(cached_ != 0, true)) return true;
757 size_t cached_;
/external/llvm-project/libcxx/utils/google-benchmark/include/benchmark/
Dbenchmark.h732 StateIterator() : cached_(0), parent_() {} in StateIterator()
736 : cached_(st->error_occurred_ ? 0 : st->max_iterations), parent_(st) {} in StateIterator()
744 assert(cached_ > 0);
745 --cached_;
751 if (BENCHMARK_BUILTIN_EXPECT(cached_ != 0, true)) return true;
757 size_t cached_;
/external/google-benchmark/include/benchmark/
Dbenchmark.h739 StateIterator() : cached_(0), parent_() {} in StateIterator()
743 : cached_(st->error_occurred_ ? 0 : st->max_iterations), parent_(st) {} in StateIterator()
751 assert(cached_ > 0);
752 --cached_;
758 if (BENCHMARK_BUILTIN_EXPECT(cached_ != 0, true)) return true;
764 IterationCount cached_;