/third_party/boost/libs/thread/example/ |
D | perf_condition_variable.cpp | 94 void producer_thread(S* shared_data) in producer_thread() argument 98 unsigned const consumers = shared_data->semaphore; // (*) in producer_thread() 99 for (unsigned i = shared_data->iterations; i--;) in producer_thread() 102 typename S::scoped_lock lock(shared_data->mtx); in producer_thread() 104 while (consumers != shared_data->semaphore) in producer_thread() 106 shared_data->cnd.wait(lock); in producer_thread() 108 shared_data->semaphore = 0; in producer_thread() 110 ++shared_data->counter; in producer_thread() 112 shared_data->cnd.notify_all(); in producer_thread() 115 shared_data->producer_time = sw.elapsed().count(); in producer_thread() [all …]
|
/third_party/boost/libs/interprocess/example/ |
D | comp_doc_anonymous_upgradable_mutexA.cpp | 40 shm.truncate(sizeof(shared_data)); in main() 52 shared_data * data = new (addr) shared_data; in main() 55 for(int i = 0; i < shared_data::NumItems; ++i){ in main() 58 std::sprintf(data->items[(data->current_line++) % shared_data::NumItems] in main() 60 if(i == (shared_data::NumItems-1)) in main()
|
D | comp_doc_anonymous_upgradable_mutexB.cpp | 50 shared_data * data = static_cast<shared_data*>(addr); in main() 56 std::sprintf(data->items[(data->current_line++) % shared_data::NumItems] in main() 58 if(i == (shared_data::NumItems-1)) in main()
|
D | doc_upgradable_mutex_shared_data.hpp | 12 struct shared_data struct 17 shared_data() in shared_data() argument
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_pipeline_cache.c | 236 struct v3dv_pipeline_shared_data *shared_data, 314 struct v3dv_pipeline_shared_data *shared_data; in v3dv_pipeline_cache_search_for_pipeline() local 320 shared_data = v3dv_pipeline_shared_data_create_from_blob(cache, &blob); in v3dv_pipeline_cache_search_for_pipeline() 323 if (shared_data) { in v3dv_pipeline_cache_search_for_pipeline() 325 pipeline_cache_upload_shared_data(cache, shared_data, true); in v3dv_pipeline_cache_search_for_pipeline() 326 return shared_data; in v3dv_pipeline_cache_search_for_pipeline() 340 struct v3dv_pipeline_shared_data *shared_data) in v3dv_pipeline_shared_data_destroy() argument 342 assert(shared_data->ref_cnt == 0); in v3dv_pipeline_shared_data_destroy() 345 if (shared_data->variants[stage] != NULL) in v3dv_pipeline_shared_data_destroy() 346 v3dv_shader_variant_destroy(device, shared_data->variants[stage]); in v3dv_pipeline_shared_data_destroy() [all …]
|
D | v3dv_pipeline.c | 149 if (pipeline->shared_data) { in v3dv_destroy_pipeline() 150 v3dv_pipeline_shared_data_unref(device, pipeline->shared_data); in v3dv_destroy_pipeline() 151 pipeline->shared_data = NULL; in v3dv_destroy_pipeline() 559 assert(pipeline->shared_data && in pipeline_get_descriptor_map() 560 pipeline->shared_data->maps[broadcom_stage]); in pipeline_get_descriptor_map() 564 return &pipeline->shared_data->maps[broadcom_stage]->sampler_map; in pipeline_get_descriptor_map() 570 return &pipeline->shared_data->maps[broadcom_stage]->texture_map; in pipeline_get_descriptor_map() 573 &pipeline->shared_data->maps[broadcom_stage]->sampler_map : in pipeline_get_descriptor_map() 574 &pipeline->shared_data->maps[broadcom_stage]->texture_map; in pipeline_get_descriptor_map() 576 return &pipeline->shared_data->maps[broadcom_stage]->ubo_map; in pipeline_get_descriptor_map() [all …]
|
D | v3dv_uniforms.c | 150 &pipeline->shared_data->maps[stage]->texture_map, in write_tmu_p0() 158 &pipeline->shared_data->maps[stage]->texture_map, in write_tmu_p0() 194 &pipeline->shared_data->maps[stage]->sampler_map, in write_tmu_p1() 199 &pipeline->shared_data->maps[stage]->sampler_map, in write_tmu_p1() 241 &pipeline->shared_data->maps[stage]->ubo_map : in write_ubo_ssbo_uniforms() 242 &pipeline->shared_data->maps[stage]->ssbo_map; in write_ubo_ssbo_uniforms() 370 &pipeline->shared_data->maps[stage]->texture_map, in get_texture_size()
|
D | v3dv_private.h | 1807 struct v3dv_pipeline_shared_data *shared_data; member 1926 v3dv_pipeline_shared_data_ref(struct v3dv_pipeline_shared_data *shared_data) in v3dv_pipeline_shared_data_ref() argument 1928 assert(shared_data && shared_data->ref_cnt >= 1); in v3dv_pipeline_shared_data_ref() 1929 p_atomic_inc(&shared_data->ref_cnt); in v3dv_pipeline_shared_data_ref() 1934 struct v3dv_pipeline_shared_data *shared_data); 1938 struct v3dv_pipeline_shared_data *shared_data) in v3dv_pipeline_shared_data_unref() argument 1940 assert(shared_data && shared_data->ref_cnt >= 1); in v3dv_pipeline_shared_data_unref() 1941 if (p_atomic_dec_zero(&shared_data->ref_cnt)) in v3dv_pipeline_shared_data_unref() 1942 v3dv_pipeline_shared_data_destroy(device, shared_data); in v3dv_pipeline_shared_data_unref()
|
D | v3dvx_pipeline.c | 361 pipeline->shared_data->variants[BROADCOM_SHADER_FRAGMENT]->prog_data.fs; in pack_shader_state_record() 364 pipeline->shared_data->variants[BROADCOM_SHADER_VERTEX]->prog_data.vs; in pack_shader_state_record() 367 pipeline->shared_data->variants[BROADCOM_SHADER_VERTEX_BIN]->prog_data.vs; in pack_shader_state_record() 384 pipeline->shared_data->variants[BROADCOM_SHADER_GEOMETRY]->prog_data.gs; in pack_shader_state_record() 628 pipeline->shared_data->variants[BROADCOM_SHADER_VERTEX]->prog_data.vs; in v3dX()
|
D | v3dvx_cmd_buffer.c | 1313 pipeline->shared_data->variants[BROADCOM_SHADER_FRAGMENT]->prog_data.fs; in v3dX() 1433 pipeline->shared_data->variants[BROADCOM_SHADER_FRAGMENT]; in job_update_ez_state() 1808 pipeline->shared_data->variants[BROADCOM_SHADER_VERTEX]; in v3dX() 1812 pipeline->shared_data->variants[BROADCOM_SHADER_VERTEX_BIN]; in v3dX() 1816 pipeline->shared_data->variants[BROADCOM_SHADER_FRAGMENT]; in v3dX() 1825 pipeline->shared_data->variants[BROADCOM_SHADER_GEOMETRY]; in v3dX() 1829 pipeline->shared_data->variants[BROADCOM_SHADER_GEOMETRY_BIN]; in v3dX() 1862 struct v3dv_bo *assembly_bo = pipeline->shared_data->assembly_bo; in v3dX()
|
D | v3dv_cmd_buffer.c | 2162 pipeline->shared_data->variants[BROADCOM_SHADER_FRAGMENT]; in update_gfx_uniform_state() 2188 pipeline->shared_data->variants[BROADCOM_SHADER_GEOMETRY]; in update_gfx_uniform_state() 2191 pipeline->shared_data->variants[BROADCOM_SHADER_GEOMETRY_BIN]; in update_gfx_uniform_state() 2218 pipeline->shared_data->variants[BROADCOM_SHADER_VERTEX]; in update_gfx_uniform_state() 2221 pipeline->shared_data->variants[BROADCOM_SHADER_VERTEX_BIN]; in update_gfx_uniform_state() 3435 assert(pipeline && pipeline->shared_data->variants[BROADCOM_SHADER_COMPUTE]); in cmd_buffer_create_csd_job() 3437 pipeline->shared_data->variants[BROADCOM_SHADER_COMPUTE]; in cmd_buffer_create_csd_job() 3495 assert(pipeline->shared_data->assembly_bo); in cmd_buffer_create_csd_job() 3496 struct v3dv_bo *cs_assembly_bo = pipeline->shared_data->assembly_bo; in cmd_buffer_create_csd_job()
|
/third_party/ltp/testcases/kernel/syscalls/futex/ |
D | futex_cmp_requeue01.c | 22 struct shared_data { struct 28 static struct shared_data *sd; argument
|
/third_party/glib/gio/ |
D | gdbusprivate.c | 2132 char *shared_data; in read_shm() local 2148 shared_data = MapViewOfFile (shared_mem, FILE_MAP_READ, 0, 0, 0); in read_shm() 2158 if (shared_data != NULL) in read_shm() 2160 res = g_strdup (shared_data); in read_shm() 2161 UnmapViewOfFile (shared_data); in read_shm() 2173 char *shared_data; in set_shm() local 2180 shared_data = MapViewOfFile (shared_mem, FILE_MAP_WRITE, 0, 0, 0 ); in set_shm() 2181 if (shared_data == NULL) in set_shm() 2184 strcpy (shared_data, value); in set_shm() 2186 UnmapViewOfFile (shared_data); in set_shm()
|
/third_party/flutter/skia/third_party/externals/imgui/ |
D | imgui.h | 1811 …ImDrawList(const ImDrawListSharedData* shared_data) { _Data = shared_data; _OwnerName = NULL; Clea… in ImDrawList()
|
/third_party/mesa3d/src/imgui/ |
D | imgui.h | 1819 …ImDrawList(const ImDrawListSharedData* shared_data) { _Data = shared_data; _OwnerName = NULL; Clea… in ImDrawList()
|
/third_party/skia/third_party/externals/imgui/ |
D | imgui.h | 2414 …ImDrawList(const ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shar… in ImDrawList()
|