/PHP-7.3/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.3/sapi/fpm/fpm/ |
H A D | fpm_php_trace.c | 46 static const int buf_size = 1024; in fpm_php_trace_dump() local 47 char buf[buf_size]; in fpm_php_trace_dump() 54 zlog_print_time(&tv, buf, buf_size); in fpm_php_trace_dump() 64 if (0 > fpm_trace_get_strz(buf, buf_size, path_translated)) { in fpm_php_trace_dump() 110 if (0 > fpm_trace_get_strz(buf, buf_size, function_name + offsetof(zend_string, val))) { in fpm_php_trace_dump() 156 if (0 > fpm_trace_get_strz(buf, buf_size, file_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()
|
H A D | zlog.c | 132 return buf_size - space_left; in zlog_truncate_buf() 143 len = vsnprintf(buf, buf_size, fmt, ap); in zlog_external() 146 if (len >= buf_size) { in zlog_external() 147 len = zlog_truncate_buf(buf, buf_size, 0); in zlog_external() 173 len = zlog_print_time(&tv, buf, buf_size); in zlog_buf_prefix() 196 size_t buf_size = MAX_BUF_LENGTH; in vzlog() local 202 zlog_external(flags, buf, buf_size, fmt, args); in vzlog() 212 if (len > buf_size - 1) { in vzlog() 216 if (len >= buf_size) { in vzlog() 223 len += snprintf(buf + len, buf_size - len, in vzlog() [all …]
|
/PHP-7.3/ext/mbstring/oniguruma/src/ |
H A D | regerror.c | 208 UChar buf[], int buf_size, int *is_over) in to_ascii() argument 224 if (code > 0xffff && len + 10 <= buf_size) { in to_ascii() 231 else if (len + 6 <= buf_size) { in to_ascii() 245 if (len >= buf_size) break; in to_ascii() 251 len = MIN((int )(end - s), buf_size); in to_ascii() 253 *is_over = ((buf_size < (end - s)) ? 1 : 0); in to_ascii()
|
/PHP-7.3/ext/standard/ |
H A D | quot_print.c | 59 size_t decoded_len, buf_size; in php_quot_print_decode() local 85 i = length, p1 = str; buf_size = length; in php_quot_print_decode() 89 buf_size -= 2; in php_quot_print_decode() 97 retval = zend_string_alloc(buf_size, 0); in php_quot_print_decode()
|
/PHP-7.3/Zend/ |
H A D | zend_gc.c | 194 (GC_G(first_unused) != GC_G(buf_size)) 214 uint32_t buf_size; /* size of the GC buffer */ member 432 gc_globals->buf_size = GC_INVALID; in gc_globals_ctor_ex() 495 GC_G(buf_size) = GC_DEFAULT_BUF_SIZE; in gc_enable() 523 if (GC_G(buf_size) >= GC_MAX_BUF_SIZE) { in gc_grow_root_buffer() 532 if (GC_G(buf_size) < GC_BUF_GROW_STEP) { in gc_grow_root_buffer() 533 new_size = GC_G(buf_size) * 2; in gc_grow_root_buffer() 535 new_size = GC_G(buf_size) + GC_BUF_GROW_STEP; in gc_grow_root_buffer() 541 GC_G(buf_size) = new_size; in gc_grow_root_buffer() 558 if (new_threshold > GC_G(buf_size)) { in gc_adjust_threshold() [all …]
|
/PHP-7.3/ext/mysqlnd/ |
H A D | mysqlnd_vio.c | 672 unsigned int buf_size; in MYSQLND_METHOD() local 675 buf_size = MYSQLND_G(net_read_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD() 676 net->data->m.set_client_option(net, MYSQLND_OPT_NET_READ_BUFFER_SIZE, (char *)&buf_size); in MYSQLND_METHOD() 678 buf_size = MYSQLND_G(net_read_timeout); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD() 679 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 | 444 unsigned int buf_size; in MYSQLND_METHOD() local 447 buf_size = MYSQLND_G(net_cmd_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD() 448 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.3/ext/soap/ |
H A D | php_xml.c | 133 xmlDocPtr soap_xmlParseMemory(const void *buf, size_t buf_size) in soap_xmlParseMemory() argument 142 ctxt = xmlCreateMemoryParserCtxt(buf, buf_size); in soap_xmlParseMemory()
|
H A D | php_http.c | 1464 int buf_size = 0; in get_http_body() local 1467 if (sscanf(headerbuf, "%x", &buf_size) > 0 ) { in get_http_body() 1468 if (buf_size > 0) { in get_http_body() 1471 if (http_buf_size + buf_size + 1 < 0) { in get_http_body() 1479 http_buf = zend_string_realloc(http_buf, http_buf_size + buf_size, 0); in get_http_body() 1481 http_buf = zend_string_alloc(buf_size, 0); in get_http_body() 1484 while (len_size < buf_size) { in get_http_body() 1485 int len_read = php_stream_read(stream, http_buf->val + http_buf_size, buf_size - len_size); in get_http_body() 1515 if (buf_size == 0) { in get_http_body()
|
H A D | soap.c | 2497 int buf_size; local 2506 xmlDocDumpMemory(request, (xmlChar**)&buf, &buf_size); 2515 add_property_stringl(this_ptr, "__last_request", buf, buf_size); 2519 ZVAL_STRINGL(¶ms[0], buf, buf_size);
|
/PHP-7.3/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()
|