Home
last modified time | relevance | path

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

12

/PHP-7.4/main/streams/
H A Dcast.c273 int retcopy = php_stream_copy_to_stream_ex(stream, newstream, PHP_STREAM_COPY_ALL, NULL); in _php_stream_cast()
399 if (php_stream_copy_to_stream_ex(origstream, *newstream, PHP_STREAM_COPY_ALL, NULL) != SUCCESS) { in _php_stream_make_seekable()
H A Dstreams.c1469 if (maxlen == PHP_STREAM_COPY_ALL) { in _php_stream_copy_to_mem()
1555 if (maxlen == PHP_STREAM_COPY_ALL) { in _php_stream_copy_to_stream_ex()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_webdata_transfer.c58 if ((str = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0))) { in phpdbg_webdata_compress()
/PHP-7.4/ext/phar/
H A Dtar.c1041 len = PHP_STREAM_COPY_ALL; in phar_tar_flush()
1349 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1358 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1369 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
1376 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
H A Dphar.c1660 if (SUCCESS != php_stream_copy_to_stream_ex(fp, temp, PHP_STREAM_COPY_ALL, NULL)) { in phar_open_from_fp()
1706 if (SUCCESS != php_stream_copy_to_stream_ex(fp, temp, PHP_STREAM_COPY_ALL, NULL)) { in phar_open_from_fp()
2585 len = PHP_STREAM_COPY_ALL; in phar_flush()
3190 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_flush()
3199 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_flush()
3206 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_flush()
H A Dzip.c1299 len = PHP_STREAM_COPY_ALL; in phar_zip_flush()
1494 int ret = php_stream_copy_to_stream_ex(pass.centralfp, pass.filefp, PHP_STREAM_COPY_ALL, &clen); in phar_zip_flush()
1564 php_stream_copy_to_stream_ex(pass.filefp, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_zip_flush()
H A Dfunc_interceptors.c100 zend_long maxlen = PHP_STREAM_COPY_ALL; in PHAR_FUNC()
H A Dutil.c1506 …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.c1686 php_stream_copy_to_stream_ex(fp, p_obj->fp, PHP_STREAM_COPY_ALL, &contents_len); in phar_build()
3688 php_stream_copy_to_stream_ex(contents_file, data->fp, PHP_STREAM_COPY_ALL, &contents_len); in phar_add_file()
/PHP-7.4/ext/dba/libinifile/
H A Dinifile.c504 if (SUCCESS != php_stream_copy_to_stream_ex(dba->fp, fp_tmp, PHP_STREAM_COPY_ALL, NULL)) { in inifile_delete_replace_append()
545 if (SUCCESS != php_stream_copy_to_stream_ex(fp_tmp, dba->fp, PHP_STREAM_COPY_ALL, NULL)) { in inifile_delete_replace_append()
/PHP-7.4/ext/mbstring/
H A Dmb_gpc.c370 post_data_str = php_stream_copy_to_mem(SG(request_info).request_body, PHP_STREAM_COPY_ALL, 0); in SAPI_POST_HANDLER_FUNC()
/PHP-7.4/ext/pdo_sqlite/
H A Dsqlite_statement.c182 zend_string *mem = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in pdo_sqlite_stmt_param_hook()
/PHP-7.4/ext/standard/
H A Dexec.c559 ret = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0);
H A Dstreamsfuncs.c421 zend_long maxlen = (ssize_t) PHP_STREAM_COPY_ALL, in PHP_FUNCTION()
432 if (maxlen < 0 && maxlen != (ssize_t)PHP_STREAM_COPY_ALL) { in PHP_FUNCTION()
473 zend_long maxlen = PHP_STREAM_COPY_ALL, pos = 0; in PHP_FUNCTION()
H A Dfile.c532 zend_long maxlen = (ssize_t) PHP_STREAM_COPY_ALL; in PHP_FUNCTION()
638 if (php_stream_copy_to_stream_ex(srcstream, stream, PHP_STREAM_COPY_ALL, &len) != SUCCESS) { in PHP_FUNCTION()
764 if ((target_buf = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0)) != NULL) { in PHP_FUNCTION()
1769 ret = php_stream_copy_to_stream_ex(srcstream, deststream, PHP_STREAM_COPY_ALL, NULL); in php_copy_file_ctx()
H A Dimage.c228 bufz = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0); in php_handle_swc()
/PHP-7.4/docs/
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-7.4/ext/mysqlnd/
H A Dmysqlnd_auth.c893 if ((key_str = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0)) != NULL) { in mysqlnd_sha256_get_rsa_key()
1176 if ((key_str = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0)) != NULL) { in mysqlnd_caching_sha2_get_key()
/PHP-7.4/ext/pdo/
H A Dpdo_sql_parser.re243 buf = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0);
/PHP-7.4/main/
H A Dphp_streams.h451 #define PHP_STREAM_COPY_ALL ((size_t)-1) macro
/PHP-7.4/ext/pdo_pgsql/
H A Dpgsql_statement.c362 zend_string *str = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in pgsql_stmt_param_hook()
/PHP-7.4/ext/pdo_mysql/
H A Dmysql_statement.c532 zend_string *mem = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in pdo_mysql_stmt_param_hook()
/PHP-7.4/ext/pdo_firebird/
H A Dfirebird_statement.c598 zend_string *mem = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in firebird_stmt_param_hook()
/PHP-7.4/ext/tidy/
H A Dtidy.c686 if ((data = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0)) == NULL) { in php_tidy_file_to_mem()
/PHP-7.4/ext/sqlite3/
H A Dsqlite3.c1578 buffer = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0); in php_sqlite3_bind_params()

Completed in 216 milliseconds

12