Home
last modified time | relevance | path

Searched refs:rbuf (Results 1 – 5 of 5) sorted by relevance

/PHP-5.6/ext/standard/
H A Dphp_string.h136 PHPAPI size_t php_strip_tags(char *rbuf, int len, int *state, char *allow, int allow_len);
137 PHPAPI size_t php_strip_tags_ex(char *rbuf, int len, int *stateptr, char *allow, int allow_len, zen…
H A Dstring.c4591 PHPAPI size_t php_strip_tags(char *rbuf, int len, int *stateptr, char *allow, int allow_len) /* {{{… argument
4593 return php_strip_tags_ex(rbuf, len, stateptr, allow, allow_len, 0);
4617 PHPAPI size_t php_strip_tags_ex(char *rbuf, int len, int *stateptr, char *allow, int allow_len, zen… argument
4628 buf = estrndup(rbuf, len);
4632 rp = rbuf;
4878 if (rp < rbuf + len) {
4891 return (size_t)(rp - rbuf);
/PHP-5.6/ext/session/
H A Dsession.c350 unsigned char rbuf[2048]; in php_session_create_id() local
353 if (php_win32_get_random_bytes(rbuf, MIN(toread, sizeof(rbuf))) == SUCCESS){ in php_session_create_id()
357 PHP_MD5Update(&md5_context, rbuf, toread); in php_session_create_id()
360 PHP_SHA1Update(&sha1_context, rbuf, toread); in php_session_create_id()
364 PS(hash_ops)->hash_update(hash_context, rbuf, toread); in php_session_create_id()
374 unsigned char rbuf[2048]; in php_session_create_id()
379 n = read(fd, rbuf, MIN(to_read, sizeof(rbuf))); in php_session_create_id()
384 PHP_MD5Update(&md5_context, rbuf, n); in php_session_create_id()
387 PHP_SHA1Update(&sha1_context, rbuf, n); in php_session_create_id()
391 PS(hash_ops)->hash_update(hash_context, rbuf, n); in php_session_create_id()
/PHP-5.6/ext/fileinfo/libmagic/
H A Dsoftmagic.c1169 char *sbuf, *rbuf; in mget() local
1752 rbuf = ms->o.buf; in mget()
1758 if (rbuf) { in mget()
1759 efree(rbuf); in mget()
1763 if (file_printf(ms, "%s", rbuf) == -1) { in mget()
1764 if (rbuf) { in mget()
1765 efree(rbuf); in mget()
1770 if (rbuf) { in mget()
1771 efree(rbuf); in mget()
/PHP-5.6/ext/fileinfo/
H A Dlibmagic.patch3216 char *sbuf, *rbuf;
3262 + if (rbuf) {
3263 + efree(rbuf);
3266 - if (file_printf(ms, "%s", rbuf) == -1)
3268 + if (file_printf(ms, "%s", rbuf) == -1) {
3269 + if (rbuf) {
3270 + efree(rbuf);
3273 - free(rbuf);
3276 + if (rbuf) {
3277 + efree(rbuf);

Completed in 35 milliseconds