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

/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c119 size_t alloced; member in struct:_string
125 str->alloced = 1024;
140 if (str->alloced < nlen) {
142 str->alloced = nlen;
143 str->buf = zend_string_realloc(str->buf, str->alloced, 0);
157 if (str->alloced < nlen) {
159 str->alloced = nlen;
160 str->buf = zend_string_realloc(str->buf, str->alloced, 0);
180 str->alloced = 0;
/PHP_TRUNK/ext/standard/
H A Dstring.c891 size_t alloced; local
942 alloced = text->len + chk * breakchar_len + 1;
945 alloced = text->len * (breakchar_len + 1) + 1;
955 alloced += (size_t) (((text->len - current + 1)/linelength + 1) * breakchar_len) + 1;
956 newtext = zend_string_realloc(newtext, alloced, 0);

Completed in 18 milliseconds