Home
last modified time | relevance | path

Searched refs:ebuf (Results 1 – 6 of 6) sorted by relevance

/PHP-8.2/ext/fileinfo/libmagic/
H A Dbuffer.c55 b->ebuf = NULL; in buffer_init()
62 efree(b->ebuf); in buffer_fini()
78 if ((b->ebuf = emalloc(b->elen)) == NULL) in buffer_fill()
83 FINFO_READ_FUNC(b->fd, b->ebuf, b->elen) != (ssize_t)b->elen) in buffer_fill()
85 efree(b->ebuf); in buffer_fill()
86 b->ebuf = NULL; in buffer_fill()
H A Dsoftmagic.c587 char buf[128], tbuf[26], sbuf[512], ebuf[512]; in mprint() local
591 if (varexpand(ms, ebuf, sizeof(ebuf), m->desc) == -1) in mprint()
594 desc = ebuf; in mprint()
1506 buffer_init(bb, -1, NULL, b->ebuf, b->elen); in msetoffset()
H A Dfile.h170 void *ebuf; member
/PHP-8.2/ext/openssl/
H A Dxp_ssl.c242 smart_str ebuf = {0}; in php_openssl_handle_ssl_error() local
297 if (ebuf.s) { in php_openssl_handle_ssl_error()
298 smart_str_appendc(&ebuf, '\n'); in php_openssl_handle_ssl_error()
300 smart_str_appends(&ebuf, esbuf); in php_openssl_handle_ssl_error()
303 smart_str_0(&ebuf); in php_openssl_handle_ssl_error()
308 ebuf.s ? "OpenSSL Error messages:\n" : "", in php_openssl_handle_ssl_error()
309 ebuf.s ? ZSTR_VAL(ebuf.s) : ""); in php_openssl_handle_ssl_error()
310 if (ebuf.s) { in php_openssl_handle_ssl_error()
311 smart_str_free(&ebuf); in php_openssl_handle_ssl_error()
/PHP-8.2/ext/snmp/
H A Dsnmp.c1047 uint8_t *ebuf = (uint8_t *) emalloc(ebuf_len); in netsnmp_session_set_contextEngineID() local
1049 if (!snmp_hex_to_binary(&ebuf, &ebuf_len, &eout_len, 1, ZSTR_VAL(contextEngineID))) { in netsnmp_session_set_contextEngineID()
1052 efree(ebuf); in netsnmp_session_set_contextEngineID()
1060 s->contextEngineID = ebuf; in netsnmp_session_set_contextEngineID()
/PHP-8.2/ext/fileinfo/
H A Dlibmagic.patch1019 - free(b->ebuf);
1020 + efree(b->ebuf);
1028 - if ((b->ebuf = malloc(b->elen)) == NULL)
1029 + if ((b->ebuf = emalloc(b->elen)) == NULL)
1033 - if (pread(b->fd, b->ebuf, b->elen, b->eoff) == -1) {
1034 - free(b->ebuf);
1036 + FINFO_READ_FUNC(b->fd, b->ebuf, b->elen) != (ssize_t)b->elen)
1038 + efree(b->ebuf);
1039 b->ebuf = NULL;
1624 void *ebuf;

Completed in 36 milliseconds