/PHP-7.2/ext/dba/libflatfile/ |
H A D | flatfile.c | 110 char *buf = emalloc(buf_size); in flatfile_delete() 121 if (num >= buf_size) { in flatfile_delete() 144 if (num >= buf_size) { in flatfile_delete() 160 char *buf = emalloc(buf_size); in flatfile_findkey() 172 if (num >= buf_size) { in flatfile_findkey() 188 if (num >= buf_size) { in flatfile_findkey() 205 char *buf = emalloc(buf_size); in flatfile_firstkey() 213 if (num >= buf_size) { in flatfile_firstkey() 229 if (num >= buf_size) { in flatfile_firstkey() 256 if (num >= buf_size) { in flatfile_nextkey() [all …]
|
/PHP-7.2/sapi/fpm/fpm/ |
H A D | zlog.c | 105 const size_t buf_size = MAX_LINE_LENGTH; in vzlog() local 113 len = vsnprintf(buf, buf_size, fmt, ap); in vzlog() 115 if (len >= buf_size) { in vzlog() 117 len = buf_size - 1; in vzlog() 121 memset(buf, '\0', buf_size); in vzlog() 142 len = zlog_print_time(&tv, buf, buf_size); in vzlog() 155 if (len > buf_size - 1) { in vzlog() 160 len += vsnprintf(buf + len, buf_size - len, fmt, args); in vzlog() 161 if (len >= buf_size) { in vzlog() 169 if (len >= buf_size) { in vzlog() [all …]
|
H A D | fpm_php_trace.c | 47 static const int buf_size = 1024; in fpm_php_trace_dump() local 48 char buf[buf_size]; in fpm_php_trace_dump() 55 zlog_print_time(&tv, buf, buf_size); in fpm_php_trace_dump() 65 if (0 > fpm_trace_get_strz(buf, buf_size, path_translated)) { in fpm_php_trace_dump() 111 if (0 > fpm_trace_get_strz(buf, buf_size, function_name + offsetof(zend_string, val))) { in fpm_php_trace_dump() 157 if (0 > fpm_trace_get_strz(buf, buf_size, file_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()
|
/PHP-7.2/ext/mbstring/oniguruma/src/ |
H A D | regerror.c | 202 UChar buf[], int buf_size, int *is_over) in to_ascii() argument 214 if (code > 0xffff && len + 10 <= buf_size) { in to_ascii() 221 else if (len + 6 <= buf_size) { in to_ascii() 235 if (len >= buf_size) break; in to_ascii() 241 len = MIN((end - s), buf_size); in to_ascii() 243 *is_over = ((buf_size < (end - s)) ? 1 : 0); in to_ascii()
|
/PHP-7.2/ext/standard/ |
H A D | quot_print.c | 61 size_t decoded_len, buf_size; in php_quot_print_decode() local 87 i = length, p1 = str; buf_size = length; in php_quot_print_decode() 91 buf_size -= 2; in php_quot_print_decode() 99 retval = zend_string_alloc(buf_size, 0); in php_quot_print_decode()
|
/PHP-7.2/ext/mysqlnd/ |
H A D | mysqlnd_vio.c | 673 unsigned int buf_size; in MYSQLND_METHOD() local 676 buf_size = MYSQLND_G(net_read_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD() 677 net->data->m.set_client_option(net, MYSQLND_OPT_NET_READ_BUFFER_SIZE, (char *)&buf_size); in MYSQLND_METHOD() 679 buf_size = MYSQLND_G(net_read_timeout); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD() 680 net->data->m.set_client_option(net, MYSQL_OPT_READ_TIMEOUT, (char *)&buf_size); in MYSQLND_METHOD()
|
H A D | mysqlnd_net.c | 1095 unsigned int buf_size; in MYSQLND_METHOD() local 1098 buf_size = MYSQLND_G(net_cmd_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD() 1099 net->data->m.set_client_option(net, MYSQLND_OPT_NET_CMD_BUFFER_SIZE, (char *) &buf_size); in MYSQLND_METHOD() 1101 buf_size = MYSQLND_G(net_read_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD() 1102 net->data->m.set_client_option(net, MYSQLND_OPT_NET_READ_BUFFER_SIZE, (char *)&buf_size); in MYSQLND_METHOD() 1104 buf_size = MYSQLND_G(net_read_timeout); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD() 1105 net->data->m.set_client_option(net, MYSQL_OPT_READ_TIMEOUT, (char *)&buf_size); in MYSQLND_METHOD()
|
H A D | mysqlnd_protocol_frame_codec.c | 419 unsigned int buf_size; in MYSQLND_METHOD() local 422 buf_size = MYSQLND_G(net_cmd_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD() 423 pfc->data->m.set_client_option(pfc, MYSQLND_OPT_NET_CMD_BUFFER_SIZE, (char *) &buf_size); in MYSQLND_METHOD()
|
H A D | mysqlnd_wireprotocol.c | 290 zend_uchar * buf, size_t buf_size, const char * const packet_type_as_text, in mysqlnd_read_packet_header_and_body() argument 294 DBG_INF_FMT("buf=%p size=%u", buf, buf_size); in mysqlnd_read_packet_header_and_body() 302 if (buf_size < packet_header->size) { in mysqlnd_read_packet_header_and_body() 304 buf_size, packet_header->size, packet_header->size - buf_size); in mysqlnd_read_packet_header_and_body()
|
/PHP-7.2/ext/soap/ |
H A D | php_xml.c | 134 xmlDocPtr soap_xmlParseMemory(const void *buf, size_t buf_size) in soap_xmlParseMemory() argument 143 ctxt = xmlCreateMemoryParserCtxt(buf, buf_size); in soap_xmlParseMemory()
|
H A D | php_http.c | 1431 int buf_size = 0; in get_http_body() local 1434 if (sscanf(headerbuf, "%x", &buf_size) > 0 ) { in get_http_body() 1435 if (buf_size > 0) { in get_http_body() 1438 if (http_buf_size + buf_size + 1 < 0) { in get_http_body() 1446 http_buf = zend_string_realloc(http_buf, http_buf_size + buf_size, 0); in get_http_body() 1448 http_buf = zend_string_alloc(buf_size, 0); in get_http_body() 1451 while (len_size < buf_size) { in get_http_body() 1452 int len_read = php_stream_read(stream, http_buf->val + http_buf_size, buf_size - len_size); in get_http_body() 1482 if (buf_size == 0) { in get_http_body()
|
H A D | soap.c | 2512 int buf_size; local 2521 xmlDocDumpMemory(request, (xmlChar**)&buf, &buf_size); 2530 add_property_stringl(this_ptr, "__last_request", buf, buf_size); 2534 ZVAL_STRINGL(¶ms[0], buf, buf_size);
|
/PHP-7.2/ext/interbase/ |
H A D | ibase_query.c | 433 static int _php_ibase_bind_array(zval *val, char *buf, zend_ulong buf_size, /* {{{ */ in _php_ibase_bind_array() argument 444 zend_ulong slice_size = buf_size / dim_len; in _php_ibase_bind_array() 478 memset(buf, 0, buf_size); in _php_ibase_bind_array() 633 strlcpy(buf, Z_STRVAL_P(val), buf_size); in _php_ibase_bind_array()
|