Home
last modified time | relevance | path

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

/PHP-5.4/ext/reflection/
H A Dphp_reflection.c118 int alloced; member
125 str->alloced = 1024; in string_init()
139 if (str->alloced < nlen) { in string_printf()
140 str->alloced = nlen; in string_printf()
141 str->string = erealloc(str->string, str->alloced); in string_printf()
154 if (str->alloced < nlen) { in string_write()
155 str->alloced = nlen; in string_write()
156 str->string = erealloc(str->string, str->alloced); in string_write()
176 str->alloced = 0; in string_free()
/PHP-5.4/ext/standard/
H A Dstring.c881 size_t alloced; in PHP_FUNCTION() local
931 alloced = textlen + chk * breakcharlen + 1; in PHP_FUNCTION()
934 alloced = textlen * (breakcharlen + 1) + 1; in PHP_FUNCTION()
944 alloced += (int) (((textlen - current + 1)/linelength + 1) * breakcharlen) + 1; in PHP_FUNCTION()
945 newtext = erealloc(newtext, alloced); in PHP_FUNCTION()

Completed in 40 milliseconds