Home
last modified time | relevance | path

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

/php-src/ext/fileinfo/libmagic/
H A Dbuffer.c53 b->ebuf = NULL; in buffer_init()
60 efree(b->ebuf); in buffer_fini()
61 b->ebuf = NULL; in buffer_fini()
79 efree(b->ebuf); in buffer_fill()
80 b->ebuf = NULL; in buffer_fill()
83 if ((b->ebuf = emalloc(b->elen)) == NULL) in buffer_fill()
88 FINFO_READ_FUNC(b->fd, b->ebuf, b->elen) != (ssize_t)b->elen) in buffer_fill()
90 efree(b->ebuf); in buffer_fill()
91 b->ebuf = NULL; in buffer_fill()
H A Dsoftmagic.c597 char buf[128], tbuf[26], sbuf[512], ebuf[512]; in mprint() local
601 if (varexpand(ms, ebuf, sizeof(ebuf), m->desc) == -1) in mprint()
604 desc = ebuf; in mprint()
1546 buffer_init(bb, -1, NULL, b->ebuf, b->elen); in msetoffset()
1899 bb.ebuf = NULL; in mget()
H A Dfile.h183 void *ebuf; member
/php-src/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-src/ext/fileinfo/
H A Dlibmagic.patch944 - free(b->ebuf);
945 + efree(b->ebuf);
946 b->ebuf = NULL;
953 - free(b->ebuf);
954 + efree(b->ebuf);
955 b->ebuf = NULL;
958 - if ((b->ebuf = malloc(b->elen)) == NULL)
964 - free(b->ebuf);
968 + efree(b->ebuf);
969 b->ebuf = NULL;
[all …]
/php-src/ext/snmp/
H A Dsnmp.c1045 uint8_t *ebuf = (uint8_t *) emalloc(ebuf_len); in netsnmp_session_set_contextEngineID() local
1047 if (!snmp_hex_to_binary(&ebuf, &ebuf_len, &eout_len, 1, ZSTR_VAL(contextEngineID))) { in netsnmp_session_set_contextEngineID()
1050 efree(ebuf); in netsnmp_session_set_contextEngineID()
1058 s->contextEngineID = ebuf; in netsnmp_session_set_contextEngineID()

Completed in 66 milliseconds