| [ | |
| { | |
| "function_name": "default_scale_base", | |
| "function_signature": "static inline int default_scale_base (enum scale_type scale)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_default_scale_base.c\"" | |
| }, | |
| { | |
| "function_name": "suffix_power", | |
| "function_signature": "static inline int suffix_power (const char suf)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_suffix_power.c\"" | |
| }, | |
| { | |
| "function_name": "powerld", | |
| "function_signature": "static long double powerld (long double base, int x)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_powerld.c\"" | |
| }, | |
| { | |
| "function_name": "expld", | |
| "function_signature": "static long double expld (long double val, int base, int /*output */ *x)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_expld.c\"" | |
| }, | |
| { | |
| "function_name": "simple_round", | |
| "function_signature": "double simple_round (long double val, enum round_type t)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_simple_round.c\"" | |
| }, | |
| { | |
| "function_name": "simple_strtod_int", | |
| "function_signature": "static enum simple_strtod_error simple_strtod_int (char const *input_str,\n char **endptr, long double *value, bool *negative)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_simple_strtod_int.c\"" | |
| }, | |
| { | |
| "function_name": "simple_strtod_float", | |
| "function_signature": "static enum simple_strtod_error simple_strtod_float (char const *input_str,\n char **endptr,\n long double *value,\n size_t *precision)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_simple_strtod_float.c\"" | |
| }, | |
| { | |
| "function_name": "simple_strtod_human", | |
| "function_signature": "static enum simple_strtod_error simple_strtod_human (char const *input_str,\n char **endptr, long double *value, size_t *precision,\n enum scale_type allowed_scaling)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_simple_strtod_human.c\"" | |
| }, | |
| { | |
| "function_name": "simple_strtod_fatal", | |
| "function_signature": "static void simple_strtod_fatal (enum simple_strtod_error err, char const *input_str)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_simple_strtod_fatal.c\"" | |
| }, | |
| { | |
| "function_name": "double_to_human", | |
| "function_signature": "static int double_to_human (long double val, int precision,\n char *buf, idx_t buf_size,\n enum scale_type scale, int group, enum round_type round)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_double_to_human.c\"" | |
| }, | |
| { | |
| "function_name": "unit_to_umax", | |
| "function_signature": "static uintmax_t unit_to_umax (char const *n_string)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_unit_to_umax.c\"" | |
| }, | |
| { | |
| "function_name": "usage", | |
| "function_signature": "void usage (int status)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_usage.c\"" | |
| }, | |
| { | |
| "function_name": "parse_format_string", | |
| "function_signature": "static void parse_format_string (char const *fmt)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_parse_format_string.c\"" | |
| }, | |
| { | |
| "function_name": "parse_human_number", | |
| "function_signature": "static enum simple_strtod_error parse_human_number (char const *str, long double /*output */ *value,\n size_t *precision)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_parse_human_number.c\"" | |
| }, | |
| { | |
| "function_name": "prepare_padded_number", | |
| "function_signature": "static bool prepare_padded_number (const long double val, size_t precision,\n intmax_t *padding)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_prepare_padded_number.c\"" | |
| }, | |
| { | |
| "function_name": "print_padded_number", | |
| "function_signature": "static void print_padded_number (intmax_t padding)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_print_padded_number.c\"" | |
| }, | |
| { | |
| "function_name": "process_suffixed_number", | |
| "function_signature": "static int process_suffixed_number (char *text, long double *result,\n size_t *precision, long int field)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_process_suffixed_number.c\"" | |
| }, | |
| { | |
| "function_name": "is_utf8_charset", | |
| "function_signature": "static bool is_utf8_charset (void)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_is_utf8_charset.c\"" | |
| }, | |
| { | |
| "function_name": "include_field", | |
| "function_signature": "ATTRIBUTE_PURE static bool include_field (uintmax_t field)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_include_field.c\"" | |
| }, | |
| { | |
| "function_name": "process_field", | |
| "function_signature": "static bool process_field (char *text, uintmax_t field)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_process_field.c\"" | |
| }, | |
| { | |
| "function_name": "process_line", | |
| "function_signature": "static int process_line (char *line, bool newline)", | |
| "include_line": "#include \"../tests/numfmt/tests_for_process_line.c\"" | |
| } | |
| ] |