/PHP-8.4/main/streams/ |
H A D | cast.c | 276 int retcopy = php_stream_copy_to_stream_ex(stream, newstream, PHP_STREAM_COPY_ALL, NULL); in _php_stream_cast() 402 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 | 1530 if (maxlen == PHP_STREAM_COPY_ALL) { in _php_stream_copy_to_mem() 1656 if ((maxlen != PHP_STREAM_COPY_ALL && nbytes == maxlen) || php_stream_eof(src)) { in _php_stream_copy_to_stream_ex() 1700 if (maxlen == PHP_STREAM_COPY_ALL) { in _php_stream_copy_to_stream_ex()
|
/PHP-8.4/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.4/ext/mbstring/ |
H A D | mb_gpc.c | 301 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.4/ext/phar/ |
H A D | tar.c | 1294 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush() 1303 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush() 1314 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush() 1321 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_tar_flush()
|
H A D | phar.c | 1707 if (SUCCESS != php_stream_copy_to_stream_ex(fp, temp, PHP_STREAM_COPY_ALL, NULL)) { in phar_open_from_fp() 1753 if (SUCCESS != php_stream_copy_to_stream_ex(fp, temp, PHP_STREAM_COPY_ALL, NULL)) { in phar_open_from_fp() 3182 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_flush_ex() 3191 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_flush_ex() 3198 php_stream_copy_to_stream_ex(newfile, phar->fp, PHP_STREAM_COPY_ALL, NULL); in phar_flush_ex()
|
H A D | zip.c | 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 | 183 maxlen = (ssize_t) PHP_STREAM_COPY_ALL; in PHP_FUNCTION()
|
H A D | phar_object.c | 1673 php_stream_copy_to_stream_ex(fp, p_obj->fp, PHP_STREAM_COPY_ALL, &contents_len); in phar_build() 2895 stub_file_content = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, false); in PHP_METHOD() 3665 php_stream_copy_to_stream_ex(contents_file, data->fp, PHP_STREAM_COPY_ALL, &contents_len); in phar_add_file()
|
H A D | util.c | 1587 …if (!pfp || !(pubkey = php_stream_copy_to_mem(pfp, PHP_STREAM_COPY_ALL, 0)) || !ZSTR_LEN(pubkey)) { in phar_verify_signature()
|
/PHP-8.4/ext/pdo_sqlite/ |
H A D | sqlite_statement.c | 141 zend_string *mem = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in pdo_sqlite_stmt_param_hook()
|
/PHP-8.4/ext/standard/ |
H A D | exec.c | 535 ret = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0);
|
H A D | file.c | 406 maxlen = (ssize_t) PHP_STREAM_COPY_ALL; in PHP_FUNCTION() 503 if (php_stream_copy_to_stream_ex(srcstream, stream, PHP_STREAM_COPY_ALL, &len) != SUCCESS) { in PHP_FUNCTION() 629 if ((target_buf = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0)) != NULL) { in PHP_FUNCTION() 1578 ret = php_stream_copy_to_stream_ex(srcstream, deststream, PHP_STREAM_COPY_ALL, NULL); in php_copy_file_ctx()
|
H A D | streamsfuncs.c | 457 maxlen = (ssize_t) PHP_STREAM_COPY_ALL; in PHP_FUNCTION() 458 } else if (maxlen < 0 && maxlen != (ssize_t)PHP_STREAM_COPY_ALL) { in PHP_FUNCTION() 512 maxlen = PHP_STREAM_COPY_ALL; in PHP_FUNCTION()
|
H A D | image.c | 190 bufz = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0); in php_handle_swc()
|
/PHP-8.4/ext/mysqlnd/ |
H A D | mysqlnd_auth.c | 881 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-8.4/docs-old/ |
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.4/ext/pdo/ |
H A D | pdo_sql_parser.re | 248 buf = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0);
|
H A D | pdo_stmt.c | 534 zend_string *str = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0); in fetch_value()
|
/PHP-8.4/ext/pdo_pgsql/ |
H A D | pgsql_statement.c | 380 zend_string *str = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in pgsql_stmt_param_hook()
|
/PHP-8.4/main/ |
H A D | php_streams.h | 476 #define PHP_STREAM_COPY_ALL ((size_t)-1) macro
|
/PHP-8.4/ext/pdo_mysql/ |
H A D | mysql_statement.c | 453 zend_string *mem = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in pdo_mysql_stmt_param_hook()
|
/PHP-8.4/ext/pdo_firebird/ |
H A D | firebird_statement.c | 706 zend_string *mem = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in pdo_firebird_stmt_param_hook()
|
/PHP-8.4/ext/tidy/ |
H A D | tidy.c | 395 if ((data = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0)) == NULL) { in php_tidy_file_to_mem()
|
/PHP-8.4/ext/sqlite3/ |
H A D | sqlite3.c | 1549 buffer = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0); in php_sqlite3_bind_params()
|