Lines Matching refs:to_len
2807 int str_len, to_len = 0; local
2810 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sZ|s", &str, &str_len, &from, &to, &to_len) …
2836 to_len));
3320 PHPAPI int php_char_to_str_ex(char *str, uint len, char from, char *to, int to_len, zval *result, i… argument
3345 Z_STRLEN_P(result) = len + (char_count * (to_len - 1));
3346 Z_STRVAL_P(result) = target = safe_emalloc(char_count, to_len, len + 1);
3354 memcpy(target, to, to_len);
3355 target += to_len;
3373 for (tmp = to, tmp_end = tmp+to_len; tmp < tmp_end; tmp++) {
3390 PHPAPI int php_char_to_str(char *str, uint len, char from, char *to, int to_len, zval *result) argument
3392 return php_char_to_str_ex(str, len, from, to, to_len, result, 1, NULL);