| /external/cronet/net/base/ |
| D | expiring_cache_unittest.cc | 2 // 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/ |
| D | host_cache_unittest.cc | 2 // 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 …]
|
| D | host_resolver_cache_unittest.cc | 2 // 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/ |
| D | crash_cache.cc | 2 // 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/ |
| D | ssl_client_session_cache_unittest.cc | 2 // 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/ |
| D | vk_pipeline_cache.c | 40 #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/ |
| D | reporting_cache_unittest.cc | 2 // 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 …]
|
| D | reporting_garbage_collector_unittest.cc | 2 // 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 …]
|
| D | reporting_network_change_observer_unittest.cc | 2 // 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 …]
|
| D | reporting_cache.h | 2 // 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/ |
| D | url_request_context_config_unittest.cc | 2 // 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/ |
| D | radv_pipeline_cache.c | 26 #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/ |
| D | mru_cache_unittest.cc | 2 // 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/ |
| D | cache_util_unittest.cc | 2 // 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/ |
| D | http_auth_cache_unittest.cc | 2 // 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 …]
|
| D | http_cache_unittest.cc | 2 // 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 …]
|
| D | http_response_headers_unittest.cc | 2 // 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/ |
| D | vn_buffer.c | 3 * 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 …]
|
| D | vn_image.c | 3 * 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/ |
| D | api-objects.txt | 1 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/ |
| D | v3d_disk_cache.c | 25 * 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/ |
| D | AppDataDirGuesserTest.java | 8 * 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/ |
| D | module_cache_unittest.cc | 2 // 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/ |
| D | draw_pt_vsplit.c | 2 * 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/ |
| D | pb_bufmgr_cache.c | 3 * 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 …]
|