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

/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c123 size_t alloced; member in struct:_string
129 str->alloced = 1024;
144 if (str->alloced < nlen) {
146 str->alloced = nlen;
147 str->buf = zend_string_extend(str->buf, str->alloced, 0);
161 if (str->alloced < nlen) {
163 str->alloced = nlen;
164 str->buf = zend_string_extend(str->buf, str->alloced, 0);
184 str->alloced = 0;
/PHP_TRUNK/ext/standard/
H A Dstring.c946 size_t alloced; local
997 alloced = ZSTR_LEN(text) + chk * breakchar_len + 1;
1000 alloced = ZSTR_LEN(text) * (breakchar_len + 1) + 1;
1010 alloced += (size_t) (((ZSTR_LEN(text) - current + 1)/linelength + 1) * breakchar_len) + 1;
1011 newtext = zend_string_extend(newtext, alloced, 0);

Completed in 21 milliseconds