Home
last modified time | relevance | path

Searched refs:php_stream_read (Results 1 – 25 of 37) sorted by path

12

/PHP-7.4/docs/
H A Dstreams.md24 PHPAPI size_t php_stream_read(php_stream * stream, char * buf, size_t count);
/PHP-7.4/ext/com_dotnet/
H A Dcom_persist.c108 nread = (ULONG)php_stream_read(stm->stream, pv, cb); in stm_read()
/PHP-7.4/ext/curl/
H A Dinterface.c2118 numread = php_stream_read(cb_arg->stream, buffer, nitems * size); in read_cb()
/PHP-7.4/ext/dba/
H A Ddba_cdb.c213 # define cdb_file_read(fildes, buf, size) php_stream_read(fildes, buf, size)
/PHP-7.4/ext/dba/libcdb/
H A Dcdb.c113 r = php_stream_read(c->fp, buf, len); in cdb_read()
/PHP-7.4/ext/dba/libflatfile/
H A Dflatfile.c94 value_datum.dsize = php_stream_read(dba->fp, value_datum.dptr, value_datum.dsize); in flatfile_fetch()
128 num = php_stream_read(dba->fp, buf, num); in flatfile_delete()
149 num = php_stream_read(dba->fp, buf, num); in flatfile_delete()
176 num = php_stream_read(dba->fp, buf, num); in flatfile_findkey()
192 num = php_stream_read(dba->fp, buf, num); in flatfile_findkey()
217 num = php_stream_read(dba->fp, buf, num); in flatfile_firstkey()
233 num = php_stream_read(dba->fp, buf, num); in flatfile_firstkey()
260 num = php_stream_read(dba->fp, buf, num); in flatfile_nextkey()
270 num = php_stream_read(dba->fp, buf, num); in flatfile_nextkey()
/PHP-7.4/ext/exif/
H A Dexif.c3369 fgot = php_stream_read(ImageInfo->infile, value_ptr, byte_count); in exif_process_IFD_TAG_impl()
3891 …got = php_stream_read(ImageInfo->infile, (char*)(Data+2), itemlen-2); /* Read the whole section. */ in exif_scan_JPEG_header()
3909 got = php_stream_read(ImageInfo->infile, (char*)Data, size); in exif_scan_JPEG_header()
4086 php_stream_read(ImageInfo->infile, (char*)ImageInfo->file.list[sn].data, 2); in exif_process_IFD_in_TIFF_impl()
4096 php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+2), dir_size-2); in exif_process_IFD_in_TIFF_impl()
4185php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+dir_size), ifd_size-dir_s… in exif_process_IFD_in_TIFF_impl()
4236 … fgot = php_stream_read(ImageInfo->infile, ImageInfo->Thumbnail.data, ImageInfo->Thumbnail.size); in exif_process_IFD_in_TIFF_impl()
4273 … fgot = php_stream_read(ImageInfo->infile, ImageInfo->Thumbnail.data, ImageInfo->Thumbnail.size); in exif_process_IFD_in_TIFF_impl()
4328 if (php_stream_read(ImageInfo->infile, (char*)file_header, 2) != 2) { in exif_scan_FILE_header()
4339 if (php_stream_read(ImageInfo->infile, (char*)(file_header+2), 6) != 6) { in exif_scan_FILE_header()
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch758 + if (php_stream_read(stream, map->p, (size_t)st.sb.st_size) != (size_t)st.sb.st_size) {
3017 + if ((nbytes = php_stream_read(stream, (char *)buf, ms->bytes_max - nbytes)) < 0) {
/PHP-7.4/ext/fileinfo/libmagic/
H A Dapprentice.c3039 if (php_stream_read(stream, map->p, (size_t)st.sb.st_size) != (size_t)st.sb.st_size) { in apprentice_map()
H A Dmagic.c279 if ((nbytes = php_stream_read(stream, (char *)buf, ms->bytes_max - nbytes)) < 0) { in file_or_stream()
/PHP-7.4/ext/gd/
H A Dgd.c1457 while (b < hdr_size && (n = php_stream_read(stream, (char*)&font[b], hdr_size - b)) > 0) { in PHP_FUNCTION()
1507 while (b < body_size && (n = php_stream_read(stream, &font->data[b], body_size - b)) > 0) { in PHP_FUNCTION()
/PHP-7.4/ext/hash/
H A Dhash.c154 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in php_hash_do_hash()
287 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in php_hash_do_hash_hmac()
468 if ((n = php_stream_read(stream, buf, toread)) <= 0) { in PHP_FUNCTION()
506 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in PHP_FUNCTION()
H A Dhash_md.c156 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in PHP_NAMED_FUNCTION()
H A Dhash_sha.c138 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in PHP_FUNCTION()
/PHP-7.4/ext/libxml/
H A Dlibxml.c384 return php_stream_read((php_stream*)context, buffer, len); in php_libxml_streams_IO_read()
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_loaddata.c74 count = (int) php_stream_read(info->fd, (char *) buf, buf_len); in mysqlnd_local_infile_read()
H A Dmysqlnd_vio.c89 ssize_t ret = php_stream_read(net_stream, (char *) p, to_read); in MYSQLND_METHOD()
458 bytes_consumed = php_stream_read(net_stream, tmp_buf, sizeof(tmp_buf)); in MYSQLND_METHOD()
/PHP-7.4/ext/pdo_oci/
H A Doci_statement.c412 n = php_stream_read(stm, buf, sizeof(buf)); in oci_stmt_param_hook()
/PHP-7.4/ext/pdo_odbc/
H A Dodbc_stmt.c237 len = php_stream_read(stm, buf, 8192); in odbc_stmt_execute()
435 len = php_stream_read(stm, ptr, amount); in odbc_stmt_param_hook()
/PHP-7.4/ext/phar/
H A Dphar.c696 if (3 != php_stream_read(fp, buffer, 3)) { in phar_parse_pharfile()
728 if (4 != php_stream_read(fp, buffer, 4)) { in phar_parse_pharfile()
784 || 8 != php_stream_read(fp, sig_buf, 8) in phar_parse_pharfile()
804 || 4 != php_stream_read(fp, sig_buf, 4)) { in phar_parse_pharfile()
821 || signature_len != php_stream_read(fp, sig, signature_len)) { in phar_parse_pharfile()
851 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) { in phar_parse_pharfile()
878 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) { in phar_parse_pharfile()
905 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) { in phar_parse_pharfile()
932 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) { in phar_parse_pharfile()
2379 if (sizeof(desc) != php_stream_read(phar_get_entrypfp(idata->internal_file), in phar_postprocess_file()
[all …]
H A Dphar_object.c199 got = php_stream_read(fp, buf, MIN(8192, info->uncompressed_filesize - position)); in phar_file_action()
4005 if (len != php_stream_read(fp, ZSTR_VAL(buf), len)) { in PHP_METHOD()
H A Dstream.c384 …got = php_stream_read(data->fp, buf, MIN(count, (size_t)(entry->uncompressed_filesize - data->posi… in phar_stream_read()
H A Dtar.c169 read = php_stream_read(fp, metadata, entry->uncompressed_filesize); in phar_tar_process_metadata()
231 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
306 read = php_stream_read(fp, buf, size); in phar_parse_tarfile()
347 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
388 read = php_stream_read(fp, entry.filename, entry.filename_len); in phar_parse_tarfile()
415 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
550 read = php_stream_read(fp, buf, size); in phar_parse_tarfile()
602 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
H A Dutil.c1571 while (read_size && (len = php_stream_read(fp, (char*)buf, read_size)) > 0) { in phar_verify_signature()
1619 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) { in phar_verify_signature()
1659 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) { in phar_verify_signature()
1699 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) { in phar_verify_signature()
1739 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) { in phar_verify_signature()
1788 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) { in phar_create_signature()
1803 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) { in phar_create_signature()
1853 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) { in phar_create_signature()
1901 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) { in phar_create_signature()
1916 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()
223 if (!php_stream_read(fp, buf, size)) { in phar_parse_zipfile()
371 if (sizeof(zipentry) != php_stream_read(fp, (char *) &zipentry, sizeof(zipentry))) { in phar_parse_zipfile()
406 if (entry.filename_len != php_stream_read(fp, entry.filename, entry.filename_len)) { in phar_parse_zipfile()
453 read = php_stream_read(fp, sig, entry.uncompressed_filesize); in phar_parse_zipfile()
556 …if (PHAR_GET_16(zipentry.comment_len) != php_stream_read(fp, buf, PHAR_GET_16(zipentry.comment_len… in phar_parse_zipfile()
584 if (sizeof(local) != php_stream_read(fp, (char *) &local, sizeof(local))) { in phar_parse_zipfile()

Completed in 146 milliseconds

12