Lines Matching refs:in_left

359 	size_t in_left = l;  in _php_iconv_appendl()  local
365 while (in_left > 0) { in _php_iconv_appendl()
371 if (iconv(cd, (ICONV_CONST char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { in _php_iconv_appendl()
441 size_t in_left, out_size, out_left; in php_iconv_string() local
459 in_left= in_len; in php_iconv_string()
466 while (in_left > 0) { in php_iconv_string()
467 result = iconv(cd, (ICONV_CONST char **) &in_p, &in_left, (char **) &out_p, &out_left); in php_iconv_string()
471 if (in_left <= 1) { in php_iconv_string()
476 in_left--; in php_iconv_string()
481 if (errno == E2BIG && in_left > 0) { in php_iconv_string()
557 size_t in_left; in _php_iconv_strlen() local
581 for (in_p = str, in_left = nbytes, cnt = 0; more;) { in _php_iconv_strlen()
585 more = in_left > 0; in _php_iconv_strlen()
587 …iconv(cd, more ? (ICONV_CONST char **)&in_p : NULL, more ? &in_left : NULL, (char **) &out_p, &out… in _php_iconv_strlen()
633 size_t in_left; in _php_iconv_substr() local
688 for (in_p = str, in_left = nbytes, cnt = 0; more; ++cnt) { in _php_iconv_substr()
692 more = in_left > 0 && len > 0; in _php_iconv_substr()
694 …iconv(cd1, more ? (ICONV_CONST char **)&in_p : NULL, more ? &in_left : NULL, (char **) &out_p, &ou… in _php_iconv_substr()
766 size_t in_left; in _php_iconv_strpos() local
810 for (in_p = haystk, in_left = haystk_nbytes, cnt = 0; more; ++cnt) { in _php_iconv_strpos()
814 more = in_left > 0; in _php_iconv_strpos()
816 …iconv_ret = iconv(cd, more ? (ICONV_CONST char **)&in_p : NULL, more ? &in_left : NULL, (char **) … in _php_iconv_strpos()
913 size_t in_left; in _php_iconv_mime_encode() local
976 in_left = fval_nbytes; in _php_iconv_mime_encode()
1008 prev_in_left = ini_in_left = in_left; in _php_iconv_mime_encode()
1023 … if (iconv(cd, (ICONV_CONST char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { in _php_iconv_mime_encode()
1034 if (prev_in_left == in_left) { in _php_iconv_mime_encode()
1063 in_left = ini_in_left; in _php_iconv_mime_encode()
1067 prev_in_left = in_left; in _php_iconv_mime_encode()
1097 prev_in_left = ini_in_left = in_left; in _php_iconv_mime_encode()
1107 … if (iconv(cd, (ICONV_CONST char **)&in_p, &in_left, (char **) &out_p, &out_left) == (size_t)-1) { in _php_iconv_mime_encode()
1118 if (prev_in_left == in_left) { in _php_iconv_mime_encode()
1145 in_left = ini_in_left; in _php_iconv_mime_encode()
1172 } while (in_left > 0); in _php_iconv_mime_encode()