Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 12 of 12) sorted by relevance

/ndk/sources/host-tools/sed-4.2.1/testsuite/
Drunptests.c47 size_t cnt; in main() local
50 for (cnt = 0; cnt < sizeof (tests) / sizeof (tests[0]); ++cnt) in main()
51 if (tests[cnt].str == NULL) in main()
53 printf ("\n%s\n%.*s\n", tests[cnt].reg, in main()
54 (int) strlen (tests[cnt].reg), in main()
57 else if (tests[cnt].reg == NULL) in main()
58 printf ("!!! %s\n", tests[cnt].str); in main()
65 printf ("regexp: \"%s\", string: \"%s\" -> ", tests[cnt].reg, in main()
66 tests[cnt].str); in main()
69 err = regcomp (&re, tests[cnt].reg, tests[cnt].options); in main()
[all …]
/ndk/tests/device/test-stlport_static-exception/jni/
Deh990323-5.cpp9 int cnt = 1; variable
20 if (cnt == 10) in A()
22 x = cnt++; in A()
28 if (cnt == 10) in A()
30 x = cnt++; in A()
36 if (x + 1 != cnt--) in ~A()
/ndk/tests/device/test-stlport_shared-exception/jni/
Deh990323-5.cpp9 int cnt = 1; variable
20 if (cnt == 10) in A()
22 x = cnt++; in A()
28 if (cnt == 10) in A()
30 x = cnt++; in A()
36 if (x + 1 != cnt--) in ~A()
/ndk/sources/android/support/src/musl-multibyte/
Dwcsnrtombs.c11 size_t l, cnt=0, n2; in wcsnrtombs() local
23 cnt = l; in wcsnrtombs()
31 cnt += l; in wcsnrtombs()
37 else cnt = l; in wcsnrtombs()
43 cnt++; in wcsnrtombs()
46 return cnt; in wcsnrtombs()
Dmbsnrtowcs.c11 size_t l, cnt=0, n2; in mbsnrtowcs() local
27 cnt = l; in mbsnrtowcs()
35 cnt += l; in mbsnrtowcs()
41 cnt = l; in mbsnrtowcs()
55 cnt++; in mbsnrtowcs()
58 return cnt; in mbsnrtowcs()
/ndk/sources/android/support/src/wcstox/
Dwcstod.c16 size_t cnt = shcnt(&f); in wcstox() local
17 *p = cnt ? t + cnt : (wchar_t *)s; in wcstox()
Dwcstol.c19 size_t cnt = shcnt(&f); in wcstox() local
20 *p = cnt ? t + cnt : (wchar_t *)s; in wcstox()
/ndk/sources/android/support/src/stdio/
Dvfwprintf.c207 int cnt=0, l=0; in wprintf_core() local
216 if (cnt >= 0) { in wprintf_core()
217 if (l > INT_MAX - cnt) { in wprintf_core()
219 cnt = -1; in wprintf_core()
220 } else cnt += l; in wprintf_core()
303 case BARE: *(int *)arg.p = cnt; break; in wprintf_core()
304 case LPRE: *(long *)arg.p = cnt; break; in wprintf_core()
305 case LLPRE: *(long long *)arg.p = cnt; break; in wprintf_core()
306 case HPRE: *(unsigned short *)arg.p = cnt; break; in wprintf_core()
307 case HHPRE: *(unsigned char *)arg.p = cnt; break; in wprintf_core()
[all …]
Dvfprintf.c477 int cnt=0, l=0; in printf_core() local
487 if (cnt >= 0) { in printf_core()
488 if (l > INT_MAX - cnt) { in printf_core()
490 cnt = -1; in printf_core()
491 } else cnt += l; in printf_core()
580 case BARE: *(int *)arg.p = cnt; break; in printf_core()
581 case LPRE: *(long *)arg.p = cnt; break; in printf_core()
582 case LLPRE: *(long long *)arg.p = cnt; break; in printf_core()
583 case HPRE: *(unsigned short *)arg.p = cnt; break; in printf_core()
584 case HHPRE: *(unsigned char *)arg.p = cnt; break; in printf_core()
[all …]
/ndk/sources/host-tools/sed-4.2.1/sed/
Dexecute.c637 size_t cnt; in dump_append_queue() local
647 while ((cnt = ck_fread(buf, 1, sizeof buf, fp)) > 0) in dump_append_queue()
648 ck_fwrite(buf, 1, cnt, output_file.fp); in dump_append_queue()
1341 countT cnt = 0; local
1351 ++cnt;
1354 return cnt;
/ndk/sources/host-tools/sed-4.2.1/lib/
Dregcomp.c3449 int cnt = 0; in build_equiv_class() local
3450 while (cnt <= len && in build_equiv_class()
3451 weights[idx1 + 1 + cnt] == weights[idx2 + 1 + cnt]) in build_equiv_class()
3452 ++cnt; in build_equiv_class()
3454 if (cnt > len) in build_equiv_class()
Dregexec.c3962 Idx cnt = 0; in check_node_accept_bytes() local
3963 while (cnt <= weight_len in check_node_accept_bytes()
3964 && (weights[equiv_class_idx + 1 + cnt] in check_node_accept_bytes()
3965 == weights[idx + 1 + cnt])) in check_node_accept_bytes()
3966 ++cnt; in check_node_accept_bytes()
3967 if (cnt > weight_len) in check_node_accept_bytes()