Home
last modified time | relevance | path

Searched refs:closure (Results 1 – 25 of 98) sorted by relevance

1234

/dragonfly/contrib/binutils-2.27/gold/
HDscript-c.h217 yyparse(void* closure);
222 yylex(YYSTYPE*, void* closure);
227 yyerror(void* closure, const char*);
233 script_add_extern(void* closure, const char*, size_t);
238 script_add_file(void* closure, const char*, size_t);
243 script_add_library(void* closure, const char*, size_t);
248 script_start_group(void* closure);
250 script_end_group(void* closure);
255 script_start_as_needed(void* closure);
257 script_end_as_needed(void* closure);
[all …]
HDscript.cc1486 Parser_closure closure(input_file->filename().c_str(), in read_input_script() local
1500 if (yyparse(&closure) != 0) in read_input_script()
1502 if (closure.found_incompatible_target()) in read_input_script()
1519 if (!closure.saw_inputs()) in read_input_script()
1523 for (Input_arguments::const_iterator p = closure.inputs()->begin(); in read_input_script()
1524 p != closure.inputs()->end(); in read_input_script()
1528 if (p + 1 == closure.inputs()->end()) in read_input_script()
1590 Parser_closure closure(filename, in read_script_file() local
1600 if (yyparse(&closure) != 0) in read_script_file()
1608 gold_assert(!closure.saw_inputs()); in read_script_file()
[all …]
/dragonfly/contrib/binutils-2.34/gold/
HDscript-c.h217 yyparse(void* closure);
222 yylex(YYSTYPE*, void* closure);
227 yyerror(void* closure, const char*);
233 script_add_extern(void* closure, const char*, size_t);
238 script_add_file(void* closure, const char*, size_t);
243 script_add_library(void* closure, const char*, size_t);
248 script_start_group(void* closure);
250 script_end_group(void* closure);
255 script_start_as_needed(void* closure);
257 script_end_as_needed(void* closure);
[all …]
HDscript.cc1516 Parser_closure closure(input_file->filename().c_str(), in read_input_script() local
1530 if (yyparse(&closure) != 0) in read_input_script()
1532 if (closure.found_incompatible_target()) in read_input_script()
1549 if (!closure.saw_inputs()) in read_input_script()
1553 for (Input_arguments::const_iterator p = closure.inputs()->begin(); in read_input_script()
1554 p != closure.inputs()->end(); in read_input_script()
1558 if (p + 1 == closure.inputs()->end()) in read_input_script()
1620 Parser_closure closure(filename, in read_script_file() local
1630 if (yyparse(&closure) != 0) in read_script_file()
1638 gold_assert(!closure.saw_inputs()); in read_script_file()
[all …]
HDyyscript.c370 int yyparse (void* closure);
1390 yyerror (closure, YY_("syntax error: cannot back up")); \
1427 Type, Value, closure); \
1438 yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, void* closure) in yy_symbol_value_print() argument
1442 YYUSE (closure); in yy_symbol_value_print()
1458 yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, void* closure) in yy_symbol_print() argument
1463 yy_symbol_value_print (yyoutput, yytype, yyvaluep, closure); in yy_symbol_print()
1496 yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule, void* closure) in yy_reduce_print() argument
1510 , closure); in yy_reduce_print()
1518 yy_reduce_print (yyssp, yyvsp, Rule, closure); \
[all …]
/dragonfly/gnu/usr.bin/binutils227/block2/libgold/
HDyyscript.c380 int yyparse (void* closure);
1521 yyerror (closure, YY_("syntax error: cannot back up")); \
1541 # define YYLEX yylex (&yylval, closure)
1564 Type, Value, closure); \
1578 yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, void* closure) in yy_symbol_value_print() argument
1581 yy_symbol_value_print (yyoutput, yytype, yyvaluep, closure) in yy_symbol_value_print()
1585 void* closure;
1592 YYUSE (closure);
1610 yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, void* closure) in yy_symbol_print() argument
1613 yy_symbol_print (yyoutput, yytype, yyvaluep, closure) in yy_symbol_print()
[all …]
/dragonfly/contrib/cvs-1.12/src/
HDlog-buffer.c210 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 …]
HDms-buffer.c42 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()
HDbuffer.c46 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 …]
HDsocket-client.c62 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()
HDlogmsg.c18 static int find_type (Node * p, void *closure);
19 static int fmt_proc (Node * p, void *closure);
22 static int logmsg_list_to_args_proc (Node *p, void *closure);
24 void *closure );
26 void *closure);
29 void *closure );
114 find_type (Node *p, void *closure) in find_type() argument
130 fmt_proc (Node *p, void *closure) in fmt_proc() argument
519 rcsinfo_proc (const char *repository, const char *template, void *closure) in rcsinfo_proc() argument
593 update_logfile_proc (const char *repository, const char *filter, void *closure) in update_logfile_proc() argument
[all …]
HDzlib.c135 compress_buffer_input (void *closure, char *data, size_t need, size_t size, in compress_buffer_input() argument
138 struct compress_buffer *cb = closure; in compress_buffer_input()
231 status = (*cb->buf->input) (cb->buf->closure, bd->text, in compress_buffer_input()
280 compress_buffer_output (void *closure, const char *data, size_t have, in compress_buffer_output() argument
283 struct compress_buffer *cb = closure; in compress_buffer_output()
332 compress_buffer_flush (void *closure) in compress_buffer_flush() argument
334 struct compress_buffer *cb = closure; in compress_buffer_flush()
388 compress_buffer_block (void *closure, bool block) in compress_buffer_block() argument
390 struct compress_buffer *cb = closure; in compress_buffer_block()
402 compress_buffer_get_fd (void *closure) in compress_buffer_get_fd() argument
[all …]
HDfind_names.c39 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
HDrecurse.c22 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()
HDhash.c400 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
/dragonfly/contrib/gdb-7/gdb/python/
HDpy-breakpoint.c88 bppy_get_enabled (PyObject *self, void *closure) in bppy_get_enabled() argument
102 bppy_get_silent (PyObject *self, void *closure) in bppy_get_silent() argument
114 bppy_set_enabled (PyObject *self, PyObject *newvalue, void *closure) in bppy_set_enabled() argument
154 bppy_set_silent (PyObject *self, PyObject *newvalue, void *closure) in bppy_set_silent() argument
185 bppy_set_thread (PyObject *self, PyObject *newvalue, void *closure) in bppy_set_thread() argument
226 bppy_set_task (PyObject *self, PyObject *newvalue, void *closure) in bppy_set_task() argument
298 bppy_set_ignore_count (PyObject *self, PyObject *newvalue, void *closure) in bppy_set_ignore_count() argument
336 bppy_set_hit_count (PyObject *self, PyObject *newvalue, void *closure) in bppy_set_hit_count() argument
370 bppy_get_location (PyObject *self, void *closure) in bppy_get_location() argument
389 bppy_get_expression (PyObject *self, void *closure) in bppy_get_expression() argument
[all …]
HDpy-symbol.c69 sympy_get_type (PyObject *self, void *closure) in sympy_get_type() argument
85 sympy_get_symtab (PyObject *self, void *closure) in sympy_get_symtab() argument
95 sympy_get_name (PyObject *self, void *closure) in sympy_get_name() argument
105 sympy_get_linkage_name (PyObject *self, void *closure) in sympy_get_linkage_name() argument
115 sympy_get_print_name (PyObject *self, void *closure) in sympy_get_print_name() argument
125 sympy_get_addr_class (PyObject *self, void *closure) in sympy_get_addr_class() argument
135 sympy_is_argument (PyObject *self, void *closure) in sympy_is_argument() argument
145 sympy_is_constant (PyObject *self, void *closure) in sympy_is_constant() argument
158 sympy_is_function (PyObject *self, void *closure) in sympy_is_function() argument
171 sympy_is_variable (PyObject *self, void *closure) in sympy_is_variable() argument
[all …]
HDpy-block.c106 blpy_get_start (PyObject *self, void *closure) in blpy_get_start() argument
116 blpy_get_end (PyObject *self, void *closure) in blpy_get_end() argument
126 blpy_get_function (PyObject *self, void *closure) in blpy_get_function() argument
141 blpy_get_superblock (PyObject *self, void *closure) in blpy_get_superblock() argument
159 blpy_get_global_block (PyObject *self, void *closure) in blpy_get_global_block() argument
178 blpy_get_static_block (PyObject *self, void *closure) in blpy_get_static_block() argument
198 blpy_is_global (PyObject *self, void *closure) in blpy_is_global() argument
214 blpy_is_static (PyObject *self, void *closure) in blpy_is_static() argument
HDpy-lazy-string.c53 stpy_get_address (PyObject *self, void *closure) in stpy_get_address() argument
61 stpy_get_encoding (PyObject *self, void *closure) in stpy_get_encoding() argument
80 stpy_get_length (PyObject *self, void *closure) in stpy_get_length() argument
88 stpy_get_type (PyObject *self, void *closure) in stpy_get_type() argument
HDpy-symtab.c100 stpy_get_filename (PyObject *self, void *closure) in stpy_get_filename() argument
115 stpy_get_objfile (PyObject *self, void *closure) in stpy_get_objfile() argument
230 salpy_get_pc (PyObject *self, void *closure) in salpy_get_pc() argument
243 salpy_get_last (PyObject *self, void *closure) in salpy_get_last() argument
256 salpy_get_line (PyObject *self, void *closure) in salpy_get_line() argument
266 salpy_get_symtab (PyObject *self, void *closure) in salpy_get_symtab() argument
/dragonfly/contrib/gcc-8.0/gcc/
HDtyped-splay-tree.h53 struct closure struct
55 closure (foreach_fn outer_cb, void *outer_user_data) in closure() function
170 closure c (outer_cb, outer_user_data); in foreach()
182 closure *c = (closure *)user_data; in inner_foreach_fn()
/dragonfly/sys/dev/drm/
HDdrm_edid.c1876 typedef void detailed_cb(struct detailed_timing *timing, void *closure);
1879 cea_for_each_detailed_block(u8 *ext, detailed_cb *cb, void *closure) in cea_for_each_detailed_block() argument
1887 cb((struct detailed_timing *)(det_base + 18 * i), closure); in cea_for_each_detailed_block()
1891 vtb_for_each_detailed_block(u8 *ext, detailed_cb *cb, void *closure) in vtb_for_each_detailed_block() argument
1900 cb((struct detailed_timing *)(det_base + 18 * i), closure); in vtb_for_each_detailed_block()
1904 drm_for_each_detailed_block(u8 *raw_edid, detailed_cb *cb, void *closure) in drm_for_each_detailed_block() argument
1913 cb(&(edid->detailed_timings[i]), closure); in drm_for_each_detailed_block()
1919 cea_for_each_detailed_block(ext, cb, closure); in drm_for_each_detailed_block()
1922 vtb_for_each_detailed_block(ext, cb, closure); in drm_for_each_detailed_block()
2488 struct detailed_mode_closure *closure = c; in do_inferred_modes() local
[all …]
/dragonfly/contrib/gdb-7/gdb/
HDaddrmap.c404 splay_foreach_count (splay_tree_node n, void *closure) in splay_foreach_count() argument
406 size_t *count = (size_t *) closure; in splay_foreach_count()
416 splay_foreach_copy (splay_tree_node n, void *closure) in splay_foreach_copy() argument
418 struct addrmap_fixed *fixed = (struct addrmap_fixed *) closure; in splay_foreach_copy()
520 splay_obstack_alloc (int size, void *closure) in splay_obstack_alloc() argument
522 struct addrmap_mutable *map = closure; in splay_obstack_alloc()
542 splay_obstack_free (void *obj, void *closure) in splay_obstack_free() argument
544 struct addrmap_mutable *map = closure; in splay_obstack_free()
/dragonfly/usr.bin/gcore/
HDelfcore.c73 void *closure);
168 cb_put_phdr(vm_map_entry_t entry, void *closure) in cb_put_phdr() argument
170 struct phdr_closure *phc = (struct phdr_closure *)closure; in cb_put_phdr()
198 cb_size_segment(vm_map_entry_t entry, void *closure) in cb_size_segment() argument
200 struct sseg_closure *ssc = (struct sseg_closure *)closure; in cb_size_segment()
212 each_writable_segment(vm_map_entry_t map, segment_callback func, void *closure) in each_writable_segment() argument
217 (*func)(entry, closure); in each_writable_segment()
/dragonfly/contrib/gdb-7/gdb/cli/
HDcli-script.c44 void *closure);
919 void (*validator)(char *, void *), void *closure) in process_next_line() argument
1055 validator ((*command)->line, closure); in process_next_line()
1076 void *closure) in recurse_read_control_structure() argument
1101 validator, closure); in recurse_read_control_structure()
1170 validator, closure); in recurse_read_control_structure()
1202 void (*validator)(char *, void *), void *closure) in read_command_lines() argument
1226 validator, closure); in read_command_lines()
1233 validator, closure); in read_command_lines()
1249 void (*validator)(char *, void *), void *closure) in read_command_lines_1() argument
[all …]

1234