| /PHP_TRUNK/sapi/fpm/fpm/ |
| H A D | fpm_php_trace.c | 48 static const int buf_size = 1024; local 49 char buf[buf_size]; 55 zlog_print_time(&tv, buf, buf_size); 59 if (0 > fpm_trace_get_strz(buf, buf_size, (long) &SG(request_info).path_translated)) { 84 if (0 > fpm_trace_get_strz(buf, buf_size, function + offsetof(zend_function, common.function_name))) { 102 if (0 > fpm_trace_get_strz(buf, buf_size, op_array + offsetof(zend_op_array, filename))) {
|
| H A D | zlog.c | 105 const size_t buf_size = MAX_LINE_LENGTH; local 113 len = vsnprintf(buf, buf_size, fmt, args); 115 if (len >= buf_size) { 116 memcpy(buf + buf_size - sizeof("..."), "...", sizeof("...") - 1); 117 len = buf_size - 1; 121 memset(buf, '\0', buf_size); 133 len += snprintf(buf, buf_size, "[%s] %s(), line %d: ", level_names[flags & ZLOG_LEVEL_MASK], function, line); 135 len += snprintf(buf, buf_size, "[%s] ", level_names[flags & ZLOG_LEVEL_MASK]); 142 len = zlog_print_time(&tv, buf, buf_size); 146 len += snprintf(buf + len, buf_size [all...] |
| H A D | fastcgi.c | 428 size_t buf_size = sizeof(buf); local 466 if (eff_name_len >= buf_size-1) { 471 buf_size = eff_name_len + 64; 472 tmp = (tmp == buf ? emalloc(buf_size): erealloc(tmp, buf_size));
|
| /PHP_TRUNK/ext/mbstring/oniguruma/ |
| H A D | regerror.c | 196 UChar buf[], int buf_size, int *is_over) 208 if (code > 0xffff && len + 10 <= buf_size) { 215 else if (len + 6 <= buf_size) { 229 if (len >= buf_size) break; 235 len = MIN((end - s), buf_size); 237 *is_over = ((buf_size < (end - s)) ? 1 : 0); 195 to_ascii(OnigEncoding enc, UChar *s, UChar *end, UChar buf[], int buf_size, int *is_over) argument
|
| /PHP_TRUNK/ext/dba/libflatfile/ |
| H A D | flatfile.c | 109 size_t buf_size = FLATFILE_BLOCK_SIZE; local 110 char *buf = emalloc(buf_size); 121 if (num >= buf_size) { 122 buf_size = num + FLATFILE_BLOCK_SIZE; 123 buf = erealloc(buf, buf_size); 147 if (num >= buf_size) { 148 buf_size = num + FLATFILE_BLOCK_SIZE; 149 buf = erealloc(buf, buf_size); 165 size_t buf_size = FLATFILE_BLOCK_SIZE; local 166 char *buf = emalloc(buf_size); 215 size_t buf_size = FLATFILE_BLOCK_SIZE; local 263 size_t buf_size = FLATFILE_BLOCK_SIZE; local [all...] |
| /PHP_TRUNK/ext/interbase/ |
| H A D | ibase_query.c | 435 static int _php_ibase_bind_array(zval *val, char *buf, unsigned long buf_size, /* {{{ */ argument 446 unsigned long slice_size = buf_size / dim_len; 480 memset(buf, 0, buf_size); 631 strlcpy(buf, Z_STRVAL_P(val), buf_size);
|
| /PHP_TRUNK/ext/mysqlnd/ |
| H A D | mysqlnd_net.c | 1025 unsigned int buf_size; local 1028 buf_size = MYSQLND_G(net_cmd_buffer_size); /* this is long, cast to unsigned int*/ 1029 net->data->m.set_client_option(net, MYSQLND_OPT_NET_CMD_BUFFER_SIZE, (char *) &buf_size TSRMLS_CC); 1031 buf_size = MYSQLND_G(net_read_buffer_size); /* this is long, cast to unsigned int*/ 1032 net->data->m.set_client_option(net, MYSQLND_OPT_NET_READ_BUFFER_SIZE, (char *)&buf_size TSRMLS_CC); 1034 buf_size = MYSQLND_G(net_read_timeout); /* this is long, cast to unsigned int*/ 1035 net->data->m.set_client_option(net, MYSQL_OPT_READ_TIMEOUT, (char *)&buf_size TSRMLS_CC);
|
| H A D | mysqlnd_wireprotocol.c | 35 #define PACKET_READ_HEADER_AND_BODY(packet, conn, buf, buf_size, packet_type_as_text, packet_type) \ 37 DBG_INF_FMT("buf=%p size=%u", (buf), (buf_size)); \ 45 if ((buf_size) < (packet)->header.size) { \ 47 (buf_size), (packet)->header.size, (packet)->header.size - (buf_size)); \
|
| /PHP_TRUNK/ext/soap/ |
| H A D | php_xml.c | 131 xmlDocPtr soap_xmlParseMemory(const void *buf, size_t buf_size) argument 141 ctxt = xmlCreateMemoryParserCtxt(buf, buf_size);
|
| H A D | php_http.c | 331 int buf_size, 367 request_size = buf_size; 391 ZVAL_STRINGL(params[0], buf, buf_size, 0); 1398 int buf_size = 0; local 1401 if (sscanf(headerbuf, "%x", &buf_size) > 0 ) { 1402 if (buf_size > 0) { 1405 if (http_buf_size + buf_size + 1 < 0) { 1409 http_buf = erealloc(http_buf, http_buf_size + buf_size + 1); 1411 while (len_size < buf_size) { 1412 int len_read = php_stream_read(stream, http_buf + http_buf_size, buf_size 329 make_http_soap_request(zval *this_ptr, char *buf, int buf_size, char *location, char *soapaction, int soap_version, char **buffer, int *buffer_len TSRMLS_DC) argument [all...] |
| H A D | soap.c | 2548 int buf_size; local 2556 xmlDocDumpMemory(request, (xmlChar**)&buf, &buf_size); 2564 add_property_stringl(this_ptr, "__last_request", buf, buf_size, 1); 2571 ZVAL_STRINGL(params[0], buf, buf_size, 0); 3081 int buf_size, location_size, action_size; local 3086 &buf, &buf_size, 3096 if (make_http_soap_request(this_ptr, buf, buf_size, location, action, version, NULL, NULL TSRMLS_CC)) { 3099 } else if (make_http_soap_request(this_ptr, buf, buf_size, location, action, version,
|
| /PHP_TRUNK/ext/standard/ |
| H A D | quot_print.c | 61 size_t decoded_len, buf_size; local 87 i = length, p1 = str; buf_size = length; 91 buf_size -= 2; 99 retval = emalloc(buf_size + 1);
|
| H A D | streamsfuncs.c | 1319 size_t buf_size; local 1336 if ((buf = php_stream_get_record(stream, max_length, &buf_size, str, str_len TSRMLS_CC))) { 1337 RETURN_STRINGL(buf, buf_size, 0);
|