/glibc-2.36/iconv/ |
D | loop.c | 384 size_t inlen; in SINGLE() local 395 for (inlen = 0; inlen < (size_t) (state->__count & 7); ++inlen) in SINGLE() 396 bytebuf[inlen] = state->__value.__wchb[inlen]; in SINGLE() 401 && __builtin_expect (inptr + (MIN_NEEDED_INPUT - inlen) > inend, 0)) in SINGLE() 411 bytebuf[inlen++] = *inptr++; in SINGLE() 416 inend = &bytebuf[inlen]; in SINGLE() 422 size_t inlen_after = inlen + (inend - inptr); in SINGLE() 424 for (; inlen < inlen_after; inlen++) in SINGLE() 425 state->__value.__wchb[inlen] = *inptr++; in SINGLE() 438 if (inlen >= MAX_NEEDED_INPUT || inptr >= inend) in SINGLE() [all …]
|
D | tst-iconv6.c | 32 size_t inlen; in do_test() local 57 inlen = sizeof (inbuf); in do_test() 61 n = iconv (cd, &inptr, &inlen, &outptr, &outlen); in do_test() 84 if (inlen != sizeof (inbuf) - sizeof (uint32_t)) in do_test() 87 , inlen, sizeof (inbuf) - sizeof (uint32_t)); in do_test()
|
D | tst-iconv2.c | 34 size_t inlen; in do_test() local 51 inlen = sizeof (wchar_t); in do_test() 55 n = iconv (cd, &inptr, &inlen, &outptr, &outlen); in do_test() 77 if (inlen != sizeof (wchar_t)) in do_test()
|
D | tst-iconv-opt.c | 43 size_t inlen, outlen; in test_iconv() local 50 inlen = strlen (input); in test_iconv() 56 n = iconv (cd, &inptr, &inlen, &outptr, &outlen); in test_iconv()
|
D | iconv_charmap.c | 292 size_t inlen = sizeof (inbuf); in convert_charseq() local 296 (void) iconv (cd, &inptr, &inlen, &outptr, &outlen); in convert_charseq()
|
D | gconv_simple.c | 1132 inlen = state->__count & 255; \ 1138 if (--ntotal < inlen) \
|
/glibc-2.36/iconvdata/ |
D | bug-iconv5.c | 20 size_t inlen; in do_test() local 26 inlen = sizeof (us); in do_test() 29 n = iconv (cd, &inbuf, &inlen, &outbuf, &outlen); in do_test() 30 if (n == (size_t) -1 || inlen != 0 || outlen != sizeof (buf) - 3) in do_test() 39 inlen = sizeof (us); in do_test() 42 n = iconv (cd, &inbuf, &inlen, &outbuf, &outlen); in do_test() 43 if (n == (size_t) -1 || inlen != 0 || outlen != sizeof (buf) - 3) in do_test()
|
D | tst-iconv7.c | 22 size_t inlen = sizeof (instr1); in do_test() local 26 size_t r = iconv (cd, &inptr, &inlen, &outptr, &outlen); in do_test() 28 || inlen != 0 in do_test() 38 inlen = sizeof (instr2); in do_test() 42 r = iconv (cd, &inptr, &inlen, &outptr, &outlen); in do_test() 44 || inlen != 0 in do_test()
|
D | bug-iconv10.c | 52 size_t inlen = input_len; in do_test() local 57 size_t r = iconv (cd, &inptr, &inlen, &outptr, &outlen); in do_test() 60 || inlen != 2 in do_test() 72 r = iconv (cd, &inptr, &inlen, &outptr, &outlen); in do_test() 74 || inlen != 0 in do_test()
|
D | tst-e2big.c | 37 size_t inlen; in test() local 52 inlen = inbufsize; in test() 56 result = iconv (cd, &inptr, &inlen, &outptr, &outlen); in test() 63 empty_input = (inptr == inbuf && inlen == inbufsize); in test()
|
D | tst-iconv-big5-hkscs-to-2ucs4.c | 74 int inlen = 3; in check_conversion() local 78 ret = mbrtowc (&wc, mbs, inlen - consumed, &st); in check_conversion() 93 ret = mbrtowc (&wc, mbs, inlen - consumed, &st); in check_conversion() 117 ret = mbrtowc (&wc, mbs, inlen - consumed, &st); in check_conversion()
|
D | tst-iconv4.c | 20 size_t inlen = strlen (instr); in do_test() local 26 size_t n = iconv (cd, &inptr, &inlen, &outptr, &outlen); in do_test()
|
D | bug-iconv9.c | 20 size_t inlen = sizeof (inbuf) - 1; in do_test() local 27 size_t n = iconv (h, &in, &inlen, &out, &outlen); in do_test()
|
D | bug-iconv12.c | 34 size_t inlen; in run_conversion() local 49 inlen = inbuflen; in run_conversion() 54 n = iconv (cd, &inptr, &inlen, &outptr, &outlen); in run_conversion()
|
/glibc-2.36/time/ |
D | getdate.c | 144 size_t inlen, oldlen; in __getdate_r() local 146 oldlen = inlen = strlen (string); in __getdate_r() 149 while (inlen > 0 && isspace (string[inlen - 1])) in __getdate_r() 150 inlen--; in __getdate_r() 154 if (inlen < oldlen) in __getdate_r() 158 if (__libc_use_alloca (inlen + 1)) in __getdate_r() 159 instr = alloca (inlen + 1); in __getdate_r() 162 instr = malloc (inlen + 1); in __getdate_r() 170 memcpy (instr, string, inlen); in __getdate_r() 171 instr[inlen] = '\0'; in __getdate_r()
|
/glibc-2.36/sysdeps/s390/ |
D | utf16-utf32-z9.c | 254 size_t inlen = inend - inptr; \ 362 , [R_INLEN] "+d" (inlen), [R_OUT] "+a" (outptr) \ 399 register size_t inlen asm ("9") = inend - inptr; \ 457 , [R_INLEN] "+d" (inlen), [R_OUT] "+a" (pOutput) \ 472 if (__glibc_likely (inlen == 0) \ 475 if (inlen == 1) \ 570 size_t inlen = inend - inptr; \ 672 , [R_INLEN] "+d" (inlen), [R_OUT] "+a" (outptr) \ 709 register size_t inlen asm ("9") = inend - inptr; \ 768 , [R_INLEN] "+d" (inlen), [R_OUT] "+a" (pOutput) \ [all …]
|
D | utf8-utf16-z9.c | 172 register size_t inlen __asm__ ("9") = inend - inptr; \ 185 "+d" (outlen), "+d" (inlen) \ 244 register size_t inlen asm ("9") = inend - inptr; \ 301 , [R_INLEN] "+d" (inlen), [R_OUT] "+a" (pOutput) \ 634 size_t inlen = inend - inptr; \ 782 , [R_INLEN] "+d" (inlen), [R_OUT] "+a" (outptr) \ 820 register size_t inlen asm ("9") = inend - inptr; \ 881 , [R_INLEN] "+d" (inlen), [R_OUT] "+a" (pOutput) \ 896 if (__glibc_likely (inlen == 0) \ 899 if (inlen == 1) \
|
D | utf8-utf32-z9.c | 172 register size_t inlen __asm__ ("9") = inend - inptr; \ 185 "+d" (outlen), "+d" (inlen) \ 290 inlen = state->__count & 255; \ 296 if (--ntotal < inlen) \ 477 register size_t inlen asm ("9") = inend - inptr; \ 549 , [R_INLEN] "+d" (inlen), [R_OUT] "+a" (pOutput) \ 689 size_t inlen = inend - inptr; \ 827 , [R_INLEN] "+d" (inlen), [R_OUT] "+a" (outptr) \ 866 register size_t inlen asm ("9") = inend - inptr; \ 931 , [R_INLEN] "+d" (inlen), [R_OUT] "+a" (pOutput) \
|
/glibc-2.36/posix/ |
D | tst-regex.c | 65 size_t inlen; in do_test() local 102 inlen = memlen; in do_test() 105 iconv (cd, &inmem, &inlen, &outmem, &outlen); in do_test() 107 if (inlen != 0) in do_test() 150 size_t inlen; in test_expr() local 187 inlen = strlen (expr); in test_expr() 188 outlen = inlen; in test_expr() 191 iconv (cd, &inmem, &inlen, &outmem, &outlen); in test_expr() 192 if (inlen != 0) in test_expr()
|
/glibc-2.36/localedata/ |
D | tst-iconv-math-trans.c | 53 size_t inlen = strlen (str) + 1; in do_test() local 67 n = iconv (cd, &inptr, &inlen, &outptr, &outlen); in do_test() 76 if (inlen != 0) in do_test()
|
D | bug-iconv-trans.c | 13 size_t inlen = strlen (str) + 1; in main() local 33 n = iconv (cd, &inptr, &inlen, &outptr, &outlen); in main() 42 if (inlen != 0) in main()
|
/glibc-2.36/sunrpc/ |
D | pmap_rmt.c | 221 int outlen, inlen, nets; in clnt_broadcast() local 335 inlen = __recvfrom (sock, inbuf, UDPMSGSIZE, 0, in clnt_broadcast() 337 if (inlen < 0) in clnt_broadcast() 345 if ((size_t) inlen < sizeof (u_long)) in clnt_broadcast() 351 xdrmem_create (xdrs, inbuf, (u_int) inlen, XDR_DECODE); in clnt_broadcast()
|
D | clnt_udp.c | 283 int inlen; in clntudp_call() local 462 inlen = __recvfrom (cu->cu_sock, cu->cu_inbuf, in clntudp_call() 466 while (inlen < 0 && errno == EINTR); in clntudp_call() 467 if (inlen < 0) in clntudp_call() 476 if (inlen >= 4 in clntudp_call() 491 xdrmem_create (&reply_xdrs, cu->cu_inbuf, (u_int) inlen, XDR_DECODE); in clntudp_call()
|
/glibc-2.36/catgets/ |
D | gencat.c | 681 size_t inlen; in read_input_file() local 702 inlen = line_len; in read_input_file() 709 iconv (cd_towc, &inbuf, &inlen, &outbuf, &outlen); in read_input_file() 710 if (inlen == 0) in read_input_file() 750 inlen = (wcslen (wbuf) + 1) * sizeof (wchar_t); in read_input_file() 761 iconv (cd_tomb, &inbuf, &inlen, &outbuf, &outlen); in read_input_file() 762 if (inlen != 0) in read_input_file()
|