Home
last modified time | relevance | path

Searched refs:php_stream_read (Results 1 – 25 of 37) sorted by last modified time

12

/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/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 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()
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 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()
/PHP-7.4/main/
H A Dphp_variables.c387 ssize_t len = php_stream_read(s, buf, SAPI_POST_HANDLER_BUFSIZ); in SAPI_POST_HANDLER_FUNC()
H A Dphp_streams.h309 #define php_stream_read(stream, buf, count) _php_stream_read((stream), (buf), (count)) macro
/PHP-7.4/main/streams/
H A Dstreams.c766 ssize_t read = php_stream_read(stream, ZSTR_VAL(str), len); in php_stream_read_to_str()
812 if (php_stream_read(stream, &buf, 1) > 0) { in _php_stream_getc()
1111 ZSTR_LEN(ret_buf) = php_stream_read(stream, ZSTR_VAL(ret_buf), tent_ret_len); in php_stream_get_record()
1363 if ((didread = php_stream_read(stream, tmp, MIN(offset, sizeof(tmp)))) <= 0) { in _php_stream_seek()
1442 while ((b = php_stream_read(stream, buf, sizeof(buf))) > 0) { in _php_stream_passthru()
1477 ret = php_stream_read(src, ptr, maxlen - len); in _php_stream_copy_to_mem()
1516 while ((ret = php_stream_read(src, ptr, max_len - len)) > 0){ in _php_stream_copy_to_mem()
1625 didread = php_stream_read(src, buf, readchunk); in _php_stream_copy_to_stream_ex()
2069 …if (sizeof(php_stream_dirent) == php_stream_read(dirstream, (char*)ent, sizeof(php_stream_dirent))…
H A Dcast.c65 ret = php_stream_read((php_stream*)cookie, buffer, size); in stream_cookie_reader()
95 ret = php_stream_read(((php_stream *)cookie), buffer, size); in stream_cookie_reader()
H A Dmemory.c412 got = php_stream_read(ts->innerstream, buf, count); in php_stream_temp_read()
H A Dtransports.c400 return php_stream_read(stream, buf, buflen); in php_stream_xport_recvfrom()
/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/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/curl/
H A Dinterface.c2118 numread = php_stream_read(cb_arg->stream, buffer, nitems * size); in read_cb()
/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/standard/
H A Dimage.c290 if (php_stream_read(stream, (char*)a, sizeof(a)) != sizeof(a)) in php_handle_swf()
809 if (php_stream_read(stream, ifd_ptr, 4) != 4) in php_handle_tiff()
816 if (php_stream_read(stream, ifd_data, 2) != 2) { in php_handle_tiff()
889 if (php_stream_read(stream, (char *) a, 8) != 8) { in php_handle_iff()
898 if (php_stream_read(stream, (char*)a, 8) != 8) { in php_handle_iff()
1095 if (php_stream_read(stream, (char *) dim, 2) != 2) in php_handle_ico()
1138 if (php_stream_read(stream, (char *) buf, 18) != 18) in php_handle_webp()
1313 if((php_stream_read(stream, filetype, 3)) != 3) { in php_getimagetype()
1324 if (php_stream_read(stream, filetype+3, 5) != 5) { in php_getimagetype()
1345 if (php_stream_read(stream, filetype+3, 9) != 9) { in php_getimagetype()
[all …]
H A Dexec.c189 while ((read = php_stream_read(stream, buf, EXEC_INPUT_BUF)) > 0) { in php_exec()
H A Dsha1.c87 while ((n = php_stream_read(stream, (char *) buf, sizeof(buf))) > 0) { in PHP_FUNCTION()
H A Dphp_fopen_wrapper.c98 read = php_stream_read(input->body, buf, count); in php_stream_input_read()
H A Dmd5.c97 while ((n = php_stream_read(stream, (char*)buf, sizeof(buf))) > 0) { in PHP_NAMED_FUNCTION()
/PHP-7.4/ext/soap/
H A Dphp_http.c1477 … ssize_t len_read = php_stream_read(stream, http_buf->val + http_buf_size, buf_size - len_size); in get_http_body()
1535 …ssize_t len_read = php_stream_read(stream, http_buf->val + http_buf_size, header_length - http_buf… in get_http_body()
1549 len_read = php_stream_read(stream, http_buf->val + http_buf_size, 4096); in get_http_body()
/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/com_dotnet/
H A Dcom_persist.c108 nread = (ULONG)php_stream_read(stm->stream, pv, cb); in stm_read()
/PHP-7.4/ext/pdo_oci/
H A Doci_statement.c412 n = php_stream_read(stm, buf, sizeof(buf)); in oci_stmt_param_hook()

Completed in 134 milliseconds

12