/external/selinux/policycoreutils/sepolgen-ifgen/ |
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/libnfc-nci/halimpl/pn54x/dnld/ |
D | phNxpNciHal_Dnld.c | 257 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_fw_dnld_reset() local 270 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_reset() 275 wStatus = phDnldNfc_Reset((pphDnldNfc_RspCb_t)&phNxpNciHal_fw_dnld_reset_cb, (void*) &cb_data); in phNxpNciHal_fw_dnld_reset() 285 if (SEM_WAIT(cb_data)) in phNxpNciHal_fw_dnld_reset() 292 if (cb_data.status != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_reset() 302 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_fw_dnld_reset() 391 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_fw_dnld_normal() local 416 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) in phNxpNciHal_fw_dnld_normal() 421 …tus = phDnldNfc_Force(&tData,(pphDnldNfc_RspCb_t)&phNxpNciHal_fw_dnld_normal_cb, (void*) &cb_data); in phNxpNciHal_fw_dnld_normal() 433 if (SEM_WAIT(cb_data)) in phNxpNciHal_fw_dnld_normal() [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/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 | 710 struct peephole_mul_cb_data cb_data; in peephole_mul_omod() local 789 cb_data.Clobbered = 0; in peephole_mul_omod() 790 cb_data.Writer = &inst_mul->U.I.DstReg; in peephole_mul_omod() 804 &cb_data); in peephole_mul_omod() 806 &cb_data); in peephole_mul_omod() 807 if (cb_data.Clobbered) { in peephole_mul_omod() 813 if (cb_data.Clobbered) { in peephole_mul_omod()
|
/external/libunwind/src/dwarf/ |
D | Gfind_proc_info-lsb.c | 598 struct dwarf_callback_data *cb_data = ptr; in dwarf_callback() local 599 unw_dyn_info_t *di = &cb_data->di; in dwarf_callback() 603 int ret, need_unwind_info = cb_data->need_unwind_info; in dwarf_callback() 604 unw_proc_info_t *pi = cb_data->pi; in dwarf_callback() 613 ip = cb_data->ip; in dwarf_callback() 731 cb_data->single_fde = 1; in dwarf_callback() 781 found = dwarf_find_debug_frame (found, &cb_data->di_debug, ip, in dwarf_callback() 793 struct dwarf_callback_data cb_data; in dwarf_find_proc_info() local 799 memset (&cb_data, 0, sizeof (cb_data)); in dwarf_find_proc_info() 800 cb_data.ip = ip; in dwarf_find_proc_info() [all …]
|
/external/libnfc-nci/halimpl/pn54x/self-test/ |
D | phNxpNciHal_SelfTest.c | 1186 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_readLocked() local 1192 if (phNxpNciHal_init_cb_data(&cb_data, pData) != NFCSTATUS_SUCCESS) in phNxpNciHal_readLocked() 1204 &cb_data); in phNxpNciHal_readLocked() 1216 &cb_data); in phNxpNciHal_readLocked() 1230 if (SEM_WAIT(cb_data)) in phNxpNciHal_readLocked() 1237 if(cb_data.status == NFCSTATUS_RESPONSE_TIMEOUT) in phNxpNciHal_readLocked() 1245 if (cb_data.status != NFCSTATUS_SUCCESS) in phNxpNciHal_readLocked() 1253 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_readLocked() 1273 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_writeLocked() local 1277 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) in phNxpNciHal_writeLocked() [all …]
|
/external/curl/docs/examples/ |
D | ftp-wildcard.c | 36 void *cb_data); 138 void *cb_data) in write_it() argument 140 struct callback_data *data = cb_data; in write_it()
|
/external/libnfc-nci/halimpl/pn54x/utils/ |
D | phNxpNciHal_utils.h | 58 #define SEM_WAIT(cb_data) sem_wait(&((cb_data).sem)) argument
|
/external/libnfc-nci/halimpl/pn54x/hal/ |
D | phNxpNciHal_NfcDepSWPrio.c | 127 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_stop_polling_loop() local 153 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_resume_polling_loop() local 179 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_start_polling_loop() local 574 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_select_RF_Discovery() local
|
D | phNxpNciHal_Kovio.c | 104 int cb_data; in phNxpNciHal_rf_deactivate() local 112 (pphTmlNfc_TransactCompletionCb_t) &hal_write_cb, &cb_data); in phNxpNciHal_rf_deactivate()
|
D | phNxpNciHal.c | 751 phNxpNciHal_Sem_t cb_data; in phNxpNciHal_write_unlocked() local 756 if (phNxpNciHal_init_cb_data(&cb_data, NULL) != NFCSTATUS_SUCCESS) in phNxpNciHal_write_unlocked() 774 (void *) &cb_data); in phNxpNciHal_write_unlocked() 783 if (SEM_WAIT(cb_data)) in phNxpNciHal_write_unlocked() 790 if (cb_data.status != NFCSTATUS_SUCCESS) in phNxpNciHal_write_unlocked() 829 phNxpNciHal_cleanup_cb_data(&cb_data); in phNxpNciHal_write_unlocked()
|
/external/ltrace/ |
D | output.c | 433 struct fetch_one_param_data *cb_data = data; in fetch_one_param_cb() local 434 return CBS_STOP_IF(fetch_one_param(cb_data->tof, cb_data->proc, in fetch_one_param_cb() 435 cb_data->context, in fetch_one_param_cb() 436 cb_data->arguments, param, in fetch_one_param_cb() 437 cb_data->params_leftp) < 0); in fetch_one_param_cb() 446 struct fetch_one_param_data cb_data in fetch_params() local 449 &fetch_one_param_cb, &cb_data) != NULL) in fetch_params()
|
D | prototype.c | 103 struct each_param_data *cb_data = data; in each_param_cb() local 104 return (cb_data->cb)(cb_data->proto, param, cb_data->data); in each_param_cb() 113 struct each_param_data cb_data = { proto, cb, data }; in prototype_each_param() local 115 &each_param_cb, &cb_data); in prototype_each_param()
|
D | proc.c | 1057 void *cb_data; member 1064 return data->cb(data->proc, *bpp, data->cb_data); in each_breakpoint_cb() 1076 .cb_data = data, in proc_each_breakpoint()
|
/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/vulkan-validation-layers/layers/ |
D | core_validation.cpp | 7313 auto cb_data = dev_data->commandBufferMap.find(commandBuffer); in vkCmdBindDescriptorSets() local 7314 if (cb_data != dev_data->commandBufferMap.end()) { in vkCmdBindDescriptorSets() 7316 std::vector<VkDescriptorSet> &activeDescriptorSets = cb_data->second->activeDescriptorSets; in vkCmdBindDescriptorSets() 7505 auto cb_data = dev_data->commandBufferMap.find(commandBuffer); in vkCmdBindIndexBuffer() local 7506 if (cb_data != dev_data->commandBufferMap.end()) { in vkCmdBindIndexBuffer() 7508 cb_data->second->validate_functions.push_back(function); in vkCmdBindIndexBuffer() 7563 auto cb_data = dev_data->commandBufferMap.find(commandBuffer); in vkCmdBindVertexBuffers() local 7564 if (cb_data != dev_data->commandBufferMap.end()) { in vkCmdBindVertexBuffers() 7567 cb_data->second->validate_functions.push_back(function); in vkCmdBindVertexBuffers() 7589 auto cb_data = my_data->commandBufferMap.find(commandBuffer); in markStoreImagesAndBuffersAsWritten() local [all …]
|
/external/e2fsprogs/lib/quota/ |
D | mkquota.c | 413 static int scan_dquots_callback(struct dquot *dquot, void *cb_data) in scan_dquots_callback() argument 415 struct scan_dquots_data *scan_data = cb_data; in scan_dquots_callback()
|
/external/libunwind_llvm/src/ |
D | AddressSpace.hpp | 383 dl_iterate_cb_data cb_data = {this, &info, targetAddr}; in findUnwindSections() 435 &cb_data); in findUnwindSections()
|