Home
last modified time | relevance | path

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

12

/PHP-7.2/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.2/ext/standard/
H A Dimage.c292 if (php_stream_read(stream, (char*)a, sizeof(a)) != sizeof(a)) in php_handle_swf()
811 if (php_stream_read(stream, ifd_ptr, 4) != 4) in php_handle_tiff()
818 if (php_stream_read(stream, ifd_data, 2) != 2) { in php_handle_tiff()
891 if (php_stream_read(stream, (char *) a, 8) != 8) { in php_handle_iff()
900 if (php_stream_read(stream, (char*)a, 8) != 8) { in php_handle_iff()
1097 if (php_stream_read(stream, (char *) dim, 2) != 2) in php_handle_ico()
1134 if (php_stream_read(stream, (char *) buf, 18) != 18) in php_handle_webp()
1289 if((php_stream_read(stream, filetype, 3)) != 3) { in php_getimagetype()
1300 if (php_stream_read(stream, filetype+3, 5) != 5) { in php_getimagetype()
1321 if (php_stream_read(stream, filetype+3, 9) != 9) { in php_getimagetype()
[all …]
H A Dphp_fopen_wrapper.c98 read = php_stream_read(input->body, buf, count); in php_stream_input_read()
H A Dexec.c185 while((bufl = php_stream_read(stream, buf, EXEC_INPUT_BUF)) > 0) { in php_exec()
H A Dmd5.c102 while ((n = php_stream_read(stream, (char*)buf, sizeof(buf))) > 0) { in PHP_NAMED_FUNCTION()
H A Dsha1.c92 while ((n = php_stream_read(stream, (char *) buf, sizeof(buf))) > 0) { in PHP_FUNCTION()
/PHP-7.2/ext/dba/libcdb/
H A Dcdb.c113 r = php_stream_read(c->fp, buf, len); in cdb_read()
/PHP-7.2/main/streams/
H A Dcast.c67 ret = php_stream_read((php_stream*)cookie, buffer, size); in stream_cookie_reader()
96 ret = php_stream_read(((php_stream *)cookie), buffer, size); in stream_cookie_reader()
H A Dstreams.c761 if (php_stream_read(stream, &buf, 1) > 0) { in _php_stream_getc()
1060 ZSTR_LEN(ret_buf) = php_stream_read(stream, ZSTR_VAL(ret_buf), tent_ret_len); in php_stream_get_record()
1305 if ((didread = php_stream_read(stream, tmp, MIN(offset, sizeof(tmp)))) == 0) { in _php_stream_seek()
1384 while ((b = php_stream_read(stream, buf, sizeof(buf))) > 0) { in _php_stream_passthru()
1415 ret = php_stream_read(src, ptr, maxlen - len); in _php_stream_copy_to_mem()
1452 while ((ret = php_stream_read(src, ptr, max_len - len))) { in _php_stream_copy_to_mem()
1537 didread = php_stream_read(src, buf, readchunk); in _php_stream_copy_to_stream_ex()
1982 …if (sizeof(php_stream_dirent) == php_stream_read(dirstream, (char*)ent, sizeof(php_stream_dirent))…
H A Dtransports.c407 return php_stream_read(stream, buf, buflen); in php_stream_xport_recvfrom()
/PHP-7.2/ext/phar/
H A Dtar.c169 read = php_stream_read(fp, metadata, entry->uncompressed_filesize); in phar_tar_process_metadata()
223 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
288 read = php_stream_read(fp, buf, size); in phar_parse_tarfile()
328 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
369 read = php_stream_read(fp, entry.filename, entry.filename_len); in phar_parse_tarfile()
396 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
531 read = php_stream_read(fp, buf, size); in phar_parse_tarfile()
583 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
H A Dutil.c1575 while (read_size && (len = php_stream_read(fp, (char*)buf, read_size)) > 0) { in phar_verify_signature()
1622 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) { in phar_verify_signature()
1662 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) { in phar_verify_signature()
1710 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) { in phar_verify_signature()
1750 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) { in phar_verify_signature()
1800 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) { in phar_create_signature()
1815 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) { in phar_create_signature()
1873 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) { in phar_create_signature()
1917 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) { in phar_create_signature()
1932 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()
193 if (!php_stream_read(fp, buf, size)) { in phar_parse_zipfile()
343 if (sizeof(zipentry) != php_stream_read(fp, (char *) &zipentry, sizeof(zipentry))) { in phar_parse_zipfile()
378 if (entry.filename_len != php_stream_read(fp, entry.filename, entry.filename_len)) { in phar_parse_zipfile()
419 read = php_stream_read(fp, sig, entry.uncompressed_filesize); in phar_parse_zipfile()
521 …if (PHAR_GET_16(zipentry.comment_len) != php_stream_read(fp, buf, PHAR_GET_16(zipentry.comment_len… in phar_parse_zipfile()
549 if (sizeof(local) != php_stream_read(fp, (char *) &local, sizeof(local))) { in phar_parse_zipfile()
H A Dphar.c693 if (3 != php_stream_read(fp, buffer, 3)) {
725 if (4 != php_stream_read(fp, buffer, 4)) {
781 || 8 != php_stream_read(fp, sig_buf, 8)
801 || 4 != php_stream_read(fp, sig_buf, 4)) {
818 || signature_len != php_stream_read(fp, sig, signature_len)) {
849 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) {
876 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) {
914 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) {
941 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) {
2372 if (sizeof(desc) != php_stream_read(phar_get_entrypfp(idata->internal_file),
[all …]
/PHP-7.2/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.c91 if (!(ret = php_stream_read(net_stream, (char *) p, to_read))) { in MYSQLND_METHOD()
458 skipped_bytes += (bytes_consumed = php_stream_read(net_stream, tmp_buf, sizeof(tmp_buf))); in MYSQLND_METHOD()
H A Dmysqlnd_net.c99 if (!(ret = php_stream_read(net_stream, (char *) p, to_read))) { in MYSQLND_METHOD()
872 skipped_bytes += (bytes_consumed = php_stream_read(net_stream, tmp_buf, sizeof(tmp_buf))); in MYSQLND_METHOD()
/PHP-7.2/ext/dba/
H A Ddba_cdb.c215 # define cdb_file_read(fildes, buf, size) php_stream_read(fildes, buf, size)
/PHP-7.2/ext/fileinfo/libmagic/
H A Dmagic.c269 if ((nbytes = php_stream_read(stream, (char *)buf, ms->bytes_max - nbytes)) < 0) { in file_or_stream()
/PHP-7.2/ext/hash/
H A Dhash.c155 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in php_hash_do_hash()
284 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in php_hash_do_hash_hmac()
462 if ((n = php_stream_read(stream, buf, toread)) <= 0) { in PHP_FUNCTION()
501 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in PHP_FUNCTION()
/PHP-7.2/ext/pdo_odbc/
H A Dodbc_stmt.c238 len = php_stream_read(stm, buf, 8192); in odbc_stmt_execute()
429 len = php_stream_read(stm, ptr, amount); in odbc_stmt_param_hook()
/PHP-7.2/ext/exif/
H A Dexif.c3355 fgot = php_stream_read(ImageInfo->infile, value_ptr, byte_count); in exif_process_IFD_TAG()
3859 …got = php_stream_read(ImageInfo->infile, (char*)(Data+2), itemlen-2); /* Read the whole section. */ in exif_scan_JPEG_header()
3877 got = php_stream_read(ImageInfo->infile, (char*)Data, size); in exif_scan_JPEG_header()
4059 php_stream_read(ImageInfo->infile, (char*)ImageInfo->file.list[sn].data, 2); in exif_process_IFD_in_TIFF()
4069 php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+2), dir_size-2); in exif_process_IFD_in_TIFF()
4158php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+dir_size), ifd_size-dir_s… in exif_process_IFD_in_TIFF()
4210 … fgot = php_stream_read(ImageInfo->infile, ImageInfo->Thumbnail.data, ImageInfo->Thumbnail.size); in exif_process_IFD_in_TIFF()
4248 … fgot = php_stream_read(ImageInfo->infile, ImageInfo->Thumbnail.data, ImageInfo->Thumbnail.size); in exif_process_IFD_in_TIFF()
4288 if (php_stream_read(ImageInfo->infile, (char*)file_header, 2) != 2) { in exif_scan_FILE_header()
4299 if (php_stream_read(ImageInfo->infile, (char*)(file_header+2), 6) != 6) { in exif_scan_FILE_header()
/PHP-7.2/ext/interbase/
H A Dibase_blobs.c564 for (size = 0; (b = php_stream_read(stream, bl_data, sizeof(bl_data))); size += b) { in PHP_FUNCTION()
/PHP-7.2/ext/soap/
H A Dphp_http.c1452 int len_read = php_stream_read(stream, http_buf->val + http_buf_size, buf_size - len_size); in get_http_body()
1510 …int len_read = php_stream_read(stream, http_buf->val + http_buf_size, header_length - http_buf_siz… in get_http_body()
1524 len_read = php_stream_read(stream, http_buf->val + http_buf_size, 4096); in get_http_body()
/PHP-7.2/ext/bz2/
H A Dbz2.c387 ZSTR_LEN(data) = php_stream_read(stream, ZSTR_VAL(data), ZSTR_LEN(data)); in PHP_FUNCTION()

Completed in 131 milliseconds

12