/packages/apps/Dialer/java/com/android/dialer/util/ |
ExpirableCache.java | 94 * The current generation of items added to the cache. 96 * <p>Items in the cache can belong to a previous generation, but in that case they would be 101 private final AtomicInteger generation; field in class:ExpirableCache 107 generation = new AtomicInteger(0); 204 generation.incrementAndGet(); 213 return new GenerationalCachedValue<V>(value, generation); 237 /** Cached values storing the generation at which they were added. */ 243 /** The generation at which the value was added to the cache. */ 244 private final int generation; field in class:ExpirableCache.GenerationalCachedValue 245 /** The atomic integer storing the current generation of the cache it belongs to. * [all...] |
/external/tensorflow/tensorflow/stream_executor/ |
temporary_memory_manager.cc | 38 const DeviceMemoryBase& device_memory, uint64 generation, bool must_exist) { 79 // If the allocation generation did not match, it's vacuously true. 84 uint64 generation) const { 90 return it->second.allocation_generation == generation; 105 uint64 generation; local 111 generation = ++generation_; 113 records_[device_memory] = {generation, 119 "generation %llu", 120 stream_, device_memory.opaque(), byte_size, generation); 122 new TemporaryDeviceMemoryBase(stream_, device_memory, generation)); [all...] |
/frameworks/base/libs/hwui/font/ |
FontCacheHistoryTracker.h | 42 uint16_t generation; member in struct:android::uirenderer::FontCacheHistoryTracker::CachedGlyph 61 uint16_t generation = 0; member in class:android::uirenderer::FontCacheHistoryTracker
|
/external/e2fsprogs/misc/ |
lsattr.c | 82 unsigned long generation; local 100 if (fgetversion (name, &generation) == -1) { 106 printf ("%-10lu ", generation);
|
/frameworks/support/compat/src/androidTest/java/androidx/core/provider/ |
SelfDestructiveThreadTest.java | 106 Integer generation = thread.postAndWait(new Callable<Integer>() { local 112 assertNotNull(generation); 121 assertNotEquals(generation.intValue(), nextGeneration.intValue()); 129 Integer generation = thread.postAndWait(new Callable<Integer>() { local 135 assertNotNull(generation); 144 assertEquals(generation.intValue(), nextGeneration.intValue()); 153 Integer generation = thread.postAndWait(new Callable<Integer>() { local 159 assertNotNull(generation); 160 int firstGeneration = generation.intValue();
|
/device/google/cuttlefish_common/common/vsoc/lib/ |
socket_forward_region_view.cpp | 66 // TODO(haining) check packet generation number 86 // TODO(haining) set packet generation number 93 std::uint32_t generation) { 98 } while (!packet.IsBegin() || packet.generation() < generation); 140 auto current_generation = generation(); 211 std::uint32_t SocketForwardRegionView::generation() { function in class:SocketForwardRegionView 244 auto current_generation = generation(); 279 auto current_generation = generation();
|
socket_forward_region_view.h | 30 std::uint32_t generation; member in struct:vsoc::socket_forward::Header 70 std::uint32_t generation() const { return header_.generation; } function in struct:vsoc::Packet 72 void set_generation(std::uint32_t generation) { 73 header_.generation = generation; 116 // current generation 117 void IgnoreUntilBegin(int connection_id, std::uint32_t generation); 133 std::uint32_t generation) 134 : view_{view, {connection_id, generation}}, [all...] |
/external/libunwind/include/tdep-ia64/ |
script.h | 73 uint32_t generation; /* generation number */ member in struct:ia64_script_cache
|
/external/v8/src/ |
compilation-cache.cc | 40 Handle<CompilationCacheTable> CompilationSubCache::GetTable(int generation) { 41 DCHECK(generation < generations_); 43 if (tables_[generation]->IsUndefined(isolate())) { 45 tables_[generation] = *result; 48 CompilationCacheTable::cast(tables_[generation]); 56 // Don't directly age single-generation caches. 69 // Set the first generation as unborn. 95 // Probe the script generation tables. Make sure not to leak handles 98 for (int generation = 0; generation < generations(); generation++) 149 const int generation = 0; local 203 const int generation = 0; local 238 int generation; local [all...] |
/frameworks/av/media/libstagefright/ |
MediaClock.cpp | 238 int32_t generation; local 239 CHECK(msg->findInt32("generation", &generation)); 242 if (generation != mGeneration) { 307 msg->setInt32("generation", mGeneration);
|
/frameworks/base/media/java/android/media/tv/ |
TvStreamConfig.java | 55 generation(source.readInt()).build(); 144 public Builder generation(int generation) { method in class:TvStreamConfig.Builder 145 mGeneration = generation;
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
GenerationRegistry.java | 58 final int generation = backingStore.get(index) + 1; local 59 backingStore.set(index, generation); 62 Slog.e(LOG_TAG, "Error updating generation id", e); 88 Slog.e(LOG_TAG, "Error adding generation data", e); 127 Slog.e(LOG_TAG, "Error creating generation tracker", e); 141 Slog.e(LOG_TAG, "Cannot close generation memory array", e); 173 Slog.e(LOG_TAG, "Could not allocate generation index");
|
/hardware/google/av/media/codecs/base/ |
SimpleC2Component.cpp | 325 uint64_t generation; local 345 generation = queue->generation(); 417 if (queue->generation() != generation) { 418 ALOGD("work form old generation: was %" PRIu64 " now %" PRIu64, 419 queue->generation(), generation);
|
/hardware/google/av/media/codecs/base/include/ |
SimpleC2Component.h | 165 inline uint64_t generation() const { return mGeneration; } function in class:android::SimpleC2Component::WorkQueue
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
CyclicBarrier.java | 142 * Each use of the barrier is represented as a generation instance. 143 * The generation changes whenever the barrier is tripped, or 149 * There need not be an active generation if there has been a break 152 private static class Generation { 164 /** The current generation */ 165 private Generation generation = new Generation(); field in class:CyclicBarrier 169 * on each generation. It is reset to parties on each new 170 * generation or when broken [all...] |
/external/libchrome/base/trace_event/ |
trace_log.h | 406 // |generation| is used in the following callbacks to check if the callback 408 void FlushCurrentThread(int generation, bool discard_events); 414 void FinishFlush(int generation, bool discard_events); 415 void OnFlushTimeout(int generation, bool discard_events); 417 int generation() const { function 420 bool CheckGeneration(int generation) const { 421 return generation == this->generation();
|
/external/libevent/ |
evthread_win32.c | 186 int generation; member in struct:evthread_win32_cond 204 cond->n_waiting = cond->n_to_wake = cond->generation = 0; 226 cond->generation++; 246 generation_at_start = cond->generation; 257 cond->generation != generation_at_start) {
|
/external/perfetto/src/ftrace_reader/ |
ftrace_controller_unittest.cc | 216 size_t generation = generation_; local 217 return [this, weak_this, generation, cpu] { 218 OnDataAvailable(weak_this, generation, cpu, GetDrainPeriodMs());
|
/external/skia/src/sksl/ |
SkSLUtil.h | 54 GrGLSLGeneration generation() const { function in class:SkSL::StandaloneShaderCaps
|
/external/skqp/src/sksl/ |
SkSLUtil.h | 54 GrGLSLGeneration generation() const { function in class:SkSL::StandaloneShaderCaps
|
/external/webrtc/webrtc/p2p/base/ |
candidate.h | 50 uint32_t generation, 61 generation_(generation), 128 // Candidates in a new generation replace those in the old generation. 129 uint32_t generation() const { return generation_; } function in class:cricket::Candidate 130 void set_generation(uint32_t generation) { generation_ = generation; }
|
/frameworks/av/cmds/stagefright/ |
SimplePlayer.cpp | 252 int32_t generation; local 253 CHECK(msg->findInt32("generation", &generation)); 255 if (generation != mDoMoreStuffGeneration) { 384 msg->setInt32("generation", ++mDoMoreStuffGeneration);
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
HTTPLiveSource2.cpp | 226 int32_t &generation = isSub ? mFetchSubtitleDataGeneration : mFetchMetaDataGeneration; local 227 generation++; 231 msg->setInt32("generation", generation); 254 int32_t generation; local 255 CHECK(msg->findInt32("generation", &generation)); 257 if (generation != currentGeneration) {
|
NuPlayer2DecoderPassThrough.cpp | 96 int32_t generation; local 97 CHECK(msg->findInt32("generation", &generation)); 98 return generation != mBufferGeneration; 340 reply->setInt32("generation", mBufferGeneration);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
HTTPLiveSource.cpp | 225 int32_t &generation = isSub ? mFetchSubtitleDataGeneration : mFetchMetaDataGeneration; local 226 generation++; 230 msg->setInt32("generation", generation); 253 int32_t generation; local 254 CHECK(msg->findInt32("generation", &generation)); 256 if (generation != currentGeneration) {
|