/external/qemu/android/ |
D | adb-qemud.c | 57 void* opaque; member 85 _adb_on_host_connected(void* opaque, void* connection) in _adb_on_host_connected() argument 87 AdbClient* const adb_client = (AdbClient*)opaque; in _adb_on_host_connected() 91 adb_client, adb_client->opaque, connection); in _adb_on_host_connected() 112 _adb_on_host_disconnect(void* opaque, void* connection) in _adb_on_host_disconnect() argument 114 AdbClient* const adb_client = (AdbClient*)opaque; in _adb_on_host_disconnect() 117 adb_client, adb_client->opaque, connection); in _adb_on_host_disconnect() 128 _adb_on_host_data(void* opaque, void* connection, const void* buff, int size) in _adb_on_host_data() argument 130 AdbClient* const adb_client = (AdbClient*)opaque; in _adb_on_host_data() 132 adb_client, adb_client->opaque, connection, size, QB(buff, size)); in _adb_on_host_data() [all …]
|
D | adb-server.h | 34 typedef void (*adbguest_connect)(void* opaque, void* connection); 46 typedef void (*adbguest_read)(void* opaque, 60 typedef void (*adbguest_disconnect)(void* opaque, void* connection); 102 extern void* adb_server_register_guest(void* opaque, AdbGuestRoutines* callbacks); 111 extern void adb_server_complete_connection(void* opaque); 118 extern void adb_server_on_guest_message(void* opaque, 126 extern void adb_server_on_guest_closed(void* opaque);
|
D | display.c | 34 android_display_producer_check(void *opaque) in android_display_producer_check() argument 39 (void)opaque; in android_display_producer_check() 44 android_display_producer_invalidate(void *opaque) in android_display_producer_invalidate() argument 46 (void)opaque; in android_display_producer_invalidate() 58 QFrameBuffer* qfbuff = ds->opaque; in android_display_update() 65 QFrameBuffer* qfbuff = ds->opaque; in android_display_resize() 72 QFrameBuffer* qfbuff = ds->opaque; in android_display_refresh() 88 ds->opaque = qf; in android_display_init()
|
D | framebuffer.h | 100 typedef void (*QFrameBufferUpdateFunc)( void* opaque, int x, int y, 110 typedef void (*QFrameBufferRotateFunc)( void* opaque, int rotation ); 117 typedef void (*QFrameBufferPollFunc)( void* opaque ); 122 typedef void (*QFrameBufferDoneFunc) ( void* opaque ); 142 typedef void (*QFrameBufferCheckUpdateFunc)( void* opaque ); 148 typedef void (*QFrameBufferInvalidateFunc) ( void* opaque ); 153 typedef void (*QFrameBufferDetachFunc) ( void* opaque ); 158 void* opaque,
|
/external/srtp/crypto/ae_xfm/ |
D | xfm.c | 27 void *opaque, in aes_128_cbc_hmac_sha1_96_func() argument 37 if ((iv == NULL) && (opaque == NULL) && (opaque_len == NULL)) { in aes_128_cbc_hmac_sha1_96_func() 41 } else if ((iv == NULL) || (opaque == NULL) || (opaque_len == NULL)) { in aes_128_cbc_hmac_sha1_96_func() 75 status = aes_cbc_nist_encrypt(&aes_ctx, opaque, opaque_len); in aes_128_cbc_hmac_sha1_96_func() 88 status = hmac_compute(&hmac_ctx, opaque, *opaque_len, TAG_LEN, auth_tag); in aes_128_cbc_hmac_sha1_96_func() 101 void *opaque, in aes_128_cbc_hmac_sha1_96_inv() argument 114 if ((iv == NULL) && (opaque == NULL) && (opaque_len == NULL)) { in aes_128_cbc_hmac_sha1_96_inv() 118 } else if ((iv == NULL) || (opaque == NULL) || (opaque_len == NULL)) { in aes_128_cbc_hmac_sha1_96_inv() 151 status = aes_cbc_nist_decrypt(&aes_ctx, opaque, opaque_len); in aes_128_cbc_hmac_sha1_96_inv() 164 status = hmac_compute(&hmac_ctx, opaque, *opaque_len, TAG_LEN, tmp_tag); in aes_128_cbc_hmac_sha1_96_inv() [all …]
|
/external/qemu/hw/ |
D | fw_cfg.c | 104 static uint32_t fw_cfg_io_readb(void *opaque, uint32_t addr) in fw_cfg_io_readb() argument 106 return fw_cfg_read(opaque); in fw_cfg_io_readb() 109 static void fw_cfg_io_writeb(void *opaque, uint32_t addr, uint32_t value) in fw_cfg_io_writeb() argument 111 fw_cfg_write(opaque, (uint8_t)value); in fw_cfg_io_writeb() 114 static void fw_cfg_io_writew(void *opaque, uint32_t addr, uint32_t value) in fw_cfg_io_writew() argument 116 fw_cfg_select(opaque, (uint16_t)value); in fw_cfg_io_writew() 119 static uint32_t fw_cfg_mem_readb(void *opaque, target_phys_addr_t addr) in fw_cfg_mem_readb() argument 121 return fw_cfg_read(opaque); in fw_cfg_mem_readb() 124 static void fw_cfg_mem_writeb(void *opaque, target_phys_addr_t addr, in fw_cfg_mem_writeb() argument 127 fw_cfg_write(opaque, (uint8_t)value); in fw_cfg_mem_writeb() [all …]
|
D | goldfish_timer.c | 39 static void goldfish_timer_save(QEMUFile* f, void* opaque) in goldfish_timer_save() argument 41 struct timer_state* s = opaque; in goldfish_timer_save() 52 static int goldfish_timer_load(QEMUFile* f, void* opaque, int version_id) in goldfish_timer_load() argument 54 struct timer_state* s = opaque; in goldfish_timer_load() 76 static uint32_t goldfish_timer_read(void *opaque, target_phys_addr_t offset) in goldfish_timer_read() argument 78 struct timer_state *s = (struct timer_state *)opaque; in goldfish_timer_read() 91 static void goldfish_timer_write(void *opaque, target_phys_addr_t offset, uint32_t value_ns) in goldfish_timer_write() argument 93 struct timer_state *s = (struct timer_state *)opaque; in goldfish_timer_write() 122 static void goldfish_timer_tick(void *opaque) in goldfish_timer_tick() argument 124 struct timer_state *s = (struct timer_state *)opaque; in goldfish_timer_tick() [all …]
|
D | pci_host.h | 42 static void pci_host_data_writeb(void* opaque, pci_addr_t addr, uint32_t val) in pci_host_data_writeb() argument 44 PCIHostState *s = opaque; in pci_host_data_writeb() 52 static void pci_host_data_writew(void* opaque, pci_addr_t addr, uint32_t val) in pci_host_data_writew() argument 54 PCIHostState *s = opaque; in pci_host_data_writew() 64 static void pci_host_data_writel(void* opaque, pci_addr_t addr, uint32_t val) in pci_host_data_writel() argument 66 PCIHostState *s = opaque; in pci_host_data_writel() 76 static uint32_t pci_host_data_readb(void* opaque, pci_addr_t addr) in pci_host_data_readb() argument 78 PCIHostState *s = opaque; in pci_host_data_readb() 89 static uint32_t pci_host_data_readw(void* opaque, pci_addr_t addr) in pci_host_data_readw() argument 91 PCIHostState *s = opaque; in pci_host_data_readw() [all …]
|
D | goldfish_pipe.c | 68 void* opaque; member 96 list->services[count].opaque = pipeOpaque; in goldfish_pipe_add_type() 132 void* opaque; member 157 pipe->opaque = pipeConnector_new(pipe); in pipe_new() 177 pipe_list_findp_opaque( Pipe** list, void* opaque ) 182 if (node == NULL || node->opaque == opaque) { 245 pipe->funcs->save(pipe->opaque, file); in pipe_save() 285 pipe->opaque = pipe->funcs->load(pipe, service ? service->opaque : NULL, pipe->args, file); in pipe_load() 286 if (pipe->opaque == NULL) { in pipe_load() 302 pipe->funcs->close(pipe->opaque); in pipe_free() [all …]
|
D | pckbd.c | 158 static void kbd_update_kbd_irq(void *opaque, int level) in kbd_update_kbd_irq() argument 160 KBDState *s = (KBDState *)opaque; in kbd_update_kbd_irq() 169 static void kbd_update_aux_irq(void *opaque, int level) in kbd_update_aux_irq() argument 171 KBDState *s = (KBDState *)opaque; in kbd_update_aux_irq() 180 static uint32_t kbd_read_status(void *opaque, uint32_t addr) in kbd_read_status() argument 182 KBDState *s = opaque; in kbd_read_status() 199 static void kbd_write_command(void *opaque, uint32_t addr, uint32_t val) in kbd_write_command() argument 201 KBDState *s = opaque; in kbd_write_command() 277 static uint32_t kbd_read_data(void *opaque, uint32_t addr) in kbd_read_data() argument 279 KBDState *s = opaque; in kbd_read_data() [all …]
|
D | goldfish_switch.c | 34 uint32_t (*writefn)(void *opaque, uint32_t state); 40 static void goldfish_switch_save(QEMUFile* f, void* opaque) in goldfish_switch_save() argument 42 struct switch_state* s = opaque; in goldfish_switch_save() 49 static int goldfish_switch_load(QEMUFile* f, void* opaque, int version_id) in goldfish_switch_load() argument 51 struct switch_state* s = opaque; in goldfish_switch_load() 63 static uint32_t goldfish_switch_read(void *opaque, target_phys_addr_t offset) in goldfish_switch_read() argument 65 struct switch_state *s = (struct switch_state *)opaque; in goldfish_switch_read() 89 static void goldfish_switch_write(void *opaque, target_phys_addr_t offset, uint32_t value) in goldfish_switch_write() argument 91 struct switch_state *s = (struct switch_state *)opaque; in goldfish_switch_write() 136 void goldfish_switch_set_state(void *opaque, uint32_t state) in goldfish_switch_set_state() argument [all …]
|
D | irq.c | 29 void *opaque; member 38 irq->handler(irq->opaque, irq->n, level); in qemu_set_irq() 41 qemu_irq *qemu_allocate_irqs(qemu_irq_handler handler, void *opaque, int n) in qemu_allocate_irqs() argument 51 p->opaque = opaque; in qemu_allocate_irqs() 65 static void qemu_notirq(void *opaque, int line, int level) in qemu_notirq() argument 67 struct IRQState *irq = opaque; in qemu_notirq() 69 irq->handler(irq->opaque, irq->n, !level); in qemu_notirq()
|
D | hw.h | 18 typedef int (QEMUFilePutBufferFunc)(void *opaque, const uint8_t *buf, 25 typedef int (QEMUFileGetBufferFunc)(void *opaque, uint8_t *buf, 29 typedef int (QEMUFileCloseFunc)(void *opaque); 34 typedef int (QEMUFileRateLimit)(void *opaque); 40 typedef int64_t (QEMUFileSetRateLimit)(void *opaque, int64_t new_rate); 41 typedef int64_t (QEMUFileGetRateLimit)(void *opaque); 43 QEMUFile *qemu_fopen_ops(void *opaque, QEMUFilePutBufferFunc *put_buffer, 251 typedef void SaveStateHandler(QEMUFile *f, void *opaque); 252 typedef int SaveLiveStateHandler(QEMUFile *f, int stage, void *opaque); 253 typedef int LoadStateHandler(QEMUFile *f, void *opaque, int version_id); [all …]
|
D | armv7m.c | 17 static inline uint32_t bitband_addr(void * opaque, uint32_t addr) in bitband_addr() argument 21 res = *(uint32_t *)opaque; in bitband_addr() 27 static uint32_t bitband_readb(void *opaque, target_phys_addr_t offset) in bitband_readb() argument 30 cpu_physical_memory_read(bitband_addr(opaque, offset), &v, 1); in bitband_readb() 34 static void bitband_writeb(void *opaque, target_phys_addr_t offset, in bitband_writeb() argument 40 addr = bitband_addr(opaque, offset); in bitband_writeb() 50 static uint32_t bitband_readw(void *opaque, target_phys_addr_t offset) in bitband_readw() argument 55 addr = bitband_addr(opaque, offset) & ~1; in bitband_readw() 62 static void bitband_writew(void *opaque, target_phys_addr_t offset, in bitband_writew() argument 68 addr = bitband_addr(opaque, offset) & ~1; in bitband_writew() [all …]
|
/external/clang/test/CodeGenCXX/ |
D | eh.cpp | 183 void opaque(); 194 opaque(); in A() 202 opaque(); 208 void opaque(); 219 opaque(); in foo() 245 void opaque(); 251 opaque(); in foo() 272 opaque(); in bar() 287 bool opaque(const A&); 299 if (opaque(x)) { in test() [all …]
|
/external/zlib/src/contrib/minizip/ |
D | ioapi.c | 34 … return (*(pfilefunc->zfile_func64.zopen64_file)) (pfilefunc->zfile_func64.opaque,filename,mode); in call_zopen64() 37 … return (*(pfilefunc->zopen32_file))(pfilefunc->zfile_func64.opaque,(const char*)filename,mode); in call_zopen64() 44 …return (*(pfilefunc->zfile_func64.zseek64_file)) (pfilefunc->zfile_func64.opaque,filestream,offset… in call_zseek64() 51 …return (*(pfilefunc->zseek32_file))(pfilefunc->zfile_func64.opaque,filestream,offsetTruncated,orig… in call_zseek64() 58 … return (*(pfilefunc->zfile_func64.ztell64_file)) (pfilefunc->zfile_func64.opaque,filestream); in call_ztell64() 61 uLong tell_uLong = (*(pfilefunc->ztell32_file))(pfilefunc->zfile_func64.opaque,filestream); in call_ztell64() 80 p_filefunc64_32->zfile_func64.opaque = p_filefunc32->opaque; in fill_zlib_filefunc64_32_def_from_filefunc32() 87 static voidpf ZCALLBACK fopen_file_func OF((voidpf opaque, const char* filename, int mode)); 88 static uLong ZCALLBACK fread_file_func OF((voidpf opaque, voidpf stream, void* buf, uLong size)); 89 static uLong ZCALLBACK fwrite_file_func OF((voidpf opaque, voidpf stream, const void* buf,uLong s… [all …]
|
D | ioapi.h | 135 typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode… 136 typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLon… 137 typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf… 138 typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque, voidpf stream)); 139 typedef int (ZCALLBACK *testerror_file_func) OF((voidpf opaque, voidpf stream)); 141 typedef long (ZCALLBACK *tell_file_func) OF((voidpf opaque, voidpf stream)); 142 typedef long (ZCALLBACK *seek_file_func) OF((voidpf opaque, voidpf stream, uLong offset, i… 155 voidpf opaque; member 158 typedef ZPOS64_T (ZCALLBACK *tell64_file_func) OF((voidpf opaque, voidpf stream)); 159 typedef long (ZCALLBACK *seek64_file_func) OF((voidpf opaque, voidpf stream, ZPOS64_T offset… [all …]
|
D | iowin32.c | 28 voidpf ZCALLBACK win32_open_file_func OF((voidpf opaque, const char* filename, int mode)); 29 uLong ZCALLBACK win32_read_file_func OF((voidpf opaque, voidpf stream, void* buf, uLong size)); 30 uLong ZCALLBACK win32_write_file_func OF((voidpf opaque, voidpf stream, const void* buf, uLong si… 31 ZPOS64_T ZCALLBACK win32_tell64_file_func OF((voidpf opaque, voidpf stream)); 32 long ZCALLBACK win32_seek64_file_func OF((voidpf opaque, voidpf stream, ZPOS64_T offset, int or… 33 int ZCALLBACK win32_close_file_func OF((voidpf opaque, voidpf stream)); 34 int ZCALLBACK win32_error_file_func OF((voidpf opaque, voidpf stream)); 88 voidpf ZCALLBACK win32_open64_file_func (voidpf opaque,const void* filename,int mode) in win32_open64_file_func() argument 103 voidpf ZCALLBACK win32_open64_file_funcA (voidpf opaque,const void* filename,int mode) in win32_open64_file_funcA() argument 118 voidpf ZCALLBACK win32_open64_file_funcW (voidpf opaque,const void* filename,int mode) in win32_open64_file_funcW() argument [all …]
|
/external/qemu/ |
D | buffered_file.c | 28 void *opaque; member 86 ret = s->put_buffer(s->opaque, s->buffer + offset, in buffered_flush() 109 static int buffered_put_buffer(void *opaque, const uint8_t *buf, int64_t pos, int size) in buffered_put_buffer() argument 111 QEMUFileBuffered *s = opaque; in buffered_put_buffer() 133 ret = s->put_buffer(s->opaque, buf + offset, size - offset); in buffered_put_buffer() 162 s->put_ready(s->opaque); in buffered_put_buffer() 169 static int buffered_close(void *opaque) in buffered_close() argument 171 QEMUFileBuffered *s = opaque; in buffered_close() 182 ret = s->close(s->opaque); in buffered_close() 192 static int buffered_rate_limit(void *opaque) in buffered_rate_limit() argument [all …]
|
D | dma-helpers.c | 52 static void dma_bdrv_cb(void *opaque, int ret); 54 static void reschedule_dma(void *opaque) in reschedule_dma() argument 56 DMAAIOCB *dbs = (DMAAIOCB *)opaque; in reschedule_dma() 60 dma_bdrv_cb(opaque, 0); in reschedule_dma() 63 static void continue_after_map_failure(void *opaque) in continue_after_map_failure() argument 65 DMAAIOCB *dbs = (DMAAIOCB *)opaque; in continue_after_map_failure() 82 static void dma_bdrv_cb(void *opaque, int ret) in dma_bdrv_cb() argument 84 DMAAIOCB *dbs = (DMAAIOCB *)opaque; in dma_bdrv_cb() 94 dbs->common.cb(dbs->common.opaque, ret); in dma_bdrv_cb() 149 BlockDriverCompletionFunc *cb, void *opaque, in dma_bdrv_io() argument [all …]
|
D | os-win32.c | 56 void *opaque; member 62 int qemu_add_polling_cb(PollingFunc *func, void *opaque) in qemu_add_polling_cb() argument 67 pe->opaque = opaque; in qemu_add_polling_cb() 73 void qemu_del_polling_cb(PollingFunc *func, void *opaque) in qemu_del_polling_cb() argument 78 if (pe->func == func && pe->opaque == opaque) { in qemu_del_polling_cb() 92 void *opaque[MAXIMUM_WAIT_OBJECTS + 1]; member 97 int qemu_add_wait_object(HANDLE handle, WaitObjectFunc *func, void *opaque) in qemu_add_wait_object() argument 105 w->opaque[w->num] = opaque; in qemu_add_wait_object() 110 void qemu_del_wait_object(HANDLE handle, WaitObjectFunc *func, void *opaque) in qemu_del_wait_object() argument 122 w->opaque[i] = w->opaque[i + 1]; in qemu_del_wait_object() [all …]
|
D | input.c | 33 void *opaque, int absolute, 46 void qemu_add_kbd_event_handler(QEMUPutKBDEvent *func, void *opaque) in qemu_add_kbd_event_handler() argument 54 s->opaque = opaque; in qemu_add_kbd_event_handler() 60 void qemu_remove_kbd_event_handler(QEMUPutKBDEvent *func, void *opaque) in qemu_remove_kbd_event_handler() argument 65 if (cursor->put_kbd_event == func && cursor->opaque == opaque) { in qemu_remove_kbd_event_handler() 91 void *opaque, int absolute, in qemu_add_mouse_event_handler() argument 100 s->qemu_put_mouse_event_opaque = opaque; in qemu_add_mouse_event_handler() 131 void *opaque) in qemu_add_led_event_handler() argument 138 s->opaque = opaque; in qemu_add_led_event_handler() 155 cursor->put_kbd_event(cursor->opaque, keycode); in kbd_put_keycode() [all …]
|
D | qemu-char.c | 137 static void qemu_chr_generic_open_bh(void *opaque) in qemu_chr_generic_open_bh() argument 139 CharDriverState *s = opaque; in qemu_chr_generic_open_bh() 227 void *opaque) in qemu_chr_add_handlers() argument 229 if (!opaque && !fd_can_read && !fd_read && !fd_event) { in qemu_chr_add_handlers() 236 s->handler_opaque = opaque; in qemu_chr_add_handlers() 289 MuxDriver *d = chr->opaque; in mux_chr_write() 418 MuxDriver *d = chr->opaque; in mux_chr_accept_input() 429 static int mux_chr_can_read(void *opaque) in mux_chr_can_read() argument 431 CharDriverState *chr = opaque; in mux_chr_can_read() 432 MuxDriver *d = chr->opaque; in mux_chr_can_read() [all …]
|
/external/qemu/distrib/zlib-1.2.3/ |
D | zutil.c | 216 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument 218 voidpf buf = opaque; /* just to make some compilers happy */ in zcalloc() 240 void zcfree (voidpf opaque, voidpf ptr) in zcfree() argument 258 ptr = opaque; /* just to make some compilers happy */ in zcfree() 275 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument 277 if (opaque) opaque = 0; /* to make compiler happy */ in zcalloc() 281 void zcfree (voidpf opaque, voidpf ptr) in zcfree() argument 283 if (opaque) opaque = 0; /* to make compiler happy */ in zcfree() 300 voidpf zcalloc (opaque, items, size) in zcalloc() argument 301 voidpf opaque; in zcalloc() [all …]
|
/external/zlib/src/ |
D | zutil.c | 220 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument 222 voidpf buf = opaque; /* just to make some compilers happy */ in zcalloc() 244 void ZLIB_INTERNAL zcfree (voidpf opaque, voidpf ptr) in zcfree() argument 262 ptr = opaque; /* just to make some compilers happy */ in zcfree() 279 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, uInt items, uInt size) in zcalloc() argument 281 if (opaque) opaque = 0; /* to make compiler happy */ in zcalloc() 285 void ZLIB_INTERNAL zcfree (voidpf opaque, voidpf ptr) in zcfree() argument 287 if (opaque) opaque = 0; /* to make compiler happy */ in zcfree() 304 voidpf ZLIB_INTERNAL zcalloc (opaque, items, size) in zcalloc() argument 305 voidpf opaque; in zcalloc() [all …]
|