/PHP-7.0/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.0/sapi/fpm/fpm/ |
H A D | zlog.c | 106 const size_t buf_size = MAX_LINE_LENGTH; in vzlog() local 114 len = vsnprintf(buf, buf_size, fmt, ap); in vzlog() 116 if (len >= buf_size) { in vzlog() 118 len = buf_size - 1; in vzlog() 122 memset(buf, '\0', buf_size); in vzlog() 143 len = zlog_print_time(&tv, buf, buf_size); in vzlog() 156 if (len > buf_size - 1) { in vzlog() 161 len += vsnprintf(buf + len, buf_size - len, fmt, args); in vzlog() 162 if (len >= buf_size) { in vzlog() 170 if (len >= buf_size) { in vzlog() [all …]
|
H A D | fpm_php_trace.c | 48 static const int buf_size = 1024; in fpm_php_trace_dump() local 49 char buf[buf_size]; in fpm_php_trace_dump() 56 zlog_print_time(&tv, buf, buf_size); in fpm_php_trace_dump() 66 if (0 > fpm_trace_get_strz(buf, buf_size, path_translated)) { in fpm_php_trace_dump() 112 if (0 > fpm_trace_get_strz(buf, buf_size, function_name + offsetof(zend_string, val))) { in fpm_php_trace_dump() 158 if (0 > fpm_trace_get_strz(buf, buf_size, file_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()
|
/PHP-7.0/ext/mbstring/oniguruma/ |
H A D | regerror.c | 196 UChar buf[], int buf_size, int *is_over) in to_ascii() argument 208 if (code > 0xffff && len + 10 <= buf_size) { in to_ascii() 215 else if (len + 6 <= buf_size) { in to_ascii() 229 if (len >= buf_size) break; in to_ascii() 235 len = MIN((end - s), buf_size); in to_ascii() 237 *is_over = ((buf_size < (end - s)) ? 1 : 0); in to_ascii()
|
/PHP-7.0/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.0/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 | 1408 int buf_size = 0; in get_http_body() local 1411 if (sscanf(headerbuf, "%x", &buf_size) > 0 ) { in get_http_body() 1412 if (buf_size > 0) { in get_http_body() 1415 if (http_buf_size + buf_size + 1 < 0) { in get_http_body() 1423 http_buf = zend_string_realloc(http_buf, http_buf_size + buf_size, 0); in get_http_body() 1425 http_buf = zend_string_alloc(buf_size, 0); in get_http_body() 1428 while (len_size < buf_size) { in get_http_body() 1429 int len_read = php_stream_read(stream, http_buf->val + http_buf_size, buf_size - len_size); in get_http_body() 1459 if (buf_size == 0) { in get_http_body()
|
H A D | soap.c | 2557 int buf_size; local 2566 xmlDocDumpMemory(request, (xmlChar**)&buf, &buf_size); 2575 add_property_stringl(this_ptr, "__last_request", buf, buf_size); 2579 ZVAL_STRINGL(¶ms[0], buf, buf_size);
|
/PHP-7.0/ext/mysqlnd/ |
H A D | mysqlnd_net.c | 1115 unsigned int buf_size; in MYSQLND_METHOD() local 1118 buf_size = MYSQLND_G(net_cmd_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD() 1119 net->data->m.set_client_option(net, MYSQLND_OPT_NET_CMD_BUFFER_SIZE, (char *) &buf_size); in MYSQLND_METHOD() 1121 buf_size = MYSQLND_G(net_read_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD() 1122 net->data->m.set_client_option(net, MYSQLND_OPT_NET_READ_BUFFER_SIZE, (char *)&buf_size); in MYSQLND_METHOD() 1124 buf_size = MYSQLND_G(net_read_timeout); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD() 1125 net->data->m.set_client_option(net, MYSQL_OPT_READ_TIMEOUT, (char *)&buf_size); in MYSQLND_METHOD()
|
H A D | mysqlnd_wireprotocol.c | 34 #define PACKET_READ_HEADER_AND_BODY(packet, conn, buf, buf_size, packet_type_as_text, packet_type) \ argument 36 DBG_INF_FMT("buf=%p size=%u", (buf), (buf_size)); \ 44 if ((buf_size) < (packet)->header.size) { \ 46 (buf_size), (packet)->header.size, (packet)->header.size - (buf_size)); \
|
/PHP-7.0/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()
|