Home
last modified time | relevance | path

Searched refs:PHP_STREAM_COPY_ALL (Results 1 – 25 of 26) sorted by relevance

12

/php-src/main/streams/
H A Dcast.c269 int retcopy = php_stream_copy_to_stream_ex(stream, newstream, PHP_STREAM_COPY_ALL, NULL); in _php_stream_cast()
395 if (php_stream_copy_to_stream_ex(origstream, *newstream, PHP_STREAM_COPY_ALL, NULL) != SUCCESS) { in _php_stream_make_seekable()
H A Dstreams.c1525 if (maxlen == PHP_STREAM_COPY_ALL) { in _php_stream_copy_to_mem()
1651 if ((maxlen != PHP_STREAM_COPY_ALL && nbytes == maxlen) || php_stream_eof(src)) { in _php_stream_copy_to_stream_ex()
1695 if (maxlen == PHP_STREAM_COPY_ALL) { in _php_stream_copy_to_stream_ex()
/php-src/ext/dba/libinifile/
H A Dinifile.c495 if (SUCCESS != php_stream_copy_to_stream_ex(dba->fp, fp_tmp, PHP_STREAM_COPY_ALL, NULL)) { in inifile_delete_replace_append()
536 if (SUCCESS != php_stream_copy_to_stream_ex(fp_tmp, dba->fp, PHP_STREAM_COPY_ALL, NULL)) { in inifile_delete_replace_append()
/php-src/ext/phar/
H A Dtar.c1028 len = PHP_STREAM_COPY_ALL; in phar_tar_flush()
1334 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1343 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1354 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1361 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
H A Dphar.c1700 if (SUCCESS != php_stream_copy_to_stream_ex(fp, temp, PHP_STREAM_COPY_ALL, NULL)) { in phar_open_from_fp()
1746 if (SUCCESS != php_stream_copy_to_stream_ex(fp, temp, PHP_STREAM_COPY_ALL, NULL)) { in phar_open_from_fp()
2616 len = PHP_STREAM_COPY_ALL; in phar_flush()
3214 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_flush()
3223 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_flush()
3230 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_flush()
H A Dzip.c1327 len = PHP_STREAM_COPY_ALL; in phar_zip_flush()
1510 int ret = php_stream_copy_to_stream_ex(pass.centralfp, pass.filefp, PHP_STREAM_COPY_ALL, &clen); in phar_zip_flush()
1578 php_stream_copy_to_stream_ex(pass.filefp, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_zip_flush()
H A Dfunc_interceptors.c184 maxlen = (ssize_t) PHP_STREAM_COPY_ALL; in PHAR_FUNC()
H A Dutil.c1529 …if (!pfp || !(pubkey = php_stream_copy_to_mem(pfp, PHP_STREAM_COPY_ALL, 0)) || !ZSTR_LEN(pubkey)) { in phar_verify_signature()
H A Dphar_object.c1665 php_stream_copy_to_stream_ex(fp, p_obj->fp, PHP_STREAM_COPY_ALL, &contents_len); in phar_build()
3641 php_stream_copy_to_stream_ex(contents_file, data->fp, PHP_STREAM_COPY_ALL, &contents_len); in phar_add_file()
/php-src/ext/mbstring/
H A Dmb_gpc.c309 post_data_str = php_stream_copy_to_mem(SG(request_info).request_body, PHP_STREAM_COPY_ALL, 0); in SAPI_POST_HANDLER_FUNC()
/php-src/ext/pdo_sqlite/
H A Dsqlite_statement.c141 zend_string *mem = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in pdo_sqlite_stmt_param_hook()
/php-src/ext/standard/
H A Dexec.c544 ret = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0);
H A Dfile.c414 maxlen = (ssize_t) PHP_STREAM_COPY_ALL; in PHP_FUNCTION()
511 if (php_stream_copy_to_stream_ex(srcstream, stream, PHP_STREAM_COPY_ALL, &len) != SUCCESS) { in PHP_FUNCTION()
637 if ((target_buf = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0)) != NULL) { in PHP_FUNCTION()
1614 ret = php_stream_copy_to_stream_ex(srcstream, deststream, PHP_STREAM_COPY_ALL, NULL); in php_copy_file_ctx()
H A Dstreamsfuncs.c456 maxlen = (ssize_t) PHP_STREAM_COPY_ALL; in PHP_FUNCTION()
457 } else if (maxlen < 0 && maxlen != (ssize_t)PHP_STREAM_COPY_ALL) { in PHP_FUNCTION()
511 maxlen = PHP_STREAM_COPY_ALL; in PHP_FUNCTION()
H A Dimage.c190 bufz = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0); in php_handle_swc()
/php-src/ext/mysqlnd/
H A Dmysqlnd_auth.c881 if ((key_str = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0)) != NULL) { in mysqlnd_sha256_get_rsa_key()
1177 if ((key_str = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0)) != NULL) { in mysqlnd_caching_sha2_get_key()
/php-src/docs-old/
H A Dstreams.md112 `PHP_STREAM_COPY_ALL` as the maxlen parameter, otherwise maxlen indicates the
126 remaining on the stream if you set maxlen to `PHP_STREAM_COPY_ALL`. The buffer
/php-src/ext/pdo/
H A Dpdo_sql_parser.re235 buf = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0);
H A Dpdo_stmt.c534 zend_string *str = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0); in fetch_value()
/php-src/ext/pdo_pgsql/
H A Dpgsql_statement.c371 zend_string *str = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in pgsql_stmt_param_hook()
/php-src/main/
H A Dphp_streams.h480 #define PHP_STREAM_COPY_ALL ((size_t)-1) macro
/php-src/ext/pdo_firebird/
H A Dfirebird_statement.c627 zend_string *mem = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in pdo_firebird_stmt_param_hook()
/php-src/ext/pdo_mysql/
H A Dmysql_statement.c453 zend_string *mem = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in pdo_mysql_stmt_param_hook()
/php-src/ext/tidy/
H A Dtidy.c377 if ((data = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0)) == NULL) { in php_tidy_file_to_mem()
/php-src/ext/sqlite3/
H A Dsqlite3.c1550 buffer = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0); in php_sqlite3_bind_params()

Completed in 116 milliseconds

12