Lines Matching refs:lens
36 && parent->type->lens == NULL); in format_argument()
40 struct lens *lens = &default_lens; in format_argument() local
42 && parent->type->lens != NULL) in format_argument()
43 lens = parent->type->lens; in format_argument()
45 return lens_format(lens, stream, value, arguments); in format_argument()
49 lens_format(struct lens *lens, FILE *stream, struct value *value, in lens_format() argument
52 assert(lens->format_cb != NULL); in lens_format()
53 return lens->format_cb(lens, stream, value, arguments); in lens_format()
57 lens_destroy(struct lens *lens) in lens_destroy() argument
59 if (lens != NULL in lens_destroy()
60 && lens->destroy_cb != NULL) in lens_destroy()
61 lens->destroy_cb(lens); in lens_destroy()