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