Home
last modified time | relevance | path

Searched refs:instance (Results 1 – 25 of 3036) sorted by relevance

12345678910>>...122

/third_party/alsa-lib/src/alisp/
Dalisp.c44 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 …]
Dalisp_snd.c26 …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/
Dvn_instance.c76 vn_instance_init_renderer_versions(struct vn_instance *instance) in vn_instance_init_renderer_versions() argument
80 vn_call_vkEnumerateInstanceVersion(instance, &instance_version); in vn_instance_init_renderer_versions()
83 vn_log(instance, "failed to enumerate renderer instance version"); in vn_instance_init_renderer_versions()
89 vn_log(instance, "unsupported renderer instance version %d.%d", in vn_instance_init_renderer_versions()
97 vn_log(instance, "renderer instance version %d.%d.%d", in vn_instance_init_renderer_versions()
104 instance->renderer_api_version = in vn_instance_init_renderer_versions()
105 MAX2(instance->base.base.app_info.api_version, VN_MIN_RENDERER_VERSION); in vn_instance_init_renderer_versions()
108 instance_version = MIN3(instance_version, instance->renderer_api_version, in vn_instance_init_renderer_versions()
109 instance->renderer->info.vk_xml_version); in vn_instance_init_renderer_versions()
112 instance->renderer_version = instance_version; in vn_instance_init_renderer_versions()
[all …]
Dvn_instance.h94 vn_instance_submit_roundtrip(struct vn_instance *instance,
98 vn_instance_wait_roundtrip(struct vn_instance *instance,
102 vn_instance_roundtrip(struct vn_instance *instance) in vn_instance_roundtrip() argument
105 if (vn_instance_submit_roundtrip(instance, &roundtrip_seqno) == VK_SUCCESS) in vn_instance_roundtrip()
106 vn_instance_wait_roundtrip(instance, roundtrip_seqno); in vn_instance_roundtrip()
110 vn_instance_ring_submit(struct vn_instance *instance,
114 vn_instance_ring_wait(struct vn_instance *instance) in vn_instance_ring_wait() argument
116 struct vn_ring *ring = &instance->ring.ring; in vn_instance_ring_wait()
133 vn_instance_submit_command_init(struct vn_instance *instance, in vn_instance_submit_command_init() argument
149 vn_instance_submit_command(struct vn_instance *instance,
[all …]
/third_party/lwip/src/apps/snmp/
Dsnmp_table.c46 …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 …]
Dsnmp_scalar.c45 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 …]
Dsnmp_threadsync.c47 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/tests/check/libs/
Dvkinstance.c31 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/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkinstance.c111 #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 …]
Dgstvkinstance.h57 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/runtime/
Dvk_instance.c39 vk_instance_init(struct vk_instance *instance, in vk_instance_init() argument
45 memset(instance, 0, sizeof(*instance)); in vk_instance_init()
46 vk_object_base_init(NULL, &instance->base, VK_OBJECT_TYPE_INSTANCE); in vk_instance_init()
47 instance->alloc = *alloc; in vk_instance_init()
54 list_inithead(&instance->debug_utils.instance_callbacks); in vk_instance_init()
65 return vk_error(instance, VK_ERROR_OUT_OF_HOST_MEMORY); in vk_instance_init()
77 &instance->debug_utils.instance_callbacks); in vk_instance_init()
85 instance->app_info = (struct vk_app_info) { .api_version = 0 }; in vk_instance_init()
89 instance->app_info.app_name = in vk_instance_init()
90 vk_strdup(&instance->alloc, app->pApplicationName, in vk_instance_init()
[all …]
Dvk_debug_report.c51 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/vulkan-loader/tests/
Dloader_handle_validation_tests.cpp48 InstWrapper instance(env.vulkan_functions); in TEST() local
49 instance.CheckCreate(); in TEST()
64 InstWrapper instance(env.vulkan_functions); in TEST() local
65 instance.CheckCreate(); in TEST()
78 InstWrapper instance(env.vulkan_functions); in TEST() local
79 instance.CheckCreate(); in TEST()
96 InstWrapper instance(env.vulkan_functions); in TEST() local
97 instance.create_info.add_extension("VK_KHR_surface"); in TEST()
98 instance.CheckCreate(); in TEST()
115 InstWrapper instance(env.vulkan_functions); in TEST() local
[all …]
Dloader_phys_dev_inst_ext_tests.cpp65 InstWrapper instance(env.vulkan_functions); in TEST() local
66 instance.CheckCreate(); in TEST()
69 instance.functions->vkGetInstanceProcAddr(instance, "vkGetPhysicalDeviceProperties2KHR")); in TEST()
79 InstWrapper instance(env.vulkan_functions); in TEST() local
80 instance.create_info.add_extension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME); in TEST()
81 instance.CheckCreate(VK_ERROR_EXTENSION_NOT_PRESENT); in TEST()
84 instance.functions->vkGetInstanceProcAddr(instance, "vkGetPhysicalDeviceProperties2KHR")); in TEST()
96 InstWrapper instance(env.vulkan_functions); in TEST() local
97 instance.create_info.add_extension(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME); in TEST()
98 instance.CheckCreate(); in TEST()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderStructTests.cpp150 …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/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
DvktShaderRenderStructTests.cpp150 …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/
Dtest-wasi-start-validation.js30 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 …]
Dtest-wasi-initialize-validation.js30 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/
DKeccakHash.c21 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 …]
DKeccakSponge.inc143 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/jsframework/runtime/main/app/
Dmap.ts32 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/vulkan-loader/tests/framework/layer/
Dwrap_objects.cpp95 VkInstance unwrap_instance(const VkInstance instance, wrapped_inst_obj **inst) { in unwrap_instance() argument
96 *inst = reinterpret_cast<wrapped_inst_obj *>(instance); in unwrap_instance()
204 VKAPI_ATTR void VKAPI_CALL wrap_vkDestroyInstance(VkInstance instance, const VkAllocationCallbacks … in wrap_vkDestroyInstance() argument
206 auto vk_inst = unwrap_instance(instance, &inst); in wrap_vkDestroyInstance()
213 VKAPI_ATTR VkResult VKAPI_CALL wrap_vkCreateDebugUtilsMessengerEXT(VkInstance instance, in wrap_vkCreateDebugUtilsMessengerEXT() argument
218 auto vk_inst = unwrap_instance(instance, &inst); in wrap_vkCreateDebugUtilsMessengerEXT()
229 VKAPI_ATTR void VKAPI_CALL wrap_vkDestroyDebugUtilsMessengerEXT(VkInstance instance, VkDebugUtilsMe… in wrap_vkDestroyDebugUtilsMessengerEXT() argument
232 auto vk_inst = unwrap_instance(instance, &inst); in wrap_vkDestroyDebugUtilsMessengerEXT()
240 VKAPI_ATTR void VKAPI_CALL wrap_vkDestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, in wrap_vkDestroySurfaceKHR() argument
243 auto vk_inst = unwrap_instance(instance, &inst); in wrap_vkDestroySurfaceKHR()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DAdapterDiscoveryTests.cpp51 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/alsa-lib/src/pcm/
Dpcm_ladspa.c328 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 …]
/third_party/vulkan-headers/include/vulkan/
Dvulkan.hpp1324 …void vkDestroyInstance( VkInstance instance, const VkAllocationCallbacks * pAllocator ) const VULK… in vkDestroyInstance() argument
1326 return ::vkDestroyInstance( instance, pAllocator ); in vkDestroyInstance()
1329 …VkResult vkEnumeratePhysicalDevices( VkInstance instance, uint32_t * pPhysicalDeviceCount, VkPhysi… in vkEnumeratePhysicalDevices() argument
1331 return ::vkEnumeratePhysicalDevices( instance, pPhysicalDeviceCount, pPhysicalDevices ); in vkEnumeratePhysicalDevices()
1373 …PFN_vkVoidFunction vkGetInstanceProcAddr( VkInstance instance, const char * pName ) const VULKAN_H… in vkGetInstanceProcAddr() argument
1375 return ::vkGetInstanceProcAddr( instance, pName ); in vkGetInstanceProcAddr()
2290 VkResult vkEnumeratePhysicalDeviceGroups( VkInstance instance, in vkEnumeratePhysicalDeviceGroups() argument
2294 …return ::vkEnumeratePhysicalDeviceGroups( instance, pPhysicalDeviceGroupCount, pPhysicalDeviceGrou… in vkEnumeratePhysicalDeviceGroups()
2743 …void vkDestroySurfaceKHR( VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks *… in vkDestroySurfaceKHR() argument
2745 return ::vkDestroySurfaceKHR( instance, surface, pAllocator ); in vkDestroySurfaceKHR()
[all …]

12345678910>>...122