Lines Matching refs:spec
45 struct spec struct
56 struct spec spec; in format_parse() local
57 struct spec *result; in format_parse()
59 spec.directives = 0; in format_parse()
60 spec.arg_count = 0; in format_parse()
69 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 if (spec.args_used[number]) in format_parse()
81 spec.args_used[number] = true; in format_parse()
86 result = (struct spec *) xmalloc (sizeof (struct spec)); in format_parse()
87 *result = spec; in format_parse()
97 struct spec *spec = (struct spec *) descr; in format_free() local
99 free (spec); in format_free()
105 struct spec *spec = (struct spec *) descr; in format_get_number_of_directives() local
107 return spec->directives; in format_get_number_of_directives()
115 struct spec *spec1 = (struct spec *) msgid_descr; in format_check()
116 struct spec *spec2 = (struct spec *) msgstr_descr; in format_check()
164 struct spec *spec = (struct spec *) descr; in format_print() local
167 if (spec == NULL) in format_print()
174 for (i = 0; i < spec->arg_count; i++) in format_print()
178 if (spec->args_used[i]) in format_print()