| /mirbsd/src/gnu/usr.bin/cvs/src/ |
| D | log-buffer.c | 210 log_buffer_input (void *closure, char *data, size_t need, size_t size, in log_buffer_input() argument 213 struct log_buffer *lb = closure; in log_buffer_input() 218 status = (*lb->buf->input) (lb->buf->closure, data, need, size, got); in log_buffer_input() 264 log_buffer_output (void *closure, const char *data, size_t have, size_t *wrote) in log_buffer_output() argument 266 struct log_buffer *lb = closure; in log_buffer_output() 271 status = (*lb->buf->output) (lb->buf->closure, data, have, wrote); in log_buffer_output() 317 log_buffer_flush (void *closure) in log_buffer_flush() argument 319 struct log_buffer *lb = closure; in log_buffer_flush() 330 return (*lb->buf->flush) (lb->buf->closure); in log_buffer_flush() 337 log_buffer_block (void *closure, bool block) in log_buffer_block() argument [all …]
|
| D | ms-buffer.c | 42 ms_buffer_block (void *closure, bool block) in ms_buffer_block() argument 44 struct ms_buffer *mb = closure; in ms_buffer_block() 57 ms_buffer_input (void *closure, char *data, size_t need, size_t size, in ms_buffer_input() argument 60 struct ms_buffer *mb = closure; in ms_buffer_input() 64 status = (*mb->cur->input) (mb->cur->closure, data, need, size, got); in ms_buffer_input() 83 ms_buffer_block (closure, mb->block); in ms_buffer_input() 95 ms_buffer_get_fd (void *closure) in ms_buffer_get_fd() argument 97 struct ms_buffer *mb = closure; in ms_buffer_get_fd() 107 struct ms_buffer *mb = buf->closure; in ms_buffer_shutdown()
|
| D | buffer.c | 46 void *closure) in buf_initialize() argument 61 buf->closure = closure; in buf_initialize() 71 if (buf->closure != NULL) in buf_free() 73 free (buf->closure); in buf_free() 74 buf->closure = NULL; in buf_free() 288 status = (*buf->output) (buf->closure, data->bufp, data->size, in buf_send_output() 347 status = (*buf->flush) (buf->closure); in buf_flush() 375 status = (*buf->block) (buf->closure, 0); in set_nonblock() 396 status = (*buf->block) (buf->closure, 1); in set_block() 769 status = (*buf->input) (buf->closure, in buf_input_data() [all …]
|
| D | socket-client.c | 62 socket_buffer_input (void *closure, char *data, size_t need, size_t size, in socket_buffer_input() argument 65 struct socket_buffer *sb = closure; in socket_buffer_input() 119 socket_buffer_output (void *closure, const char *data, size_t have, in socket_buffer_output() argument 122 struct socket_buffer *sb = closure; in socket_buffer_output() 160 socket_buffer_flush (void *closure) in socket_buffer_flush() argument 171 struct socket_buffer *n = buf->closure; in socket_buffer_shutdown()
|
| D | logmsg.c | 20 static int find_type (Node * p, void *closure); 21 static int fmt_proc (Node * p, void *closure); 24 static int logmsg_list_to_args_proc (Node *p, void *closure); 26 void *closure ); 28 void *closure); 31 void *closure ); 118 find_type (Node *p, void *closure) in find_type() argument 134 fmt_proc (Node *p, void *closure) in fmt_proc() argument 548 rcsinfo_proc (const char *repository, const char *template, void *closure) in rcsinfo_proc() argument 622 update_logfile_proc (const char *repository, const char *filter, void *closure) in update_logfile_proc() argument [all …]
|
| D | zlib.c | 137 compress_buffer_input (void *closure, char *data, size_t need, size_t size, in compress_buffer_input() argument 140 struct compress_buffer *cb = closure; in compress_buffer_input() 233 status = (*cb->buf->input) (cb->buf->closure, bd->text, in compress_buffer_input() 282 compress_buffer_output (void *closure, const char *data, size_t have, in compress_buffer_output() argument 285 struct compress_buffer *cb = closure; in compress_buffer_output() 334 compress_buffer_flush (void *closure) in compress_buffer_flush() argument 336 struct compress_buffer *cb = closure; in compress_buffer_flush() 390 compress_buffer_block (void *closure, bool block) in compress_buffer_block() argument 392 struct compress_buffer *cb = closure; in compress_buffer_block() 404 compress_buffer_get_fd (void *closure) in compress_buffer_get_fd() argument [all …]
|
| D | find_names.c | 39 add_entries_proc (Node *node, void *closure) in add_entries_proc() argument 42 List *filelist = closure; in add_entries_proc() 126 add_subdir_proc (Node *p, void *closure) in add_subdir_proc() argument 128 List *dirlist = closure; in add_subdir_proc() 149 register_subdir_proc (Node *p, void *closure) in register_subdir_proc() argument 151 List *entries = (List *) closure; in register_subdir_proc() 365 strip_rcsext (Node *p, void *closure) in strip_rcsext() argument
|
| D | recurse.c | 22 static int do_dir_proc (Node * p, void *closure); 23 static int do_file_proc (Node * p, void *closure); 25 static int unroll_files_proc (Node *p, void *closure); 924 do_file_proc (Node *p, void *closure) in do_file_proc() argument 926 struct frame_and_file *frfile = closure; in do_file_proc() 978 do_dir_proc (Node *p, void *closure) in do_dir_proc() argument 980 struct frame_and_entries *frent = (struct frame_and_entries *) closure; in do_dir_proc() 1304 unroll_files_proc (Node *p, void *closure) in unroll_files_proc() argument 1307 struct recursion_frame *frame = (struct recursion_frame *) closure; in unroll_files_proc()
|
| D | hash.c | 400 walklist (List *list, int (*proc) (Node *, void *), void *closure) in walklist() argument 407 (void *)list, (void *)proc, (void *)closure); in walklist() 411 (unsigned long)closure); in walklist() 419 err += proc (p, closure); in walklist() 534 printnode (Node *node, void *closure) in printnode() argument
|
| D | hash.h | 58 int walklist (List *list, int (*)(Node *n, void *closure), void *closure);
|
| D | subr.c | 861 void *closure; member 1107 b->closure = NULL; in format_cmdline() 1374 b->closure = va_arg (args, void *); in format_cmdline() 1428 tb->closure = b->closure; in format_cmdline() 1455 b->closure = NULL; in format_cmdline() 1673 c.closure = b->closure; in format_cmdline()
|
| D | parseinfo.c | 30 int opt, void *closure) in Parse_Info() argument 151 err += callproc (repository, expanded_value, closure); in Parse_Info() 179 err += callproc (repository, expanded_value, closure); in Parse_Info() 199 err += callproc (repository, expanded_value, closure); in Parse_Info()
|
| D | log.c | 189 send_one (Node *node, void *closure) in send_one() argument 191 char *option = closure; in send_one() 1416 log_symbol (Node *p, void *closure) in log_symbol() argument 1432 log_count (Node *p, void *closure) in log_count() argument 1444 log_fix_singledate (Node *p, void *closure) in log_fix_singledate() argument 1446 struct log_data_and_rcs *data = closure; in log_fix_singledate() 1502 log_count_print (Node *p, void *closure) in log_count_print() argument 1504 struct log_data_and_rcs *data = closure; in log_count_print() 1699 log_branch (Node *p, void *closure) in log_branch() argument
|
| D | status.c | 24 static int tag_list_proc (Node * p, void *closure); 365 tag_list_proc (Node *p, void *closure) in tag_list_proc() argument
|
| D | commit.c | 50 static int findmaxrev (Node * p, void *closure); 53 static int precommit_list_to_args_proc (Node * p, void *closure); 55 void *closure); 1130 precommit_list_to_args_proc (p, closure) in precommit_list_to_args_proc() argument 1132 void *closure; 1134 struct format_cmdline_walklist_closure *c = closure; 1201 precommit_proc (const char *repository, const char *filter, void *closure) in precommit_proc() argument 1206 List *ulist = closure; in precommit_proc() 1670 findmaxrev (Node *p, void *closure) in findmaxrev() argument
|
| D | tag.c | 304 posttag_proc (const char *repository, const char *filter, void *closure) in posttag_proc() argument 308 struct pretag_proc_data *ppd = closure; in posttag_proc() 727 pretag_proc (const char *repository, const char *filter, void *closure) in pretag_proc() argument 732 struct pretag_proc_data *ppd = closure; in pretag_proc() 861 pretag_list_to_args_proc (Node *p, void *closure) in pretag_list_to_args_proc() argument 865 (struct format_cmdline_walklist_closure *)closure; in pretag_list_to_args_proc()
|
| D | subr.h | 64 void *closure; /* our user defined closure */ member
|
| /mirbsd/src/gnu/usr.bin/perl/t/lib/warnings/ |
| D | pad | 44 use warnings 'closure' ; 55 no warnings 'closure' ; 66 use warnings 'closure' ; 77 use warnings 'closure' ; 88 no warnings 'closure' ;
|
| /mirbsd/src/gnu/usr.bin/perl/lib/DBM_Filter/t/ |
| D | 02core.t | 188 #diag "Test Set: Key and Value Filter, no stacking, no closure"; 218 #diag "Test Set: Key Only Filter, no stacking, no closure"; 248 #diag "Test Set: Value Only Filter, no stacking, no closure"; 278 #diag "Test Set: Key and Value Filter, with stacking, no closure"; 311 #diag "Test Set: Key Filter != Value Filter, with stacking, no closure"; 350 #diag "Test Set: Key only Filter, with stacking, no closure"; 383 #diag "Test Set: Value only Filter, with stacking, no closure"; 416 #diag "Test Set: Combination Key/Value + Key Filter != Value Filter, with stacking, no closure"; 452 #diag "Test Set: Combination Key/Value + Key + Key/Value, no closure"; 488 #diag "Test Set: Combination Key/Value + Key + Key/Value, with closure"; [all …]
|
| /mirbsd/src/gnu/usr.bin/binutils/gdb/ |
| D | bfd-target.c | 38 void *closure) in add_to_section_table() argument 40 struct section_closure *pp = closure; in add_to_section_table()
|
| /mirbsd/src/gnu/usr.bin/perl/ext/threads/t/ |
| D | problems.t | 112 # Returing a closure from a thread caused problems. If the last index in 116 # XXX DAPM 9-Jan-04 - backed this out for now - returning a closure from a 125 # print $string eq 'foobar' ? '' : 'not ', "ok $test - returning closure\n";
|
| /mirbsd/src/lib/libcitrus_iconv/libc/citrus/ |
| D | citrus_db_hash.c | 54 _citrus_db_hash_std(void *closure, struct _region *r) in _citrus_db_hash_std() argument
|
| /mirbsd/src/usr.bin/yacc/ |
| D | Makefile | 4 SRCS= closure.c error.c lalr.c lr0.c main.c mkpar.c output.c reader.c \
|
| /mirbsd/src/gnu/usr.bin/perl/ext/Filter/t/ |
| D | call.t | 84 # a simple filter, using a closure 132 # a simple filter, not using a closure 300 # using the module context (with a closure) 359 # using the module context (without a closure)
|
| /mirbsd/src/gnu/usr.bin/perl/pod/ |
| D | perlref.pod | 154 X<scope, lexical> X<closure> X<lexical> X<lexical scope> 180 You might also think of closure as a way to write a subroutine 203 time the anonymous subroutine runs. That's what a closure is all 638 X<scope, lexical> X<closure> X<lexical> X<lexical scope> 642 variables visible when that function was compiled, creates a closure. It 646 Using a closure as a function template allows us to generate many functions 653 we'll assign a closure to a typeglob of the name of the function we're 666 the anonymous subroutine be lexicals in order to create a proper closure. 669 This is one of the only places where giving a prototype to a closure makes 707 temporary assignments of the closure (anonymous subroutine). But when
|