Searched refs:ebuf (Results 1 – 8 of 8) sorted by relevance
/PHP-7.3/ext/fileinfo/libmagic/ |
H A D | buffer.c | 52 b->ebuf = NULL; in buffer_init() 59 efree(b->ebuf); in buffer_fini() 75 if ((b->ebuf = emalloc(b->elen)) == NULL) in buffer_fill() 80 FINFO_READ_FUNC(b->fd, b->ebuf, b->elen) != (ssize_t)b->elen) in buffer_fill() 82 efree(b->ebuf); in buffer_fill()
|
H A D | softmagic.c | 509 char buf[128], tbuf[26], sbuf[512], ebuf[512]; in mprint() local 513 if (varexpand(ebuf, sizeof(ebuf), b, m->desc) == -1) in mprint() 516 desc = ebuf; in mprint() 1424 buffer_init(bb, -1, b->ebuf, b->elen); in msetoffset()
|
H A D | file.h | 154 void *ebuf; member
|
/PHP-7.3/ext/mbstring/oniguruma/src/ |
H A D | reggnu.c | 79 re_compile_pattern(const char* pattern, int size, regex_t* reg, char* ebuf) in re_compile_pattern() argument 86 if (IS_NOT_NULL(ebuf)) in re_compile_pattern() 87 (void )onig_error_code_to_str((UChar* )ebuf, r, &einfo); in re_compile_pattern()
|
H A D | regcomp.c | 4103 UChar *sbuf, *ebuf, *sp; in conv_string_case_fold() local 4110 ebuf = sbuf + sbuf_size; in conv_string_case_fold() 4118 if (sp >= ebuf) { in conv_string_case_fold() 4123 ebuf = sbuf + sbuf_size; in conv_string_case_fold()
|
/PHP-7.3/ext/openssl/ |
H A D | xp_ssl.c | 193 smart_str ebuf = {0}; in php_openssl_handle_ssl_error() local 249 if (ebuf.s) { in php_openssl_handle_ssl_error() 250 smart_str_appendc(&ebuf, '\n'); in php_openssl_handle_ssl_error() 252 smart_str_appends(&ebuf, esbuf); in php_openssl_handle_ssl_error() 255 smart_str_0(&ebuf); in php_openssl_handle_ssl_error() 260 ebuf.s ? "OpenSSL Error messages:\n" : "", in php_openssl_handle_ssl_error() 261 ebuf.s ? ZSTR_VAL(ebuf.s) : ""); in php_openssl_handle_ssl_error() 262 if (ebuf.s) { in php_openssl_handle_ssl_error() 263 smart_str_free(&ebuf); in php_openssl_handle_ssl_error()
|
/PHP-7.3/ext/snmp/ |
H A D | snmp.c | 1286 u_char *ebuf = (u_char *) emalloc(ebuf_len); in netsnmp_session_set_contextEngineID() local 1288 if (!snmp_hex_to_binary(&ebuf, &ebuf_len, &eout_len, 1, contextEngineID)) { in netsnmp_session_set_contextEngineID() 1290 efree(ebuf); in netsnmp_session_set_contextEngineID() 1298 s->contextEngineID = ebuf; in netsnmp_session_set_contextEngineID()
|
/PHP-7.3/ext/fileinfo/ |
H A D | libmagic.patch | 1340 - free(b->ebuf); 1341 + efree(b->ebuf); 1349 - if ((b->ebuf = malloc(b->elen)) == NULL) 1350 + if ((b->ebuf = emalloc(b->elen)) == NULL) 1354 - if (pread(b->fd, b->ebuf, b->elen, b->eoff) == -1) { 1355 - free(b->ebuf); 1357 + FINFO_READ_FUNC(b->fd, b->ebuf, b->elen) != (ssize_t)b->elen) 1359 + efree(b->ebuf); 2256 void *ebuf;
|
Completed in 54 milliseconds