Home
last modified time | relevance | path

Searched refs:mmapped (Results 1 – 25 of 726) sorted by relevance

12345678910>>...30

/dports/devel/libowfat/libowfat-0.32/io/
H A Dio_mmapwritefile.c28 if (e->mmapped) { in io_mmapwritefile()
33 UnmapViewOfFile(e->mmapped); in io_mmapwritefile()
35 munmap(e->mmapped,e->maplen); in io_mmapwritefile()
50 e->mmapped=0; in io_mmapwritefile()
63 UnmapViewOfFile(e->mmapped); in io_mmapwritefile()
65 munmap(e->mmapped,e->maplen); in io_mmapwritefile()
67 e->mmapped=0; in io_mmapwritefile()
85 if (e->mmapped) { in io_mmapwritefile()
87 UnmapViewOfFile(e->mmapped); in io_mmapwritefile()
89 munmap(e->mmapped,e->maplen); in io_mmapwritefile()
[all …]
H A Dio_close.c23 if (e->mmapped) { in io_close()
25 UnmapViewOfFile(e->mmapped); in io_close()
28 munmap(e->mmapped,e->maplen); in io_close()
30 e->mmapped=0; in io_close()
/dports/x11-fonts/fcft/fcft/example/
H A Dshm.c22 munmap(buf->mmapped, buf->size); in buffer_destroy()
49 void *mmapped = NULL; in shm_get_buffer() local
79 mmapped = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, pool_fd, 0); in shm_get_buffer()
80 if (mmapped == MAP_FAILED) { in shm_get_buffer()
109 PIXMAN_a8r8g8b8, width, height, mmapped, stride); in shm_get_buffer()
123 .mmapped = mmapped, in shm_get_buffer()
140 if (mmapped != NULL) in shm_get_buffer()
141 munmap(mmapped, size); in shm_get_buffer()
/dports/x11/fuzzel/fuzzel/
H A Dshm.c57 void *mmapped = NULL; in shm_get_buffer() local
94 mmapped = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, pool_fd, 0); in shm_get_buffer()
95 if (mmapped == MAP_FAILED) { in shm_get_buffer()
118 PIXMAN_a8r8g8b8, width, height, mmapped, stride); in shm_get_buffer()
127 mmapped, CAIRO_FORMAT_ARGB32, width, height, stride); in shm_get_buffer()
151 .mmapped = mmapped, in shm_get_buffer()
181 if (mmapped != NULL) in shm_get_buffer()
182 munmap(mmapped, size); in shm_get_buffer()
200 munmap(buf->mmapped, buf->size); in shm_fini()
/dports/x11/fnott/fnott/
H A Dshm.c57 void *mmapped = NULL; in shm_get_buffer() local
90 mmapped = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, pool_fd, 0); in shm_get_buffer()
91 if (mmapped == MAP_FAILED) { in shm_get_buffer()
115 PIXMAN_a8r8g8b8, width, height, (uint32_t *)mmapped, stride); in shm_get_buffer()
126 .mmapped = mmapped, in shm_get_buffer()
145 if (mmapped != NULL) in shm_get_buffer()
146 munmap(mmapped, size); in shm_get_buffer()
160 munmap(buf->mmapped, buf->size); in shm_fini()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/i2c/busses/
H A Di2c-elektor.c43 static int mmapped; variable
135 if (!mmapped) { in pcf_isa_init()
227 mmapped = 1; in elektor_match()
243 if (mmapped && base < 0xc8000) { in elektor_match()
274 if (!mmapped) { in elektor_probe()
293 if (!mmapped) { in elektor_remove()
320 module_param_hw(mmapped, int, other, 0);
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/i2c/busses/
H A Di2c-elektor.c43 static int mmapped; variable
135 if (!mmapped) { in pcf_isa_init()
227 mmapped = 1; in elektor_match()
243 if (mmapped && base < 0xc8000) { in elektor_match()
274 if (!mmapped) { in elektor_probe()
293 if (!mmapped) { in elektor_remove()
320 module_param_hw(mmapped, int, other, 0);
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/i2c/busses/
H A Di2c-elektor.c43 static int mmapped; variable
135 if (!mmapped) { in pcf_isa_init()
227 mmapped = 1; in elektor_match()
243 if (mmapped && base < 0xc8000) { in elektor_match()
274 if (!mmapped) { in elektor_probe()
293 if (!mmapped) { in elektor_remove()
320 module_param_hw(mmapped, int, other, 0);
/dports/textproc/fcitx5/fcitx5-5.0.11/src/modules/spell/dict/
H A Dcomp_spell_dict.cpp41 std::unique_ptr<void, std::function<void(void *)>> mmapped(nullptr, unmap); in compile_dict() local
43 mmapped.reset( in compile_dict()
45 if (mmapped.get() == MAP_FAILED) { in compile_dict()
48 p = static_cast<char *>(mmapped.get()); in compile_dict()
/dports/emulators/xsystem35/xsystem35-1.7.3-pre5/src/
H A Dald_manager.c69 if (dri[type]->mmapped) return dri_getdata(dri[type], no); in ald_getdata()
90 if (data->a->mmapped) { in ald_freedata()
108 if (!dri[type]->mmapped) { in ald_init()
/dports/emulators/qemu/qemu-6.2.0/audio/
H A Dossaudio.c46 int mmapped; member
372 assert(oss->mmapped); in oss_get_available_bytes()
387 if (!oss->mmapped) { in oss_run_buffer_out()
395 if (oss->mmapped) { in oss_get_buffer_out()
406 if (oss->mmapped) { in oss_put_buffer_out()
421 if (oss->mmapped) { in oss_write()
523 oss->mmapped = 0; in oss_init_out()
551 oss->mmapped = 1; in oss_init_out()
555 if (!oss->mmapped) { in oss_init_out()
585 if (!oss->mmapped) { in oss_enable_out()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/audio/
H A Dossaudio.c46 int mmapped; member
372 assert(oss->mmapped); in oss_get_available_bytes()
387 if (!oss->mmapped) { in oss_run_buffer_out()
395 if (oss->mmapped) { in oss_get_buffer_out()
406 if (oss->mmapped) { in oss_put_buffer_out()
421 if (oss->mmapped) { in oss_write()
523 oss->mmapped = 0; in oss_init_out()
551 oss->mmapped = 1; in oss_init_out()
555 if (!oss->mmapped) { in oss_init_out()
585 if (!oss->mmapped) { in oss_enable_out()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/audio/
H A Dossaudio.c46 int mmapped; member
374 assert(oss->mmapped); in oss_get_available_bytes()
389 if (!oss->mmapped) { in oss_run_buffer_out()
397 if (oss->mmapped) { in oss_get_buffer_out()
408 if (oss->mmapped) { in oss_put_buffer_out()
423 if (oss->mmapped) { in oss_write()
525 oss->mmapped = 0; in oss_init_out()
555 oss->mmapped = 1; in oss_init_out()
559 if (!oss->mmapped) { in oss_init_out()
589 if (!oss->mmapped) { in oss_enable_out()
[all …]
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/audio/
H A Dossaudio.c46 int mmapped; member
374 assert(oss->mmapped); in oss_get_available_bytes()
389 if (!oss->mmapped) { in oss_run_buffer_out()
397 if (oss->mmapped) { in oss_get_buffer_out()
408 if (oss->mmapped) { in oss_put_buffer_out()
423 if (oss->mmapped) { in oss_write()
525 oss->mmapped = 0; in oss_init_out()
555 oss->mmapped = 1; in oss_init_out()
559 if (!oss->mmapped) { in oss_init_out()
589 if (!oss->mmapped) { in oss_enable_out()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/audio/
H A Dossaudio.c46 int mmapped; member
374 assert(oss->mmapped); in oss_get_available_bytes()
389 if (!oss->mmapped) { in oss_run_buffer_out()
397 if (oss->mmapped) { in oss_get_buffer_out()
408 if (oss->mmapped) { in oss_put_buffer_out()
423 if (oss->mmapped) { in oss_write()
525 oss->mmapped = 0; in oss_init_out()
555 oss->mmapped = 1; in oss_init_out()
559 if (!oss->mmapped) { in oss_init_out()
589 if (!oss->mmapped) { in oss_enable_out()
[all …]
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/audio/
H A Dossaudio.c46 int mmapped; member
372 assert(oss->mmapped); in oss_get_available_bytes()
387 if (!oss->mmapped) { in oss_run_buffer_out()
395 if (oss->mmapped) { in oss_get_buffer_out()
406 if (oss->mmapped) { in oss_put_buffer_out()
421 if (oss->mmapped) { in oss_write()
523 oss->mmapped = 0; in oss_init_out()
551 oss->mmapped = 1; in oss_init_out()
555 if (!oss->mmapped) { in oss_init_out()
585 if (!oss->mmapped) { in oss_enable_out()
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/audio/
H A Dossaudio.c46 int mmapped; member
374 assert(oss->mmapped); in oss_get_available_bytes()
388 if (oss->mmapped) { in oss_get_buffer_out()
399 if (oss->mmapped) { in oss_put_buffer_out()
414 if (oss->mmapped) { in oss_write()
461 if (oss->mmapped && hw->buf_emul) { in oss_fini_out()
516 oss->mmapped = 0; in oss_init_out()
546 oss->mmapped = 1; in oss_init_out()
550 if (!oss->mmapped) { in oss_init_out()
582 if (!oss->mmapped) { in oss_enable_out()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/audio/
H A Dossaudio.c46 int mmapped; member
374 assert(oss->mmapped); in oss_get_available_bytes()
388 if (oss->mmapped) { in oss_get_buffer_out()
399 if (oss->mmapped) { in oss_put_buffer_out()
414 if (oss->mmapped) { in oss_write()
461 if (oss->mmapped && hw->buf_emul) { in oss_fini_out()
516 oss->mmapped = 0; in oss_init_out()
546 oss->mmapped = 1; in oss_init_out()
550 if (!oss->mmapped) { in oss_init_out()
582 if (!oss->mmapped) { in oss_enable_out()
[all …]
/dports/news/multisuck/multisuck-1.0.4/
H A Dsuck_group.c33 ptrtostr(server->newsrc->mmapped[i].group, group); in suck_group()
42 if ((last_art = ptrtonum(server->newsrc->mmapped[i].lastart)) == 0) in suck_group()
150 update_newsrc(server->newsrc->mmapped[i].lastart, hi); in suck_group()
H A Dnewsrc.c72 server->newsrc->mmapped[i].group = ptr; in load_newsrc()
74 server->newsrc->mmapped[i].lastart = ptr; in load_newsrc()
/dports/net/gsk/gsk-1.0.63/src/
H A Dgsktable-flat.c84 guint8 *mmapped; member
93 guint8 *mmapped; member
494 if (reader->mmapped == NULL || reader->mmapped == MAP_FAILED) in mmap_reader_init()
496 reader->mmapped = NULL; in mmap_reader_init()
506 reader->mmapped = NULL; in mmap_reader_init()
520 if (reader->mmapped) in mmap_reader_pread()
549 if (reader->mmapped) in mmap_reader_clear()
589 if (writer->mmapped == MAP_FAILED) in mmap_writer_init_at()
591 writer->mmapped = NULL; in mmap_writer_init_at()
630 if (writer->mmapped == MAP_FAILED) in writer_advance_to_next_page()
[all …]
/dports/net/tacacs/PROJECTS/misc/
H A Dbuffer.c48 if (b->mmapped) { in buffer_free()
150 if (b->mmapped) in buffer_sequential()
154 if (b->mmapped) in buffer_sequential()
166 if (b->mmapped) in buffer_sequential_all()
182 if (b->mmapped) in buffer_release()
286 b->mmapped = 1; in buffer_get_mmap()
302 if (last == NULL || last->mmapped || last->length == last->size) { in buffer_write()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/audio/
H A Dossaudio.c57 int mmapped; member
383 if (oss->mmapped) { in oss_write_pending()
429 if (oss->mmapped) { in oss_run_out()
481 if (oss->mmapped) { in oss_fini_out()
541 oss->mmapped = 0; in oss_init_out()
570 oss->mmapped = 1; in oss_init_out()
574 if (!oss->mmapped) { in oss_init_out()
584 if (!oss->mmapped) { in oss_init_out()
626 if (!oss->mmapped) { in oss_ctl_out()
648 if (!oss->mmapped) { in oss_ctl_out()
/dports/multimedia/dvbcut/dvbcut-deb-0.7.3/src/
H A Dbuffer.cpp156 eof(false), pos(0), filesize(0), mmapped(false), in inbuffer()
249 if (mmapped)
255 mmapped = false;
362 if (mmapped) {
364 mmapped = false;
400 mmapped = true;
/dports/security/pks/pks/
H A Dutil.c173 xfc->mmapped = 1; in xfilecontents_get()
216 xfc->mmapped = 0; in xfilecontents_get()
225 if (xfc->mmapped) in xfilecontents_free()

12345678910>>...30