Home
last modified time | relevance | path

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

/iconv/
A Diconv_charmap.c248 int n = 0; in add_bytes() local
426 size_t n = 0; in process_block() local
428 while (n < len) in process_block()
476 ++n; in process_block()
500 if (n == 0) in process_fd()
511 inptr += n; in process_fd()
518 ssize_t n; in process_fd() local
536 if (n == 0) in process_fd()
540 if (n == -1) in process_fd()
547 inptr += n; in process_fd()
[all …]
A Dtst-iconv9.c51 size_t n; in do_test() local
65 n = iconv (cd, &inbuf, &inbytes, &outbuf, &outbytes); in do_test()
66 TEST_VERIFY (n != -1); in do_test()
78 n = iconv (cd, &inbuf, &inbytes, &outbuf, &outbytes); in do_test()
79 TEST_VERIFY (n != -1); in do_test()
A Dtst-iconv2.c37 size_t n; in do_test() local
55 n = iconv (cd, &inptr, &inlen, &outptr, &outlen); in do_test()
58 if (n != (size_t) -1) in do_test()
60 printf ("incorrect iconv() return value: %zd, expected -1\n", n); in do_test()
A Dtst-iconv1.c17 size_t n; in do_test() local
33 n = iconv (cd, &inbuf, &inbytes, &outbuf, &outbytes); in do_test()
34 if (n == (size_t) -1) in do_test()
A Diconv_prog.c457 size_t n; in process_block() local
470 n = 0; in process_block()
554 if (n == 0) in process_fd()
558 if (n == -1) in process_fd()
565 inptr += n; in process_fd()
572 ssize_t n; in process_fd() local
590 if (n == 0) in process_fd()
594 if (n == -1) in process_fd()
601 inptr += n; in process_fd()
602 actlen += n; in process_fd()
[all …]
A Dtst-iconv6.c35 size_t n; in do_test() local
61 n = iconv (cd, &inptr, &inlen, &outptr, &outlen); in do_test()
64 if (n != (size_t) -1) in do_test()
66 printf ("incorrect iconv() return value: %zd, expected -1\n", n); in do_test()
A Diconvconfig.c1010 size_t n; in write_output() local
1060 for (n = 0; n < nname_info; ++n) in write_output()
1062 module_table[n].canonname_offset = in write_output()
1067 module_table[n].fromdir_offset = 0; in write_output()
1068 module_table[n].fromname_offset = 0; in write_output()
1072 module_table[n].fromdir_offset = in write_output()
1074 module_table[n].fromname_offset = in write_output()
1080 module_table[n].todir_offset = 0; in write_output()
1081 module_table[n].toname_offset = 0; in write_output()
1085 module_table[n].todir_offset = in write_output()
[all …]
A Dgconv_conf.c419 int n = 0; in __gconv_get_path() local
427 result[n].name = strspace; in __gconv_get_path()
438 result[n].len = strspace - result[n].name; in __gconv_get_path()
439 if (result[n].len > __gconv_max_path_elem_len) in __gconv_get_path()
440 __gconv_max_path_elem_len = result[n].len; in __gconv_get_path()
443 ++n; in __gconv_get_path()
447 result[n].name = NULL; in __gconv_get_path()
448 result[n].len = 0; in __gconv_get_path()
A Dgconv_parseconfdir.h70 ssize_t n = __getdelim (&line, &line_len, '\n', fp); in read_conf_file() local
71 if (n < 0) in read_conf_file()
82 if (rp[n - 1] == '\n') in read_conf_file()
83 rp[n - 1] = '\0'; in read_conf_file()
A Dgconv_trans.c170 int n = _NL_CURRENT_WORD (LC_CTYPE, _NL_CTYPE_TRANSLIT_IGNORE_LEN); in __gconv_transliterate() local
181 for (i = 0; i < n; ranges += 3, ++i) in __gconv_transliterate()
A Dtst-iconv-opt.c45 size_t n; in test_iconv() local
56 n = iconv (cd, &inptr, &inlen, &outptr, &outlen); in test_iconv()
58 TEST_COMPARE (n, exp_ret); in test_iconv()
A Dgconv_cache.c92 ssize_t n = __read (fd, (char *) gconv_cache + already_read, in __gconv_load_cache() local
94 if (__builtin_expect (n, 0) == -1) in __gconv_load_cache()
101 already_read += n; in __gconv_load_cache()

Completed in 23 milliseconds