/PHP-8.0/main/streams/ |
H A D | cast.c | 271 int retcopy = php_stream_copy_to_stream_ex(stream, newstream, PHP_STREAM_COPY_ALL, NULL); in _php_stream_cast() 397 if (php_stream_copy_to_stream_ex(origstream, *newstream, PHP_STREAM_COPY_ALL, NULL) != SUCCESS) { in _php_stream_make_seekable()
|
H A D | streams.c | 1462 if (maxlen == PHP_STREAM_COPY_ALL) { in _php_stream_copy_to_mem() 1547 if (maxlen == PHP_STREAM_COPY_ALL) { in _php_stream_copy_to_stream_ex()
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_webdata_transfer.c | 56 if ((str = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0))) { in phpdbg_webdata_compress()
|
/PHP-8.0/ext/phar/ |
H A D | tar.c | 1035 len = PHP_STREAM_COPY_ALL; in phar_tar_flush() 1343 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush() 1352 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush() 1363 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush() 1370 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
|
H A D | phar.c | 1711 if (SUCCESS != php_stream_copy_to_stream_ex(fp, temp, PHP_STREAM_COPY_ALL, NULL)) { in phar_open_from_fp() 1757 if (SUCCESS != php_stream_copy_to_stream_ex(fp, temp, PHP_STREAM_COPY_ALL, NULL)) { in phar_open_from_fp() 2636 len = PHP_STREAM_COPY_ALL; in phar_flush() 3240 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_flush() 3249 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_flush() 3256 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_flush()
|
H A D | zip.c | 1279 len = PHP_STREAM_COPY_ALL; in phar_zip_flush() 1466 int ret = php_stream_copy_to_stream_ex(pass.centralfp, pass.filefp, PHP_STREAM_COPY_ALL, &clen); in phar_zip_flush() 1534 php_stream_copy_to_stream_ex(pass.filefp, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_zip_flush()
|
H A D | func_interceptors.c | 119 maxlen = (ssize_t) PHP_STREAM_COPY_ALL; in PHAR_FUNC()
|
H A D | util.c | 1510 …if (!pfp || !(pubkey = php_stream_copy_to_mem(pfp, PHP_STREAM_COPY_ALL, 0)) || !ZSTR_LEN(pubkey)) { in phar_verify_signature()
|
H A D | phar_object.c | 1657 php_stream_copy_to_stream_ex(fp, p_obj->fp, PHP_STREAM_COPY_ALL, &contents_len); in phar_build() 3634 php_stream_copy_to_stream_ex(contents_file, data->fp, PHP_STREAM_COPY_ALL, &contents_len); in phar_add_file()
|
/PHP-8.0/ext/dba/libinifile/ |
H A D | inifile.c | 495 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-8.0/ext/pdo_sqlite/ |
H A D | sqlite_statement.c | 140 zend_string *mem = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in pdo_sqlite_stmt_param_hook()
|
/PHP-8.0/ext/mbstring/ |
H A D | mb_gpc.c | 362 post_data_str = php_stream_copy_to_mem(SG(request_info).request_body, PHP_STREAM_COPY_ALL, 0); in SAPI_POST_HANDLER_FUNC()
|
/PHP-8.0/ext/standard/ |
H A D | exec.c | 544 ret = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0);
|
H A D | streamsfuncs.c | 445 maxlen = (ssize_t) PHP_STREAM_COPY_ALL; in PHP_FUNCTION() 446 } else if (maxlen < 0 && maxlen != (ssize_t)PHP_STREAM_COPY_ALL) { in PHP_FUNCTION() 500 maxlen = PHP_STREAM_COPY_ALL; in PHP_FUNCTION()
|
H A D | file.c | 546 maxlen = (ssize_t) PHP_STREAM_COPY_ALL; in PHP_FUNCTION() 637 if (php_stream_copy_to_stream_ex(srcstream, stream, PHP_STREAM_COPY_ALL, &len) != SUCCESS) { in PHP_FUNCTION() 762 if ((target_buf = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0)) != NULL) { in PHP_FUNCTION() 1705 ret = php_stream_copy_to_stream_ex(srcstream, deststream, PHP_STREAM_COPY_ALL, NULL); in php_copy_file_ctx()
|
H A D | image.c | 220 bufz = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0); in php_handle_swc()
|
/PHP-8.0/docs/ |
H A D | streams.md | 112 `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-8.0/ext/mysqlnd/ |
H A D | mysqlnd_auth.c | 891 if ((key_str = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0)) != NULL) { in mysqlnd_sha256_get_rsa_key() 1174 if ((key_str = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0)) != NULL) { in mysqlnd_caching_sha2_get_key()
|
/PHP-8.0/ext/pdo/ |
H A D | pdo_sql_parser.re | 242 buf = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0);
|
/PHP-8.0/main/ |
H A D | php_streams.h | 453 #define PHP_STREAM_COPY_ALL ((size_t)-1) macro
|
/PHP-8.0/ext/pdo_pgsql/ |
H A D | pgsql_statement.c | 366 zend_string *str = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in pgsql_stmt_param_hook()
|
/PHP-8.0/ext/pdo_mysql/ |
H A D | mysql_statement.c | 450 zend_string *mem = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in pdo_mysql_stmt_param_hook()
|
/PHP-8.0/ext/pdo_firebird/ |
H A D | firebird_statement.c | 596 zend_string *mem = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in firebird_stmt_param_hook()
|
/PHP-8.0/ext/tidy/ |
H A D | tidy.c | 443 if ((data = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0)) == NULL) { in php_tidy_file_to_mem()
|
/PHP-8.0/ext/sqlite3/ |
H A D | sqlite3.c | 1554 buffer = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0); in php_sqlite3_bind_params()
|