Home
last modified time | relevance | path

Searched refs:buffer (Results 176 – 200 of 300) sorted by relevance

12345678910>>...12

/PHP-5.4/ext/standard/tests/filters/
H A Dstream_filter_remove_basic.phpt11 …* Description: Flushes any data in the filter's internal buffer, removes it from the chain, and fr…
/PHP-5.4/ext/standard/
H A Dftp_fopen_wrapper.c83 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 Duser_filters.c513 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 Dposix.c678 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 Dpi3web_sapi.c212 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 Dfinfo_buffer_basic.phpt8 * Description: Return infromation about a string buffer.
H A Dfinfo_buffer_error.phpt8 * Description: Return infromation about a string buffer.
/PHP-5.4/tests/output/
H A Dob_start_error_001.phpt42 Notice: ob_start(): failed to create buffer in %s on line 20
H A Dob_get_contents_basic_001.phpt8 * Description: Return the contents of the output buffer
/PHP-5.4/ext/zip/
H A Dphp_zip.c1361 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 Doci8_interface.c282 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 Dftp.c593 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 Dfile.inc10 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 Dfile_get_contents_file_put_contents_variation1.phpt24 fill_buffer($buffer, $type, 100);
25 file_put_contents( $file_path."/file_put_contents_variation1.tmp", $buffer);
H A Dfgets_socket_variation2.phpt2 fgets() over a socket with more than a buffer's worth of data
H A Dfpassthru_variation.phpt8 and writes the results to the output buffer.
/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd_driver.c217 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 Dmysqlnd_debug.c161 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 Dwebjames.c87 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 Dwordwrap_basic.phpt6 * Description: Wraps buffer to selected number of characters using string break char
H A Dwordwrap_variation5.phpt6 * Description: Wraps buffer to selected number of characters using string break char
/PHP-5.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_attr_max_buffer_size.phpt27 /* buffer is only relevant with native PS */
/PHP-5.4/ext/gd/libgd/
H A Dgdft.c621 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 Dstream_get_line_nb.phpt39 var_dump(fread($sockets[1], strlen(b"incomplete line"))); // Returns buffer readden by stream_get_l…
/PHP-5.4/sapi/tux/
H A Dphp_tux.c161 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()

Completed in 98 milliseconds

12345678910>>...12