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

/PHP_TRUNK/ext/standard/
H A Dstring.c4989 zend_string *input_str; /* Input string */ local
4994 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Sl", &input_str, &mult) == FAILURE) {
5005 if (ZSTR_LEN(input_str) == 0 || mult == 0)
5009 result = zend_string_safe_alloc(ZSTR_LEN(input_str), mult, 0, 0);
5010 result_len = ZSTR_LEN(input_str) * mult;
5013 if (ZSTR_LEN(input_str) == 1) {
5014 memset(ZSTR_VAL(result), *ZSTR_VAL(input_str), mult);
5018 memcpy(ZSTR_VAL(result), ZSTR_VAL(input_str), ZSTR_LEN(input_str));
5020 e = ZSTR_VAL(result) + ZSTR_LEN(input_str);
[all...]

Completed in 9 milliseconds