Home
last modified time | relevance | path

Searched refs:domains (Results 1 – 25 of 183) sorted by relevance

12345678

/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/
Dcpuset_sched_domains_check.c84 bitmask_or(alldomains, alldomains, domains[i]); in check_sched_domains()
86 for (cpu = bitmask_first(domains[i]); in check_sched_domains()
87 cpu < bitmask_nbits(domains[i]); in check_sched_domains()
88 cpu = bitmask_next(domains[i], cpu + 1)) { in check_sched_domains()
89 if (bitmask_weight(domains[i]) == 1) { in check_sched_domains()
92 domains[i]); in check_sched_domains()
105 if (!bitmask_equal(domains[i], cpus[cpu].sched_domain)) { in check_sched_domains()
107 domains[i]); in check_sched_domains()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_bo.h137 VkMemoryPropertyFlags domains = 0; in vk_domain_from_heap() local
142 domains = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in vk_domain_from_heap()
145 domains = VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT | VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in vk_domain_from_heap()
148 domains = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT; in vk_domain_from_heap()
151 domains = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT; in vk_domain_from_heap()
154 domains = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_CACHED_BIT; in vk_domain_from_heap()
159 return domains; in vk_domain_from_heap()
163 zink_heap_from_domain_flags(VkMemoryPropertyFlags domains, enum zink_alloc_flag flags) in zink_heap_from_domain_flags() argument
168 if ((domains & VK_VIS_VRAM) == VK_VIS_VRAM) in zink_heap_from_domain_flags()
171 if (domains & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) in zink_heap_from_domain_flags()
[all …]
/third_party/node/deps/v8/tools/
Dcallstats.py271 domains = {}
286 if domain not in domains:
287 domains[domain] = entry
289 if not isinstance(domains[domain], int):
290 domains[domain][2] = 1
291 domains[domain] = 1
292 domains[domain] += 1
293 entry[2] = domains[domain]
504 domains = {}
508 if domain not in domains: domains[domain] = {}
[all …]
/third_party/node/deps/cares/src/lib/
Dares_options.c45 for (i = 0; options->domains && i < options->ndomains; i++) { in ares_destroy_options()
46 ares_free(options->domains[i]); in ares_destroy_options()
49 ares_free(options->domains); in ares_destroy_options()
101 options->domains = NULL; in ares_save_options()
153 options->domains = NULL; in ares_save_options()
155 options->domains = ares_malloc(channel->ndomains * sizeof(char *)); in ares_save_options()
156 if (!options->domains) { in ares_save_options()
161 options->domains[i] = ares_strdup(channel->domains[i]); in ares_save_options()
162 if (!options->domains[i]) { in ares_save_options()
383 channel->domains = in ares__init_by_options()
[all …]
Dares_init.c237 channel->domains = ares_malloc(sizeof(char *)); in init_by_defaults()
238 if (!channel->domains) { in init_by_defaults()
242 channel->domains[0] = ares_strdup(dot + 1); in init_by_defaults()
243 if (!channel->domains[0]) { in init_by_defaults()
265 if (channel->domains && channel->domains[0]) { in init_by_defaults()
266 ares_free(channel->domains[0]); in init_by_defaults()
268 if (channel->domains) { in init_by_defaults()
269 ares_free(channel->domains); in init_by_defaults()
270 channel->domains = NULL; in init_by_defaults()
Dares_sysconfig.c626 sysconfig->domains = ares__strsplit(line, ", ", &sysconfig->ndomains); in ares__init_sysconfig_windows()
628 if (sysconfig->domains == NULL) { in ares__init_sysconfig_windows()
780 char *domains; in ares__init_sysconfig_android() local
805 domains = ares_get_android_search_domains_list(); in ares__init_sysconfig_android()
806 sysconfig->domains = ares__strsplit(domains, ", ", &sysconfig->ndomains); in ares__init_sysconfig_android()
807 ares_free(domains); in ares__init_sysconfig_android()
941 sysconfig->domains = ares_malloc_zero(entries * sizeof(char *)); in ares__init_sysconfig_libresolv()
942 if (sysconfig->domains == NULL) { in ares__init_sysconfig_libresolv()
948 sysconfig->domains[i] = ares_strdup(res.dnsrch[i]); in ares__init_sysconfig_libresolv()
949 if (sysconfig->domains[i] == NULL) { in ares__init_sysconfig_libresolv()
[all …]
Dares_search.c45 char **domains; /* duplicate for ares_reinit() safety */ member
108 squery->domains = in ares_search_int()
109 ares__strsplit_duplicate(channel->domains, channel->ndomains); in ares_search_int()
110 if (squery->domains == NULL) { in ares_search_int()
148 status = ares__cat_domain(name, squery->domains[0], &s); in ares_search_int()
206 squery->domains[squery->next_domain], &s); in search_callback()
236 ares__strsplit_free(squery->domains, squery->ndomains); in end_squery()
Dares_android.c393 jstring domains = NULL; in ares_get_android_search_domains_list() local
450 domains = in ares_get_android_search_domains_list()
452 if (domains == NULL) { in ares_get_android_search_domains_list()
457 domain = (*env)->GetStringUTFChars(env, domains, 0); in ares_get_android_search_domains_list()
459 (*env)->ReleaseStringUTFChars(env, domains, domain); in ares_get_android_search_domains_list()
460 (*env)->DeleteLocalRef(env, domains); in ares_get_android_search_domains_list()
Dares_destroy.c85 if (channel->domains) { in ares_destroy()
87 ares_free(channel->domains[i]); in ares_destroy()
89 ares_free(channel->domains); in ares_destroy()
/third_party/glib/patch/
Dbackport-gmessages-fix-dropping-irrelevant-log-domains.patch4 Subject: [PATCH 1/2] gmessages: fix dropping irrelevant log domains
28 +domain_found (const gchar *domains,
36 + for (found = strstr (domains, log_domain); found;
39 + if ((found == domains || found[-1] == ' ')
53 if (strcmp (domains, "all") != 0 &&
54 - (log_domain == NULL || !strstr (domains, log_domain)))
55 + (log_domain == NULL || !domain_found (domains, log_domain)))
66 Subject: [PATCH 2/2] glib/tests: extend logging test (dropping domains)
/third_party/node/deps/v8/third_party/inspector_protocol/
Dcheck_protocol_compatibility.py211 def normalize_types_in_schema(domains): argument
213 for domain in domains:
234 def load_schema(file_name, domains): argument
241 domains += parsed_json["domains"]
429 def load_domains_and_baselines(file_name, domains, baseline_domains): argument
430 version = load_schema(os.path.normpath(file_name), domains)
453 domains = []
455 version = load_domains_and_baselines(arg_values[0], domains, baseline_domains)
457 load_domains_and_baselines(dependency, domains, baseline_domains)
465 errors = compare_schemas(baseline_domains, domains, False)
[all …]
Dconcatenate_protocols.py23 domains = []
32 domains += parsed_json["domains"]
36 json.dump({"version": version, "domains": domains}, output_file,
/third_party/node/tools/inspector_protocol/
Dcheck_protocol_compatibility.py211 def normalize_types_in_schema(domains): argument
213 for domain in domains:
234 def load_schema(file_name, domains): argument
241 domains += parsed_json["domains"]
429 def load_domains_and_baselines(file_name, domains, baseline_domains): argument
430 version = load_schema(os.path.normpath(file_name), domains)
453 domains = []
455 version = load_domains_and_baselines(arg_values[0], domains, baseline_domains)
457 load_domains_and_baselines(dependency, domains, baseline_domains)
465 errors = compare_schemas(baseline_domains, domains, False)
[all …]
Dconcatenate_protocols.py21 domains = []
30 domains += parsed_json["domains"]
34 …json.dump({"version": version, "domains": domains}, output_file, indent=4, sort_keys=False, separa…
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dcpuinfo.c358 struct bitmask **domains; variable
450 domains = malloc(ndomains * sizeof(*domains)); in partition_domains()
451 if (domains == NULL) { in partition_domains()
460 domains[j] = bitmask_alloc(cpus_nbits); in partition_domains()
461 if (cpuset_getcpus(cpusets[i], domains[j])) { in partition_domains()
472 bitmask_free(domains[i]); in partition_domains()
473 free(domains); in partition_domains()
474 domains = NULL; in partition_domains()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_buffer.c60 res->domains = RADEON_DOMAIN_VRAM; in si_init_resource_fields()
62 res->domains = RADEON_DOMAIN_GTT; in si_init_resource_fields()
67 res->domains = RADEON_DOMAIN_GTT; in si_init_resource_fields()
75 res->domains = RADEON_DOMAIN_VRAM; in si_init_resource_fields()
93 res->domains = RADEON_DOMAIN_GTT; in si_init_resource_fields()
99 res->domains = RADEON_DOMAIN_VRAM; in si_init_resource_fields()
144 assert(res->domains == RADEON_DOMAIN_VRAM); in si_init_resource_fields()
148 if (res->domains == RADEON_DOMAIN_VRAM && in si_init_resource_fields()
155 if (res->domains & RADEON_DOMAIN_VRAM) { in si_init_resource_fields()
174 res->domains, res->flags); in si_alloc_resource()
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_EXT_calibrated_timestamps.txt24 quasi simultaneously from two time domains.
37 *RESOLVED*: A query is provided to determine the calibrateable time domains.
45 supported time domains, while supporting only one host and the device time
77 *RESOLVED*: Yes, especially as some time domains by definition allow for
86 calibrated timestamp query can have by sampling one of the time domains
101 domains coincides and all clocks can literally be sampled simutaneously,
104 length of the ticks of the set of time domains calibrated and thus can never
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/
DVK_EXT_calibrated_timestamps.adoc38 …* Provide a method to capture simultaneous timestamps across different domains so they can be cali…
44 This extension exposes a way to capture roughly simultaneous timestamps from multiple domains at on…
58 …xtension provides four domains to the application; while the device domain is always available, th…
87 …e following command allows applications to retrieve comparable timestamps across different domains:
106 The returned values will be queried in their time domains as closely as possible in time, with the …
113 As the supported set of timestamp domains is queryable, additional domains can be added over time i…
128 Yes, especially as some time domains by definition allow for that to happen (e.g. CLOCK_MONOTONIC i…
135 …ny single calibrated timestamp query can have by sampling one of the time domains twice as follows:
149domains coincides and all clocks can literally be sampled simultaneously, there is not really a po…
/third_party/node/benchmark/url/
Dwhatwg-url-idna.js5 const domains = { variable
29 domain: Object.keys(domains),
35 const value = domains[domain][to];
/third_party/libdrm/nouveau/
Dpushbuf.c81 uint32_t *domains) in pushbuf_kref_fits() argument
94 if (*domains == NOUVEAU_GEM_DOMAIN_VRAM) { in pushbuf_kref_fits()
113 if ((*domains & NOUVEAU_GEM_DOMAIN_VRAM) && in pushbuf_kref_fits()
115 *domains &= NOUVEAU_GEM_DOMAIN_VRAM; in pushbuf_kref_fits()
156 uint32_t domains, domains_wr, domains_rd; in pushbuf_kref() local
158 domains = 0; in pushbuf_kref()
160 domains |= NOUVEAU_GEM_DOMAIN_VRAM; in pushbuf_kref()
162 domains |= NOUVEAU_GEM_DOMAIN_GART; in pushbuf_kref()
163 domains_wr = domains * !!(flags & NOUVEAU_BO_WR); in pushbuf_kref()
164 domains_rd = domains * !!(flags & NOUVEAU_BO_RD); in pushbuf_kref()
[all …]
/third_party/mesa3d/src/etnaviv/drm/
Detnaviv_perfmon.c85 list_addtail(&dom->head, &pm->domains); in etna_perfmon_query_domains()
117 LIST_FOR_EACH_ENTRY_SAFE(dom, next, &pm->domains, head) { in etna_perfmon_free_domains()
135 list_inithead(&pm->domains); in etna_perfmon_create()
164 LIST_FOR_EACH_ENTRY(dom, &pm->domains, head) { in etna_perfmon_get_dom_by_name()
/third_party/libdrm/etnaviv/
Detnaviv_perfmon.c85 list_addtail(&dom->head, &pm->domains); in etna_perfmon_query_domains()
117 LIST_FOR_EACH_ENTRY_SAFE(dom, next, &pm->domains, head) { in etna_perfmon_free_domains()
135 list_inithead(&pm->domains); in etna_perfmon_create()
164 LIST_FOR_EACH_ENTRY(dom, &pm->domains, head) { in etna_perfmon_get_dom_by_name()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_buffer_common.c125 res->domains = RADEON_DOMAIN_GTT; in r600_init_resource_fields()
133 res->domains = RADEON_DOMAIN_VRAM; in r600_init_resource_fields()
141 res->domains = RADEON_DOMAIN_VRAM; in r600_init_resource_fields()
159 if (res->domains & RADEON_DOMAIN_VRAM) in r600_init_resource_fields()
161 else if (res->domains & RADEON_DOMAIN_GTT) in r600_init_resource_fields()
173 res->domains, res->flags); in r600_alloc_resource()
262 assert(rdst->domains == rsrc->domains); in r600_replace_buffer_storage()
415 (rbuffer->domains & RADEON_DOMAIN_VRAM || in r600_buffer_transfer_map()
628 rbuffer->domains = RADEON_DOMAIN_GTT; in r600_buffer_from_user_memory()
/third_party/libdrm/radeon/
Dradeon_bo_gem.c64 uint32_t domains, in bo_open() argument
79 bo->base.domains = domains; in bo_open()
102 args.initial_domain = bo->base.domains; in bo_open()
112 fprintf(stderr, " domains : %d\n", bo->base.domains); in bo_open()
381 bo->base.domains = RADEON_GEM_DOMAIN_GTT; in radeon_gem_bo_open_prime()
/third_party/python/Modules/
D_tracemalloc.c1185 _Py_hashtable_t *domains; member
1234 tracemalloc_copy_domain(_Py_hashtable_t *domains, in tracemalloc_copy_domain() argument
1253 tracemalloc_copy_domains(_Py_hashtable_t *domains) in tracemalloc_copy_domains() argument
1260 int err = _Py_hashtable_foreach(domains, in tracemalloc_copy_domains()
1297 tracemalloc_get_traces_domain(_Py_hashtable_t *domains, in tracemalloc_get_traces_domain() argument
1340 get_traces.domains = NULL; in _tracemalloc__get_traces_impl()
1370 get_traces.domains = tracemalloc_copy_domains(tracemalloc_domains); in _tracemalloc__get_traces_impl()
1373 if (get_traces.domains == NULL) { in _tracemalloc__get_traces_impl()
1383 err = _Py_hashtable_foreach(get_traces.domains, in _tracemalloc__get_traces_impl()
1407 if (get_traces.domains != NULL) { in _tracemalloc__get_traces_impl()
[all …]

12345678