File size: 7,301 Bytes
78d2150
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
[
  {
    "function_name": "usage",
    "function_signature": "void usage (int status)",
    "include_line": "#include \"../tests/basenc/tests_for_usage.c\""
  },
  {
    "function_name": "decode_ctx_finalize",
    "function_signature": "static bool decode_ctx_finalize (struct base_decode_context *ctx,\n                     char *restrict *out, idx_t *outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_decode_ctx_finalize.c\""
  },
  {
    "function_name": "base64url_encode",
    "function_signature": "static void base64url_encode (char const *restrict in, idx_t inlen,\n                  char *restrict out, idx_t outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_base64url_encode.c\""
  },
  {
    "function_name": "base64url_decode_ctx_wrapper",
    "function_signature": "static bool base64url_decode_ctx_wrapper (struct base_decode_context *ctx,\n                              char const *restrict in, idx_t inlen,\n                              char *restrict out, idx_t *outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_base64url_decode_ctx_wrapper.c\""
  },
  {
    "function_name": "base32hex_encode",
    "function_signature": "static void base32hex_encode (char const *restrict in, idx_t inlen,\n                  char *restrict out, idx_t outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_base32hex_encode.c\""
  },
  {
    "function_name": "base32hex_decode_ctx_wrapper",
    "function_signature": "static bool base32hex_decode_ctx_wrapper (struct base_decode_context *ctx,\n                              char const *restrict in, idx_t inlen,\n                              char *restrict out, idx_t *outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_base32hex_decode_ctx_wrapper.c\""
  },
  {
    "function_name": "base16_encode",
    "function_signature": "static void base16_encode (char const *restrict in, idx_t inlen,\n               char *restrict out, idx_t outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_base16_encode.c\""
  },
  {
    "function_name": "base16_decode_ctx",
    "function_signature": "static bool base16_decode_ctx (struct base_decode_context *ctx,\n                   char const *restrict in, idx_t inlen,\n                   char *restrict out, idx_t *outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_base16_decode_ctx.c\""
  },
  {
    "function_name": "z85_encode",
    "function_signature": "static void z85_encode (char const *restrict in, idx_t inlen,\n            char *restrict out, idx_t outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_z85_encode.c\""
  },
  {
    "function_name": "z85_decode_ctx",
    "function_signature": "static bool z85_decode_ctx (struct base_decode_context *ctx,\n                char const *restrict in, idx_t inlen,\n                char *restrict out, idx_t *outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_z85_decode_ctx.c\""
  },
  {
    "function_name": "base2msbf_encode",
    "function_signature": "inline static void base2msbf_encode (char const *restrict in, idx_t inlen,\n                  char *restrict out, idx_t outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_base2msbf_encode.c\""
  },
  {
    "function_name": "base2lsbf_encode",
    "function_signature": "inline static void base2lsbf_encode (char const *restrict in, idx_t inlen,\n                  char *restrict out, idx_t outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_base2lsbf_encode.c\""
  },
  {
    "function_name": "base2lsbf_decode_ctx",
    "function_signature": "static bool base2lsbf_decode_ctx (struct base_decode_context *ctx,\n                      char const *restrict in, idx_t inlen,\n                      char *restrict out, idx_t *outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_base2lsbf_decode_ctx.c\""
  },
  {
    "function_name": "base2msbf_decode_ctx",
    "function_signature": "static bool base2msbf_decode_ctx (struct base_decode_context *ctx,\n                      char const *restrict in, idx_t inlen,\n                      char *restrict out, idx_t *outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_base2msbf_decode_ctx.c\""
  },
  {
    "function_name": "base58_length",
    "function_signature": "ATTRIBUTE_PURE static idx_t base58_length (idx_t len)",
    "include_line": "#include \"../tests/basenc/tests_for_base58_length.c\""
  },
  {
    "function_name": "base58_encode_ctx",
    "function_signature": "static bool base58_encode_ctx (struct base_encode_context *ctx,\n                   char const *restrict in, idx_t inlen,\n                   MAYBE_UNUSED char *restrict out, idx_t *outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_base58_encode_ctx.c\""
  },
  {
    "function_name": "base58_encode",
    "function_signature": "static void base58_encode (char const* data, size_t data_len,\n               char *out, idx_t *outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_base58_encode.c\""
  },
  {
    "function_name": "base58_encode_ctx_finalize",
    "function_signature": "static bool base58_encode_ctx_finalize (struct base_encode_context *ctx,\n                            char *restrict *out, idx_t *outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_base58_encode_ctx_finalize.c\""
  },
  {
    "function_name": "base58_decode_ctx",
    "function_signature": "static bool base58_decode_ctx (struct base_decode_context *ctx,\n                   char const *restrict in, idx_t inlen,\n                   MAYBE_UNUSED char *restrict out, idx_t *outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_base58_decode_ctx.c\""
  },
  {
    "function_name": "base58_decode",
    "function_signature": "static bool base58_decode (char const *data, size_t data_len,\n               char *restrict out, idx_t *outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_base58_decode.c\""
  },
  {
    "function_name": "base58_decode_ctx_finalize",
    "function_signature": "static bool base58_decode_ctx_finalize (struct base_decode_context *ctx,\n                            char *restrict *out, idx_t *outlen)",
    "include_line": "#include \"../tests/basenc/tests_for_base58_decode_ctx_finalize.c\""
  },
  {
    "function_name": "wrap_write",
    "function_signature": "static void wrap_write (char const *buffer, idx_t len,\n            idx_t wrap_column, idx_t *current_column, FILE *out)",
    "include_line": "#include \"../tests/basenc/tests_for_wrap_write.c\""
  },
  {
    "function_name": "finish_and_exit",
    "function_signature": "static _Noreturn void finish_and_exit (FILE *in, char const *infile)",
    "include_line": "#include \"../tests/basenc/tests_for_finish_and_exit.c\""
  },
  {
    "function_name": "do_encode",
    "function_signature": "static _Noreturn void do_encode (FILE *in, char const *infile, FILE *out, idx_t wrap_column)",
    "include_line": "#include \"../tests/basenc/tests_for_do_encode.c\""
  },
  {
    "function_name": "do_decode",
    "function_signature": "static _Noreturn void do_decode (FILE *in, char const *infile, FILE *out, bool ignore_garbage)",
    "include_line": "#include \"../tests/basenc/tests_for_do_decode.c\""
  }
]