82
86
const FLAC__byte *string;
84
88
} VCENTRY_VALUES[] = {
85
{ 0, (const FLAC__byte*)"", true },
86
{ 1, (const FLAC__byte*)"", true },
87
{ 1, (const FLAC__byte*)"\x01", true },
88
{ 1, (const FLAC__byte*)"\x7f", true },
89
{ 1, (const FLAC__byte*)"\x80", false },
90
{ 1, (const FLAC__byte*)"\x81", false },
91
{ 1, (const FLAC__byte*)"\xc0", false },
92
{ 1, (const FLAC__byte*)"\xe0", false },
93
{ 1, (const FLAC__byte*)"\xf0", false },
94
{ 2, (const FLAC__byte*)"\xc0\x41", false },
95
{ 2, (const FLAC__byte*)"\xc1\x41", false },
96
{ 2, (const FLAC__byte*)"\xc0\x85", true },
97
{ 2, (const FLAC__byte*)"\xc1\x85", true },
98
{ 2, (const FLAC__byte*)"\xe0\x41", false },
99
{ 2, (const FLAC__byte*)"\xe1\x41", false },
100
{ 2, (const FLAC__byte*)"\xe0\x85", false },
101
{ 2, (const FLAC__byte*)"\xe1\x85", false },
89
{ 0, (const FLAC__byte*)"" , true },
90
{ 1, (const FLAC__byte*)"" , true },
91
{ 1, (const FLAC__byte*)"\x01" , true },
92
{ 1, (const FLAC__byte*)"\x7f" , true },
93
{ 1, (const FLAC__byte*)"\x80" , false },
94
{ 1, (const FLAC__byte*)"\x81" , false },
95
{ 1, (const FLAC__byte*)"\xc0" , false },
96
{ 1, (const FLAC__byte*)"\xe0" , false },
97
{ 1, (const FLAC__byte*)"\xf0" , false },
98
{ 2, (const FLAC__byte*)"\xc0\x41" , false },
99
{ 2, (const FLAC__byte*)"\xc1\x41" , false },
100
{ 2, (const FLAC__byte*)"\xc0\x85" , false }, /* non-shortest form */
101
{ 2, (const FLAC__byte*)"\xc1\x85" , false }, /* non-shortest form */
102
{ 2, (const FLAC__byte*)"\xc2\x85" , true },
103
{ 2, (const FLAC__byte*)"\xe0\x41" , false },
104
{ 2, (const FLAC__byte*)"\xe1\x41" , false },
105
{ 2, (const FLAC__byte*)"\xe0\x85" , false },
106
{ 2, (const FLAC__byte*)"\xe1\x85" , false },
102
107
{ 3, (const FLAC__byte*)"\xe0\x85\x41", false },
103
108
{ 3, (const FLAC__byte*)"\xe1\x85\x41", false },
104
{ 3, (const FLAC__byte*)"\xe0\x85\x80", true },
105
{ 3, (const FLAC__byte*)"\xe1\x85\x80", true }
109
{ 3, (const FLAC__byte*)"\xe0\x85\x80", false }, /* non-shortest form */
110
{ 3, (const FLAC__byte*)"\xe0\x95\x80", false }, /* non-shortest form */
111
{ 3, (const FLAC__byte*)"\xe0\xa5\x80", true },
112
{ 3, (const FLAC__byte*)"\xe1\x85\x80", true },
113
{ 3, (const FLAC__byte*)"\xe1\x95\x80", true },
114
{ 3, (const FLAC__byte*)"\xe1\xa5\x80", true }
109
118
const FLAC__byte *string;
110
119
FLAC__bool valid;
111
120
} VCENTRY_VALUES_NT[] = {
112
{ (FLAC__byte*)"", true },
113
{ (FLAC__byte*)"\x01", true },
114
{ (FLAC__byte*)"\x7f", true },
115
{ (FLAC__byte*)"\x80", false },
116
{ (FLAC__byte*)"\x81", false },
117
{ (FLAC__byte*)"\xc0", false },
118
{ (FLAC__byte*)"\xe0", false },
119
{ (FLAC__byte*)"\xf0", false },
120
{ (FLAC__byte*)"\xc0\x41", false },
121
{ (FLAC__byte*)"\xc1\x41", false },
122
{ (FLAC__byte*)"\xc0\x85", true },
123
{ (FLAC__byte*)"\xc1\x85", true },
124
{ (FLAC__byte*)"\xe0\x41", false },
125
{ (FLAC__byte*)"\xe1\x41", false },
126
{ (FLAC__byte*)"\xe0\x85", false },
127
{ (FLAC__byte*)"\xe1\x85", false },
128
{ (FLAC__byte*)"\xe0\x85\x41", false },
129
{ (FLAC__byte*)"\xe1\x85\x41", false },
130
{ (FLAC__byte*)"\xe0\x85\x80", true },
131
{ (FLAC__byte*)"\xe1\x85\x80", true }
121
{ (const FLAC__byte*)"" , true },
122
{ (const FLAC__byte*)"\x01" , true },
123
{ (const FLAC__byte*)"\x7f" , true },
124
{ (const FLAC__byte*)"\x80" , false },
125
{ (const FLAC__byte*)"\x81" , false },
126
{ (const FLAC__byte*)"\xc0" , false },
127
{ (const FLAC__byte*)"\xe0" , false },
128
{ (const FLAC__byte*)"\xf0" , false },
129
{ (const FLAC__byte*)"\xc0\x41" , false },
130
{ (const FLAC__byte*)"\xc1\x41" , false },
131
{ (const FLAC__byte*)"\xc0\x85" , false }, /* non-shortest form */
132
{ (const FLAC__byte*)"\xc1\x85" , false }, /* non-shortest form */
133
{ (const FLAC__byte*)"\xc2\x85" , true },
134
{ (const FLAC__byte*)"\xe0\x41" , false },
135
{ (const FLAC__byte*)"\xe1\x41" , false },
136
{ (const FLAC__byte*)"\xe0\x85" , false },
137
{ (const FLAC__byte*)"\xe1\x85" , false },
138
{ (const FLAC__byte*)"\xe0\x85\x41", false },
139
{ (const FLAC__byte*)"\xe1\x85\x41", false },
140
{ (const FLAC__byte*)"\xe0\x85\x80", false }, /* non-shortest form */
141
{ (const FLAC__byte*)"\xe0\x95\x80", false }, /* non-shortest form */
142
{ (const FLAC__byte*)"\xe0\xa5\x80", true },
143
{ (const FLAC__byte*)"\xe1\x85\x80", true },
144
{ (const FLAC__byte*)"\xe1\x95\x80", true },
145
{ (const FLAC__byte*)"\xe1\xa5\x80", true }
136
150
const FLAC__byte *string;
137
151
FLAC__bool valid;
138
152
} VCENTRIES[] = {
139
{ 0, (const FLAC__byte*)"", false },
140
{ 1, (const FLAC__byte*)"a", false },
141
{ 1, (const FLAC__byte*)"=", true },
142
{ 2, (const FLAC__byte*)"a=", true },
143
{ 2, (const FLAC__byte*)"\x01=", false },
144
{ 2, (const FLAC__byte*)"\x1f=", false },
145
{ 2, (const FLAC__byte*)"\x7d=", true },
146
{ 2, (const FLAC__byte*)"\x7e=", false },
147
{ 2, (const FLAC__byte *)"\xff=", false },
148
{ 3, (const FLAC__byte*)"a=\x01", true },
149
{ 3, (const FLAC__byte*)"a=\x7f", true },
150
{ 3, (const FLAC__byte*)"a=\x80", false },
151
{ 3, (const FLAC__byte*)"a=\x81", false },
152
{ 3, (const FLAC__byte*)"a=\xc0", false },
153
{ 3, (const FLAC__byte*)"a=\xe0", false },
154
{ 3, (const FLAC__byte*)"a=\xf0", false },
155
{ 4, (const FLAC__byte*)"a=\xc0\x41", false },
156
{ 4, (const FLAC__byte*)"a=\xc1\x41", false },
157
{ 4, (const FLAC__byte*)"a=\xc0\x85", true },
158
{ 4, (const FLAC__byte*)"a=\xc1\x85", true },
159
{ 4, (const FLAC__byte*)"a=\xe0\x41", false },
160
{ 4, (const FLAC__byte*)"a=\xe1\x41", false },
161
{ 4, (const FLAC__byte*)"a=\xe0\x85", false },
162
{ 4, (const FLAC__byte*)"a=\xe1\x85", false },
153
{ 0, (const FLAC__byte*)"" , false },
154
{ 1, (const FLAC__byte*)"a" , false },
155
{ 1, (const FLAC__byte*)"=" , true },
156
{ 2, (const FLAC__byte*)"a=" , true },
157
{ 2, (const FLAC__byte*)"\x01=" , false },
158
{ 2, (const FLAC__byte*)"\x1f=" , false },
159
{ 2, (const FLAC__byte*)"\x7d=" , true },
160
{ 2, (const FLAC__byte*)"\x7e=" , false },
161
{ 2, (const FLAC__byte*)"\xff=" , false },
162
{ 3, (const FLAC__byte*)"a=\x01" , true },
163
{ 3, (const FLAC__byte*)"a=\x7f" , true },
164
{ 3, (const FLAC__byte*)"a=\x80" , false },
165
{ 3, (const FLAC__byte*)"a=\x81" , false },
166
{ 3, (const FLAC__byte*)"a=\xc0" , false },
167
{ 3, (const FLAC__byte*)"a=\xe0" , false },
168
{ 3, (const FLAC__byte*)"a=\xf0" , false },
169
{ 4, (const FLAC__byte*)"a=\xc0\x41" , false },
170
{ 4, (const FLAC__byte*)"a=\xc1\x41" , false },
171
{ 4, (const FLAC__byte*)"a=\xc0\x85" , false }, /* non-shortest form */
172
{ 4, (const FLAC__byte*)"a=\xc1\x85" , false }, /* non-shortest form */
173
{ 4, (const FLAC__byte*)"a=\xc2\x85" , true },
174
{ 4, (const FLAC__byte*)"a=\xe0\x41" , false },
175
{ 4, (const FLAC__byte*)"a=\xe1\x41" , false },
176
{ 4, (const FLAC__byte*)"a=\xe0\x85" , false },
177
{ 4, (const FLAC__byte*)"a=\xe1\x85" , false },
163
178
{ 5, (const FLAC__byte*)"a=\xe0\x85\x41", false },
164
179
{ 5, (const FLAC__byte*)"a=\xe1\x85\x41", false },
165
{ 5, (const FLAC__byte*)"a=\xe0\x85\x80", true },
166
{ 5, (const FLAC__byte*)"a=\xe1\x85\x80", true }
180
{ 5, (const FLAC__byte*)"a=\xe0\x85\x80", false }, /* non-shortest form */
181
{ 5, (const FLAC__byte*)"a=\xe0\x95\x80", false }, /* non-shortest form */
182
{ 5, (const FLAC__byte*)"a=\xe0\xa5\x80", true },
183
{ 5, (const FLAC__byte*)"a=\xe1\x85\x80", true },
184
{ 5, (const FLAC__byte*)"a=\xe1\x95\x80", true },
185
{ 5, (const FLAC__byte*)"a=\xe1\xa5\x80", true }
169
FLAC__bool test_format()
188
FLAC__bool test_format(void)