Home
last modified time | relevance | path

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

12

/PHP-5.5/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-5.5/ext/standard/
H A Dimage.c214 if (php_stream_read(stream, a, sizeof(a)) != sizeof(a)) in php_handle_swc()
279 if (php_stream_read(stream, 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, a, 8) != 8) { in php_handle_iff()
900 if (php_stream_read(stream, a, 8) != 8) { in php_handle_iff()
1090 if (php_stream_read(stream, dim, 2) != 2) in php_handle_ico()
1228 if((php_stream_read(stream, filetype, 3)) != 3) { in php_getimagetype()
1239 if (php_stream_read(stream, filetype+3, 5) != 5) { in php_getimagetype()
1261 if (php_stream_read(stream, filetype+3, 1) != 1) { in php_getimagetype()
[all …]
H A Dexec.c190 while((bufl = php_stream_read(stream, buf, EXEC_INPUT_BUF)) > 0) { in php_exec()
H A Dmd5.c99 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in PHP_NAMED_FUNCTION()
H A Dsha1.c89 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in PHP_FUNCTION()
/PHP-5.5/main/streams/
H A Dcast.c68 ret = php_stream_read((php_stream*)cookie, buffer, size); in stream_cookie_reader()
101 ret = php_stream_read(((php_stream *)cookie), buffer, size); in stream_cookie_reader()
H A Dstreams.c804 if (php_stream_read(stream, &buf, 1) > 0) { in _php_stream_getc()
1103 *returned_len = php_stream_read(stream, ret_buf, tent_ret_len); in php_stream_get_record()
1338 if ((didread = php_stream_read(stream, tmp, MIN(offset, sizeof(tmp)))) == 0) { in _php_stream_seek()
1416 while ((b = php_stream_read(stream, buf, sizeof(buf))) > 0) { in _php_stream_passthru()
1445 ret = php_stream_read(src, ptr, maxlen - len); in _php_stream_copy_to_mem()
1475 while((ret = php_stream_read(src, ptr, max_len - len))) { in _php_stream_copy_to_mem()
1559 didread = php_stream_read(src, buf, readchunk); in _php_stream_copy_to_stream_ex()
2010 …if (sizeof(php_stream_dirent) == php_stream_read(dirstream, (char*)ent, sizeof(php_stream_dirent))…
H A Dtransports.c408 return php_stream_read(stream, buf, buflen); in php_stream_xport_recvfrom()
H A Dmemory.c404 got = php_stream_read(ts->innerstream, buf, count); in php_stream_temp_read()
/PHP-5.5/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.c1629 while (read_size && (len = php_stream_read(fp, (char*)buf, read_size)) > 0) {
1669 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) {
1702 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) {
1743 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) {
1776 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) {
1826 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) {
1841 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) {
1899 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) {
1943 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) {
1958 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) {
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()
355 if (sizeof(zipentry) != php_stream_read(fp, (char *) &zipentry, sizeof(zipentry))) { in phar_parse_zipfile()
390 if (entry.filename_len != php_stream_read(fp, entry.filename, entry.filename_len)) { in phar_parse_zipfile()
432 read = php_stream_read(fp, sig, entry.uncompressed_filesize); in phar_parse_zipfile()
534 …if (PHAR_GET_16(zipentry.comment_len) != php_stream_read(fp, buf, PHAR_GET_16(zipentry.comment_len… in phar_parse_zipfile()
569 if (sizeof(local) != php_stream_read(fp, (char *) &local, sizeof(local))) { in phar_parse_zipfile()
H A Dphar.c677 if (3 != php_stream_read(fp, buffer, 3)) {
709 if (4 != php_stream_read(fp, buffer, 4)) {
724 if (manifest_len < 10 || manifest_len != php_stream_read(fp, buffer, manifest_len)) {
765 || 8 != php_stream_read(fp, sig_buf, 8)
785 || 4 != php_stream_read(fp, sig_buf, 4)) {
802 || signature_len != php_stream_read(fp, sig, signature_len)) {
833 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) {
860 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) {
898 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) {
925 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) {
[all …]
/PHP-5.5/ext/dba/libcdb/
H A Dcdb.c113 r = php_stream_read(c->fp, buf, len); in cdb_read()
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_loaddata.c76 count = (int)php_stream_read(info->fd, (char *) buf, buf_len); in mysqlnd_local_infile_read()
H A Dmysqlnd_net.c80 if (!(ret = php_stream_read(net_stream, (char *) p, to_read))) { in MYSQLND_METHOD()
825 skipped_bytes += (bytes_consumed = php_stream_read(net_stream, tmp_buf, sizeof(tmp_buf))); in MYSQLND_METHOD()
/PHP-5.5/ext/hash/
H A Dhash.c163 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in php_hash_do_hash()
285 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in php_hash_do_hash_hmac()
446 if ((n = php_stream_read(stream, buf, toread)) <= 0) { in PHP_FUNCTION()
483 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in PHP_FUNCTION()
/PHP-5.5/ext/dba/
H A Ddba_cdb.c215 # define cdb_file_read(fildes, buf, size) php_stream_read(fildes, buf, size)
/PHP-5.5/ext/fileinfo/libmagic/
H A Dmagic.c407 if ((nbytes = php_stream_read(stream, (char *)buf, HOWMANY)) < 0) { in file_or_stream()
/PHP-5.5/ext/exif/
H A Dexif.c2918 fgot = php_stream_read(ImageInfo->infile, value_ptr, byte_count); in exif_process_IFD_TAG()
3389 …got = php_stream_read(ImageInfo->infile, (char*)(Data+2), itemlen-2); /* Read the whole section. */ in exif_scan_JPEG_header()
3407 got = php_stream_read(ImageInfo->infile, (char*)Data, size); in exif_scan_JPEG_header()
3583 php_stream_read(ImageInfo->infile, (char*)ImageInfo->file.list[sn].data, 2); in exif_process_IFD_in_TIFF()
3593 php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+2), dir_size-2); in exif_process_IFD_in_TIFF()
3682php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+dir_size), ifd_size-dir_s… in exif_process_IFD_in_TIFF()
3734 … fgot = php_stream_read(ImageInfo->infile, ImageInfo->Thumbnail.data, ImageInfo->Thumbnail.size); in exif_process_IFD_in_TIFF()
3768 … fgot = php_stream_read(ImageInfo->infile, ImageInfo->Thumbnail.data, ImageInfo->Thumbnail.size); in exif_process_IFD_in_TIFF()
3805 if (php_stream_read(ImageInfo->infile, (char*)file_header, 2) != 2) { in exif_scan_FILE_header()
3816 if (php_stream_read(ImageInfo->infile, (char*)(file_header+2), 6) != 6) { in exif_scan_FILE_header()
/PHP-5.5/ext/pdo_odbc/
H A Dodbc_stmt.c232 len = php_stream_read(stm, buf, 8192); in odbc_stmt_execute()
416 len = php_stream_read(stm, ptr, amount); in odbc_stmt_param_hook()
/PHP-5.5/ext/interbase/
H A Dibase_blobs.c565 for (size = 0; (b = php_stream_read(stream, bl_data, sizeof(bl_data))); size += b) { in PHP_FUNCTION()
/PHP-5.5/ext/bz2/
H A Dbz2.c356 Z_STRLEN_P(return_value) = php_stream_read(stream, Z_STRVAL_P(return_value), len); in PHP_FUNCTION()
/PHP-5.5/ext/soap/
H A Dphp_http.c1422 int len_read = php_stream_read(stream, http_buf + http_buf_size, buf_size - len_size); in get_http_body()
1480 int len_read = php_stream_read(stream, http_buf + http_buf_size, header_length - http_buf_size); in get_http_body()
1490 len_read = php_stream_read(stream, http_buf + http_buf_size, 4096); in get_http_body()
/PHP-5.5/ext/com_dotnet/
H A Dcom_persist.c111 nread = php_stream_read(stm->stream, pv, cb); in stm_read()

Completed in 127 milliseconds

12