/PHP-5.4/ext/standard/tests/filters/ |
H A D | stream_filter_remove_basic.phpt | 11 …* Description: Flushes any data in the filter's internal buffer, removes it from the chain, and fr…
|
/PHP-5.4/ext/standard/ |
H A D | ftp_fopen_wrapper.c | 83 static inline int get_ftp_result(php_stream *stream, char *buffer, size_t buffer_size TSRMLS_DC) in get_ftp_result() argument 85 while (php_stream_gets(stream, buffer, buffer_size-1) && in get_ftp_result() 86 !(isdigit((int) buffer[0]) && isdigit((int) buffer[1]) && in get_ftp_result() 87 isdigit((int) buffer[2]) && buffer[3] == ' ')); in get_ftp_result() 88 return strtol(buffer, NULL, 10); in get_ftp_result()
|
H A D | user_filters.c | 513 char *buffer; in PHP_FUNCTION() local 518 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zs", &zstream, &buffer, &buffer_len) == FAIL… in PHP_FUNCTION() 528 memcpy(pbuffer, buffer, buffer_len); in PHP_FUNCTION()
|
/PHP-5.4/ext/posix/ |
H A D | posix.c | 678 char buffer[L_ctermid]; in PHP_FUNCTION() local 682 if (NULL == ctermid(buffer)) { in PHP_FUNCTION() 690 RETURN_STRING(buffer, 1); in PHP_FUNCTION() 810 char buffer[MAXPATHLEN]; in PHP_FUNCTION() local 815 p = VCWD_GETCWD(buffer, MAXPATHLEN); in PHP_FUNCTION() 821 RETURN_STRING(buffer, 1); in PHP_FUNCTION()
|
/PHP-5.4/sapi/pi3web/ |
H A D | pi3web_sapi.c | 212 static int sapi_pi3web_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_pi3web_read_post() argument 221 memcpy(buffer, lpCB->lpbData+SG(read_post_bytes), read_from_buf); in sapi_pi3web_read_post() 231 if (!lpCB->ReadClient(lpCB->ConnID, buffer+read_from_buf+cbRead, &cbSize) || cbSize==0) { in sapi_pi3web_read_post()
|
/PHP-5.4/ext/fileinfo/tests/ |
H A D | finfo_buffer_basic.phpt | 8 * Description: Return infromation about a string buffer.
|
H A D | finfo_buffer_error.phpt | 8 * Description: Return infromation about a string buffer.
|
/PHP-5.4/tests/output/ |
H A D | ob_start_error_001.phpt | 42 Notice: ob_start(): failed to create buffer in %s on line 20
|
H A D | ob_get_contents_basic_001.phpt | 8 * Description: Return the contents of the output buffer
|
/PHP-5.4/ext/zip/ |
H A D | php_zip.c | 1361 char *buffer; in PHP_NAMED_FUNCTION() local 1378 buffer[n] = 0; in PHP_NAMED_FUNCTION() 1379 RETURN_STRINGL(buffer, n, 0); in PHP_NAMED_FUNCTION() 1381 efree(buffer); in PHP_NAMED_FUNCTION() 1819 char *buffer, *name; in ZIPARCHIVE_METHOD() local 2515 char *buffer; in php_zip_get_from() local 2553 buffer = safe_emalloc(len, 1, 2); in php_zip_get_from() 2554 n = zip_fread(zf, buffer, len); in php_zip_get_from() 2556 efree(buffer); in php_zip_get_from() 2561 buffer[n] = 0; in php_zip_get_from() [all …]
|
/PHP-5.4/ext/oci8/ |
H A D | oci8_interface.c | 282 char *buffer = NULL; local 298 if (php_oci_lob_read(descriptor, -1, 0, &buffer, &buffer_len TSRMLS_CC)) { 302 RETURN_STRINGL(buffer, buffer_len, 0); 317 char *buffer; local 347 RETURN_STRINGL(buffer, buffer_len, 0); 879 char *buffer; local 978 if (php_oci_lob_read(descriptor, block_length, start, &buffer, &tmp_bytes_read TSRMLS_CC)) { 982 if (tmp_bytes_read && !php_stream_write(stream, buffer, tmp_bytes_read)) { 984 efree(buffer); 987 if (buffer) { [all …]
|
/PHP-5.4/ext/ftp/ |
H A D | ftp.c | 593 char *buffer; in ftp_chmod() local 599 spprintf(&buffer, 0, "CHMOD %o %s", mode, filename); in ftp_chmod() 601 if (!ftp_putcmd(ftp, "SITE", buffer)) { in ftp_chmod() 602 efree(buffer); in ftp_chmod() 606 efree(buffer); in ftp_chmod() 621 char buffer[64]; in ftp_alloc() local 627 snprintf(buffer, sizeof(buffer) - 1, "%ld", size); in ftp_alloc() 629 if (!ftp_putcmd(ftp, "ALLO", buffer)) { in ftp_alloc()
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | file.inc | 10 fill_buffer() : fills buffer with specified contents 38 Function : bool fill_buffer(string &$buffer, string $fill_type, int $fill_size); 39 Description: Fills the $buffer with data as specified with requested size. 40 $buffer = buffer to be filled 48 function fill_buffer(&$buffer, $fill_type, $fill_size) { 74 $buffer = substr($tmp_buff, 0, $fill_size); 76 $buffer = $tmp_buff;
|
H A D | file_get_contents_file_put_contents_variation1.phpt | 24 fill_buffer($buffer, $type, 100); 25 file_put_contents( $file_path."/file_put_contents_variation1.tmp", $buffer);
|
H A D | fgets_socket_variation2.phpt | 2 fgets() over a socket with more than a buffer's worth of data
|
H A D | fpassthru_variation.phpt | 8 and writes the results to the output buffer.
|
/PHP-5.4/ext/mysqlnd/ |
H A D | mysqlnd_driver.c | 217 stmt->execute_cmd_buffer.buffer = mnd_pemalloc(stmt->execute_cmd_buffer.length, stmt->persistent); in MYSQLND_METHOD() 218 if (!stmt->execute_cmd_buffer.buffer) { in MYSQLND_METHOD()
|
H A D | mysqlnd_debug.c | 161 char * message_line, *buffer; in MYSQLND_METHOD() local 231 mnd_vsprintf(&buffer, 0, format, args); in MYSQLND_METHOD() 240 pipe_buffer, type? type:"", buffer); in MYSQLND_METHOD() 241 mnd_sprintf_free(buffer); in MYSQLND_METHOD()
|
/PHP-5.4/sapi/webjames/ |
H A D | webjames.c | 87 static int sapi_webjames_read_post(char *buffer, uint count_bytes TSRMLS_DC) in sapi_webjames_read_post() argument 92 memcpy(buffer, WG(conn)->body+WG(bodyread), count_bytes); in sapi_webjames_read_post()
|
/PHP-5.4/ext/standard/tests/strings/ |
H A D | wordwrap_basic.phpt | 6 * Description: Wraps buffer to selected number of characters using string break char
|
H A D | wordwrap_variation5.phpt | 6 * Description: Wraps buffer to selected number of characters using string break char
|
/PHP-5.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_max_buffer_size.phpt | 27 /* buffer is only relevant with native PS */
|
/PHP-5.4/ext/gd/libgd/ |
H A D | gdft.c | 621 level = (bitmap.buffer[pc] * gdAlphaMax / (bitmap.num_grays - 1)); 624 … level = ((bitmap.buffer[(col>>3)+pcr]) & (1<<(~col&0x07))) ? gdAlphaTransparent : gdAlphaOpaque; 682 … tc_key.pixel = ((bitmap.buffer[pc] * NUMCOLORS) + bitmap.num_grays / 2) / (bitmap.num_grays - 1); 684 tc_key.pixel = ((bitmap.buffer[pc / 8] << (pc % 8)) & 128) ? NUMCOLORS : 0; 686 tc_key.pixel = ((bitmap.buffer[(col>>3)+pcr]) & (1<<(~col&0x07))) ? NUMCOLORS : 0;
|
/PHP-5.4/ext/standard/tests/streams/ |
H A D | stream_get_line_nb.phpt | 39 var_dump(fread($sockets[1], strlen(b"incomplete line"))); // Returns buffer readden by stream_get_l…
|
/PHP-5.4/sapi/tux/ |
H A D | php_tux.c | 161 static int sapi_tux_read_post(char *buffer, uint count_bytes) in sapi_tux_read_post() argument 168 TG(req)->object_addr = buffer; in sapi_tux_read_post()
|