/third_party/alsa-lib/src/alisp/ |
D | alisp.c | 44 static struct alisp_object * parse_object(struct alisp_instance *instance, int havetoken); 47 static struct alisp_object * eval(struct alisp_instance *instance, struct alisp_object * p); 50 static struct alisp_object *F_eval(struct alisp_instance *instance, struct alisp_object *); 51 static struct alisp_object *F_progn(struct alisp_instance *instance, struct alisp_object *); 52 static struct alisp_object *F_funcall(struct alisp_instance *instance, struct alisp_object *); 55 static int alisp_include_file(struct alisp_instance *instance, const char *filename); 76 static void lisp_verbose(struct alisp_instance *instance, const char *fmt, ...) in lisp_verbose() argument 80 if (!instance->verbose) in lisp_verbose() 83 snd_output_printf(instance->vout, "alisp: "); in lisp_verbose() 84 snd_output_vprintf(instance->vout, fmt, ap); in lisp_verbose() [all …]
|
D | alisp_snd.c | 26 …struct alisp_object * (*func) (struct alisp_instance *instance, struct acall_table * item, struct … 64 static unsigned int get_flags(struct alisp_instance * instance, in get_flags() argument 95 delete_tree(instance, car(obj)); in get_flags() 97 delete_object(instance, n); in get_flags() 102 static const void *get_ptr(struct alisp_instance * instance, in get_ptr() argument 111 delete_tree(instance, obj); in get_ptr() 115 delete_tree(instance, obj); in get_ptr() 119 delete_tree(instance, obj); in get_ptr() 123 static struct alisp_object * new_lexpr(struct alisp_instance * instance, int err) in new_lexpr() argument 127 lexpr = new_object(instance, ALISP_OBJ_CONS); in new_lexpr() [all …]
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_instance.c | 74 vn_instance_init_renderer_versions(struct vn_instance *instance) in vn_instance_init_renderer_versions() argument 78 vn_call_vkEnumerateInstanceVersion(instance, &instance_version); in vn_instance_init_renderer_versions() 81 vn_log(instance, "failed to enumerate renderer instance version"); in vn_instance_init_renderer_versions() 87 vn_log(instance, "unsupported renderer instance version %d.%d", in vn_instance_init_renderer_versions() 95 vn_log(instance, "renderer instance version %d.%d.%d", in vn_instance_init_renderer_versions() 102 instance->renderer_api_version = in vn_instance_init_renderer_versions() 103 MAX2(instance->base.base.app_info.api_version, VN_MIN_RENDERER_VERSION); in vn_instance_init_renderer_versions() 106 instance_version = MIN3(instance_version, instance->renderer_api_version, in vn_instance_init_renderer_versions() 107 instance->renderer_info.vk_xml_version); in vn_instance_init_renderer_versions() 110 instance->renderer_version = instance_version; in vn_instance_init_renderer_versions() [all …]
|
/third_party/gstreamer/gstplugins_bad/tests/check/libs/ |
D | vkinstance.c | 31 GstVulkanInstance *instance; in GST_START_TEST() local 33 instance = gst_vulkan_instance_new (); in GST_START_TEST() 34 fail_unless (instance != NULL); in GST_START_TEST() 35 gst_object_unref (instance); in GST_START_TEST() 42 GstVulkanInstance *instance; in GST_START_TEST() local 44 instance = gst_vulkan_instance_new (); in GST_START_TEST() 45 fail_unless (instance != NULL); in GST_START_TEST() 46 fail_unless (gst_vulkan_instance_open (instance, NULL)); in GST_START_TEST() 47 gst_object_unref (instance); in GST_START_TEST() 54 GstVulkanInstance *instance; in GST_START_TEST() local [all …]
|
/third_party/lwip/src/apps/snmp/ |
D | snmp_table.c | 46 …p_table_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance *instance) in snmp_table_get_instance() argument 49 …const struct snmp_table_node *table_node = (const struct snmp_table_node *)(const void *)instance-… in snmp_table_get_instance() 56 if ((instance->instance_oid.len >= 3) && (instance->instance_oid.id[0] == 1)) { in snmp_table_get_instance() 61 if (col_def->index == instance->instance_oid.id[1]) { in snmp_table_get_instance() 71 instance->asn1_type = col_def->asn1_type; in snmp_table_get_instance() 72 instance->access = col_def->access; in snmp_table_get_instance() 73 instance->get_value = table_node->get_value; in snmp_table_get_instance() 74 instance->set_test = table_node->set_test; in snmp_table_get_instance() 75 instance->set_value = table_node->set_value; in snmp_table_get_instance() 78 &(instance->instance_oid.id[1]), in snmp_table_get_instance() [all …]
|
D | snmp_scalar.c | 45 static s16_t snmp_scalar_array_get_value(struct snmp_node_instance *instance, void *value); 46 static snmp_err_t snmp_scalar_array_set_test(struct snmp_node_instance *instance, u16_t value_len,… 47 static snmp_err_t snmp_scalar_array_set_value(struct snmp_node_instance *instance, u16_t value_len… 50 …_scalar_get_instance(const u32_t *root_oid, u8_t root_oid_len, struct snmp_node_instance *instance) in snmp_scalar_get_instance() argument 52 …ruct snmp_scalar_node *scalar_node = (const struct snmp_scalar_node *)(const void *)instance->node; in snmp_scalar_get_instance() 58 if ((instance->instance_oid.len != 1) || (instance->instance_oid.id[0] != 0)) { in snmp_scalar_get_instance() 62 instance->access = scalar_node->access; in snmp_scalar_get_instance() 63 instance->asn1_type = scalar_node->asn1_type; in snmp_scalar_get_instance() 64 instance->get_value = scalar_node->get_value; in snmp_scalar_get_instance() 65 instance->set_test = scalar_node->set_test; in snmp_scalar_get_instance() [all …]
|
D | snmp_threadsync.c | 47 sys_mutex_lock(&call_data->threadsync_node->instance->sem_usage_mutex); in call_synced_function() 48 call_data->threadsync_node->instance->sync_fn(fn, call_data); in call_synced_function() 49 sys_sem_wait(&call_data->threadsync_node->instance->sem); in call_synced_function() 50 sys_mutex_unlock(&call_data->threadsync_node->instance->sem_usage_mutex); in call_synced_function() 64 sys_sem_signal(&call_data->threadsync_node->instance->sem); in threadsync_get_value_synced() 68 threadsync_get_value(struct snmp_node_instance *instance, void *value) in threadsync_get_value() argument 70 struct threadsync_data *call_data = (struct threadsync_data *)instance->reference.ptr; in threadsync_get_value() 89 sys_sem_signal(&call_data->threadsync_node->instance->sem); in threadsync_set_test_synced() 93 threadsync_set_test(struct snmp_node_instance *instance, u16_t len, void *value) in threadsync_set_test() argument 95 struct threadsync_data *call_data = (struct threadsync_data *)instance->reference.ptr; in threadsync_set_test() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/ |
D | gstvkinstance.c | 111 #define GET_PRIV(instance) gst_vulkan_instance_get_instance_private (instance) argument 128 GstVulkanInstance *instance; in gst_vulkan_instance_new() local 130 instance = g_object_new (GST_TYPE_VULKAN_INSTANCE, NULL); in gst_vulkan_instance_new() 131 gst_object_ref_sink (instance); in gst_vulkan_instance_new() 133 return instance; in gst_vulkan_instance_new() 140 GstVulkanInstance *instance = GST_VULKAN_INSTANCE (object); in gst_vulkan_instance_set_property() local 141 GstVulkanInstancePrivate *priv = GET_PRIV (instance); in gst_vulkan_instance_set_property() 143 GST_OBJECT_LOCK (instance); in gst_vulkan_instance_set_property() 161 GST_OBJECT_UNLOCK (instance); in gst_vulkan_instance_set_property() 168 GstVulkanInstance *instance = GST_VULKAN_INSTANCE (object); in gst_vulkan_instance_get_property() local [all …]
|
D | gstvkinstance.h | 57 VkInstance instance; /* hides a pointer */ member 84 gboolean gst_vulkan_instance_fill_info (GstVulkanInstance * instance, 87 gboolean gst_vulkan_instance_open (GstVulkanInstance * instance, 91 gpointer gst_vulkan_instance_get_proc_address (GstVulkanInstance * instance, 95 GstVulkanDevice * gst_vulkan_instance_create_device (GstVulkanInstance * instance, 100 GstVulkanInstance * instance); 103 GstVulkanInstance ** instance); 107 GstVulkanInstance * instance); 110 GstVulkanInstance ** instance); 112 gboolean gst_vulkan_instance_check_version (GstVulkanInstance * instance, [all …]
|
/third_party/mesa3d/src/vulkan/util/ |
D | vk_instance.c | 35 vk_instance_init(struct vk_instance *instance, in vk_instance_init() argument 41 memset(instance, 0, sizeof(*instance)); in vk_instance_init() 42 vk_object_base_init(NULL, &instance->base, VK_OBJECT_TYPE_INSTANCE); in vk_instance_init() 43 instance->alloc = *alloc; in vk_instance_init() 50 list_inithead(&instance->debug_utils.instance_callbacks); in vk_instance_init() 61 return vk_error(instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vk_instance_init() 73 &instance->debug_utils.instance_callbacks); in vk_instance_init() 77 instance->app_info = (struct vk_app_info) { .api_version = 0 }; in vk_instance_init() 81 instance->app_info.app_name = in vk_instance_init() 82 vk_strdup(&instance->alloc, app->pApplicationName, in vk_instance_init() [all …]
|
D | vk_debug_report.c | 51 VK_FROM_HANDLE(vk_instance, instance, _instance); in VK_DEFINE_NONDISP_HANDLE_CASTS() 54 vk_alloc2(&instance->alloc, pAllocator, in VK_DEFINE_NONDISP_HANDLE_CASTS() 68 mtx_lock(&instance->debug_report.callbacks_mutex); in VK_DEFINE_NONDISP_HANDLE_CASTS() 69 list_addtail(&cb->link, &instance->debug_report.callbacks); in VK_DEFINE_NONDISP_HANDLE_CASTS() 70 mtx_unlock(&instance->debug_report.callbacks_mutex); in VK_DEFINE_NONDISP_HANDLE_CASTS() 82 VK_FROM_HANDLE(vk_instance, instance, _instance); in vk_common_DestroyDebugReportCallbackEXT() 89 mtx_lock(&instance->debug_report.callbacks_mutex); in vk_common_DestroyDebugReportCallbackEXT() 92 vk_free2(&instance->alloc, pAllocator, callback); in vk_common_DestroyDebugReportCallbackEXT() 93 mtx_unlock(&instance->debug_report.callbacks_mutex); in vk_common_DestroyDebugReportCallbackEXT() 97 debug_report(struct vk_instance *instance, in debug_report() argument [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderStructTests.cpp | 150 …struct SetUniforms_##NAME { static void setUniforms (ShaderRenderCaseInstance& instance, const tcu… in init() 175 instance.useUniform(0u, UI_ONE); in init() 205 instance.useUniform(0u, UI_ZERO); in init() 206 instance.useUniform(1u, UI_ONE); in init() 235 instance.useUniform(0u, UI_ONE); in init() 266 instance.useUniform(0u, UI_ZERO); in init() 267 instance.useUniform(1u, UI_ONE); in init() 268 instance.useUniform(2u, UI_TWO); in init() 297 instance.useUniform(0u, UI_ZERO); in init() 298 instance.useUniform(1u, UI_ONE); in init() [all …]
|
/third_party/node/test/wasi/ |
D | test-wasi-start-validation.js | 30 const instance = await WebAssembly.instantiate(wasm); constant 32 Object.defineProperty(instance, 'exports', { get() { return null; } }); 34 () => { wasi.start(instance); }, 46 const instance = await WebAssembly.instantiate(wasm); constant 48 Object.defineProperty(instance, 'exports', { 54 () => { wasi.start(instance); }, 66 const instance = await WebAssembly.instantiate(wasm); constant 68 Object.defineProperty(instance, 'exports', { 78 () => { wasi.start(instance); }, 90 const instance = await WebAssembly.instantiate(wasm); constant [all …]
|
D | test-wasi-initialize-validation.js | 30 const instance = await WebAssembly.instantiate(wasm); constant 32 Object.defineProperty(instance, 'exports', { get() { return null; } }); 34 () => { wasi.initialize(instance); }, 46 const instance = await WebAssembly.instantiate(wasm); constant 48 Object.defineProperty(instance, 'exports', { 54 () => { wasi.initialize(instance); }, 66 const instance = await WebAssembly.instantiate(wasm); constant 68 Object.defineProperty(instance, 'exports', { 78 () => { wasi.initialize(instance); }, 90 const instance = await WebAssembly.instantiate(wasm); constant [all …]
|
/third_party/python/Modules/_sha3/kcp/ |
D | KeccakHash.c | 21 HashReturn Keccak_HashInitialize(Keccak_HashInstance *instance, unsigned int rate, unsigned int cap… in Keccak_HashInitialize() argument 27 result = (HashReturn)KeccakWidth1600_SpongeInitialize(&instance->sponge, rate, capacity); in Keccak_HashInitialize() 30 instance->fixedOutputLength = hashbitlen; in Keccak_HashInitialize() 31 instance->delimitedSuffix = delimitedSuffix; in Keccak_HashInitialize() 37 HashReturn Keccak_HashUpdate(Keccak_HashInstance *instance, const BitSequence *data, DataLength dat… in Keccak_HashUpdate() argument 40 return (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, data, databitlen/8); in Keccak_HashUpdate() 42 … HashReturn ret = (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, data, databitlen/8); in Keccak_HashUpdate() 49 …astBytes = (unsigned short)((unsigned short)lastByte | ((unsigned short)instance->delimitedSuffix … in Keccak_HashUpdate() 51 instance->delimitedSuffix = delimitedLastBytes & 0xFF; in Keccak_HashUpdate() 56 ret = (HashReturn)KeccakWidth1600_SpongeAbsorb(&instance->sponge, oneByte, 1); in Keccak_HashUpdate() [all …]
|
D | KeccakSponge.inc | 143 int SpongeInitialize(SpongeInstance *instance, unsigned int rate, unsigned int capacity) 150 SnP_Initialize(instance->state); 151 instance->rate = rate; 152 instance->byteIOIndex = 0; 153 instance->squeezing = 0; 160 int SpongeAbsorb(SpongeInstance *instance, const unsigned char *data, size_t dataByteLen) 165 unsigned int rateInBytes = instance->rate/8; 167 if (instance->squeezing) 174 if ((instance->byteIOIndex == 0) && (dataByteLen >= (i + rateInBytes))) { 181 … j = SnP_FastLoop_Absorb(instance->state, rateInBytes/(SnP_width/200), curData, dataByteLen - i); [all …]
|
/third_party/boost/libs/interprocess/test/ |
D | robust_mutex_test.hpp | 55 RobustMutex *instance = segment.construct<RobustMutex> in robust_mutex_test() local 81 instance[0].lock(); in robust_mutex_test() 82 if(!instance[0].previous_owner_dead()) in robust_mutex_test() 84 instance[0].consistent(); in robust_mutex_test() 85 instance[0].unlock(); in robust_mutex_test() 87 instance[0].lock(); in robust_mutex_test() 88 instance[0].unlock(); in robust_mutex_test() 96 instance[1].lock(); in robust_mutex_test() 97 if(!instance[1].previous_owner_dead()) in robust_mutex_test() 101 instance[1].unlock(); in robust_mutex_test() [all …]
|
/third_party/mindspore/mindspore/offline_debug/ |
D | dbg_services.py | 165 parameter_list_inst.append(elem.instance) 279 info_list_inst.append(elem.instance) 319 info_list_inst.append(elem.instance) 356 info_list_inst.append(elem.instance) 396 … self.instance = cds.tensor_info(node_name, slot, iteration, rank_id, root_graph_id, is_output) 416 return self.instance.get_node_name() 436 return self.instance.get_slot() 456 return self.instance.get_iteration() 476 return self.instance.get_rank_id() 496 return self.instance.get_root_graph_id() [all …]
|
/third_party/glib/gobject/ |
D | gsignal.h | 324 void g_signal_emit_valist (gpointer instance, 329 void g_signal_emit (gpointer instance, 334 void g_signal_emit_by_name (gpointer instance, 357 GSignalInvocationHint* g_signal_get_invocation_hint (gpointer instance); 362 void g_signal_stop_emission (gpointer instance, 366 void g_signal_stop_emission_by_name (gpointer instance, 381 gboolean g_signal_has_handler_pending (gpointer instance, 386 gulong g_signal_connect_closure_by_id (gpointer instance, 392 gulong g_signal_connect_closure (gpointer instance, 397 gulong g_signal_connect_data (gpointer instance, [all …]
|
D | gsignal.c | 156 gpointer instance); 158 gpointer instance); 160 gpointer instance, 163 gpointer instance, 165 static Handler* handler_lookup (gpointer instance, 173 gpointer instance); 174 static HandlerMatch* handlers_find (gpointer instance, 184 gpointer instance, 192 gpointer instance); 199 gpointer instance, [all …]
|
/third_party/jsframework/runtime/main/app/ |
D | map.ts | 32 public unshift(instance: Page) { 33 this._map.unshift(instance); 34 Object.defineProperty(this, instance.id, { 38 return proxyGet(this, instance.id); 43 public push(instance: Page) { 44 this._map.push(instance); 45 Object.defineProperty(this, instance.id, { 49 return proxyGet(this, instance.id); 54 public remove(instance: Page) { 55 const index = this._map.indexOf(instance); [all …]
|
/third_party/typescript_eslint/packages/typescript-estree/tests/lib/ |
D | convert.test.ts | 29 const instance = new Converter(ast, { constant 34 expect(instance.convertProgram()).toMatchSnapshot(); 40 const instance = new Converter(ast, { constant 46 expect(instance.deeplyCopy(ast.statements[0])).toMatchSnapshot(); 52 const instance = new Converter(ast, { constant 58 expect(instance.deeplyCopy(ast.statements[0])).toMatchSnapshot(); 64 const instance = new Converter(ast, { constant 71 instance.deeplyCopy((ast.statements[0] as any).expression), 78 const instance = new Converter(ast, { constant 83 expect(instance.deeplyCopy(ast)).toMatchSnapshot(); [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | AdapterDiscoveryTests.cpp | 51 dawn_native::Instance instance; in TEST() local 55 instance.DiscoverAdapters(&options); in TEST() 57 const auto& adapters = instance.GetAdapters(); in TEST() 71 dawn_native::Instance instance; in TEST() local 74 instance.DiscoverAdapters(&options); in TEST() 76 const auto& adapters = instance.GetAdapters(); in TEST() 89 dawn_native::Instance instance; in TEST() local 92 instance.DiscoverAdapters(&options); in TEST() 94 const auto& adapters = instance.GetAdapters(); in TEST() 117 dawn_native::Instance instance; in TEST() local [all …]
|
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/distribution/ |
D | collective_wrapper.cc | 21 void InitMPI() { MPIWrapper::instance(); } in InitMPI() 23 int local_rank_id() { return MPIWrapper::instance().local_rank_id(); } in local_rank_id() 25 void InitNCCLComm() { NCCLWrapper::instance().InitNCCLComm(); } in InitNCCLComm() 28 return MPIWrapper::instance().CreateCommGroup(group_name, ranks); in CreateCommGroup() 31 int GetRankIDByGroup(const std::string &group_name) { return MPIWrapper::instance().GetRankIDByGrou… in GetRankIDByGroup() 33 int GetGroupSize(const std::string &group_name) { return MPIWrapper::instance().GetGroupSize(group_… in GetGroupSize() 35 bool DestroyGroup(const std::string &group_name) { return MPIWrapper::instance().DestroyGroup(group… in DestroyGroup() 39 …return NCCLWrapper::instance().AllReduce(input_addr, output_addr, count, data_type, reduce_type, s… in AllReduce() 44 …return NCCLWrapper::instance().AllGather(input_addr, output_addr, count, data_type, stream, group); in AllGather() 49 …return NCCLWrapper::instance().ReduceScatter(input_addr, output_addr, count, data_type, reduce_typ… in ReduceScatter() [all …]
|
/third_party/alsa-lib/src/pcm/ |
D | pcm_ladspa.c | 328 snd_pcm_ladspa_instance_t *instance = list_entry(pos1, snd_pcm_ladspa_instance_t, list); in snd_pcm_ladspa_free_instances() local 330 plugin->desc->deactivate(instance->handle); in snd_pcm_ladspa_free_instances() 333 plugin->desc->cleanup(instance->handle); in snd_pcm_ladspa_free_instances() 334 if (instance->input.m_data) { in snd_pcm_ladspa_free_instances() 335 for (idx = 0; idx < instance->input.channels.size; idx++) in snd_pcm_ladspa_free_instances() 336 free(instance->input.m_data[idx]); in snd_pcm_ladspa_free_instances() 337 free(instance->input.m_data); in snd_pcm_ladspa_free_instances() 339 if (instance->output.m_data) { in snd_pcm_ladspa_free_instances() 340 for (idx = 0; idx < instance->output.channels.size; idx++) in snd_pcm_ladspa_free_instances() 341 free(instance->output.m_data[idx]); in snd_pcm_ladspa_free_instances() [all …]
|