Home
last modified time | relevance | path

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

/iconv/
A Dgconv_open.c39 size_t cnt = 0; in __gconv_open() local
94 for (cnt = 0; cnt < nsteps; ++cnt) in __gconv_open()
105 result->__data[cnt].__internal_use = 0; in __gconv_open()
109 result->__data[cnt].__statep = &result->__data[cnt].__state; in __gconv_open()
120 if (cnt < nsteps - 1) in __gconv_open()
122 result->__data[cnt].__flags = conv_flags; in __gconv_open()
128 if (result->__data[cnt].__outbuf == NULL) in __gconv_open()
134 result->__data[cnt].__outbufend = in __gconv_open()
135 result->__data[cnt].__outbuf + size; in __gconv_open()
156 while (cnt-- > 0) in __gconv_open()
[all …]
A Dgconv_builtin.c63 size_t cnt; in __gconv_get_builtin_trans() local
65 for (cnt = 0; cnt < sizeof (map) / sizeof (map[0]); ++cnt) in __gconv_get_builtin_trans()
66 if (strcmp (name, map[cnt].name) == 0) in __gconv_get_builtin_trans()
69 assert (cnt < sizeof (map) / sizeof (map[0])); in __gconv_get_builtin_trans()
71 step->__fct = map[cnt].fct; in __gconv_get_builtin_trans()
72 step->__btowc_fct = map[cnt].btowc_fct; in __gconv_get_builtin_trans()
78 step->__min_needed_from = map[cnt].min_needed_from; in __gconv_get_builtin_trans()
79 step->__max_needed_from = map[cnt].max_needed_from; in __gconv_get_builtin_trans()
80 step->__min_needed_to = map[cnt].min_needed_to; in __gconv_get_builtin_trans()
81 step->__max_needed_to = map[cnt].max_needed_to; in __gconv_get_builtin_trans()
A Dgconv_trans.c90 int cnt; in __gconv_transliterate() local
95 cnt = 0; in __gconv_transliterate()
98 if (from_tbl[idx + cnt] != winbuf[cnt]) in __gconv_transliterate()
101 ++cnt; in __gconv_transliterate()
103 while (from_tbl[idx + cnt] != L'\0' && winbuf + cnt < winbufend); in __gconv_transliterate()
105 if (cnt > 0 && from_tbl[idx + cnt] == L'\0') in __gconv_transliterate()
135 *inbufp += cnt * sizeof (uint32_t); in __gconv_transliterate()
154 else if (cnt > 0) in __gconv_transliterate()
160 if (winbuf + cnt >= winbufend || from_tbl[idx + cnt] < winbuf[cnt]) in __gconv_transliterate()
A Dgconv_simple.c88 size_t cnt; in internal_ucs4_loop() local
91 for (cnt = 0; cnt < n_convert; ++cnt, inptr += 4) in internal_ucs4_loop()
133 size_t cnt; in internal_ucs4_loop_unaligned() local
135 for (cnt = 0; cnt < n_convert; ++cnt, inptr += 4, outptr += 4) in internal_ucs4_loop_unaligned()
455 size_t cnt; in internal_ucs4le_loop() local
458 for (cnt = 0; cnt < n_convert; ++cnt, inptr += 4) in internal_ucs4le_loop()
501 size_t cnt; in internal_ucs4le_loop_unaligned() local
503 for (cnt = 0; cnt < n_convert; ++cnt, inptr += 4, outptr += 4) in internal_ucs4le_loop_unaligned()
1045 if (i < cnt || (cnt > 2 && (ch >> (5 * cnt - 4)) == 0) \
1079 cnt = 2; \
[all …]
A Dgconv.c65 for (size_t cnt = 0; cnt <= last_step; ++cnt) in __gconv() local
66 cd->__data[cnt].__invocation_counter = 0; in __gconv()
A Dgconv_conf.c465 size_t cnt; in __gconv_read_conf() local
479 for (cnt = 0; __gconv_path_elem[cnt].name != NULL; ++cnt) in __gconv_read_conf()
480 gconv_parseconfdir (NULL, __gconv_path_elem[cnt].name, in __gconv_read_conf()
481 __gconv_path_elem[cnt].len); in __gconv_read_conf()
485 for (cnt = 0; cnt < sizeof (builtin_modules) / sizeof (builtin_modules[0]); in __gconv_read_conf()
486 ++cnt) in __gconv_read_conf()
490 fake_alias.fromname = (char *) builtin_modules[cnt].from_string; in __gconv_read_conf()
497 insert_module (&builtin_modules[cnt], 0); in __gconv_read_conf()
A Dgconv_db.c176 size_t cnt; in free_derivation() local
178 for (cnt = 0; cnt < deriv->nsteps; ++cnt) in free_derivation()
179 if (deriv->steps[cnt].__counter > 0 in free_derivation()
371 size_t cnt = nsteps; in increment_counter() local
374 while (cnt-- > 0) in increment_counter()
390 while (++cnt < nsteps) in increment_counter()
391 __gconv_release_step (&steps[cnt]); in increment_counter()
786 size_t cnt; in __gconv_close_transform() local
792 cnt = nsteps; in __gconv_close_transform()
793 while (cnt-- > 0) in __gconv_close_transform()
[all …]
A Diconv_prog.c647 size_t cnt; in do_print_human() local
652 for (cnt = 0; cnt < len; ++cnt) in do_print_human()
653 if (isalnum (s[cnt])) in do_print_human()
655 if (cnt == len) in do_print_human()
719 size_t cnt; in insert_cache() local
725 for (cnt = 0; cnt < header->hash_size; ++cnt) in insert_cache()
726 if (hashtab[cnt].string_offset != 0) in insert_cache()
728 const char *str = strtab + hashtab[cnt].string_offset; in insert_cache()
A Dgconv_int.h121 size_t cnt = 0; \
126 ++cnt; \
132 if (cnt < 2) \
135 if (cnt < 1) \
A Diconvconfig.c729 size_t cnt; in add_builtins() local
732 for (cnt = 0; cnt < nbuiltin_alias; ++cnt) in add_builtins()
733 new_alias (builtin_alias[cnt].from, in add_builtins()
735 builtin_alias[cnt].to, in add_builtins()
739 for (cnt = 0; cnt < nbuiltin_trans; ++cnt) in add_builtins()
740 new_module (builtin_trans[cnt].from, in add_builtins()
741 strlen (builtin_trans[cnt].from) + 1, in add_builtins()
742 builtin_trans[cnt].to, in add_builtins()
743 strlen (builtin_trans[cnt].to) + 1, in add_builtins()
744 "", builtin_trans[cnt].module, in add_builtins()
[all …]
A Dskeleton.c800 size_t cnt; in FUNCTION_NAME()
801 for (cnt = 0; cnt < cnt_after; ++cnt) in FUNCTION_NAME()
802 data->__statep->__value.__wchb[cnt] = (*inptrp)[cnt]; in FUNCTION_NAME()
805 data->__statep->__count |= cnt; in FUNCTION_NAME()
A Diconv_charmap.c433 int cnt; in process_block() local
472 for (cnt = 0; cnt < out->nbytes; ++cnt) in process_block()
473 fputc_unlocked (out->bytes[cnt], output); in process_block()

Completed in 28 milliseconds