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

/PHP_TRUNK/ext/standard/
H A Dstring.c4979 zend_string *input_str; /* Input string */ local
4984 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Sl", &input_str, &mult) == FAILURE) {
4995 if (ZSTR_LEN(input_str) == 0 || mult == 0)
4999 result = zend_string_safe_alloc(ZSTR_LEN(input_str), mult, 0, 0);
5000 result_len = ZSTR_LEN(input_str) * mult;
5003 if (ZSTR_LEN(input_str) == 1) {
5004 memset(ZSTR_VAL(result), *ZSTR_VAL(input_str), mult);
5008 memcpy(ZSTR_VAL(result), ZSTR_VAL(input_str), ZSTR_LEN(input_str));
5010 e = ZSTR_VAL(result) + ZSTR_LEN(input_str);
[all...]

Completed in 9 milliseconds