Home
last modified time | relevance | path

Searched +full:cache +full:- +full:base (Results 1 – 25 of 1142) sorted by relevance

12345678910>>...46

/external/cronet/net/base/
Dexpiring_cache_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
5 #include "net/base/expiring_cache.h"
10 #include "base/containers/contains.h"
11 #include "base/strings/stringprintf.h"
12 #include "base/time/time.h"
24 typedef ExpiringCache<std::string, std::string, base::TimeTicks, std::less<>>
25 Cache; typedef
37 const base::TimeDelta kTTL = base::Seconds(10); in TEST()
39 Cache cache(kMaxCacheEntries); in TEST() local
42 base::TimeTicks now; in TEST()
[all …]
/external/cronet/net/dns/
Dhost_cache_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
13 #include "base/format_macros.h"
14 #include "base/functional/bind.h"
15 #include "base/functional/callback.h"
16 #include "base/functional/callback_helpers.h"
17 #include "base/json/json_reader.h"
18 #include "base/json/json_writer.h"
19 #include "base/ranges/algorithm.h"
20 #include "base/strings/strcat.h"
21 #include "base/strings/string_number_conversions.h"
[all …]
Dhost_resolver_cache_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
11 #include "base/test/simple_test_clock.h"
12 #include "base/test/simple_test_tick_clock.h"
13 #include "base/time/time.h"
14 #include "net/base/connection_endpoint_metadata.h"
15 #include "net/base/connection_endpoint_metadata_test_util.h"
16 #include "net/base/ip_address.h"
17 #include "net/base/ip_endpoint.h"
18 #include "net/base/net_errors.h"
19 #include "net/base/network_anonymization_key.h"
[all …]
/external/cronet/net/tools/crash_cache/
Dcrash_cache.cc2 // Use of this source code is governed by a BSD-style license that can be
5 // This command-line program generates the set of files needed for the crash-
6 // cache unit tests (DiskCacheTest,CacheBackend_Recover*). This program only
8 // on release builds of the cache.
12 #include "base/at_exit.h"
13 #include "base/check.h"
14 #include "base/command_line.h"
15 #include "base/files/file_util.h"
16 #include "base/message_loop/message_pump_type.h"
17 #include "base/path_service.h"
[all …]
/external/cronet/net/ssl/
Dssl_client_session_cache_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
7 #include "base/run_loop.h"
8 #include "base/strings/string_number_conversions.h"
9 #include "base/test/simple_test_clock.h"
10 #include "base/test/task_environment.h"
11 #include "base/time/time.h"
12 #include "base/trace_event/memory_allocator_dump.h"
13 #include "base/trace_event/process_memory_dump.h"
14 #include "net/base/network_anonymization_key.h"
15 #include "net/base/schemeful_site.h"
[all …]
/external/mesa3d/src/vulkan/runtime/
Dvk_pipeline_cache.c40 #define vk_pipeline_cache_log(cache, ...) \ argument
41 if (cache->base.client_visible) \
42 vk_logw(VK_LOG_OBJS(cache), __VA_ARGS__)
49 container_of(object, struct vk_raw_data_cache_object, base); in vk_raw_data_cache_object_serialize()
51 blob_write_bytes(blob, data_obj->data, data_obj->data_size); in vk_raw_data_cache_object_serialize()
57 vk_raw_data_cache_object_deserialize(struct vk_pipeline_cache *cache, in vk_raw_data_cache_object_deserialize() argument
62 /* We consume the entire blob_reader. Each call to ops->deserialize() in vk_raw_data_cache_object_deserialize()
67 assert(blob->current < blob->end); in vk_raw_data_cache_object_deserialize()
68 size_t data_size = blob->end - blob->current; in vk_raw_data_cache_object_deserialize()
72 vk_raw_data_cache_object_create(cache->base.device, key_data, key_size, in vk_raw_data_cache_object_deserialize()
[all …]
/external/cronet/net/reporting/
Dreporting_cache_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
10 #include "base/containers/contains.h"
11 #include "base/functional/bind.h"
12 #include "base/strings/string_number_conversions.h"
13 #include "base/strings/stringprintf.h"
14 #include "base/test/scoped_feature_list.h"
15 #include "base/test/simple_test_tick_clock.h"
16 #include "base/test/values_test_util.h"
17 #include "base/time/time.h"
18 #include "base/values.h"
[all …]
Dreporting_garbage_collector_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
9 #include "base/test/simple_test_tick_clock.h"
10 #include "base/time/time.h"
11 #include "base/timer/mock_timer.h"
12 #include "net/base/isolation_info.h"
13 #include "net/base/network_anonymization_key.h"
19 #include "third_party/abseil-cpp/absl/types/optional.h"
28 cache()->GetReports(&reports); in report_count()
32 const absl::optional<base::UnguessableToken> kReportingSource_ =
33 base::UnguessableToken::Create();
[all …]
Dreporting_network_change_observer_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
7 #include "base/functional/bind.h"
8 #include "base/run_loop.h"
9 #include "base/test/simple_test_tick_clock.h"
10 #include "base/unguessable_token.h"
11 #include "base/values.h"
12 #include "net/base/network_change_notifier.h"
17 #include "third_party/abseil-cpp/absl/types/optional.h"
30 base::RunLoop().RunUntilIdle(); in SimulateNetworkChange()
33 base::RunLoop().RunUntilIdle(); in SimulateNetworkChange()
[all …]
Dreporting_cache.h2 // Use of this source code is governed by a BSD-style license that can be
13 #include "base/containers/flat_map.h"
14 #include "base/containers/flat_set.h"
15 #include "base/functional/callback.h"
16 #include "base/time/time.h"
17 #include "base/unguessable_token.h"
18 #include "base/values.h"
19 #include "net/base/net_export.h"
23 #include "third_party/abseil-cpp/absl/types/optional.h"
32 // The cache holds undelivered reports and clients (per-origin endpoint
[all …]
/external/cronet/components/cronet/
Durl_request_context_config_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
9 #include "base/check.h"
10 #include "base/containers/contains.h"
11 #include "base/feature_list.h"
12 #include "base/functional/bind.h"
13 #include "base/json/json_writer.h"
14 #include "base/notreached.h"
15 #include "base/strings/strcat.h"
16 #include "base/strings/string_piece.h"
17 #include "base/test/task_environment.h"
[all …]
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline_cache.c26 #include "util/mesa-blake3.h"
27 #include "util/mesa-sha1.h"
42 if (device->printf.buffer_addr) in radv_is_cache_disabled()
48 return (device->instance->debug_flags & RADV_DEBUG_NO_CACHE) || in radv_is_cache_disabled()
49 (device->physical_device->use_llvm ? 0 : aco_get_codegen_flags()); in radv_is_cache_disabled()
60 _mesa_sha1_update(&ctx, device->cache_hash, sizeof(device->cache_hash)); in radv_hash_shaders()
64 _mesa_sha1_update(&ctx, layout->sha1, sizeof(layout->sha1)); in radv_hash_shaders()
82 _mesa_blake3_update(&ctx, &stage->key, sizeof(stage->key)); in radv_hash_graphics_spirv_to_nir()
84 _mesa_blake3_update(&ctx, stage->shader_sha1, sizeof(stage->shader_sha1)); in radv_hash_graphics_spirv_to_nir()
92 RADV_FROM_HANDLE(radv_pipeline_layout, layout, pCreateInfo->layout); in radv_hash_rt_shaders()
[all …]
/external/libchrome/base/containers/
Dmru_cache_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
5 #include "base/containers/mru_cache.h"
10 #include "base/memory/ptr_util.h"
11 #include "base/trace_event/memory_usage_estimator.h"
14 namespace base { namespace
34 cached_item_live_count--; in ~CachedItem()
43 typedef base::MRUCache<int, CachedItem> Cache; in TEST() typedef
44 Cache cache(Cache::NO_AUTO_EVICT); in TEST() local
49 EXPECT_TRUE(cache.Get(0) == cache.end()); in TEST()
50 EXPECT_TRUE(cache.Peek(0) == cache.end()); in TEST()
[all …]
/external/cronet/net/disk_cache/
Dcache_util_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
9 #include "base/files/file_enumerator.h"
10 #include "base/files/file_util.h"
11 #include "base/files/safe_base_name.h"
12 #include "base/files/scoped_temp_dir.h"
13 #include "base/run_loop.h"
14 #include "base/strings/string_number_conversions.h"
15 #include "base/test/bind.h"
16 #include "base/test/scoped_feature_list.h"
17 #include "base/test/task_environment.h"
[all …]
/external/cronet/net/http/
Dhttp_auth_cache_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
7 #include "base/strings/string_util.h"
8 #include "base/strings/stringprintf.h"
9 #include "base/strings/utf_string_conversions.h"
10 #include "base/test/simple_test_clock.h"
11 #include "base/test/simple_test_tick_clock.h"
12 #include "base/time/time.h"
13 #include "net/base/net_errors.h"
14 #include "net/base/network_anonymization_key.h"
15 #include "net/base/registry_controlled_domains/registry_controlled_domain.h"
[all …]
Dhttp_cache_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
15 #include "base/containers/cxx20_erase.h"
16 #include "base/files/scoped_temp_dir.h"
17 #include "base/format_macros.h"
18 #include "base/functional/bind.h"
19 #include "base/functional/callback_helpers.h"
20 #include "base/memory/ptr_util.h"
21 #include "base/memory/raw_ptr.h"
22 #include "base/run_loop.h"
23 #include "base/strings/strcat.h"
[all …]
Dhttp_response_headers_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
13 #include "base/pickle.h"
14 #include "base/strings/stringprintf.h"
15 #include "base/time/time.h"
16 #include "base/values.h"
17 #include "net/base/cronet_buildflags.h"
18 #include "net/base/tracing.h"
43 // Transform "normal"-looking headers (\n-separated) to the appropriate
44 // input format for ParseRawHeaders (\0-separated).
46 std::replace(headers->begin(), headers->end(), '\n', '\0'); in HeadersToRaw()
[all …]
/external/mesa3d/src/virtio/vulkan/
Dvn_buffer.c3 * SPDX-License-Identifier: MIT
13 #include "venus-protocol/vn_protocol_driver_buffer.h"
14 #include "venus-protocol/vn_protocol_driver_buffer_view.h"
25 struct vn_buffer_reqs_cache *cache) in vn_buffer_get_cache_index() argument
27 /* For simplicity, cache only when below conditions are met: in vn_buffer_get_cache_index()
28 * - pNext is NULL in vn_buffer_get_cache_index()
29 * - VK_SHARING_MODE_EXCLUSIVE or VK_SHARING_MODE_CONCURRENT across all in vn_buffer_get_cache_index()
36 assert(!(create_info->flags & 0x80000000)); in vn_buffer_get_cache_index()
39 create_info->sharingMode == VK_SHARING_MODE_EXCLUSIVE; in vn_buffer_get_cache_index()
41 create_info->sharingMode == VK_SHARING_MODE_CONCURRENT && in vn_buffer_get_cache_index()
[all …]
Dvn_image.c3 * SPDX-License-Identifier: MIT
13 #include "venus-protocol/vn_protocol_driver_image.h"
14 #include "venus-protocol/vn_protocol_driver_image_view.h"
15 #include "venus-protocol/vn_protocol_driver_sampler.h"
16 #include "venus-protocol/vn_protocol_driver_sampler_ycbcr_conversion.h"
32 if (!(create_info->flags & VK_IMAGE_CREATE_DISJOINT_BIT)) in vn_image_get_plane_count()
36 assert(create_info->tiling != VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT); in vn_image_get_plane_count()
37 return vk_format_get_plane_count(create_info->format); in vn_image_get_plane_count()
41 vn_image_cache_debug_dump(struct vn_image_reqs_cache *cache) in vn_image_cache_debug_dump() argument
43 vn_log(NULL, "dumping image reqs cache statistics"); in vn_image_cache_debug_dump()
[all …]
/external/python/google-api-python-client/docs/epy/
Dapi-objects.txt1 googleapiclient googleapiclient-module.html
2 googleapiclient.__package__ googleapiclient-module.html#__package__
3 googleapiclient._auth googleapiclient._auth-module.html
4 googleapiclient._auth.apply_credentials googleapiclient._auth-module.html#apply_credentials
5 googleapiclient._auth.HAS_GOOGLE_AUTH googleapiclient._auth-module.html#HAS_GOOGLE_AUTH
6 googleapiclient._auth.google_auth_httplib2 googleapiclient._auth-module.html#google_auth_httplib2
7 googleapiclient._auth.__package__ googleapiclient._auth-module.html#__package__
8 googleapiclient._auth.is_valid googleapiclient._auth-module.html#is_valid
9 googleapiclient._auth.default_credentials googleapiclient._auth-module.html#default_credentials
10 googleapiclient._auth.get_credentials_from_http googleapiclient._auth-module.html#get_credentials_f…
[all …]
/external/mesa3d/src/gallium/drivers/v3d/
Dv3d_disk_cache.c25 * V3D on-disk shader cache.
58 screen->devinfo.ver / 10, in v3d_disk_cache_init()
59 screen->devinfo.ver % 10); in v3d_disk_cache_init()
72 screen->disk_cache = disk_cache_create(renderer, timestamp, v3d_mesa_debug); in v3d_disk_cache_init()
78 v3d_disk_cache_compute_key(struct disk_cache *cache, in v3d_disk_cache_compute_key() argument
83 assert(cache); in v3d_disk_cache_compute_key()
85 assert(uncompiled->base.type == PIPE_SHADER_IR_NIR); in v3d_disk_cache_compute_key()
86 nir_shader *nir = uncompiled->base.ir.nir; in v3d_disk_cache_compute_key()
88 uint32_t ckey_size = v3d_key_size(nir->info.stage); in v3d_disk_cache_compute_key()
95 blob_write_bytes(&blob, uncompiled->sha1, 20); in v3d_disk_cache_compute_key()
[all …]
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DAppDataDirGuesserTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
35 guessCacheDirFor("/data/app/a.b.c-xxx/base.apk") in testGuessCacheDir_SimpleExample()
36 .shouldGive("/data/data/a.b.c/cache"); in testGuessCacheDir_SimpleExample()
37 guessCacheDirFor("/data/app/a.b.c.tests-xxx/base.apk") in testGuessCacheDir_SimpleExample()
38 .shouldGive("/data/data/a.b.c.tests/cache"); in testGuessCacheDir_SimpleExample()
43 guessCacheDirFor("/data/app/a.b.c-xxx/base.apk:/data/app/d.e.f-xxx/base.apk") in testGuessCacheDir_MultipleResultsSeparatedByColon()
44 .shouldGive("/data/data/a.b.c/cache", "/data/data/d.e.f/cache"); in testGuessCacheDir_MultipleResultsSeparatedByColon()
49 guessCacheDirFor("/data/app/a.b.c-xxx/base.apk:/data/app/d.e.f-xxx/base.apk") in testGuessCacheDir_NotWriteableSkipped()
50 .withNonWriteable("/data/data/a.b.c/cache") in testGuessCacheDir_NotWriteableSkipped()
51 .shouldGive("/data/data/d.e.f/cache"); in testGuessCacheDir_NotWriteableSkipped()
[all …]
/external/cronet/base/profiler/
Dmodule_cache_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
11 #include "base/containers/adapters.h"
12 #include "base/functional/callback.h"
13 #include "base/functional/callback_helpers.h"
14 #include "base/profiler/module_cache.h"
15 #include "base/ranges/algorithm.h"
16 #include "base/strings/string_piece.h"
17 #include "base/test/bind.h"
22 #include "base/debug/proc_maps_linux.h"
25 // Note: The special-case IS_CHROMEOS code inside GetDebugBasenameForModule to
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_vsplit.c2 * Mesa 3-D graphics library
4 * Copyright 2007-2008 VMware, Inc.
40 struct draw_pt_front_end base; member
63 } cache; member
70 memset(vsplit->cache.fetches, 0xff, sizeof(vsplit->cache.fetches)); in vsplit_clear_cache()
71 vsplit->cache.has_max_fetch = false; in vsplit_clear_cache()
72 vsplit->cache.num_fetch_elts = 0; in vsplit_clear_cache()
73 vsplit->cache.num_draw_elts = 0; in vsplit_clear_cache()
80 vsplit->middle->run(vsplit->middle, in vsplit_flush_cache()
81 vsplit->fetch_elts, vsplit->cache.num_fetch_elts, in vsplit_flush_cache()
[all …]
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_bufmgr_cache.c3 * Copyright 2007-2008 VMware, Inc.
20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
30 * Buffer cache.
32 * \author Jose Fonseca <jfonseca-at-vmware-dot-com>
33 * \author Thomas Hellström <thellstrom-at-vmware-dot-com>
53 struct pb_buffer base; member
62 struct pb_manager base; member
64 struct pb_cache cache; member
90 buf->mgr = NULL; in pb_cache_manager_remove_buffer()
101 assert(!pipe_is_referenced(&buf->base.base.reference)); in _pb_cache_buffer_destroy()
[all …]

12345678910>>...46