Home
last modified time | relevance | path

Searched refs:buf_size (Results 1 – 12 of 12) sorted by relevance

/PHP-8.0/ext/dba/libflatfile/
H A Dflatfile.c105 char *buf = emalloc(buf_size); in flatfile_delete()
116 if (num >= buf_size) { in flatfile_delete()
139 if (num >= buf_size) { in flatfile_delete()
154 char *buf = emalloc(buf_size); in flatfile_findkey()
166 if (num >= buf_size) { in flatfile_findkey()
182 if (num >= buf_size) { in flatfile_findkey()
198 char *buf = emalloc(buf_size); in flatfile_firstkey()
206 if (num >= buf_size) { in flatfile_firstkey()
222 if (num >= buf_size) { in flatfile_firstkey()
248 if (num >= buf_size) { in flatfile_nextkey()
[all …]
/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_php_trace.c42 static const int buf_size = 1024; in fpm_php_trace_dump() local
43 char buf[buf_size]; in fpm_php_trace_dump()
50 zlog_print_time(&tv, buf, buf_size); in fpm_php_trace_dump()
60 if (0 > fpm_trace_get_strz(buf, buf_size, path_translated)) { in fpm_php_trace_dump()
106 if (0 > fpm_trace_get_strz(buf, buf_size, function_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()
152 if (0 > fpm_trace_get_strz(buf, buf_size, file_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()
H A Dzlog.c132 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-8.0/ext/standard/
H A Dquot_print.c57 size_t decoded_len, buf_size; in php_quot_print_decode() local
83 i = length, p1 = str; buf_size = length; in php_quot_print_decode()
87 buf_size -= 2; in php_quot_print_decode()
95 retval = zend_string_alloc(buf_size, 0); in php_quot_print_decode()
/PHP-8.0/Zend/
H A Dzend_gc.c199 (GC_G(first_unused) != GC_G(buf_size))
220 uint32_t buf_size; /* size of the GC buffer */ member
440 gc_globals->buf_size = GC_INVALID; in gc_globals_ctor_ex()
503 GC_G(buf_size) = GC_DEFAULT_BUF_SIZE; in gc_enable()
531 if (GC_G(buf_size) >= GC_MAX_BUF_SIZE) { in gc_grow_root_buffer()
540 if (GC_G(buf_size) < GC_BUF_GROW_STEP) { in gc_grow_root_buffer()
541 new_size = GC_G(buf_size) * 2; in gc_grow_root_buffer()
543 new_size = GC_G(buf_size) + GC_BUF_GROW_STEP; in gc_grow_root_buffer()
549 GC_G(buf_size) = new_size; in gc_grow_root_buffer()
566 if (new_threshold > GC_G(buf_size)) { in gc_adjust_threshold()
[all …]
/PHP-8.0/ext/soap/
H A Dphp_xml.c130 xmlDocPtr soap_xmlParseMemory(const void *buf, size_t buf_size) in soap_xmlParseMemory() argument
139 ctxt = xmlCreateMemoryParserCtxt(buf, buf_size); in soap_xmlParseMemory()
H A Dphp_http.c1460 int buf_size = 0; in get_http_body() local
1463 if (sscanf(headerbuf, "%x", &buf_size) > 0 ) { in get_http_body()
1464 if (buf_size > 0) { in get_http_body()
1467 if (http_buf_size + buf_size + 1 < 0) { in get_http_body()
1475 http_buf = zend_string_realloc(http_buf, http_buf_size + buf_size, 0); in get_http_body()
1477 http_buf = zend_string_alloc(buf_size, 0); in get_http_body()
1480 while (len_size < buf_size) { in get_http_body()
1481 … ssize_t len_read = php_stream_read(stream, http_buf->val + http_buf_size, buf_size - len_size); in get_http_body()
1511 if (buf_size == 0) { in get_http_body()
H A Dsoap.c2195 int buf_size; local
2204 xmlDocDumpMemory(request, (xmlChar**)&buf, &buf_size);
2213 add_property_stringl(this_ptr, "__last_request", buf, buf_size);
2217 ZVAL_STRINGL(&params[0], buf, buf_size);
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_vio.c675 unsigned int buf_size; in MYSQLND_METHOD() local
678 buf_size = MYSQLND_G(net_read_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD()
679 net->data->m.set_client_option(net, MYSQLND_OPT_NET_READ_BUFFER_SIZE, (char *)&buf_size); in MYSQLND_METHOD()
681 buf_size = MYSQLND_G(net_read_timeout); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD()
682 net->data->m.set_client_option(net, MYSQL_OPT_READ_TIMEOUT, (char *)&buf_size); in MYSQLND_METHOD()
H A Dmysqlnd_protocol_frame_codec.c444 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 Dmysqlnd_wireprotocol.c289 zend_uchar * const buf, const size_t buf_size, 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()
301 if (buf_size < packet_header->size) { in mysqlnd_read_packet_header_and_body()
303 buf_size, packet_header->size, packet_header->size - buf_size); in mysqlnd_read_packet_header_and_body()
/PHP-8.0/ext/exif/
H A Dexif.c1363 static char *exif_get_tagname_key(int tag_num, char *buf, size_t buf_size, tag_table_type tag_table) in exif_get_tagname_key() argument
1369 snprintf(buf, buf_size, "UndefinedTag:0x%04X", tag_num); in exif_get_tagname_key()

Completed in 89 milliseconds