Home
last modified time | relevance | path

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

12

/PHP-8.4/main/streams/
H A Dcast.c276 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 Dstreams.c1530 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 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-8.4/ext/mbstring/
H A Dmb_gpc.c301 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 Dtar.c1294 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 Dphar.c1707 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 Dzip.c1466 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 Dfunc_interceptors.c183 maxlen = (ssize_t) PHP_STREAM_COPY_ALL; in PHP_FUNCTION()
H A Dphar_object.c1673 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 Dutil.c1587 …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 Dsqlite_statement.c141 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 Dexec.c535 ret = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0);
H A Dfile.c406 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 Dstreamsfuncs.c457 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 Dimage.c190 bufz = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0); in php_handle_swc()
/PHP-8.4/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-8.4/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-8.4/ext/pdo/
H A Dpdo_sql_parser.re248 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-8.4/ext/pdo_pgsql/
H A Dpgsql_statement.c380 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 Dphp_streams.h476 #define PHP_STREAM_COPY_ALL ((size_t)-1) macro
/PHP-8.4/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-8.4/ext/pdo_firebird/
H A Dfirebird_statement.c706 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 Dtidy.c395 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 Dsqlite3.c1549 buffer = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0); in php_sqlite3_bind_params()

Completed in 103 milliseconds

12