Home
last modified time | relevance | path

Searched refs:new_cache (Results 1 – 17 of 17) sorted by relevance

/external/pdfium/core/fxge/
Dcfx_fontcache.cpp25 auto new_cache = pdfium::MakeRetain<CFX_GlyphCache>(face); in GetGlyphCache() local
26 map[face.Get()].Reset(new_cache.Get()); in GetGlyphCache()
27 return new_cache; in GetGlyphCache()
/external/e2fsprogs/e2fsck/
Djfs_user.h150 struct kmem_cache *new_cache; in kmem_cache_create() local
152 new_cache = malloc(sizeof(*new_cache)); in kmem_cache_create()
153 if (new_cache) in kmem_cache_create()
154 new_cache->object_size = size; in kmem_cache_create()
155 return new_cache; in kmem_cache_create()
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_compilation_cache.cc297 [&](XRTCompilationCache** new_cache) { in GetOrCreateCompilationCache() argument
298 *new_cache = new XRTCompilationCache(max_number_of_entries); in GetOrCreateCompilationCache()
/external/cronet/stable/net/disk_cache/
Ddisk_cache.cc162 disk_cache::BackendImpl* new_cache = cache.get(); in Run() local
164 if (!new_cache->SetMaxSize(max_bytes_)) { in Run()
168 new_cache->Init( in Run()
/external/cronet/tot/net/disk_cache/
Ddisk_cache.cc162 disk_cache::BackendImpl* new_cache = cache.get(); in Run() local
164 if (!new_cache->SetMaxSize(max_bytes_)) { in Run()
168 new_cache->Init( in Run()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_texture_handle.c171 replace_sample_function_cache_locked(struct lp_sampler_matrix *matrix, struct hash_table *new_cache) in replace_sample_function_cache_locked() argument
173 uint64_t old_value = p_atomic_xchg(&matrix->latest_cache.value, (uint64_t)(uintptr_t)new_cache); in replace_sample_function_cache_locked()
581 struct hash_table *new_cache = _mesa_hash_table_clone(current_cache, NULL); in get_sample_function() local
582 _mesa_hash_table_insert(new_cache, allocated_key, result); in get_sample_function()
583 replace_sample_function_cache_locked(matrix, new_cache); in get_sample_function()
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_configuration_ops.cc100 compilation_cache, [&](tpu::TpuCompilationCacheInterface** new_cache) { in CreateTpuCompilationCache() argument
101 *new_cache = tpu::GetCompilationCacheCreateFn()(); in CreateTpuCompilationCache()
/external/cronet/stable/third_party/boringssl/src/ssl/
Dssl_x509.cc1030 UniquePtr<STACK_OF(X509_NAME)> new_cache(sk_X509_NAME_new_null()); in STACK_OF() local
1031 if (!new_cache) { in STACK_OF()
1041 !PushToStack(new_cache.get(), std::move(name))) { in STACK_OF()
1046 *cached = new_cache.release(); in STACK_OF()
/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/ssl/
Dssl_x509.cc1102 UniquePtr<STACK_OF(X509_NAME)> new_cache(sk_X509_NAME_new_null()); in STACK_OF() local
1103 if (!new_cache) { in STACK_OF()
1114 !PushToStack(new_cache.get(), std::move(name))) { in STACK_OF()
1119 *cached = new_cache.release(); in STACK_OF()
/external/boringssl/src/ssl/
Dssl_x509.cc901 UniquePtr<STACK_OF(X509_NAME)> new_cache(sk_X509_NAME_new_null()); in STACK_OF() local
902 if (!new_cache) { in STACK_OF()
912 !PushToStack(new_cache.get(), std::move(name))) { in STACK_OF()
917 *cached = new_cache.release(); in STACK_OF()
/external/cronet/tot/third_party/boringssl/src/ssl/
Dssl_x509.cc1030 UniquePtr<STACK_OF(X509_NAME)> new_cache(sk_X509_NAME_new_null()); in STACK_OF() local
1031 if (!new_cache) { in STACK_OF()
1041 !PushToStack(new_cache.get(), std::move(name))) { in STACK_OF()
1046 *cached = new_cache.release(); in STACK_OF()
/external/pytorch/torch/_dynamo/
Doutput_graph.py146 new_cache = VariableTrackerCache()
147 new_cache.cache.update(self.cache)
148 return new_cache
/external/scapy/scapy/
Dconfig.py506 def new_cache(self, name, timeout=None): member in NetCache
/external/scapy/scapy/layers/
Dl2.py134 _arp_cache = conf.netcache.new_cache("arp_cache", 120)
Dldap.py1437 _dclocatorcache = conf.netcache.new_cache("dclocator", 600)
Ddns.py1376 _dns_cache = conf.netcache.new_cache("dns_cache", 300)
Dinet6.py116 conf.netcache.new_cache("in6_neighbor", 120)