Lines Matching refs:in_left
455 size_t in_left = l; in _php_iconv_appendl() local
460 size_t prev_in_left = in_left; in _php_iconv_appendl()
464 while (in_left > 0) { in _php_iconv_appendl()
470 if (iconv(cd, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { in _php_iconv_appendl()
486 if (prev_in_left == in_left) { in _php_iconv_appendl()
492 prev_in_left = in_left; in _php_iconv_appendl()
621 size_t in_left, out_size, out_left; in php_iconv_string()
639 in_left= in_len; in php_iconv_string()
646 while (in_left > 0) { in php_iconv_string()
647 result = iconv(cd, (char **) &in_p, &in_left, (char **) &out_p, &out_left); in php_iconv_string()
651 if (in_left <= 1) { in php_iconv_string()
656 in_left--; in php_iconv_string()
661 if (errno == E2BIG && in_left > 0) { in php_iconv_string()
738 size_t in_left; in _php_iconv_strlen() local
764 for (in_p = str, in_left = nbytes, cnt = 0; in_left > 0; cnt+=2) { in _php_iconv_strlen()
769 prev_in_left = in_left; in _php_iconv_strlen()
771 if (iconv(cd, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { in _php_iconv_strlen()
772 if (prev_in_left == in_left) { in _php_iconv_strlen()
823 size_t in_left; in _php_iconv_substr() local
885 for (in_p = str, in_left = nbytes, cnt = 0; in_left > 0 && len > 0; ++cnt) { in _php_iconv_substr()
890 prev_in_left = in_left; in _php_iconv_substr()
892 if (iconv(cd1, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { in _php_iconv_substr()
893 if (prev_in_left == in_left) { in _php_iconv_substr()
971 size_t in_left; in _php_iconv_strpos() local
1016 for (in_p = haystk, in_left = haystk_nbytes, cnt = 0; in_left > 0; ++cnt) { in _php_iconv_strpos()
1021 prev_in_left = in_left; in _php_iconv_strpos()
1023 if (iconv(cd, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { in _php_iconv_strpos()
1024 if (prev_in_left == in_left) { in _php_iconv_strpos()
1153 size_t in_left; in _php_iconv_mime_encode() local
1224 in_left = fval_nbytes; in _php_iconv_mime_encode()
1255 prev_in_left = ini_in_left = in_left; in _php_iconv_mime_encode()
1270 if (iconv(cd, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { in _php_iconv_mime_encode()
1282 if (prev_in_left == in_left) { in _php_iconv_mime_encode()
1293 if (prev_in_left == in_left) { in _php_iconv_mime_encode()
1324 in_left = ini_in_left; in _php_iconv_mime_encode()
1328 prev_in_left = in_left; in _php_iconv_mime_encode()
1358 prev_in_left = ini_in_left = in_left; in _php_iconv_mime_encode()
1371 if (iconv(cd, (char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { in _php_iconv_mime_encode()
1383 if (prev_in_left == in_left) { in _php_iconv_mime_encode()
1394 if (prev_in_left == in_left) { in _php_iconv_mime_encode()
1426 in_left = ini_in_left; in _php_iconv_mime_encode()
1453 } while (in_left > 0); in _php_iconv_mime_encode()