Home
last modified time | relevance | path

Searched refs:user_data (Results 1 – 25 of 568) sorted by relevance

12345678910>>...23

/external/grpc-grpc/src/core/lib/avl/
Davl.cc46 void* user_data) { in unref_node() argument
51 vtable->destroy_key(node->key, user_data); in unref_node()
52 vtable->destroy_value(node->value, user_data); in unref_node()
53 unref_node(vtable, node->left, user_data); in unref_node()
54 unref_node(vtable, node->right, user_data); in unref_node()
95 void* key, void* user_data) { in get() argument
102 cmp = vtable->compare_keys(node->key, key, user_data); in get()
106 return get(vtable, node->left, key, user_data); in get()
108 return get(vtable, node->right, key, user_data); in get()
112 void* grpc_avl_get(grpc_avl avl, void* key, void* user_data) { in grpc_avl_get() argument
[all …]
Davl.h43 void (*destroy_key)(void* key, void* user_data);
45 void* (*copy_key)(void* key, void* user_data);
48 long (*compare_keys)(void* key1, void* key2, void* user_data);
50 void (*destroy_value)(void* value, void* user_data);
52 void* (*copy_value)(void* value, void* user_data);
68 grpc_avl grpc_avl_ref(grpc_avl avl, void* user_data);
72 void grpc_avl_unref(grpc_avl avl, void* user_data);
78 grpc_avl grpc_avl_add(grpc_avl avl, void* key, void* value, void* user_data);
82 grpc_avl grpc_avl_remove(grpc_avl avl, void* key, void* user_data);
87 void* grpc_avl_get(grpc_avl avl, void* key, void* user_data);
[all …]
/external/wpa_supplicant_8/src/utils/
Deloop_win.c20 void *user_data; member
27 void *user_data; member
36 void *user_data; member
42 void *user_data; member
114 void *eloop_data, void *user_data) in eloop_register_read_sock() argument
143 tmp[eloop.reader_count].user_data = user_data; in eloop_register_read_sock()
185 void *eloop_data, void *user_data) in eloop_register_event() argument
202 tmp[eloop.event_count].user_data = user_data; in eloop_register_event()
239 void *eloop_data, void *user_data) in eloop_register_timeout() argument
269 timeout->user_data = user_data; in eloop_register_timeout()
[all …]
Deloop.h91 void *eloop_data, void *user_data);
119 void *eloop_data, void *user_data);
155 void *eloop_data, void *user_data);
181 void *eloop_data, void *user_data);
195 void *eloop_data, void *user_data);
209 void *eloop_data, void *user_data,
223 void *eloop_data, void *user_data);
240 void *user_data);
257 void *user_data);
273 void *user_data);
[all …]
Deloop.c45 void *user_data; member
56 void *user_data; member
65 void *user_data; member
135 table->table[i].user_data); in eloop_trace_sock_add_ref()
149 table->table[i].user_data); in eloop_trace_sock_remove_ref()
259 void *eloop_data, void *user_data) in eloop_sock_table_add_sock() argument
362 tmp[table->count].user_data = user_data; in eloop_sock_table_add_sock()
540 table->table[i].user_data); in eloop_sock_table_dispatch_table()
602 table->table[i].user_data); in eloop_sock_table_dispatch()
623 table->user_data); in eloop_sock_table_dispatch()
[all …]
/external/harfbuzz_ng/src/
Dhb-object.hh198 hb_atomic_ptr_t<hb_user_data_array_t> user_data; member
238 obj->header.user_data.init (); in hb_object_init()
287 hb_user_data_array_t *user_data = obj->header.user_data.get (); in hb_object_fini() local
288 if (user_data) in hb_object_fini()
290 user_data->fini (); in hb_object_fini()
291 free (user_data); in hb_object_fini()
292 user_data = nullptr; in hb_object_fini()
307 hb_user_data_array_t *user_data = obj->header.user_data.get (); in hb_object_set_user_data()
308 if (unlikely (!user_data)) in hb_object_set_user_data()
310 user_data = (hb_user_data_array_t *) calloc (sizeof (hb_user_data_array_t), 1); in hb_object_set_user_data()
[all …]
Dhb-font.hh70 } user_data; member
123 void *user_data; member
198 return klass->get.f.font_h_extents (this, user_data, in get_font_h_extents()
200 klass->user_data.font_h_extents); in get_font_h_extents()
205 return klass->get.f.font_v_extents (this, user_data, in get_font_v_extents()
207 klass->user_data.font_v_extents); in get_font_v_extents()
220 return klass->get.f.nominal_glyph (this, user_data, in get_nominal_glyph()
222 klass->user_data.nominal_glyph); in get_nominal_glyph()
230 return klass->get.f.nominal_glyphs (this, user_data, in get_nominal_glyphs()
234 klass->user_data.nominal_glyphs); in get_nominal_glyphs()
[all …]
Dhb-font.cc58 void *user_data HB_UNUSED) in hb_font_get_font_h_extents_nil()
67 void *user_data HB_UNUSED) in hb_font_get_font_h_extents_default()
82 void *user_data HB_UNUSED) in hb_font_get_font_v_extents_nil()
91 void *user_data HB_UNUSED) in hb_font_get_font_v_extents_default()
107 void *user_data HB_UNUSED) in hb_font_get_nominal_glyph_nil()
117 void *user_data HB_UNUSED) in hb_font_get_nominal_glyph_default()
135 void *user_data HB_UNUSED) in hb_font_get_nominal_glyphs_default()
161 void *user_data HB_UNUSED) in hb_font_get_variation_glyph_nil()
172 void *user_data HB_UNUSED) in hb_font_get_variation_glyph_default()
182 void *user_data HB_UNUSED) in hb_font_get_glyph_h_advance_nil()
[all …]
Dhb-unicode.cc58 void *user_data HB_UNUSED) in hb_unicode_combining_class_nil()
66 void *user_data HB_UNUSED) in hb_unicode_eastasian_width_nil()
74 void *user_data HB_UNUSED) in hb_unicode_general_category_nil()
82 void *user_data HB_UNUSED) in hb_unicode_mirroring_nil()
90 void *user_data HB_UNUSED) in hb_unicode_script_nil()
100 void *user_data HB_UNUSED) in hb_unicode_compose_nil()
110 void *user_data HB_UNUSED) in hb_unicode_decompose_nil()
120 void *user_data HB_UNUSED) in hb_unicode_decompose_compatibility_nil()
179 ufuncs->user_data = parent->user_data; in hb_unicode_funcs_create()
242 if (ufuncs->destroy.name) ufuncs->destroy.name (ufuncs->user_data.name); in hb_unicode_funcs_destroy()
[all …]
Dhb-font.h114 void *user_data);
122 void *user_data);
126 void *user_data);
134 void *user_data);
139 void *user_data);
149 void *user_data);
156 void *user_data);
164 void *user_data);
168 void *user_data);
174 void *user_data);
[all …]
Dhb-unicode.h232 void *user_data);
235 void *user_data);
238 void *user_data);
241 void *user_data);
247 void *user_data);
252 void *user_data);
270 void *user_data, hb_destroy_func_t destroy);
286 void *user_data, hb_destroy_func_t destroy);
302 void *user_data, hb_destroy_func_t destroy);
318 void *user_data, hb_destroy_func_t destroy);
[all …]
Dhb-deprecated.h64 void *user_data);
69 void *user_data, hb_destroy_func_t destroy);
81 void *user_data);
98 void *user_data, hb_destroy_func_t destroy);
134 void *user_data);
160 void *user_data, hb_destroy_func_t destroy);
170 void *user_data);
189 void *user_data, hb_destroy_func_t destroy);
206 void *user_data, hb_destroy_func_t destroy);
Dhb-icu.cc80 void *user_data HB_UNUSED) in hb_icu_unicode_combining_class()
89 void *user_data HB_UNUSED) in hb_icu_unicode_general_category()
140 void *user_data HB_UNUSED) in hb_icu_unicode_mirroring()
148 void *user_data HB_UNUSED) in hb_icu_unicode_script()
164 void *user_data HB_UNUSED) in hb_icu_unicode_compose()
168 const UNormalizer2 *normalizer = (const UNormalizer2 *) user_data; in hb_icu_unicode_compose()
210 void *user_data HB_UNUSED) in hb_icu_unicode_decompose()
214 const UNormalizer2 *normalizer = (const UNormalizer2 *) user_data; in hb_icu_unicode_decompose()
312 void *user_data = nullptr; in create() local
315 user_data = (void *) unorm2_getNFCInstance (&icu_err); in create()
[all …]
Dhb-face.cc111 void *user_data, in hb_face_create_for_tables() argument
118 destroy (user_data); in hb_face_create_for_tables()
123 face->user_data = user_data; in hb_face_create_for_tables()
165 _hb_face_for_data_reference_table (hb_face_t *face HB_UNUSED, hb_tag_t tag, void *user_data) in _hb_face_for_data_reference_table() argument
167 hb_face_for_data_closure_t *data = (hb_face_for_data_closure_t *) user_data; in _hb_face_for_data_reference_table()
274 face->destroy (face->user_data); in hb_face_destroy()
520 hb_face_for_data_closure_t *data = (hb_face_for_data_closure_t *) face->user_data; in hb_face_get_table_tags()
618 _hb_face_builder_data_destroy (void *user_data) in _hb_face_builder_data_destroy() argument
620 hb_face_builder_data_t *data = (hb_face_builder_data_t *) user_data; in _hb_face_builder_data_destroy()
665 _hb_face_builder_reference_table (hb_face_t *face HB_UNUSED, hb_tag_t tag, void *user_data) in _hb_face_builder_reference_table() argument
[all …]
Dhb-ot-font.cc66 void *user_data HB_UNUSED) in hb_ot_get_nominal_glyph()
80 void *user_data HB_UNUSED) in hb_ot_get_nominal_glyphs()
94 void *user_data HB_UNUSED) in hb_ot_get_variation_glyph()
107 void *user_data HB_UNUSED) in hb_ot_get_glyph_h_advances()
127 void *user_data HB_UNUSED) in hb_ot_get_glyph_v_advances()
146 void *user_data HB_UNUSED) in hb_ot_get_glyph_v_origin()
180 void *user_data HB_UNUSED) in hb_ot_get_glyph_extents()
205 void *user_data HB_UNUSED) in hb_ot_get_glyph_name()
216 void *user_data HB_UNUSED) in hb_ot_get_glyph_from_name()
226 void *user_data HB_UNUSED) in hb_ot_get_font_h_extents()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers_wps.c358 DBusMessageIter *iter, DBusError *error, void *user_data) in wpas_dbus_getter_process_credentials() argument
360 struct wpa_supplicant *wpa_s = user_data; in wpas_dbus_getter_process_credentials()
380 DBusMessageIter *iter, DBusError *error, void *user_data) in wpas_dbus_setter_process_credentials() argument
382 struct wpa_supplicant *wpa_s = user_data; in wpas_dbus_setter_process_credentials()
416 DBusMessageIter *iter, DBusError *error, void *user_data) in wpas_dbus_getter_config_methods() argument
418 struct wpa_supplicant *wpa_s = user_data; in wpas_dbus_getter_config_methods()
438 DBusMessageIter *iter, DBusError *error, void *user_data) in wpas_dbus_setter_config_methods() argument
440 struct wpa_supplicant *wpa_s = user_data; in wpas_dbus_setter_config_methods()
472 DBusMessageIter *iter, DBusError *error, void *user_data) in wpas_dbus_getter_wps_device_name() argument
474 struct wpa_supplicant *wpa_s = user_data; in wpas_dbus_getter_wps_device_name()
[all …]
Ddbus_new_handlers.c746 DBusMessageIter *iter, DBusError *error, void *user_data) in wpas_dbus_getter_debug_level() argument
772 DBusMessageIter *iter, DBusError *error, void *user_data) in wpas_dbus_getter_debug_timestamp() argument
791 DBusMessageIter *iter, DBusError *error, void *user_data) in wpas_dbus_getter_debug_show_keys() argument
809 DBusMessageIter *iter, DBusError *error, void *user_data) in wpas_dbus_setter_debug_level() argument
811 struct wpa_global *global = user_data; in wpas_dbus_setter_debug_level()
848 DBusMessageIter *iter, DBusError *error, void *user_data) in wpas_dbus_setter_debug_timestamp() argument
850 struct wpa_global *global = user_data; in wpas_dbus_setter_debug_timestamp()
874 DBusMessageIter *iter, DBusError *error, void *user_data) in wpas_dbus_setter_debug_show_keys() argument
876 struct wpa_global *global = user_data; in wpas_dbus_setter_debug_show_keys()
903 DBusMessageIter *iter, DBusError *error, void *user_data) in wpas_dbus_getter_interfaces() argument
[all …]
Ddbus_new_handlers_p2p.c841 DBusMessageIter *iter, DBusError *error, void *user_data) in wpas_dbus_getter_p2p_device_config() argument
843 struct wpa_supplicant *wpa_s = user_data; in wpas_dbus_getter_p2p_device_config()
979 DBusMessageIter *iter, DBusError *error, void *user_data) in wpas_dbus_setter_p2p_device_config() argument
981 struct wpa_supplicant *wpa_s = user_data; in wpas_dbus_setter_p2p_device_config()
1171 DBusMessageIter *iter, DBusError *error, void *user_data) in wpas_dbus_getter_p2p_peers() argument
1173 struct wpa_supplicant *wpa_s = user_data; in wpas_dbus_getter_p2p_peers()
1286 DBusMessageIter *iter, DBusError *error, void *user_data) in wpas_dbus_getter_p2p_role() argument
1288 struct wpa_supplicant *wpa_s = user_data; in wpas_dbus_getter_p2p_role()
1310 DBusMessageIter *iter, DBusError *error, void *user_data) in wpas_dbus_getter_p2p_group() argument
1312 struct wpa_supplicant *wpa_s = user_data; in wpas_dbus_getter_p2p_group()
[all …]
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dlb_policy_factory.cc53 if (new_addresses->addresses[i].user_data != nullptr) { in grpc_lb_addresses_copy()
54 new_addresses->addresses[i].user_data = addresses->user_data_vtable->copy( in grpc_lb_addresses_copy()
55 new_addresses->addresses[i].user_data); in grpc_lb_addresses_copy()
64 void* user_data) { in grpc_lb_addresses_set_address() argument
66 if (user_data != nullptr) GPR_ASSERT(addresses->user_data_vtable != nullptr); in grpc_lb_addresses_set_address()
72 target->user_data = user_data; in grpc_lb_addresses_set_address()
79 void* user_data) { in grpc_lb_addresses_set_address_from_uri() argument
83 is_balancer, balancer_name, user_data); in grpc_lb_addresses_set_address_from_uri()
110 retval = addresses1->user_data_vtable->cmp(target1->user_data, in grpc_lb_addresses_cmp()
111 target2->user_data); in grpc_lb_addresses_cmp()
[all …]
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/
Dsoftmax_test.cc55 void* user_data = nullptr; in TestSoftmaxFloat() local
57 user_data = registration->init(&context, init_data, init_data_size); in TestSoftmaxFloat()
70 node.user_data = user_data; in TestSoftmaxFloat()
81 registration->free(&context, user_data); in TestSoftmaxFloat()
121 void* user_data = nullptr; in TestSoftmaxQuantized() local
123 user_data = registration->init(&context, init_data, init_data_size); in TestSoftmaxQuantized()
137 node.user_data = user_data; in TestSoftmaxQuantized()
149 registration->free(&context, user_data); in TestSoftmaxQuantized()
/external/grpc-grpc/test/core/tsi/alts/handshaker/
Dalts_tsi_handshaker_test.cc179 static void check_must_not_be_called(tsi_result status, void* user_data, in check_must_not_be_called() argument
186 static void on_client_start_success_cb(tsi_result status, void* user_data, in on_client_start_success_cb() argument
191 GPR_ASSERT(user_data == nullptr); in on_client_start_success_cb()
213 static void on_server_start_success_cb(tsi_result status, void* user_data, in on_server_start_success_cb() argument
218 GPR_ASSERT(user_data == nullptr); in on_server_start_success_cb()
240 static void on_client_next_success_cb(tsi_result status, void* user_data, in on_client_next_success_cb() argument
245 GPR_ASSERT(user_data == nullptr); in on_client_next_success_cb()
278 static void on_server_next_success_cb(tsi_result status, void* user_data, in on_server_next_success_cb() argument
283 GPR_ASSERT(user_data == nullptr); in on_server_next_success_cb()
323 GPR_ASSERT(event->user_data == nullptr); in mock_client_start()
[all …]
/external/grpc-grpc/src/core/lib/transport/
Dmetadata.cc72 typedef void (*destroy_user_data_func)(void* user_data);
85 gpr_atm user_data; member
181 void* user_data = (void*)gpr_atm_no_barrier_load(&md->user_data); in gc_mdtab() local
186 if (md->user_data) { in gc_mdtab()
188 &md->destroy_user_data))(user_data); in gc_mdtab()
301 md->user_data = 0; in grpc_mdelem_create()
471 return (void*)gpr_atm_no_barrier_load(&im->user_data); in grpc_mdelem_get_user_data()
482 void* user_data) { in grpc_mdelem_set_user_data() argument
486 destroy_func(user_data); in grpc_mdelem_set_user_data()
489 destroy_func(user_data); in grpc_mdelem_set_user_data()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/
Draw_api.c202 void **avalue, void *user_data) in ffi_translate_args() argument
205 ffi_raw_closure *cl = (ffi_raw_closure*)user_data; in ffi_translate_args()
208 (*cl->fun) (cif, rvalue, raw, cl->user_data); in ffi_translate_args()
215 void *user_data, in ffi_prep_raw_closure_loc() argument
228 cl->user_data = user_data; in ffi_prep_raw_closure_loc()
247 void *user_data) in ffi_prep_raw_closure() argument
249 return ffi_prep_raw_closure_loc (cl, cif, fun, user_data, cl); in ffi_prep_raw_closure()
/external/grpc-grpc/src/core/lib/channel/
Dchannel_stack.cc99 char* user_data; in grpc_channel_stack_init() local
106 user_data = (reinterpret_cast<char*>(elems)) + in grpc_channel_stack_init()
119 elems[i].channel_data = user_data; in grpc_channel_stack_init()
128 user_data += in grpc_channel_stack_init()
133 GPR_ASSERT(user_data > (char*)stack); in grpc_channel_stack_init()
134 GPR_ASSERT((uintptr_t)(user_data - (char*)stack) == in grpc_channel_stack_init()
159 char* user_data; in grpc_call_stack_init() local
166 user_data = (reinterpret_cast<char*>(call_elems)) + in grpc_call_stack_init()
174 call_elems[i].call_data = user_data; in grpc_call_stack_init()
184 user_data += in grpc_call_stack_init()
/external/libffi/src/
Draw_api.c215 void **avalue, void *user_data) in ffi_translate_args() argument
218 ffi_raw_closure *cl = (ffi_raw_closure*)user_data; in ffi_translate_args()
221 (*cl->fun) (cif, rvalue, raw, cl->user_data); in ffi_translate_args()
228 void *user_data, in ffi_prep_raw_closure_loc() argument
241 cl->user_data = user_data; in ffi_prep_raw_closure_loc()
260 void *user_data) in ffi_prep_raw_closure() argument
262 return ffi_prep_raw_closure_loc (cl, cif, fun, user_data, cl); in ffi_prep_raw_closure()

12345678910>>...23