Home
last modified time | relevance | path

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

/PHP-8.0/ext/fileinfo/libmagic/
H A Dfuncs.c288 char *rbuf = NULL; in file_buffer() local
407 rbuf = file_pop_buffer(ms, pb); in file_buffer()
409 free(rbuf); in file_buffer()
410 rbuf = NULL; in file_buffer()
422 if (m == 1 && rbuf) { in file_buffer()
423 if (file_printf(ms, "%s", rbuf) == -1) in file_buffer()
463 efree(rbuf); in file_buffer()
666 char *rbuf; in file_pop_buffer() local
674 rbuf = ms->o.buf; in file_pop_buffer()
681 return rbuf; in file_pop_buffer()
H A Dsoftmagic.c1556 char *rbuf; in mget() local
1833 rbuf = file_pop_buffer(ms, pb); in mget()
1840 if (rbuf) efree(rbuf); in mget()
1843 if (file_printf(ms, "%s", rbuf) == -1) { in mget()
1844 if (rbuf) efree(rbuf); in mget()
1848 if (rbuf) efree(rbuf); in mget()
1854 rbuf = m->value.s; in mget()
1855 if (*rbuf == '^') { in mget()
1856 rbuf++; in mget()
1859 if (file_magicfind(ms, rbuf, &ml) == -1) { in mget()
[all …]
H A Dcompress.c252 char *rbuf; in file_zmagic() local
321 if ((rbuf = file_pop_buffer(ms, pb)) != NULL) { in file_zmagic()
322 if (file_printf(ms, "%s", rbuf) == -1) { in file_zmagic()
323 efree(rbuf); in file_zmagic()
326 efree(rbuf); in file_zmagic()
/PHP-8.0/ext/opcache/jit/dynasm/
H A Ddasm_mips.h49 #define DASM_POS2PTR(D, pos) (D->sections[DASM_POS2SEC(pos)].rbuf + (pos))
56 int *rbuf; /* Biased buffer pointer (negative section bias). */ member
102 D->sections[i].rbuf = D->sections[i].buf - DASM_SEC2POS(i); in dasm_init()
180 sec->rbuf = sec->buf - DASM_POS2BIAS(pos); in dasm_put()
184 b = sec->rbuf; in dasm_put()
286 int *b = sec->rbuf; in dasm_link()
334 int *endb = sec->rbuf + sec->pos; in dasm_encode()
H A Ddasm_ppc.h49 #define DASM_POS2PTR(D, pos) (D->sections[DASM_POS2SEC(pos)].rbuf + (pos))
56 int *rbuf; /* Biased buffer pointer (negative section bias). */ member
102 D->sections[i].rbuf = D->sections[i].buf - DASM_SEC2POS(i); in dasm_init()
180 sec->rbuf = sec->buf - DASM_POS2BIAS(pos); in dasm_put()
184 b = sec->rbuf; in dasm_put()
290 int *b = sec->rbuf; in dasm_link()
338 int *endb = sec->rbuf + sec->pos; in dasm_encode()
H A Ddasm_arm.h50 #define DASM_POS2PTR(D, pos) (D->sections[DASM_POS2SEC(pos)].rbuf + (pos))
57 int *rbuf; /* Biased buffer pointer (negative section bias). */ member
103 D->sections[i].rbuf = D->sections[i].buf - DASM_SEC2POS(i); in dasm_init()
189 sec->rbuf = sec->buf - DASM_POS2BIAS(pos); in dasm_put()
193 b = sec->rbuf; in dasm_put()
306 int *b = sec->rbuf; in dasm_link()
355 int *endb = sec->rbuf + sec->pos; in dasm_encode()
H A Ddasm_arm64.h50 #define DASM_POS2PTR(D, pos) (D->sections[DASM_POS2SEC(pos)].rbuf + (pos))
57 int *rbuf; /* Biased buffer pointer (negative section bias). */ member
103 D->sections[i].rbuf = D->sections[i].buf - DASM_SEC2POS(i); in dasm_init()
229 sec->rbuf = sec->buf - DASM_POS2BIAS(pos); in dasm_put()
233 b = sec->rbuf; in dasm_put()
361 int *b = sec->rbuf; in dasm_link()
411 int *endb = sec->rbuf + sec->pos; in dasm_encode()
H A Ddasm_x86.h48 #define DASM_POS2PTR(D, pos) (D->sections[DASM_POS2SEC(pos)].rbuf + (pos))
55 int *rbuf; /* Biased buffer pointer (negative section bias). */ member
104 D->sections[i].rbuf = DASM_PTR_SUB(D->sections[i].buf, DASM_SEC2POS(i)); in dasm_init()
182 sec->rbuf = sec->buf - DASM_POS2BIAS(pos); in dasm_put()
186 b = sec->rbuf; in dasm_put()
306 int *b = sec->rbuf; in dasm_link()
389 int *endb = DASM_PTR_ADD(sec->rbuf, sec->pos); in dasm_encode()
/PHP-8.0/ext/standard/
H A Dphp_string.h54 PHPAPI size_t php_strip_tags(char *rbuf, size_t len, const char *allow, size_t allow_len);
55 PHPAPI size_t php_strip_tags_ex(char *rbuf, size_t len, const char *allow, size_t allow_len, zend_b…
H A Dstring.c4781 PHPAPI size_t php_strip_tags(char *rbuf, size_t len, const char *allow, size_t allow_len) /* {{{ */ argument
4783 return php_strip_tags_ex(rbuf, len, allow, allow_len, 0);
4807 PHPAPI size_t php_strip_tags_ex(char *rbuf, size_t len, const char *allow, size_t allow_len, zend_b… argument
4817 buf = estrndup(rbuf, len);
4821 rp = rbuf;
5115 if (rp < rbuf + len) {
5126 return (size_t)(rp - rbuf);
/PHP-8.0/ext/fileinfo/
H A Dlibmagic.patch1403 - free(rbuf);
1407 - free(rbuf);
1408 + efree(rbuf);
2485 - free(rbuf);
2486 + efree(rbuf);
2647 char *rbuf;
2663 return rbuf;
3473 + if (rbuf) efree(rbuf);
3478 + if (rbuf) efree(rbuf);
3482 - free(rbuf);
[all …]
/PHP-8.0/ext/session/
H A Dsession.c307 unsigned char rbuf[PS_MAX_SID_LENGTH + PS_EXTRA_RAND_BYTES]; in php_session_create_id() local
313 if (php_random_bytes_throw(rbuf, PS(sid_length) + PS_EXTRA_RAND_BYTES) == FAILURE) { in php_session_create_id()
319 rbuf, PS(sid_length), in php_session_create_id()

Completed in 49 milliseconds