/external/selinux/python/audit2allow/ |
D | sepolgen-ifgen-attr-helper.c | 113 struct callback_data *cb_data = (struct callback_data *)args; in output_avrule() local 115 if (key->source_type != cb_data->attr) in output_avrule() 121 render_key(key, cb_data->policy, cb_data->fp); in output_avrule() 122 render_access_mask(datum->data, key, cb_data->policy, cb_data->fp); in output_avrule() 123 fprintf(cb_data->fp, "\n"); in output_avrule() 130 struct callback_data *cb_data = (struct callback_data *)datap; in attribute_callback() local 134 fprintf(cb_data->fp, "[Attribute %s]\n", key); in attribute_callback() 135 cb_data->attr = t->s.value; in attribute_callback() 136 if (avtab_map(&cb_data->policy->te_avtab, output_avrule, cb_data) < 0) in attribute_callback() 138 if (avtab_map(&cb_data->policy->te_cond_avtab, output_avrule, cb_data) < 0) in attribute_callback() [all …]
|
/external/libunwind/src/arm/ |
D | Gex_tables.c | 457 struct arm_cb_data *cb_data = data; in arm_phdr_cb() local 468 if (cb_data->ip >= phdr->p_vaddr + info->dlpi_addr && in arm_phdr_cb() 469 cb_data->ip < phdr->p_vaddr + info->dlpi_addr + phdr->p_memsz) in arm_phdr_cb() 484 cb_data->di.format = UNW_INFO_FORMAT_ARM_EXIDX; in arm_phdr_cb() 485 cb_data->di.start_ip = p_text->p_vaddr + info->dlpi_addr; in arm_phdr_cb() 486 cb_data->di.end_ip = cb_data->di.start_ip + p_text->p_memsz; in arm_phdr_cb() 487 cb_data->di.u.rti.name_ptr = (unw_word_t) info->dlpi_name; in arm_phdr_cb() 488 cb_data->di.u.rti.table_data = p_arm_exidx->p_vaddr + info->dlpi_addr; in arm_phdr_cb() 489 cb_data->di.u.rti.table_len = p_arm_exidx->p_memsz; in arm_phdr_cb() 512 struct arm_cb_data cb_data; in arm_find_proc_info() local [all …]
|
/external/iproute2/tipc/ |
D | bearer.c | 33 struct cb_data { struct 673 struct cb_data *cb_data = (struct cb_data *) data; in bearer_get_udp_cb() local 692 if ((cb_data->attr == TIPC_NLA_UDP_REMOTE) && in bearer_get_udp_cb() 693 (cb_data->prop == UDP_PROP_IP) && in bearer_get_udp_cb() 695 struct genlmsghdr *genl = mnl_nlmsg_get_payload(cb_data->nlh); in bearer_get_udp_cb() 698 return msg_dumpit(cb_data->nlh, bearer_dump_udp_cb, NULL); in bearer_get_udp_cb() 701 addr = mnl_attr_get_payload(opts[cb_data->attr]); in bearer_get_udp_cb() 706 switch (cb_data->prop) { in bearer_get_udp_cb() 721 switch (cb_data->prop) { in bearer_get_udp_cb() 776 struct cb_data cb_data = {0}; in cmd_bearer_get_media() local [all …]
|
/external/curl/tests/libtest/ |
D | lib1533.c | 34 struct cb_data { struct 42 static void reset_data(struct cb_data *data, CURL *curl) in reset_data() argument 54 struct cb_data *data = (struct cb_data *)userdata; in read_callback() 80 struct cb_data *data = (struct cb_data *)userdata; in write_callback() 130 struct cb_data data; in test()
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_dataflow.c | 45 struct read_write_mask_data * cb_data = userdata; in reads_normal_callback() local 54 cb_data->Cb(cb_data->UserData, fullinst, src->File, in reads_normal_callback() 59 cb_data->Cb(cb_data->UserData, fullinst, RC_FILE_ADDRESS, 0, in reads_normal_callback() 244 struct read_write_mask_data cb_data; in rc_for_all_reads_mask() local 245 cb_data.UserData = userdata; in rc_for_all_reads_mask() 246 cb_data.Cb = cb; in rc_for_all_reads_mask() 248 rc_for_all_reads_src(inst, reads_normal_callback, &cb_data); in rc_for_all_reads_mask() 516 struct get_readers_callback_data * cb_data, in get_readers_read_callback() argument 525 cb_data->ReaderData->Abort = 1; in get_readers_read_callback() 530 cb_data->DstFile, cb_data->DstIndex, cb_data->AliveWriteMask); in get_readers_read_callback() [all …]
|
D | radeon_optimize.c | 727 struct peephole_mul_cb_data cb_data; in peephole_mul_omod() local 807 cb_data.Clobbered = 0; in peephole_mul_omod() 808 cb_data.Writer = &inst_mul->U.I.DstReg; in peephole_mul_omod() 822 &cb_data); in peephole_mul_omod() 824 &cb_data); in peephole_mul_omod() 825 if (cb_data.Clobbered) { in peephole_mul_omod() 831 if (cb_data.Clobbered) { in peephole_mul_omod()
|
/external/adhd/cras/src/server/ |
D | cras_loopback_iodev.c | 52 void *cb_data) in sample_hook() argument 54 struct loopback_iodev *loopdev = (struct loopback_iodev *)cb_data; in sample_hook() 81 loopback_hook_t hook, void *cb_data) in register_loopback_hook() argument 89 cras_iodev_register_pre_dsp_hook(iodev, hook, cb_data); in register_loopback_hook() 91 cras_iodev_register_post_dsp_hook(iodev, hook, cb_data); in register_loopback_hook() 94 static void device_enabled_hook(struct cras_iodev *iodev, void *cb_data) in device_enabled_hook() argument 96 struct loopback_iodev *loopdev = (struct loopback_iodev *)cb_data; in device_enabled_hook() 106 sample_hook, cb_data); in device_enabled_hook() 109 static void device_disabled_hook(struct cras_iodev *iodev, void *cb_data) in device_disabled_hook() argument 111 struct loopback_iodev *loopdev = (struct loopback_iodev *)cb_data; in device_disabled_hook()
|
D | cras_ramp.c | 42 void *cb_data; member 71 cras_ramp_cb cb, void *cb_data) in cras_ramp_start() argument 101 ramp->cb_data = cb_data; in cras_ramp_start() 147 ramp->cb(ramp->cb_data); in cras_ramp_update_ramped_frames()
|
D | cras_tm.c | 21 void *cb_data; member 60 void *cb_data) in cras_tm_create_timer() argument 69 t->cb_data = cb_data; in cras_tm_create_timer() 142 t->cb(t, t->cb_data); in cras_tm_call_callbacks()
|
D | cras_iodev_list.h | 26 typedef void (*device_enabled_callback_t)(struct cras_iodev *dev, void *cb_data); 27 typedef void (*device_disabled_callback_t)(struct cras_iodev *dev, void *cb_data); 214 void *cb_data);
|
D | cras_iodev.h | 36 void *cb_data); 606 void *cb_data); 611 void *cb_data);
|
D | cras_iodev_list.c | 54 void *cb_data; member 943 callback->enabled_cb(dev, callback->cb_data); in enable_device() 980 callback->disabled_cb(dev, callback->cb_data); in disable_device() 1551 void *cb_data) in cras_iodev_list_set_device_enabled_callback() argument 1556 if (callback->cb_data != cb_data) in cras_iodev_list_set_device_enabled_callback() 1568 callback->cb_data = cb_data; in cras_iodev_list_set_device_enabled_callback()
|
D | cras_iodev.c | 1243 void *cb_data) in cras_iodev_register_pre_dsp_hook() argument 1246 iodev->pre_dsp_hook_cb_data = cb_data; in cras_iodev_register_pre_dsp_hook() 1251 void *cb_data) in cras_iodev_register_post_dsp_hook() argument 1254 iodev->post_dsp_hook_cb_data = cb_data; in cras_iodev_register_post_dsp_hook() 1412 void *cb_data = NULL; in cras_iodev_start_ramp() local 1435 cb_data = (void*)odev; in cras_iodev_start_ramp() 1445 cb, cb_data); in cras_iodev_start_ramp()
|
D | cras_tm.h | 31 void *cb_data);
|
/external/libunwind/src/dwarf/ |
D | Gfind_proc_info-lsb.c | 603 struct dwarf_callback_data *cb_data = ptr; in dwarf_callback() local 604 unw_dyn_info_t *di = &cb_data->di; in dwarf_callback() 608 int ret, need_unwind_info = cb_data->need_unwind_info; in dwarf_callback() 609 unw_proc_info_t *pi = cb_data->pi; in dwarf_callback() 618 ip = cb_data->ip; in dwarf_callback() 736 cb_data->single_fde = 1; in dwarf_callback() 786 found = dwarf_find_debug_frame (found, &cb_data->di_debug, ip, in dwarf_callback() 798 struct dwarf_callback_data cb_data; in dwarf_find_proc_info() local 804 memset (&cb_data, 0, sizeof (cb_data)); in dwarf_find_proc_info() 805 cb_data.ip = ip; in dwarf_find_proc_info() [all …]
|
/external/adhd/cras/src/tests/ |
D | hfp_info_unittest.cc | 19 static void *cb_data; variable 219 ASSERT_EQ(cb_data, (void *)info); in TEST() 223 ASSERT_EQ(NULL, cb_data); in TEST() 246 thread_cb((struct hfp_info *)cb_data); in TEST() 258 thread_cb((struct hfp_info *)cb_data); in TEST() 288 thread_cb((struct hfp_info *)cb_data); in TEST() 298 thread_cb((struct hfp_info *)cb_data); in TEST() 322 cb_data = data; in audio_thread_add_callback() 329 cb_data = NULL; in audio_thread_rm_callback_sync()
|
D | loopback_iodev_unittest.cc | 202 void *cb_data) in cras_iodev_register_pre_dsp_hook() argument 205 loop_hook_cb_data = cb_data; in cras_iodev_register_pre_dsp_hook() 210 void *cb_data) in cras_iodev_register_post_dsp_hook() argument 213 loop_hook_cb_data = cb_data; in cras_iodev_register_post_dsp_hook() 231 void *cb_data) in cras_iodev_list_set_device_enabled_callback() argument 236 device_enabled_callback_cb_data = cb_data; in cras_iodev_list_set_device_enabled_callback()
|
D | rstream_stub.cc | 14 struct cb_data { struct 18 std::unordered_map<const cras_rstream*, cb_data> data_map; 31 cb_data new_data; in rstream_stub_dev_offset() 43 cb_data new_data; in rstream_stub_pending_reply()
|
D | iodev_stub.cc | 14 struct cb_data { struct 18 std::unordered_map<cras_iodev*, cb_data> data_map; 26 cb_data data = { ret, ts }; in iodev_stub_frames_queued()
|
D | ramp_unittest.cc | 350 void *cb_data = reinterpret_cast<void*>(0x123); in TEST() local 355 cras_ramp_start(ramp, ramp_up, duration_frames, ramp_callback, cb_data); in TEST() 366 EXPECT_EQ(cb_data, callback_arg); in TEST() 378 void *cb_data = reinterpret_cast<void*>(0x123); in TEST() local 383 cras_ramp_start(ramp, ramp_up, duration_frames, ramp_callback, cb_data); in TEST() 394 EXPECT_EQ(cb_data, callback_arg); in TEST()
|
/external/curl/docs/examples/ |
D | ftp-wildcard.c | 40 void *cb_data); 142 void *cb_data) in write_it() argument 144 struct callback_data *data = cb_data; in write_it()
|
/external/webrtc/webrtc/examples/peerconnection/client/linux/ |
D | main_wnd.cc | 108 UIThreadCallbackData* cb_data = reinterpret_cast<UIThreadCallbackData*>(data); in HandleUIThreadCallback() local 109 cb_data->callback->UIThreadCallback(cb_data->msg_id, cb_data->data); in HandleUIThreadCallback() 110 delete cb_data; in HandleUIThreadCallback()
|
/external/grpc-grpc/test/core/util/ |
D | test_tcp_server.cc | 53 server->cb_data = user_data; in test_tcp_server_init() 76 server->on_connect, server->cb_data); in test_tcp_server_start()
|
D | test_tcp_server.h | 32 void* cb_data; member
|
/external/cn-cbor/test/ |
D | cbor_test.c | 329 cn_cbor *cb_data; in CTEST() local 338 cb_data = cn_cbor_data_create((const uint8_t*)data, 4 CONTEXT_NULL, &err); in CTEST() 339 ASSERT_NOT_NULL(cb_data); in CTEST() 346 cn_cbor_mapput_int(cb_map, -7, cb_data CONTEXT_NULL, &err); in CTEST()
|