PostgreSQL Source Code git master
stem_UTF_8_dutch.c
Go to the documentation of this file.
1/* Generated by Snowball 2.2.0 - https://snowballstem.org/ */
2
3#include "header.h"
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8extern int dutch_UTF_8_stem(struct SN_env * z);
9#ifdef __cplusplus
10}
11#endif
12static int r_standard_suffix(struct SN_env * z);
13static int r_undouble(struct SN_env * z);
14static int r_R2(struct SN_env * z);
15static int r_R1(struct SN_env * z);
16static int r_mark_regions(struct SN_env * z);
17static int r_en_ending(struct SN_env * z);
18static int r_e_ending(struct SN_env * z);
19static int r_postlude(struct SN_env * z);
20static int r_prelude(struct SN_env * z);
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25
26extern struct SN_env * dutch_UTF_8_create_env(void);
27extern void dutch_UTF_8_close_env(struct SN_env * z);
28
29
30#ifdef __cplusplus
31}
32#endif
33static const symbol s_0_1[2] = { 0xC3, 0xA1 };
34static const symbol s_0_2[2] = { 0xC3, 0xA4 };
35static const symbol s_0_3[2] = { 0xC3, 0xA9 };
36static const symbol s_0_4[2] = { 0xC3, 0xAB };
37static const symbol s_0_5[2] = { 0xC3, 0xAD };
38static const symbol s_0_6[2] = { 0xC3, 0xAF };
39static const symbol s_0_7[2] = { 0xC3, 0xB3 };
40static const symbol s_0_8[2] = { 0xC3, 0xB6 };
41static const symbol s_0_9[2] = { 0xC3, 0xBA };
42static const symbol s_0_10[2] = { 0xC3, 0xBC };
43
44static const struct among a_0[11] =
45{
46{ 0, 0, -1, 6, 0},
47{ 2, s_0_1, 0, 1, 0},
48{ 2, s_0_2, 0, 1, 0},
49{ 2, s_0_3, 0, 2, 0},
50{ 2, s_0_4, 0, 2, 0},
51{ 2, s_0_5, 0, 3, 0},
52{ 2, s_0_6, 0, 3, 0},
53{ 2, s_0_7, 0, 4, 0},
54{ 2, s_0_8, 0, 4, 0},
55{ 2, s_0_9, 0, 5, 0},
56{ 2, s_0_10, 0, 5, 0}
57};
58
59static const symbol s_1_1[1] = { 'I' };
60static const symbol s_1_2[1] = { 'Y' };
61
62static const struct among a_1[3] =
63{
64{ 0, 0, -1, 3, 0},
65{ 1, s_1_1, 0, 2, 0},
66{ 1, s_1_2, 0, 1, 0}
67};
68
69static const symbol s_2_0[2] = { 'd', 'd' };
70static const symbol s_2_1[2] = { 'k', 'k' };
71static const symbol s_2_2[2] = { 't', 't' };
72
73static const struct among a_2[3] =
74{
75{ 2, s_2_0, -1, -1, 0},
76{ 2, s_2_1, -1, -1, 0},
77{ 2, s_2_2, -1, -1, 0}
78};
79
80static const symbol s_3_0[3] = { 'e', 'n', 'e' };
81static const symbol s_3_1[2] = { 's', 'e' };
82static const symbol s_3_2[2] = { 'e', 'n' };
83static const symbol s_3_3[5] = { 'h', 'e', 'd', 'e', 'n' };
84static const symbol s_3_4[1] = { 's' };
85
86static const struct among a_3[5] =
87{
88{ 3, s_3_0, -1, 2, 0},
89{ 2, s_3_1, -1, 3, 0},
90{ 2, s_3_2, -1, 2, 0},
91{ 5, s_3_3, 2, 1, 0},
92{ 1, s_3_4, -1, 3, 0}
93};
94
95static const symbol s_4_0[3] = { 'e', 'n', 'd' };
96static const symbol s_4_1[2] = { 'i', 'g' };
97static const symbol s_4_2[3] = { 'i', 'n', 'g' };
98static const symbol s_4_3[4] = { 'l', 'i', 'j', 'k' };
99static const symbol s_4_4[4] = { 'b', 'a', 'a', 'r' };
100static const symbol s_4_5[3] = { 'b', 'a', 'r' };
101
102static const struct among a_4[6] =
103{
104{ 3, s_4_0, -1, 1, 0},
105{ 2, s_4_1, -1, 2, 0},
106{ 3, s_4_2, -1, 1, 0},
107{ 4, s_4_3, -1, 3, 0},
108{ 4, s_4_4, -1, 4, 0},
109{ 3, s_4_5, -1, 5, 0}
110};
111
112static const symbol s_5_0[2] = { 'a', 'a' };
113static const symbol s_5_1[2] = { 'e', 'e' };
114static const symbol s_5_2[2] = { 'o', 'o' };
115static const symbol s_5_3[2] = { 'u', 'u' };
116
117static const struct among a_5[4] =
118{
119{ 2, s_5_0, -1, -1, 0},
120{ 2, s_5_1, -1, -1, 0},
121{ 2, s_5_2, -1, -1, 0},
122{ 2, s_5_3, -1, -1, 0}
123};
124
125static const unsigned char g_v[] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 };
126
127static const unsigned char g_v_I[] = { 1, 0, 0, 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 };
128
129static const unsigned char g_v_j[] = { 17, 67, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 };
130
131static const symbol s_0[] = { 'a' };
132static const symbol s_1[] = { 'e' };
133static const symbol s_2[] = { 'i' };
134static const symbol s_3[] = { 'o' };
135static const symbol s_4[] = { 'u' };
136static const symbol s_5[] = { 'Y' };
137static const symbol s_6[] = { 'I' };
138static const symbol s_7[] = { 'Y' };
139static const symbol s_8[] = { 'y' };
140static const symbol s_9[] = { 'i' };
141static const symbol s_10[] = { 'g', 'e', 'm' };
142static const symbol s_11[] = { 'h', 'e', 'i', 'd' };
143static const symbol s_12[] = { 'h', 'e', 'i', 'd' };
144static const symbol s_13[] = { 'e', 'n' };
145static const symbol s_14[] = { 'i', 'g' };
146
147static int r_prelude(struct SN_env * z) {
148 int among_var;
149 { int c_test1 = z->c;
150 while(1) {
151 int c2 = z->c;
152 z->bra = z->c;
153 if (z->c + 1 >= z->l || z->p[z->c + 1] >> 5 != 5 || !((340306450 >> (z->p[z->c + 1] & 0x1f)) & 1)) among_var = 6; else
154 among_var = find_among(z, a_0, 11);
155 z->ket = z->c;
156 switch (among_var) {
157 case 1:
158 { int ret = slice_from_s(z, 1, s_0);
159 if (ret < 0) return ret;
160 }
161 break;
162 case 2:
163 { int ret = slice_from_s(z, 1, s_1);
164 if (ret < 0) return ret;
165 }
166 break;
167 case 3:
168 { int ret = slice_from_s(z, 1, s_2);
169 if (ret < 0) return ret;
170 }
171 break;
172 case 4:
173 { int ret = slice_from_s(z, 1, s_3);
174 if (ret < 0) return ret;
175 }
176 break;
177 case 5:
178 { int ret = slice_from_s(z, 1, s_4);
179 if (ret < 0) return ret;
180 }
181 break;
182 case 6:
183 { int ret = skip_utf8(z->p, z->c, z->l, 1);
184 if (ret < 0) goto lab0;
185 z->c = ret;
186 }
187 break;
188 }
189 continue;
190 lab0:
191 z->c = c2;
192 break;
193 }
194 z->c = c_test1;
195 }
196 { int c3 = z->c;
197 z->bra = z->c;
198 if (z->c == z->l || z->p[z->c] != 'y') { z->c = c3; goto lab1; }
199 z->c++;
200 z->ket = z->c;
201 { int ret = slice_from_s(z, 1, s_5);
202 if (ret < 0) return ret;
203 }
204 lab1:
205 ;
206 }
207 while(1) {
208 int c4 = z->c;
209 while(1) {
210 int c5 = z->c;
211 if (in_grouping_U(z, g_v, 97, 232, 0)) goto lab3;
212 z->bra = z->c;
213 { int c6 = z->c;
214 if (z->c == z->l || z->p[z->c] != 'i') goto lab5;
215 z->c++;
216 z->ket = z->c;
217 if (in_grouping_U(z, g_v, 97, 232, 0)) goto lab5;
218 { int ret = slice_from_s(z, 1, s_6);
219 if (ret < 0) return ret;
220 }
221 goto lab4;
222 lab5:
223 z->c = c6;
224 if (z->c == z->l || z->p[z->c] != 'y') goto lab3;
225 z->c++;
226 z->ket = z->c;
227 { int ret = slice_from_s(z, 1, s_7);
228 if (ret < 0) return ret;
229 }
230 }
231 lab4:
232 z->c = c5;
233 break;
234 lab3:
235 z->c = c5;
236 { int ret = skip_utf8(z->p, z->c, z->l, 1);
237 if (ret < 0) goto lab2;
238 z->c = ret;
239 }
240 }
241 continue;
242 lab2:
243 z->c = c4;
244 break;
245 }
246 return 1;
247}
248
249static int r_mark_regions(struct SN_env * z) {
250 z->I[2] = z->l;
251 z->I[1] = z->l;
252 { int c_test1 = z->c;
253 { int ret = skip_utf8(z->p, z->c, z->l, 3);
254 if (ret < 0) return 0;
255 z->c = ret;
256 }
257 z->I[0] = z->c;
258 z->c = c_test1;
259 }
260
261 {
262 int ret = out_grouping_U(z, g_v, 97, 232, 1);
263 if (ret < 0) return 0;
264 z->c += ret;
265 }
266
267 {
268 int ret = in_grouping_U(z, g_v, 97, 232, 1);
269 if (ret < 0) return 0;
270 z->c += ret;
271 }
272 z->I[2] = z->c;
273
274 if (z->I[2] >= z->I[0]) goto lab0;
275 z->I[2] = z->I[0];
276lab0:
277
278 {
279 int ret = out_grouping_U(z, g_v, 97, 232, 1);
280 if (ret < 0) return 0;
281 z->c += ret;
282 }
283
284 {
285 int ret = in_grouping_U(z, g_v, 97, 232, 1);
286 if (ret < 0) return 0;
287 z->c += ret;
288 }
289 z->I[1] = z->c;
290 return 1;
291}
292
293static int r_postlude(struct SN_env * z) {
294 int among_var;
295 while(1) {
296 int c1 = z->c;
297 z->bra = z->c;
298 if (z->c >= z->l || (z->p[z->c + 0] != 73 && z->p[z->c + 0] != 89)) among_var = 3; else
299 among_var = find_among(z, a_1, 3);
300 z->ket = z->c;
301 switch (among_var) {
302 case 1:
303 { int ret = slice_from_s(z, 1, s_8);
304 if (ret < 0) return ret;
305 }
306 break;
307 case 2:
308 { int ret = slice_from_s(z, 1, s_9);
309 if (ret < 0) return ret;
310 }
311 break;
312 case 3:
313 { int ret = skip_utf8(z->p, z->c, z->l, 1);
314 if (ret < 0) goto lab0;
315 z->c = ret;
316 }
317 break;
318 }
319 continue;
320 lab0:
321 z->c = c1;
322 break;
323 }
324 return 1;
325}
326
327static int r_R1(struct SN_env * z) {
328 return z->I[2] <= z->c;
329}
330
331static int r_R2(struct SN_env * z) {
332 return z->I[1] <= z->c;
333}
334
335static int r_undouble(struct SN_env * z) {
336 { int m_test1 = z->l - z->c;
337 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1050640 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
338 if (!find_among_b(z, a_2, 3)) return 0;
339 z->c = z->l - m_test1;
340 }
341 z->ket = z->c;
342 { int ret = skip_b_utf8(z->p, z->c, z->lb, 1);
343 if (ret < 0) return 0;
344 z->c = ret;
345 }
346 z->bra = z->c;
347 { int ret = slice_del(z);
348 if (ret < 0) return ret;
349 }
350 return 1;
351}
352
353static int r_e_ending(struct SN_env * z) {
354 z->I[3] = 0;
355 z->ket = z->c;
356 if (z->c <= z->lb || z->p[z->c - 1] != 'e') return 0;
357 z->c--;
358 z->bra = z->c;
359 { int ret = r_R1(z);
360 if (ret <= 0) return ret;
361 }
362 { int m_test1 = z->l - z->c;
363 if (out_grouping_b_U(z, g_v, 97, 232, 0)) return 0;
364 z->c = z->l - m_test1;
365 }
366 { int ret = slice_del(z);
367 if (ret < 0) return ret;
368 }
369 z->I[3] = 1;
370 { int ret = r_undouble(z);
371 if (ret <= 0) return ret;
372 }
373 return 1;
374}
375
376static int r_en_ending(struct SN_env * z) {
377 { int ret = r_R1(z);
378 if (ret <= 0) return ret;
379 }
380 { int m1 = z->l - z->c; (void)m1;
381 if (out_grouping_b_U(z, g_v, 97, 232, 0)) return 0;
382 z->c = z->l - m1;
383 { int m2 = z->l - z->c; (void)m2;
384 if (!(eq_s_b(z, 3, s_10))) goto lab0;
385 return 0;
386 lab0:
387 z->c = z->l - m2;
388 }
389 }
390 { int ret = slice_del(z);
391 if (ret < 0) return ret;
392 }
393 { int ret = r_undouble(z);
394 if (ret <= 0) return ret;
395 }
396 return 1;
397}
398
399static int r_standard_suffix(struct SN_env * z) {
400 int among_var;
401 { int m1 = z->l - z->c; (void)m1;
402 z->ket = z->c;
403 if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((540704 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab0;
404 among_var = find_among_b(z, a_3, 5);
405 if (!among_var) goto lab0;
406 z->bra = z->c;
407 switch (among_var) {
408 case 1:
409 { int ret = r_R1(z);
410 if (ret == 0) goto lab0;
411 if (ret < 0) return ret;
412 }
413 { int ret = slice_from_s(z, 4, s_11);
414 if (ret < 0) return ret;
415 }
416 break;
417 case 2:
418 { int ret = r_en_ending(z);
419 if (ret == 0) goto lab0;
420 if (ret < 0) return ret;
421 }
422 break;
423 case 3:
424 { int ret = r_R1(z);
425 if (ret == 0) goto lab0;
426 if (ret < 0) return ret;
427 }
428 if (out_grouping_b_U(z, g_v_j, 97, 232, 0)) goto lab0;
429 { int ret = slice_del(z);
430 if (ret < 0) return ret;
431 }
432 break;
433 }
434 lab0:
435 z->c = z->l - m1;
436 }
437 { int m2 = z->l - z->c; (void)m2;
438 { int ret = r_e_ending(z);
439 if (ret < 0) return ret;
440 }
441 z->c = z->l - m2;
442 }
443 { int m3 = z->l - z->c; (void)m3;
444 z->ket = z->c;
445 if (!(eq_s_b(z, 4, s_12))) goto lab1;
446 z->bra = z->c;
447 { int ret = r_R2(z);
448 if (ret == 0) goto lab1;
449 if (ret < 0) return ret;
450 }
451 { int m4 = z->l - z->c; (void)m4;
452 if (z->c <= z->lb || z->p[z->c - 1] != 'c') goto lab2;
453 z->c--;
454 goto lab1;
455 lab2:
456 z->c = z->l - m4;
457 }
458 { int ret = slice_del(z);
459 if (ret < 0) return ret;
460 }
461 z->ket = z->c;
462 if (!(eq_s_b(z, 2, s_13))) goto lab1;
463 z->bra = z->c;
464 { int ret = r_en_ending(z);
465 if (ret == 0) goto lab1;
466 if (ret < 0) return ret;
467 }
468 lab1:
469 z->c = z->l - m3;
470 }
471 { int m5 = z->l - z->c; (void)m5;
472 z->ket = z->c;
473 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((264336 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab3;
474 among_var = find_among_b(z, a_4, 6);
475 if (!among_var) goto lab3;
476 z->bra = z->c;
477 switch (among_var) {
478 case 1:
479 { int ret = r_R2(z);
480 if (ret == 0) goto lab3;
481 if (ret < 0) return ret;
482 }
483 { int ret = slice_del(z);
484 if (ret < 0) return ret;
485 }
486 { int m6 = z->l - z->c; (void)m6;
487 z->ket = z->c;
488 if (!(eq_s_b(z, 2, s_14))) goto lab5;
489 z->bra = z->c;
490 { int ret = r_R2(z);
491 if (ret == 0) goto lab5;
492 if (ret < 0) return ret;
493 }
494 { int m7 = z->l - z->c; (void)m7;
495 if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab6;
496 z->c--;
497 goto lab5;
498 lab6:
499 z->c = z->l - m7;
500 }
501 { int ret = slice_del(z);
502 if (ret < 0) return ret;
503 }
504 goto lab4;
505 lab5:
506 z->c = z->l - m6;
507 { int ret = r_undouble(z);
508 if (ret == 0) goto lab3;
509 if (ret < 0) return ret;
510 }
511 }
512 lab4:
513 break;
514 case 2:
515 { int ret = r_R2(z);
516 if (ret == 0) goto lab3;
517 if (ret < 0) return ret;
518 }
519 { int m8 = z->l - z->c; (void)m8;
520 if (z->c <= z->lb || z->p[z->c - 1] != 'e') goto lab7;
521 z->c--;
522 goto lab3;
523 lab7:
524 z->c = z->l - m8;
525 }
526 { int ret = slice_del(z);
527 if (ret < 0) return ret;
528 }
529 break;
530 case 3:
531 { int ret = r_R2(z);
532 if (ret == 0) goto lab3;
533 if (ret < 0) return ret;
534 }
535 { int ret = slice_del(z);
536 if (ret < 0) return ret;
537 }
538 { int ret = r_e_ending(z);
539 if (ret == 0) goto lab3;
540 if (ret < 0) return ret;
541 }
542 break;
543 case 4:
544 { int ret = r_R2(z);
545 if (ret == 0) goto lab3;
546 if (ret < 0) return ret;
547 }
548 { int ret = slice_del(z);
549 if (ret < 0) return ret;
550 }
551 break;
552 case 5:
553 { int ret = r_R2(z);
554 if (ret == 0) goto lab3;
555 if (ret < 0) return ret;
556 }
557 if (!(z->I[3])) goto lab3;
558 { int ret = slice_del(z);
559 if (ret < 0) return ret;
560 }
561 break;
562 }
563 lab3:
564 z->c = z->l - m5;
565 }
566 { int m9 = z->l - z->c; (void)m9;
567 if (out_grouping_b_U(z, g_v_I, 73, 232, 0)) goto lab8;
568 { int m_test10 = z->l - z->c;
569 if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((2129954 >> (z->p[z->c - 1] & 0x1f)) & 1)) goto lab8;
570 if (!find_among_b(z, a_5, 4)) goto lab8;
571 if (out_grouping_b_U(z, g_v, 97, 232, 0)) goto lab8;
572 z->c = z->l - m_test10;
573 }
574 z->ket = z->c;
575 { int ret = skip_b_utf8(z->p, z->c, z->lb, 1);
576 if (ret < 0) goto lab8;
577 z->c = ret;
578 }
579 z->bra = z->c;
580 { int ret = slice_del(z);
581 if (ret < 0) return ret;
582 }
583 lab8:
584 z->c = z->l - m9;
585 }
586 return 1;
587}
588
589extern int dutch_UTF_8_stem(struct SN_env * z) {
590 { int c1 = z->c;
591 { int ret = r_prelude(z);
592 if (ret < 0) return ret;
593 }
594 z->c = c1;
595 }
596 { int c2 = z->c;
597 { int ret = r_mark_regions(z);
598 if (ret < 0) return ret;
599 }
600 z->c = c2;
601 }
602 z->lb = z->c; z->c = z->l;
603
604
605 { int ret = r_standard_suffix(z);
606 if (ret < 0) return ret;
607 }
608 z->c = z->lb;
609 { int c3 = z->c;
610 { int ret = r_postlude(z);
611 if (ret < 0) return ret;
612 }
613 z->c = c3;
614 }
615 return 1;
616}
617
618extern struct SN_env * dutch_UTF_8_create_env(void) { return SN_create_env(0, 4); }
619
620extern void dutch_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); }
621
void SN_close_env(struct SN_env *z, int S_size)
Definition: api.c:34
struct SN_env * SN_create_env(int S_size, int I_size)
Definition: api.c:3
unsigned char symbol
Definition: api.h:2
static const struct among a_5[4]
static const symbol s_2[]
static const symbol s_0_4[2]
void dutch_UTF_8_close_env(struct SN_env *z)
static const symbol s_2_2[2]
static const symbol s_0_5[2]
static const symbol s_4[]
static const unsigned char g_v_I[]
static const unsigned char g_v_j[]
static const symbol s_0_8[2]
static const symbol s_5_3[2]
static const symbol s_4_3[4]
static const symbol s_3_1[2]
static const symbol s_5_0[2]
static int r_standard_suffix(struct SN_env *z)
static const symbol s_0_1[2]
static int r_en_ending(struct SN_env *z)
static const symbol s_4_1[2]
static const symbol s_4_4[4]
static const symbol s_2_0[2]
int dutch_UTF_8_stem(struct SN_env *z)
static const struct among a_4[6]
static const symbol s_6[]
static const symbol s_3[]
static const symbol s_3_0[3]
static const symbol s_0_7[2]
static int r_R2(struct SN_env *z)
static const symbol s_7[]
static const symbol s_13[]
static int r_undouble(struct SN_env *z)
static const symbol s_4_5[3]
static int r_R1(struct SN_env *z)
static const symbol s_1_2[1]
static int r_postlude(struct SN_env *z)
static const symbol s_14[]
static int r_prelude(struct SN_env *z)
static const symbol s_10[]
static const symbol s_1_1[1]
static const struct among a_1[3]
static const symbol s_1[]
static const struct among a_2[3]
static const symbol s_5_2[2]
static const symbol s_3_3[5]
struct SN_env * dutch_UTF_8_create_env(void)
static int r_mark_regions(struct SN_env *z)
static const symbol s_11[]
static const symbol s_12[]
static const struct among a_0[11]
static const symbol s_0_6[2]
static const symbol s_3_4[1]
static const struct among a_3[5]
static const symbol s_5_1[2]
static int r_e_ending(struct SN_env *z)
static const symbol s_0_2[2]
static const symbol s_0_10[2]
static const symbol s_0_3[2]
static const symbol s_2_1[2]
static const unsigned char g_v[]
static const symbol s_8[]
static const symbol s_9[]
static const symbol s_0_9[2]
static const symbol s_3_2[2]
static const symbol s_5[]
static const symbol s_4_2[3]
static const symbol s_4_0[3]
static const symbol s_0[]
Definition: api.h:14
int lb
Definition: api.h:16
symbol * p
Definition: api.h:15
int * I
Definition: api.h:18
int ket
Definition: api.h:16
int c
Definition: api.h:16
int bra
Definition: api.h:16
int l
Definition: api.h:16
Definition: header.h:16
int find_among_b(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:298
int out_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:141
int slice_del(struct SN_env *z)
Definition: utilities.c:431
int in_grouping_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:117
int skip_b_utf8(const symbol *p, int c, int limit, int n)
Definition: utilities.c:52
int eq_s_b(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:220
int out_grouping_b_U(struct SN_env *z, const unsigned char *s, int min, int max, int repeat)
Definition: utilities.c:153
int find_among(struct SN_env *z, const struct among *v, int v_size)
Definition: utilities.c:233
int skip_utf8(const symbol *p, int c, int limit, int n)
Definition: utilities.c:27
int slice_from_s(struct SN_env *z, int s_size, const symbol *s)
Definition: utilities.c:422