/external/chromium/third_party/zlib/contrib/minizip/ |
D | ioapi.c | 36 voidpf opaque, 41 voidpf opaque, 47 voidpf opaque, 53 voidpf opaque, 57 voidpf opaque, 63 voidpf opaque, 67 voidpf opaque, 71 voidpf ZCALLBACK fopen_file_func (opaque, filename, mode) in fopen_file_func() argument 72 voidpf opaque; in fopen_file_func() 93 uLong ZCALLBACK fread_file_func (opaque, stream, buf, size) in fread_file_func() argument [all …]
|
D | iowin32.c | 25 voidpf opaque, 30 voidpf opaque, 36 voidpf opaque, 42 voidpf opaque, 46 voidpf opaque, 52 voidpf opaque, 56 voidpf opaque, 65 voidpf ZCALLBACK win32_open_file_func (opaque, filename, mode) in win32_open_file_func() argument 66 voidpf opaque; in win32_open_file_func() 117 uLong ZCALLBACK win32_read_file_func (opaque, stream, buf, size) in win32_read_file_func() argument [all …]
|
D | ioapi.h | 38 typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode)); 39 typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size)… 40 typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLon… 41 typedef long (ZCALLBACK *tell_file_func) OF((voidpf opaque, voidpf stream)); 42 typedef long (ZCALLBACK *seek_file_func) OF((voidpf opaque, voidpf stream, uLong offset, int orig… 43 typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque, voidpf stream)); 44 typedef int (ZCALLBACK *testerror_file_func) OF((voidpf opaque, voidpf stream)); 55 voidpf opaque; member 62 #define ZREAD(filefunc,filestream,buf,size) ((*((filefunc).zread_file))((filefunc).opaque,filestrea… 63 #define ZWRITE(filefunc,filestream,buf,size) ((*((filefunc).zwrite_file))((filefunc).opaque,filestr… [all …]
|
/external/zlib/contrib/minizip/ |
D | ioapi.c | 22 … return (*(pfilefunc->zfile_func64.zopen64_file)) (pfilefunc->zfile_func64.opaque,filename,mode); in call_zopen64() 25 … return (*(pfilefunc->zopen32_file))(pfilefunc->zfile_func64.opaque,(const char*)filename,mode); in call_zopen64() 32 …return (*(pfilefunc->zfile_func64.zseek64_file)) (pfilefunc->zfile_func64.opaque,filestream,offset… in call_zseek64() 39 …return (*(pfilefunc->zseek32_file))(pfilefunc->zfile_func64.opaque,filestream,offsetTruncated,orig… in call_zseek64() 46 … return (*(pfilefunc->zfile_func64.ztell64_file)) (pfilefunc->zfile_func64.opaque,filestream); in call_ztell64() 49 uLong tell_uLong = (*(pfilefunc->ztell32_file))(pfilefunc->zfile_func64.opaque,filestream); in call_ztell64() 68 p_filefunc64_32->zfile_func64.opaque = p_filefunc32->opaque; in fill_zlib_filefunc64_32_def_from_filefunc32() 75 static voidpf ZCALLBACK fopen_file_func OF((voidpf opaque, const char* filename, int mode)); 76 static uLong ZCALLBACK fread_file_func OF((voidpf opaque, voidpf stream, void* buf, uLong size)); 77 static uLong ZCALLBACK fwrite_file_func OF((voidpf opaque, voidpf stream, const void* buf,uLong s… [all …]
|
D | ioapi.h | 127 typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode… 128 typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLon… 129 typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf… 130 typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque, voidpf stream)); 131 typedef int (ZCALLBACK *testerror_file_func) OF((voidpf opaque, voidpf stream)); 133 typedef long (ZCALLBACK *tell_file_func) OF((voidpf opaque, voidpf stream)); 134 typedef long (ZCALLBACK *seek_file_func) OF((voidpf opaque, voidpf stream, uLong offset, i… 147 voidpf opaque; member 150 typedef ZPOS64_T (ZCALLBACK *tell64_file_func) OF((voidpf opaque, voidpf stream)); 151 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 | 29 void *opaque; member 87 ret = s->put_buffer(s->opaque, s->buffer + offset, in buffered_flush() 110 static int buffered_put_buffer(void *opaque, const uint8_t *buf, int64_t pos, int size) in buffered_put_buffer() argument 112 QEMUFileBuffered *s = opaque; in buffered_put_buffer() 134 ret = s->put_buffer(s->opaque, buf + offset, size - offset); in buffered_put_buffer() 162 static int buffered_close(void *opaque) in buffered_close() argument 164 QEMUFileBuffered *s = opaque; in buffered_close() 175 ret = s->close(s->opaque); in buffered_close() 185 static int buffered_rate_limit(void *opaque) in buffered_rate_limit() argument 187 QEMUFileBuffered *s = opaque; in buffered_rate_limit() [all …]
|
D | qemu-char.c | 120 static void qemu_chr_reset_bh(void *opaque) in qemu_chr_reset_bh() argument 122 CharDriverState *s = opaque; in qemu_chr_reset_bh() 197 void *opaque) in qemu_chr_add_handlers() argument 202 s->handler_opaque = opaque; in qemu_chr_add_handlers() 248 MuxDriver *d = chr->opaque; in mux_chr_write() 383 MuxDriver *d = chr->opaque; in mux_chr_accept_input() 393 static int mux_chr_can_read(void *opaque) in mux_chr_can_read() argument 395 CharDriverState *chr = opaque; in mux_chr_can_read() 396 MuxDriver *d = chr->opaque; in mux_chr_can_read() 406 static void mux_chr_read(void *opaque, const uint8_t *buf, int size) in mux_chr_read() 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 | qemu-char-android.c | 128 static void qemu_chr_reset_bh(void *opaque) in qemu_chr_reset_bh() argument 130 CharDriverState *s = opaque; in qemu_chr_reset_bh() 205 void *opaque) in qemu_chr_add_handlers() argument 210 s->handler_opaque = opaque; in qemu_chr_add_handlers() 256 MuxDriver *d = chr->opaque; in mux_chr_write() 391 MuxDriver *d = chr->opaque; in mux_chr_accept_input() 401 static int mux_chr_can_read(void *opaque) in mux_chr_can_read() argument 403 CharDriverState *chr = opaque; in mux_chr_can_read() 404 MuxDriver *d = chr->opaque; in mux_chr_can_read() 414 static void mux_chr_read(void *opaque, const uint8_t *buf, int size) in mux_chr_read() argument [all …]
|
D | savevm.c | 120 static void qemu_announce_self_once(void *opaque) in qemu_announce_self_once() argument 127 QEMUTimer *timer = *(QEMUTimer **)opaque; in qemu_announce_self_once() 164 void *opaque; member 188 static int file_socket_get_buffer(void *opaque, uint8_t *buf, int64_t pos, int size) in file_socket_get_buffer() argument 190 QEMUFileSocket *s = opaque; in file_socket_get_buffer() 203 static int file_socket_close(void *opaque) in file_socket_close() argument 205 QEMUFileSocket *s = opaque; in file_socket_close() 210 static int popen_put_buffer(void *opaque, const uint8_t *buf, int64_t pos, int size) in popen_put_buffer() argument 212 QEMUFilePopen *s = opaque; in popen_put_buffer() 216 static int popen_get_buffer(void *opaque, uint8_t *buf, int64_t pos, int size) in popen_get_buffer() argument [all …]
|
D | ioport.c | 83 static uint32_t default_ioport_readb(void *opaque, uint32_t address) in default_ioport_readb() argument 89 static void default_ioport_writeb(void *opaque, uint32_t address, uint32_t data) in default_ioport_writeb() argument 96 static uint32_t default_ioport_readw(void *opaque, uint32_t address) in default_ioport_readw() argument 105 static void default_ioport_writew(void *opaque, uint32_t address, uint32_t data) in default_ioport_writew() argument 112 static uint32_t default_ioport_readl(void *opaque, uint32_t address) in default_ioport_readl() argument 118 static void default_ioport_writel(void *opaque, uint32_t address, uint32_t data) in default_ioport_writel() argument 140 IOPortReadFunc *func, void *opaque) in register_ioport_read() argument 150 if (ioport_opaque[i] != NULL && ioport_opaque[i] != opaque) in register_ioport_read() 152 ioport_opaque[i] = opaque; in register_ioport_read() 159 IOPortWriteFunc *func, void *opaque) in register_ioport_write() argument [all …]
|
/external/qemu/hw/ |
D | goldfish_timer.c | 38 static void goldfish_timer_save(QEMUFile* f, void* opaque) in goldfish_timer_save() argument 40 struct timer_state* s = opaque; in goldfish_timer_save() 51 static int goldfish_timer_load(QEMUFile* f, void* opaque, int version_id) in goldfish_timer_load() argument 53 struct timer_state* s = opaque; in goldfish_timer_load() 75 static uint32_t goldfish_timer_read(void *opaque, target_phys_addr_t offset) in goldfish_timer_read() argument 77 struct timer_state *s = (struct timer_state *)opaque; in goldfish_timer_read() 90 static void goldfish_timer_write(void *opaque, target_phys_addr_t offset, uint32_t value) in goldfish_timer_write() argument 92 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 | 43 static void pci_host_data_writeb(void* opaque, pci_addr_t addr, uint32_t val) in pci_host_data_writeb() argument 45 PCIHostState *s = opaque; in pci_host_data_writeb() 53 static void pci_host_data_writew(void* opaque, pci_addr_t addr, uint32_t val) in pci_host_data_writew() argument 55 PCIHostState *s = opaque; in pci_host_data_writew() 65 static void pci_host_data_writel(void* opaque, pci_addr_t addr, uint32_t val) in pci_host_data_writel() argument 67 PCIHostState *s = opaque; in pci_host_data_writel() 77 static uint32_t pci_host_data_readb(void* opaque, pci_addr_t addr) in pci_host_data_readb() argument 79 PCIHostState *s = opaque; in pci_host_data_readb() 90 static uint32_t pci_host_data_readw(void* opaque, pci_addr_t addr) in pci_host_data_readw() argument 92 PCIHostState *s = opaque; in pci_host_data_readw() [all …]
|
D | hw.h | 15 typedef int (QEMUFilePutBufferFunc)(void *opaque, const uint8_t *buf, 22 typedef int (QEMUFileGetBufferFunc)(void *opaque, uint8_t *buf, 26 typedef int (QEMUFileCloseFunc)(void *opaque); 31 typedef int (QEMUFileRateLimit)(void *opaque); 37 typedef size_t (QEMUFileSetRateLimit)(void *opaque, size_t new_rate); 38 typedef size_t (QEMUFileGetRateLimit)(void *opaque); 40 QEMUFile *qemu_fopen_ops(void *opaque, QEMUFilePutBufferFunc *put_buffer, 234 typedef void SaveStateHandler(QEMUFile *f, void *opaque); 235 typedef int SaveLiveStateHandler(QEMUFile *f, int stage, void *opaque); 236 typedef int LoadStateHandler(QEMUFile *f, void *opaque, int version_id); [all …]
|
D | dma.c | 47 void *opaque; member 81 static void write_page (void *opaque, uint32_t nport, uint32_t data) in write_page() argument 83 struct dma_cont *d = opaque; in write_page() 94 static void write_pageh (void *opaque, uint32_t nport, uint32_t data) in write_pageh() argument 96 struct dma_cont *d = opaque; in write_pageh() 107 static uint32_t read_page (void *opaque, uint32_t nport) in read_page() argument 109 struct dma_cont *d = opaque; in read_page() 120 static uint32_t read_pageh (void *opaque, uint32_t nport) in read_pageh() argument 122 struct dma_cont *d = opaque; in read_pageh() 151 static uint32_t read_chan (void *opaque, uint32_t nport) in read_chan() argument [all …]
|
D | goldfish_switch.c | 33 uint32_t (*writefn)(void *opaque, uint32_t state); 39 static void goldfish_switch_save(QEMUFile* f, void* opaque) in goldfish_switch_save() argument 41 struct switch_state* s = opaque; in goldfish_switch_save() 48 static int goldfish_switch_load(QEMUFile* f, void* opaque, int version_id) in goldfish_switch_load() argument 50 struct switch_state* s = opaque; in goldfish_switch_load() 62 static uint32_t goldfish_switch_read(void *opaque, target_phys_addr_t offset) in goldfish_switch_read() argument 64 struct switch_state *s = (struct switch_state *)opaque; in goldfish_switch_read() 88 static void goldfish_switch_write(void *opaque, target_phys_addr_t offset, uint32_t value) in goldfish_switch_write() argument 90 struct switch_state *s = (struct switch_state *)opaque; in goldfish_switch_write() 135 void goldfish_switch_set_state(void *opaque, uint32_t state) in goldfish_switch_set_state() argument [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 …]
|
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 | armv7m_nvic.c | 30 static uint32_t nvic_readl(void *opaque, uint32_t offset); 31 static void nvic_writel(void *opaque, uint32_t offset, uint32_t value); 72 static void systick_timer_tick(void * opaque) in systick_timer_tick() argument 74 nvic_state *s = (nvic_state *)opaque; in systick_timer_tick() 89 void armv7m_nvic_set_pending(void *opaque, int irq) in armv7m_nvic_set_pending() argument 91 nvic_state *s = (nvic_state *)opaque; in armv7m_nvic_set_pending() 98 int armv7m_nvic_acknowledge_irq(void *opaque) in armv7m_nvic_acknowledge_irq() argument 100 nvic_state *s = (nvic_state *)opaque; in armv7m_nvic_acknowledge_irq() 111 void armv7m_nvic_complete_irq(void *opaque, int irq) in armv7m_nvic_complete_irq() argument 113 nvic_state *s = (nvic_state *)opaque; in armv7m_nvic_complete_irq() [all …]
|
D | goldfish_tty.c | 42 static void goldfish_tty_save(QEMUFile* f, void* opaque) in goldfish_tty_save() argument 44 struct tty_state* s = opaque; in goldfish_tty_save() 53 static int goldfish_tty_load(QEMUFile* f, void* opaque, int version_id) in goldfish_tty_load() argument 55 struct tty_state* s = opaque; in goldfish_tty_load() 69 static uint32_t goldfish_tty_read(void *opaque, target_phys_addr_t offset) in goldfish_tty_read() argument 71 struct tty_state *s = (struct tty_state *)opaque; in goldfish_tty_read() 84 static void goldfish_tty_write(void *opaque, target_phys_addr_t offset, uint32_t value) in goldfish_tty_write() argument 86 struct tty_state *s = (struct tty_state *)opaque; in goldfish_tty_write() 168 static int tty_can_receive(void *opaque) in tty_can_receive() argument 170 struct tty_state *s = opaque; in tty_can_receive() [all …]
|
/external/chromium/third_party/zlib/ |
D | zutil.c | 218 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument 220 voidpf buf = opaque; /* just to make some compilers happy */ in zcalloc() 242 void zcfree (voidpf opaque, voidpf ptr) in zcfree() argument 260 ptr = opaque; /* just to make some compilers happy */ in zcfree() 277 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument 279 if (opaque) opaque = 0; /* to make compiler happy */ in zcalloc() 283 void zcfree (voidpf opaque, voidpf ptr) in zcfree() argument 285 if (opaque) opaque = 0; /* to make compiler happy */ in zcfree() 302 voidpf zcalloc (opaque, items, size) in zcalloc() argument 303 voidpf opaque; in zcalloc() [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/ |
D | zutil.c | 216 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument 218 voidpf buf = opaque; /* just to make some compilers happy */ in zcalloc() 240 void ZLIB_INTERNAL zcfree (voidpf opaque, voidpf ptr) in zcfree() argument 258 ptr = opaque; /* just to make some compilers happy */ in zcfree() 275 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, uInt items, uInt size) in zcalloc() argument 277 if (opaque) opaque = 0; /* to make compiler happy */ in zcalloc() 281 void ZLIB_INTERNAL zcfree (voidpf opaque, voidpf ptr) in zcfree() argument 283 if (opaque) opaque = 0; /* to make compiler happy */ in zcfree() 300 voidpf ZLIB_INTERNAL zcalloc (opaque, items, size) in zcalloc() argument 301 voidpf opaque; in zcalloc() [all …]
|
/external/qemu/audio/ |
D | wavcapture.c | 25 static void wav_notify (void *opaque, audcnotification_e cmd) in wav_notify() argument 27 (void) opaque; in wav_notify() 31 static void wav_destroy (void *opaque) in wav_destroy() argument 33 WAVState *wav = opaque; in wav_destroy() 54 static void wav_capture (void *opaque, void *buf, int size) in wav_capture() argument 56 WAVState *wav = opaque; in wav_capture() 62 static void wav_capture_destroy (void *opaque) in wav_capture_destroy() argument 64 WAVState *wav = opaque; in wav_capture_destroy() 69 static void wav_capture_info (void *opaque) in wav_capture_info() argument 71 WAVState *wav = opaque; in wav_capture_info() [all …]
|