Searched refs:ebuf (Results 1 – 6 of 6) sorted by relevance
/PHP-8.1/ext/fileinfo/libmagic/ |
H A D | buffer.c | 55 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 D | softmagic.c | 587 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 D | file.h | 170 void *ebuf; member
|
/PHP-8.1/ext/openssl/ |
H A D | xp_ssl.c | 227 smart_str ebuf = {0}; in php_openssl_handle_ssl_error() local 282 if (ebuf.s) { in php_openssl_handle_ssl_error() 283 smart_str_appendc(&ebuf, '\n'); in php_openssl_handle_ssl_error() 285 smart_str_appends(&ebuf, esbuf); in php_openssl_handle_ssl_error() 288 smart_str_0(&ebuf); in php_openssl_handle_ssl_error() 293 ebuf.s ? "OpenSSL Error messages:\n" : "", in php_openssl_handle_ssl_error() 294 ebuf.s ? ZSTR_VAL(ebuf.s) : ""); in php_openssl_handle_ssl_error() 295 if (ebuf.s) { in php_openssl_handle_ssl_error() 296 smart_str_free(&ebuf); in php_openssl_handle_ssl_error()
|
/PHP-8.1/ext/snmp/ |
H A D | snmp.c | 1047 u_char *ebuf = (u_char *) 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.1/ext/fileinfo/ |
H A D | libmagic.patch | 992 - free(b->ebuf); 993 + efree(b->ebuf); 1001 - if ((b->ebuf = malloc(b->elen)) == NULL) 1002 + if ((b->ebuf = emalloc(b->elen)) == NULL) 1006 - if (pread(b->fd, b->ebuf, b->elen, b->eoff) == -1) { 1007 - free(b->ebuf); 1009 + FINFO_READ_FUNC(b->fd, b->ebuf, b->elen) != (ssize_t)b->elen) 1011 + efree(b->ebuf); 1012 b->ebuf = NULL; 1597 void *ebuf;
|
Completed in 39 milliseconds