Home
last modified time | relevance | path

Searched refs:newbuf (Results 1 – 3 of 3) sorted by relevance

/PHP-5.3/ext/xml/
H A Dxml.c612 char *newbuf; in xml_utf8_encode() local
628 memcpy(newbuf, s, len); in xml_utf8_encode()
630 newbuf[*newlen] = '\0'; in xml_utf8_encode()
631 return newbuf; in xml_utf8_encode()
656 newbuf[*newlen] = 0; in xml_utf8_encode()
657 newbuf = erealloc(newbuf, (*newlen)+1); in xml_utf8_encode()
658 return newbuf; in xml_utf8_encode()
783 return newbuf; in xml_utf8_decode()
798 newbuf = erealloc(newbuf, *newlen + 1); in xml_utf8_decode()
800 newbuf[*newlen] = '\0'; in xml_utf8_decode()
[all …]
/PHP-5.3/ext/fileinfo/libmagic/
H A Dcompress.c105 unsigned char *newbuf = NULL; in file_zmagic() local
120 (nsz = uncompressbuf(ms, fd, i, buf, &newbuf, in file_zmagic()
124 if (file_buffer(ms, -1, name, newbuf, nsz) == -1) in file_zmagic()
144 if (newbuf) in file_zmagic()
145 efree(newbuf); in file_zmagic()
/PHP-5.3/ext/fileinfo/
H A Dlibmagic.patch1046 - free(newbuf);
1047 + if (newbuf)
1048 + efree(newbuf);

Completed in 19 milliseconds