Home
last modified time | relevance | path

Searched refs:input_str (Results 1 – 2 of 2) sorted by relevance

/php-src/ext/standard/
H A Dstring.c5465 zend_string *input_str; /* Input string */ local
5471 Z_PARAM_STR(input_str)
5482 if (ZSTR_LEN(input_str) == 0 || mult == 0)
5486 result = zend_string_safe_alloc(ZSTR_LEN(input_str), mult, 0, 0);
5487 result_len = ZSTR_LEN(input_str) * mult;
5488 ZSTR_COPY_CONCAT_PROPERTIES(result, input_str);
5491 if (ZSTR_LEN(input_str) == 1) {
5492 memset(ZSTR_VAL(result), *ZSTR_VAL(input_str), mult);
5497 memcpy(ZSTR_VAL(result), ZSTR_VAL(input_str), ZSTR_LEN(input_str));
5499 e = ZSTR_VAL(result) + ZSTR_LEN(input_str);
/php-src/ext/mbstring/
H A Dmbstring.c2839 zend_string *input_str, *from_encodings_str = NULL; in PHP_FUNCTION() local
2846 Z_PARAM_ARRAY_HT_OR_STR(input_ht, input_str) in PHP_FUNCTION()
2884 if (input_str) { in PHP_FUNCTION()
2885 …zend_string *ret = php_mb_convert_encoding(ZSTR_VAL(input_str), ZSTR_LEN(input_str), to_encoding, … in PHP_FUNCTION()
5625 zend_string *input_str = NULL, *enc = NULL; in PHP_FUNCTION() local
5631 Z_PARAM_ARRAY_HT_OR_STR_OR_NULL(input_ht, input_str) in PHP_FUNCTION()
5642 } else if (input_str) { in PHP_FUNCTION()
5643 RETURN_BOOL(mb_check_str_encoding(input_str, encoding)); in PHP_FUNCTION()

Completed in 56 milliseconds