Lines Matching full:spec
41 struct spec struct
54 struct spec spec; in format_parse() argument
55 struct spec *result; in format_parse()
57 spec.directives = 0; in format_parse()
58 spec.arg_count = 0; in format_parse()
65 spec.directives++; in format_parse()
73 while (spec.arg_count <= number) in format_parse()
74 spec.args_used[spec.arg_count++] = false; in format_parse()
75 spec.args_used[number] = true; in format_parse()
90 …irective number %u, the character '%c' is not a digit between 1 and 9."), spec.directives, *format) in format_parse()
91 …acter that terminates the directive number %u is not a digit between 1 and 9."), spec.directives)); in format_parse()
100 result = XMALLOC (struct spec); in format_parse()
101 *result = spec; in format_parse()
111 struct spec *spec = (struct spec *) descr; in format_free() local
113 free (spec); in format_free()
119 struct spec *spec = (struct spec *) descr; in format_get_number_of_directives() local
121 return spec->directives; in format_get_number_of_directives()
129 struct spec *spec1 = (struct spec *) msgid_descr; in format_check()
130 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check()
189 struct spec *spec = (struct spec *) descr; in format_print() local
192 if (spec == NULL) in format_print()
199 for (i = 0; i < spec->arg_count; i++) in format_print()
203 if (spec->args_used[i]) in format_print()