/dports/devel/universal-ctags/ctags-p5.9.20211128.0/main/ |
H A D | mio.h | 47 typedef struct _MIO MIO; typedef 126 MIO *mio_new_mio (MIO *base, long start, long size); 127 MIO *mio_ref (MIO *mio); 129 int mio_unref (MIO *mio); 132 size_t mio_read (MIO *mio, 136 size_t mio_write (MIO *mio, 140 int mio_getc (MIO *mio); 150 int mio_eof (MIO *mio); 151 int mio_error (MIO *mio); 153 long mio_tell (MIO *mio); [all …]
|
H A D | selectors.h | 16 selectByPickingPerlVersion (MIO *, langType *, unsigned int); 19 selectByObjectiveCAndMatLabKeywords (MIO *, langType *, unsigned int); 22 selectByObjectiveCKeywords(MIO *, langType *, unsigned int); 25 selectByArrowOfR (MIO *, langType *, unsigned int); 28 selectByRexxCommentAndDosbatchLabelPrefix (MIO *, langType *, unsigned int); 31 selectLispOrLEXByLEXMarker (MIO *, langType *, unsigned int); 34 selectByXpathFileSpec (MIO *input, langType *candidates, unsigned int nCandidates);
|
H A D | mio.c | 196 MIO *mio; in mio_new_file_full() 201 mio = xMalloc (1, MIO); in mio_new_file_full() 266 MIO *mio; in mio_new_fp() 271 mio = xMalloc (1, MIO); in mio_new_fp() 326 MIO *mio; in mio_new_memory() 328 mio = xMalloc (1, MIO); in mio_new_memory() 369 MIO *mio_new_mio (MIO *base, long start, long size) in mio_new_mio() 373 MIO *submio; in mio_new_mio() 418 MIO *mio_ref (MIO *mio) in mio_ref() 909 int mio_getc (MIO *mio) in mio_getc() [all …]
|
H A D | writer_p.h | 36 int (* writeEntry) (tagWriter *writer, MIO * mio, const tagEntryInfo *const tag, 38 int (* writePtagEntry) (tagWriter *writer, MIO * mio, const ptagDesc *desc, 44 void * (* preWriteEntry) (tagWriter *writer, MIO * mio, 49 bool (* postWriteEntry) (tagWriter *writer, MIO * mio, const char* filename, 74 extern void writerSetup (MIO *mio, void *clientData); 75 extern bool writerTeardown (MIO *mio, const char *filename); 77 int writerWriteTag (MIO * mio, const tagEntryInfo *const tag); 78 int writerWritePtag (MIO * mio, 90 extern void abort_if_ferror(MIO *const fp);
|
H A D | sort_p.h | 24 extern void catFile (MIO *mio); 27 extern void externalSortTags (const bool toStdout, MIO *tagFile); 30 MIO *mio, 35 extern void failedSort (MIO *const mio, const char* msg);
|
H A D | writer-etags.c | 30 static int writeEtagsEntry (tagWriter *writer, MIO * mio, const tagEntryInfo *const tag, 32 static void *beginEtagsFile (tagWriter *writer, MIO * mio, 34 static bool endEtagsFile (tagWriter *writer, MIO * mio, const char* filename, 49 MIO *mio; 56 static void *beginEtagsFile (tagWriter *writer CTAGS_ATTR_UNUSED, MIO *mio CTAGS_ATTR_UNUSED, in beginEtagsFile() 68 MIO *mainfp, const char *filename, in endEtagsFile() 147 MIO * mio, const tagEntryInfo *const tag, in writeEtagsEntry()
|
/dports/devel/geany/geany-1.38/ctags/main/ |
H A D | mio.h | 47 typedef struct _MIO MIO; typedef 126 MIO *mio_new_mio (MIO *base, long start, long size); 127 MIO *mio_ref (MIO *mio); 129 int mio_unref (MIO *mio); 132 size_t mio_read (MIO *mio, 136 size_t mio_write (MIO *mio, 140 int mio_getc (MIO *mio); 150 int mio_eof (MIO *mio); 151 int mio_error (MIO *mio); 153 long mio_tell (MIO *mio); [all …]
|
H A D | mio.c | 191 MIO *mio; in mio_new_file_full() 196 mio = xMalloc (1, MIO); in mio_new_file_full() 261 MIO *mio; in mio_new_fp() 266 mio = xMalloc (1, MIO); in mio_new_fp() 321 MIO *mio; in mio_new_memory() 323 mio = xMalloc (1, MIO); in mio_new_memory() 364 MIO *mio_new_mio (MIO *base, long start, long size) in mio_new_mio() 368 MIO *submio; in mio_new_mio() 413 MIO *mio_ref (MIO *mio) in mio_ref() 884 int mio_getc (MIO *mio) in mio_getc() [all …]
|
H A D | writer_p.h | 36 int (* writeEntry) (tagWriter *writer, MIO * mio, const tagEntryInfo *const tag, 38 int (* writePtagEntry) (tagWriter *writer, MIO * mio, const ptagDesc *desc, 44 void * (* preWriteEntry) (tagWriter *writer, MIO * mio, 49 bool (* postWriteEntry) (tagWriter *writer, MIO * mio, const char* filename, 74 extern void writerSetup (MIO *mio, void *clientData); 75 extern bool writerTeardown (MIO *mio, const char *filename); 77 int writerWriteTag (MIO * mio, const tagEntryInfo *const tag); 78 int writerWritePtag (MIO * mio, 90 extern void abort_if_ferror(MIO *const fp);
|
H A D | selectors.h | 16 selectByPickingPerlVersion (MIO *, langType *, unsigned int); 19 selectByObjectiveCAndMatLabKeywords (MIO *, langType *, unsigned int); 22 selectByObjectiveCKeywords(MIO *, langType *, unsigned int); 25 selectByArrowOfR (MIO *, langType *, unsigned int); 28 selectByRexxCommentAndDosbatchLabelPrefix (MIO *, langType *, unsigned int); 31 selectByXpathFileSpec (MIO *input, langType *candidates, unsigned int nCandidates);
|
H A D | sort_p.h | 24 extern void catFile (MIO *mio); 27 extern void externalSortTags (const bool toStdout, MIO *tagFile); 30 MIO *mio, 35 extern void failedSort (MIO *const mio, const char* msg);
|
H A D | writer-etags.c | 30 static int writeEtagsEntry (tagWriter *writer, MIO * mio, const tagEntryInfo *const tag, 32 static void *beginEtagsFile (tagWriter *writer, MIO * mio, 34 static bool endEtagsFile (tagWriter *writer, MIO * mio, const char* filename, 49 MIO *mio; 56 static void *beginEtagsFile (tagWriter *writer CTAGS_ATTR_UNUSED, MIO *mio CTAGS_ATTR_UNUSED, in beginEtagsFile() 68 MIO *mainfp, const char *filename, in endEtagsFile() 147 MIO * mio, const tagEntryInfo *const tag, in writeEtagsEntry()
|
/dports/devel/geany-legacy/geany-1.37.1/ctags/main/ |
H A D | mio.h | 47 typedef struct _MIO MIO; typedef 126 MIO *mio_new_mio (MIO *base, long start, long size); 127 MIO *mio_ref (MIO *mio); 129 int mio_free (MIO *mio); 132 size_t mio_read (MIO *mio, 136 size_t mio_write (MIO *mio, 140 int mio_getc (MIO *mio); 150 int mio_eof (MIO *mio); 151 int mio_error (MIO *mio); 153 long mio_tell (MIO *mio); [all …]
|
H A D | mio.c | 204 MIO *mio; in mio_new_file_full() 209 mio = xMalloc (1, MIO); in mio_new_file_full() 274 MIO *mio; in mio_new_fp() 279 mio = xMalloc (1, MIO); in mio_new_fp() 334 MIO *mio; in mio_new_memory() 336 mio = xMalloc (1, MIO); in mio_new_memory() 377 MIO *mio_new_mio (MIO *base, long start, long size) in mio_new_mio() 381 MIO *submio; in mio_new_mio() 426 MIO *mio_ref (MIO *mio) in mio_ref() 493 int mio_free (MIO *mio) in mio_free() [all …]
|
H A D | selectors.h | 16 selectByPickingPerlVersion (MIO *); 19 selectByObjectiveCAndMatLabKeywords (MIO *); 22 selectByObjectiveCKeywords(MIO *); 25 selectByArrowOfR (MIO *); 28 selectByRexxCommentAndDosbatchLabelPrefix (MIO *); 32 selectByDTD (MIO *input);
|
H A D | output.h | 22 int (* writeEntry) (MIO * mio, const tagEntryInfo *const tag, void *data); 23 int (* writePtagEntry) (MIO * mio, const ptagDesc *desc, 27 void * (* preWriteEntry) (MIO * mio); 28 void (* postWriteEntry) (MIO * mio, const char* filename, void *data); 46 extern void abort_if_ferror(MIO *const fp);
|
H A D | sort.h | 24 extern void catFile (MIO *mio); 27 extern void externalSortTags (const bool toStdout, MIO *tagFile); 30 MIO *mio, 35 extern void failedSort (MIO *const mio, const char* msg);
|
/dports/net-im/jabberd/jabberd-2.7.0/mio/ |
H A D | mio_wsasync.h | 35 mio_priv_fd_t priv_fd = MIO(m)->next_free; \ 40 MIO(m)->next_free = priv_fd->next_free; \ 49 priv_fd->next_free = MIO(m)->next_free; \ 60 MIO(m)->timer = SetTimer(MIO(m)->hwnd, \ 61 MIO(m)->timer ? MIO(m)->timer : 0, 1000 * t, NULL); \ 74 if(PeekMessage(&msg, MIO(m)->hwnd, WM_MIO_EVENT, WM_MIO_EVENT + MIO(m)->maxfd, PM_REMOVE)) \ 136 MIO(m)->fds[i].next_free = &(MIO(m)->fds[i + 1]); \ 138 MIO(m)->next_free = &(MIO(m)->fds[0]); \ 148 #define MIO_ALLOC_FD(m, rfd) _mio_alloc_fd(MIO(m), rfd) 192 #define MIO_CAN_FREE(m) (!MIO(m)->defer_free) [all …]
|
H A D | mio_kqueue.h | 44 for (i = 0; i < MIO(m)->nevents; i++) { \ 45 if (MIO(m)->events[i].udata == mfd) { \ 46 MIO(m)->events[i].udata = &MIO(m)->dummy; \ 60 …ret = kevent(MIO(m)->kq, NULL, 0, MIO(m)->events, sizeof(MIO(m)->events)/sizeof(MIO(m)->events[0])… 62 MIO(m)->nevents = ret; \ 76 MIO(m)->nevents = 0; \ 77 MIO(m)->dummy.type = type_CLOSED; \ 78 if ((MIO(m)->kq = kqueue()) == -1) { \ 84 #define MIO_FREE_VARS(m) close(MIO(m)->kq) 87 #define MIO_CAN_FREE(m) (MIO(m)->nevents == 0) [all …]
|
H A D | mio_poll.h | 67 memset(MIO(m)->fds, 0, sizeof(struct mio_priv_fd_st) * maxfd); \ 72 free(MIO(m)->fds); \ 76 memset(MIO(m)->pfds, 0, sizeof(struct pollfd) * maxfd); \ 78 _mio_fds_init(MIO(m)); \ 87 #define MIO_ALLOC_FD(m, rfd) _mio_alloc_fd(MIO(m), rfd) 90 #define MIO_REMOVE_FD(m, mfd) MIO(m)->pfds[mfd->mio_fd.fd].fd = -1 92 #define MIO_CHECK(m, t) _mio_poll(MIO(m), t) 102 (MIO(m)->pfds[iter].revents & (POLLIN|POLLERR|POLLHUP|POLLNVAL)) 103 #define MIO_CAN_WRITE(m, iter) (MIO(m)->pfds[iter].revents & POLLOUT) 111 for(iter = 0; iter <= MIO(m)->highfd; iter++) [all …]
|
H A D | mio_select.h | 87 #define MIO_FREE_VARS(m) free(MIO(m)->fds) 89 #define MIO_ALLOC_FD(m, rfd) _mio_alloc_fd(MIO(m), rfd) 98 #define MIO_CHECK(m, t) _mio_select(MIO(m), t) 100 #define MIO_SET_READ(m, mfd) FD_SET(mfd->mio_fd.fd, &MIO(m)->rfds_in) 101 #define MIO_SET_WRITE(m, mfd) FD_SET(mfd->mio_fd.fd, &MIO(m)->wfds_in) 103 #define MIO_UNSET_READ(m, mfd) FD_CLR(mfd->mio_fd.fd, &MIO(m)->rfds_in) 104 #define MIO_UNSET_WRITE(m, mfd) FD_CLR(mfd->mio_fd.fd, &MIO(m)->wfds_in) 106 #define MIO_CAN_READ(m, iter) FD_ISSET(iter, &MIO(m)->rfds_out) 107 #define MIO_CAN_WRITE(m, iter) FD_ISSET(iter, &MIO(m)->wfds_out) 115 for(iter = MIO(m)->lowfd; iter <= MIO(m)->highfd; iter++) [all …]
|
H A D | mio_epoll.h | 28 return epoll_wait(MIO(m)->epoll_fd, \ 29 MIO(m)->res_event, 32, t*1000); \ 44 epoll_ctl(MIO(m)->epoll_fd, EPOLL_CTL_ADD, fd, &event); \ 60 MIO(m)->defer_free = 0; \ 61 if ((MIO(m)->epoll_fd = epoll_create(maxfd)) < 0) \ 71 close(MIO(m)->epoll_fd); \ 148 (MIO(m)->res_event[iter].events & (EPOLLIN|EPOLLERR|EPOLLHUP)) 151 (MIO(m)->res_event[iter].events & EPOLLOUT) 153 #define MIO_CAN_FREE(m) (!MIO(m)->defer_free) 159 for(MIO(m)->defer_free = 1, iter = 0; (iter < retval) || ((MIO(m)->defer_free = 0)); iter++) [all …]
|
/dports/devel/universal-ctags/ctags-p5.9.20211128.0/dsl/ |
H A D | optscript.h | 28 OptVM *opt_vm_new (MIO *in, MIO *out, MIO *err); 31 EsObject *opt_vm_read (OptVM *vm, MIO *in); 33 void opt_vm_report_error (OptVM *vm, EsObject *eobj, MIO *err); 41 int opt_vm_help (OptVM *vm, MIO *out,
|
H A D | es.c | 297 static MIO *out; in mio_stdout() 305 static MIO *mio_stdin (void) in mio_stdin() 307 static MIO *out; in mio_stdin() 317 static MIO *out; in mio_stderr() 1693 MIO* out) in es_print() 1704 MIO* out; in es_print_to_string() 1778 MIO* out; in es_comment_to_string() 1890 get_token(MIO* in) in get_token() 2100 get_regex (MIO* fp) in get_regex() 2367 fill_list (MIO* fp) in fill_list() [all …]
|
/dports/archivers/zip-ada/zip-ada/tools/ |
H A D | my_tell_data.adb | 18 package MIO is new Modular_IO(UnZip.File_size_type); packspec 48 MIO.Put(compressed_bytes , 10); 53 MIO.Put( 59 MIO.Put(uncompressed_bytes, 10);
|