Home
last modified time | relevance | path

Searched refs:php_stream_read (Results 1 – 25 of 36) sorted by relevance

12

/PHP-8.3/ext/dba/libflatfile/
H A Dflatfile.c90 value_datum.dsize = php_stream_read(dba->fp, value_datum.dptr, value_datum.dsize); in flatfile_fetch()
123 num = php_stream_read(dba->fp, buf, num); in flatfile_delete()
144 num = php_stream_read(dba->fp, buf, num); in flatfile_delete()
170 num = php_stream_read(dba->fp, buf, num); in flatfile_findkey()
186 num = php_stream_read(dba->fp, buf, num); in flatfile_findkey()
210 num = php_stream_read(dba->fp, buf, num); in flatfile_firstkey()
226 num = php_stream_read(dba->fp, buf, num); in flatfile_firstkey()
252 num = php_stream_read(dba->fp, buf, num); in flatfile_nextkey()
262 num = php_stream_read(dba->fp, buf, num); in flatfile_nextkey()
/PHP-8.3/ext/standard/
H A Dimage.c251 if (php_stream_read(stream, (char*)a, sizeof(a)) != sizeof(a)) in php_handle_swf()
780 if (php_stream_read(stream, ifd_ptr, 4) != 4) in php_handle_tiff()
787 if (php_stream_read(stream, ifd_data, 2) != 2) { in php_handle_tiff()
859 if (php_stream_read(stream, (char *) a, 8) != 8) { in php_handle_iff()
868 if (php_stream_read(stream, (char*)a, 8) != 8) { in php_handle_iff()
1061 if (php_stream_read(stream, (char *) dim, 2) != 2) in php_handle_ico()
1103 if (php_stream_read(stream, (char *) buf, 18) != 18) in php_handle_webp()
1355 if((php_stream_read(stream, filetype, 3)) != 3) { in php_getimagetype()
1366 if (php_stream_read(stream, filetype+3, 5) != 5) { in php_getimagetype()
1387 if (php_stream_read(stream, filetype+3, 9) != 9) { in php_getimagetype()
[all …]
H A Dcrc32.c141 n = php_stream_read(fp, buf, n); in php_crc32_stream_bulk_update()
H A Dexec.c181 while ((read = php_stream_read(stream, buf, EXEC_INPUT_BUF)) > 0) { in php_exec()
H A Dphp_fopen_wrapper.c96 read = php_stream_read(input->body, buf, count); in php_stream_input_read()
H A Dmd5.c93 while ((n = php_stream_read(stream, (char*)buf, sizeof(buf))) > 0) { in PHP_FUNCTION()
H A Dsha1.c83 while ((n = php_stream_read(stream, (char *) buf, sizeof(buf))) > 0) { in PHP_FUNCTION()
/PHP-8.3/ext/dba/libcdb/
H A Dcdb.c111 r = php_stream_read(c->fp, buf, len); in cdb_read()
/PHP-8.3/main/streams/
H A Dcast.c72 ret = php_stream_read((php_stream*)cookie, buffer, size); in stream_cookie_reader()
102 ret = php_stream_read(((php_stream *)cookie), buffer, size); in stream_cookie_reader()
H A Dstreams.c795 ssize_t read = php_stream_read(stream, ZSTR_VAL(str), len); in php_stream_read_to_str()
841 if (php_stream_read(stream, &buf, 1) > 0) { in _php_stream_getc()
1140 ZSTR_LEN(ret_buf) = php_stream_read(stream, ZSTR_VAL(ret_buf), tent_ret_len); in php_stream_get_record()
1415 if ((didread = php_stream_read(stream, tmp, MIN(offset, sizeof(tmp)))) <= 0) { in _php_stream_seek()
1503 while ((b = php_stream_read(stream, buf, sizeof(buf))) > 0) { in _php_stream_passthru()
1538 ret = php_stream_read(src, ptr, maxlen - len); in _php_stream_copy_to_mem()
1580 while ((ret = php_stream_read(src, ptr, buflen - len)) > 0) { in _php_stream_copy_to_mem()
1774 didread = php_stream_read(src, buf, readchunk); in _php_stream_copy_to_stream_ex()
2174 …if (sizeof(php_stream_dirent) == php_stream_read(dirstream, (char*)ent, sizeof(php_stream_dirent))…
H A Dtransports.c411 return php_stream_read(stream, buf, buflen); in php_stream_xport_recvfrom()
H A Dmemory.c387 got = php_stream_read(ts->innerstream, buf, count); in php_stream_temp_read()
/PHP-8.3/ext/phar/
H A Dtar.c169 read = php_stream_read(fp, metadata, entry->uncompressed_filesize); in phar_tar_process_metadata()
221 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
295 read = php_stream_read(fp, buf, size); in phar_parse_tarfile()
336 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
377 read = php_stream_read(fp, entry.filename, entry.filename_len); in phar_parse_tarfile()
404 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
540 read = php_stream_read(fp, buf, size); in phar_parse_tarfile()
597 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
H A Dutil.c1607 while (read_size && (len = php_stream_read(fp, (char*)buf, read_size)) > 0) { in phar_verify_signature()
1658 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) { in phar_verify_signature()
1698 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) { in phar_verify_signature()
1738 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) { in phar_verify_signature()
1778 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) { in phar_verify_signature()
1827 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) { in phar_create_signature()
1845 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) { in phar_create_signature()
1913 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) { in phar_create_signature()
1959 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) { in phar_create_signature()
1974 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) { in phar_create_signature()
H A Dzip.c51 if (sizeof(h.header) != php_stream_read(fp, (char *) &h.header, sizeof(h.header))) { in phar_zip_process_extra()
63 read = php_stream_read(fp, (char *) &(h.unix3.crc32), sizeof(h.unix3) - sizeof(h.header)); in phar_zip_process_extra()
224 if (!php_stream_read(fp, buf, size)) { in phar_parse_zipfile()
368 if (sizeof(zipentry) != php_stream_read(fp, (char *) &zipentry, sizeof(zipentry))) { in phar_parse_zipfile()
401 if (entry.filename_len != php_stream_read(fp, entry.filename, entry.filename_len)) { in phar_parse_zipfile()
428 if (sizeof(local) != php_stream_read(fp, (char *) &local, sizeof(local))) { in phar_parse_zipfile()
483 read = php_stream_read(fp, sig, entry.uncompressed_filesize); in phar_parse_zipfile()
586 …if (PHAR_GET_16(zipentry.comment_len) != php_stream_read(fp, buf, PHAR_GET_16(zipentry.comment_len… in phar_parse_zipfile()
H A Dphar.c760 if (3 != php_stream_read(fp, buffer, 3)) { in phar_parse_pharfile()
792 if (4 != php_stream_read(fp, buffer, 4)) { in phar_parse_pharfile()
848 || 8 != php_stream_read(fp, sig_buf, 8) in phar_parse_pharfile()
870 || 4 != php_stream_read(fp, sig_buf, 4)) { in phar_parse_pharfile()
887 || signature_len != php_stream_read(fp, sig, signature_len)) { in phar_parse_pharfile()
917 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) { in phar_parse_pharfile()
944 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) { in phar_parse_pharfile()
971 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) { in phar_parse_pharfile()
998 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) { in phar_parse_pharfile()
2418 if (sizeof(desc) != php_stream_read(phar_get_entrypfp(idata->internal_file), in phar_postprocess_file()
[all …]
/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_loaddata.c72 count = (int) php_stream_read(info->fd, (char *) buf, buf_len); in mysqlnd_local_infile_read()
H A Dmysqlnd_vio.c87 ssize_t ret = php_stream_read(net_stream, (char *) p, to_read); in MYSQLND_METHOD()
479 bytes_consumed = php_stream_read(net_stream, tmp_buf, sizeof(tmp_buf)); in MYSQLND_METHOD()
/PHP-8.3/ext/dba/
H A Ddba_cdb.c209 # define cdb_file_read(fildes, buf, size) php_stream_read(fildes, buf, size)
/PHP-8.3/ext/fileinfo/libmagic/
H A Dmagic.c251 if ((nbytes = php_stream_read(stream, (char *)buf, ms->bytes_max - nbytes)) < 0) { in file_or_stream()
/PHP-8.3/ext/hash/
H A Dhash.c391 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in php_hash_do_hash()
539 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in php_hash_do_hash_hmac()
733 if ((n = php_stream_read(stream, buf, toread)) <= 0) { in PHP_FUNCTION()
770 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in PHP_FUNCTION()
/PHP-8.3/ext/pdo_odbc/
H A Dodbc_stmt.c238 len = php_stream_read(stm, buf, 8192); in odbc_stmt_execute()
439 len = php_stream_read(stm, ptr, amount); in odbc_stmt_param_hook()
/PHP-8.3/ext/soap/
H A Dphp_http.c1489 … ssize_t len_read = php_stream_read(stream, http_buf->val + http_buf_size, buf_size - len_size); in get_http_body()
1547 …ssize_t len_read = php_stream_read(stream, http_buf->val + http_buf_size, header_length - http_buf… in get_http_body()
1561 len_read = php_stream_read(stream, http_buf->val + http_buf_size, 4096); in get_http_body()
/PHP-8.3/ext/com_dotnet/
H A Dcom_persist.c107 nread = (ULONG)php_stream_read(stm->stream, pv, cb); in stm_read()
/PHP-8.3/main/
H A Dphp_streams.h326 #define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count)) macro

Completed in 101 milliseconds

12