Home
last modified time | relevance | path

Searched refs:buf_size (Results 1 – 11 of 11) sorted by path

/PHP-7.0/ext/dba/libflatfile/
H A Dflatfile.c110 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/ext/interbase/
H A Dibase_query.c433 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()
/PHP-7.0/ext/mbstring/oniguruma/
H A Dregerror.c196 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/mysqlnd/
H A Dmysqlnd_net.c1115 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 Dmysqlnd_wireprotocol.c34 #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/soap/
H A Dphp_http.c1408 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 Dphp_xml.c134 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 Dsoap.c2557 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(&params[0], buf, buf_size);
/PHP-7.0/ext/standard/
H A Dquot_print.c61 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/sapi/fpm/fpm/
H A Dfpm_php_trace.c48 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()
H A Dzlog.c106 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 …]

Completed in 54 milliseconds