Lines Matching refs:lens

396 toplevel_format_lens(struct lens *lens, FILE *stream,
445 default_lens_format_cb(struct lens *lens, FILE *stream,
448 return toplevel_format_lens(lens, stream, value, arguments,
452 struct lens default_lens = {
458 blind_lens_format_cb(struct lens *lens, FILE *stream,
464 struct lens blind_lens = {
470 octal_lens_format_cb(struct lens *lens, FILE *stream,
473 return toplevel_format_lens(lens, stream, value, arguments, INT_FMT_o);
476 struct lens octal_lens = {
482 hex_lens_format_cb(struct lens *lens, FILE *stream,
485 return toplevel_format_lens(lens, stream, value, arguments, INT_FMT_x);
488 struct lens hex_lens = {
494 dec_lens_format_cb(struct lens *lens, FILE *stream,
497 return toplevel_format_lens(lens, stream, value, arguments, INT_FMT_u);
500 struct lens dec_lens = {
506 guess_lens_format_cb(struct lens *lens, FILE *stream,
509 return toplevel_format_lens(lens, stream, value, arguments,
513 struct lens guess_lens = {
519 bool_lens_format_cb(struct lens *lens, FILE *stream,
529 return toplevel_format_lens(lens, stream, value,
550 struct lens bool_lens = {
555 redispatch_as_array(struct lens *lens, FILE *stream,
557 int (*cb)(struct lens *, FILE *,
564 info->lens = lens;
570 int ret = cb(lens, stream, &tmp, arguments);
601 string_lens_format_cb(struct lens *lens, FILE *stream,
607 * or, if lens, then string(array(char, zero)*). But
619 return redispatch_as_array(lens, stream, value,
630 return toplevel_format_lens(lens, stream, value,
639 if (value->parent != NULL && value->type->lens == NULL)
656 struct lens string_lens = {
670 bitvect_lens_format_cb(struct lens *lens, FILE *stream,
761 struct lens bitvect_lens = {