Home
last modified time | relevance | path

Searched refs:buffer (Results 226 – 250 of 291) sorted by relevance

12345678910>>...12

/PHP-5.5/ext/phar/tests/tar/files/
H A Dmake.dangerous.tar.php.inc3 // this tarmaker makes a malicious tar with a header designed to overflow the buffer
/PHP-5.5/ext/standard/tests/file/
H A Duserstreams.phpt8 * user streams and also gives the seek/gets/buffer
185 /* some default seeks that will cause buffer/cache misses */
/PHP-5.5/sapi/isapi/
H A Dphp5isapi.c327 static int sapi_isapi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_isapi_read_post() argument
336 memcpy(buffer, lpECB->lpbData+SG(read_post_bytes), read_from_buf); in sapi_isapi_read_post()
346 if (!lpECB->ReadClient(lpECB->ConnID, buffer+read_from_buf+cbRead, &cbSize) || cbSize==0) { in sapi_isapi_read_post()
/PHP-5.5/ext/hash/
H A Dhash.c1043 char buffer[2048]; in PHP_MINFO_FUNCTION() local
1044 char *s = buffer, *e = s + sizeof(buffer), *str; in PHP_MINFO_FUNCTION()
1057 php_info_print_table_row(2, "Hashing Engines", buffer); in PHP_MINFO_FUNCTION()
/PHP-5.5/main/
H A DSAPI.h238 int (*read_post)(char *buffer, uint count_bytes TSRMLS_DC);
H A Dphp_output.h135 php_output_buffer buffer; member
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_structs.h68 zend_uchar *buffer; member
287 …ysqlnd_net__network_read_ex)(MYSQLND_NET * const net, zend_uchar * const buffer, const size_t coun…
289 typedef size_t (*func_mysqlnd_net__send_ex)(MYSQLND_NET * const net, zend_uchar * const buffer, …
290 …unc_mysqlnd_net__receive_ex)(MYSQLND_NET * const net, zend_uchar * const buffer, const size_t coun…
H A Dmysqlnd_ps_codec.c867 zend_uchar *p = stmt->execute_cmd_buffer.buffer, in mysqlnd_stmt_execute_generate_request()
868 *cmd_buffer = stmt->execute_cmd_buffer.buffer; in mysqlnd_stmt_execute_generate_request()
889 *free_buffer = (cmd_buffer != stmt->execute_cmd_buffer.buffer); in mysqlnd_stmt_execute_generate_request()
/PHP-5.5/sapi/thttpd/
H A Dthttpd.c248 static int sapi_thttpd_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_thttpd_read_post() argument
254 memcpy(buffer, TG(hc)->read_buf + TG(hc)->checked_idx, read_bytes); in sapi_thttpd_read_post()
/PHP-5.5/main/streams/
H A Dstreams.c252 char *buffer = NULL; in php_stream_wrapper_log_error() local
255 vspprintf(&buffer, 0, fmt, args); in php_stream_wrapper_log_error()
259 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", buffer); in php_stream_wrapper_log_error()
260 efree(buffer); in php_stream_wrapper_log_error()
274 zend_llist_init(&new_list, sizeof buffer, wrapper_error_dtor, 0); in php_stream_wrapper_log_error()
280 zend_llist_add_element(list, &buffer); in php_stream_wrapper_log_error()
/PHP-5.5/ext/simplexml/
H A Dsimplexml.c411 xmlChar *buffer; in change_node_zval() local
432 buffer = xmlEncodeEntitiesReentrant(node->doc, (xmlChar *)Z_STRVAL_P(value)); in change_node_zval()
433 buffer_len = xmlStrlen(buffer); in change_node_zval()
435 if (buffer) { in change_node_zval()
436 xmlNodeSetContentLen(node, buffer, buffer_len); in change_node_zval()
437 xmlFree(buffer); in change_node_zval()
1430 RETVAL_STRINGL((char *)outbuf->buffer->content, outbuf->buffer->use, 1); in SXE_METHOD()
/PHP-5.5/ext/gd/libgd/
H A Dgd.h387 int (*source) (void *context, char *buffer, int len);
627 int (*sink) (void *context, const char *buffer, int len);
/PHP-5.5/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.c320 if (convd != NULL && result != NULL && convd->device.buffer != NULL) { in mbfl_buffer_converter_getbuffer()
322 result->val = convd->device.buffer; in mbfl_buffer_converter_getbuffer()
890 if (c == (int)pc->needle.buffer[pc->needle_pos]) { in collector_strpos()
902 h = (int *)pc->needle.buffer; in collector_strpos()
907 m = (int *)pc->needle.buffer; in collector_strpos()
1226 if (pc.needle.buffer == NULL) { in mbfl_substr_count()
2433 encoding = mbfl_name2encoding((const char *)&pd->tmpdev.buffer[pd->cspos]); in mime_header_decoder_collector()
H A Dmbfl_convert.c441 p = src->buffer; in mbfl_convert_filter_devcat()
/PHP-5.5/ext/standard/
H A Dbasic_functions.c2123 ZEND_ARG_INFO(0, buffer)
2128 ZEND_ARG_INFO(0, buffer)
2640 ZEND_ARG_INFO(0, buffer)
3878 char buffer[40]; in PHP_NAMED_FUNCTION() local
3894 if (!inet_ntop(af, address, buffer, sizeof(buffer))) { in PHP_NAMED_FUNCTION()
3899 RETURN_STRING(buffer, 1); in PHP_NAMED_FUNCTION()
3912 char buffer[17]; in PHP_NAMED_FUNCTION() local
3918 memset(buffer, 0, sizeof(buffer)); in PHP_NAMED_FUNCTION()
3930 ret = inet_pton(af, address, buffer); in PHP_NAMED_FUNCTION()
3937 RETURN_STRINGL(buffer, af == AF_INET ? 4 : 16, 1); in PHP_NAMED_FUNCTION()
H A Dfile.c1181 char *buffer = NULL; in PHP_FUNCTION() local
1200 ret = php_stream_write(stream, buffer ? buffer : arg2, num_bytes); in PHP_FUNCTION()
1201 if (buffer) { in PHP_FUNCTION()
1202 efree(buffer); in PHP_FUNCTION()
/PHP-5.5/ext/sqlite3/
H A Dsqlite3.c1541 char *buffer = NULL; local
1548 blength = php_stream_copy_to_mem(stream, (void *)&buffer, PHP_STREAM_COPY_ALL, 0);
1552 buffer = Z_STRVAL_P(param->parameter);
1555 sqlite3_bind_blob(stmt_obj->stmt, param->param_number, buffer, blength, SQLITE_TRANSIENT);
1558 pefree(buffer, 0);
/PHP-5.5/ext/intl/
H A DERROR.CONVENTIONS29 of the first two. If the message is not a static buffer, copyMsg should be 1.
/PHP-5.5/ext/sockets/tests/
H A Dsocket_strerror.phpt130 string(25) "No buffer space available"
/PHP-5.5/ext/pdo/
H A Dpdo_sql_parser.re273 /* allocate output buffer */
400 /* allocate buffer for query with expanded binds, ptr is our writing pointer */
/PHP-5.5/sapi/litespeed/
H A Dlsapi_main.c368 static int sapi_lsapi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_lsapi_read_post() argument
371 return LSAPI_ReadReqBody( buffer, (unsigned long long)count_bytes ); in sapi_lsapi_read_post()
/PHP-5.5/sapi/nsapi/
H A Dnsapi.c591 static int sapi_nsapi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_nsapi_read_post() argument
594 char *read_ptr = buffer, *content_length_str = NULL; in sapi_nsapi_read_post()
/PHP-5.5/sapi/cgi/
H A Dcgi_main.c506 static int sapi_cgi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_cgi_read_post() argument
513 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post()
522 static int sapi_fcgi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_fcgi_read_post() argument
530 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes); in sapi_fcgi_read_post()
/PHP-5.5/sapi/apache_hooks/
H A Dmod_php5.c35 static int sapi_apache_read_post(char *buffer, uint count_bytes TSRMLS_DC);
270 static int sapi_apache_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_apache_read_post() argument
289 read_bytes = get_client_block(r, buffer+total_read_bytes, count_bytes-total_read_bytes); in sapi_apache_read_post()
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_main.c497 static int sapi_cgi_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_cgi_read_post() argument
522 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post()
524 tmp_read_bytes = read(request_body_fd, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post()

Completed in 110 milliseconds

12345678910>>...12