Home
last modified time | relevance | path

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

12

/PHP-5.3/ext/dba/libflatfile/
H A Dflatfile.c95 value_datum.dsize = php_stream_read(dba->fp, value_datum.dptr, value_datum.dsize); in flatfile_fetch()
129 num = php_stream_read(dba->fp, buf, num); in flatfile_delete()
153 num = php_stream_read(dba->fp, buf, num); in flatfile_delete()
183 num = php_stream_read(dba->fp, buf, num); in flatfile_findkey()
201 num = php_stream_read(dba->fp, buf, num); in flatfile_findkey()
229 num = php_stream_read(dba->fp, buf, num); in flatfile_firstkey()
247 num = php_stream_read(dba->fp, buf, num); in flatfile_firstkey()
277 num = php_stream_read(dba->fp, buf, num); in flatfile_nextkey()
289 num = php_stream_read(dba->fp, buf, num); in flatfile_nextkey()
/PHP-5.3/ext/standard/
H A Dimage.c210 if (php_stream_read(stream, a, sizeof(a)) != sizeof(a)) in php_handle_swc()
275 if (php_stream_read(stream, a, sizeof(a)) != sizeof(a)) in php_handle_swf()
807 if (php_stream_read(stream, ifd_ptr, 4) != 4) in php_handle_tiff()
814 if (php_stream_read(stream, ifd_data, 2) != 2) { in php_handle_tiff()
887 if (php_stream_read(stream, a, 8) != 8) { in php_handle_iff()
896 if (php_stream_read(stream, a, 8) != 8) { in php_handle_iff()
1086 if (php_stream_read(stream, dim, 2) != 2) in php_handle_ico()
1224 if((php_stream_read(stream, filetype, 3)) != 3) { in php_getimagetype()
1235 if (php_stream_read(stream, filetype+3, 5) != 5) { in php_getimagetype()
1257 if (php_stream_read(stream, filetype+3, 1) != 1) { in php_getimagetype()
[all …]
H A Dexec.c185 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.3/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.c734 if (php_stream_read(stream, &buf, 1) > 0) { in _php_stream_getc()
1033 *returned_len = php_stream_read(stream, ret_buf, tent_ret_len); in php_stream_get_record()
1268 if ((didread = php_stream_read(stream, tmp, MIN(offset, sizeof(tmp)))) == 0) { in _php_stream_seek()
1341 while ((b = php_stream_read(stream, buf, sizeof(buf))) > 0) { in _php_stream_passthru()
1370 ret = php_stream_read(src, ptr, maxlen - len); in _php_stream_copy_to_mem()
1400 while((ret = php_stream_read(src, ptr, max_len - len))) { in _php_stream_copy_to_mem()
1484 didread = php_stream_read(src, buf, readchunk); in _php_stream_copy_to_stream_ex()
1932 …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()
/PHP-5.3/ext/phar/
H A Dtar.c166 read = php_stream_read(fp, metadata, entry->uncompressed_filesize); in phar_tar_process_metadata()
212 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
271 read = php_stream_read(fp, buf, size); in phar_parse_tarfile()
311 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
352 read = php_stream_read(fp, entry.filename, entry.filename_len); in phar_parse_tarfile()
379 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
512 read = php_stream_read(fp, buf, size); in phar_parse_tarfile()
563 read = php_stream_read(fp, buf, sizeof(buf)); in phar_parse_tarfile()
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()
430 read = php_stream_read(fp, sig, entry.uncompressed_filesize); in phar_parse_zipfile()
532 …if (PHAR_GET_16(zipentry.comment_len) != php_stream_read(fp, buf, PHAR_GET_16(zipentry.comment_len… in phar_parse_zipfile()
567 if (sizeof(local) != php_stream_read(fp, (char *) &local, sizeof(local))) { in phar_parse_zipfile()
H A Dphar.c688 if (3 != php_stream_read(fp, buffer, 3)) {
720 if (4 != php_stream_read(fp, buffer, 4)) {
735 if (manifest_len < 10 || manifest_len != php_stream_read(fp, buffer, manifest_len)) {
776 || 8 != php_stream_read(fp, sig_buf, 8)
796 || 4 != php_stream_read(fp, sig_buf, 4)) {
813 || signature_len != php_stream_read(fp, sig, signature_len)) {
844 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) {
871 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) {
909 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) {
936 if (php_stream_read(fp, (char*)digest, sizeof(digest)) != sizeof(digest)) {
[all …]
H A Dutil.c1894 while (read_size && (len = php_stream_read(fp, (char*)buf, read_size)) > 0) {
1934 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) {
1967 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) {
2008 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) {
2041 while ((len = php_stream_read(fp, (char*)buf, read_size)) > 0) {
2091 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) {
2106 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) {
2164 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) {
2208 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) {
2223 while ((sig_len = php_stream_read(fp, (char*)buf, sizeof(buf))) > 0) {
/PHP-5.3/ext/dba/libcdb/
H A Dcdb.c113 r = php_stream_read(c->fp, buf, len); in cdb_read()
/PHP-5.3/ext/hash/
H A Dhash.c153 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in php_hash_do_hash()
250 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in php_hash_do_hash_hmac()
420 if ((n = php_stream_read(stream, buf, toread)) <= 0) { in PHP_FUNCTION()
457 while ((n = php_stream_read(stream, buf, sizeof(buf))) > 0) { in PHP_FUNCTION()
/PHP-5.3/ext/mysqlnd/
H A Dmysqlnd_loaddata.c95 count = (int)php_stream_read(info->fd, buf, buf_len); in mysqlnd_local_infile_read()
H A Dmysqlnd_net.c73 if (!(ret = php_stream_read(conn->net->stream, (char *) buffer, to_read))) { in MYSQLND_METHOD()
715 skipped_bytes += (bytes_consumed = php_stream_read(net->stream, tmp_buf, sizeof(tmp_buf))); in MYSQLND_METHOD()
/PHP-5.3/ext/dba/
H A Ddba_cdb.c215 # define cdb_file_read(fildes, buf, size) php_stream_read(fildes, buf, size)
/PHP-5.3/ext/soap/
H A Dphp_xml.c199 return php_stream_read((php_stream*)context, buffer, len); in php_stream_xmlIO_read()
H A Dphp_http.c1348 int len_read = php_stream_read(stream, http_buf + http_buf_size, buf_size - len_size); in get_http_body()
1406 int len_read = php_stream_read(stream, http_buf + http_buf_size, header_length - http_buf_size); in get_http_body()
1416 len_read = php_stream_read(stream, http_buf + http_buf_size, 4096); in get_http_body()
/PHP-5.3/ext/exif/
H A Dexif.c2920 fgot = php_stream_read(ImageInfo->infile, value_ptr, byte_count); in exif_process_IFD_TAG()
3375 …got = php_stream_read(ImageInfo->infile, (char*)(Data+2), itemlen-2); /* Read the whole section. */ in exif_scan_JPEG_header()
3393 got = php_stream_read(ImageInfo->infile, (char*)Data, size); in exif_scan_JPEG_header()
3569 php_stream_read(ImageInfo->infile, (char*)ImageInfo->file.list[sn].data, 2); in exif_process_IFD_in_TIFF()
3579 php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+2), dir_size-2); in exif_process_IFD_in_TIFF()
3668php_stream_read(ImageInfo->infile, (char*)(ImageInfo->file.list[sn].data+dir_size), ifd_size-dir_s… in exif_process_IFD_in_TIFF()
3720 … fgot = php_stream_read(ImageInfo->infile, ImageInfo->Thumbnail.data, ImageInfo->Thumbnail.size); in exif_process_IFD_in_TIFF()
3754 … fgot = php_stream_read(ImageInfo->infile, ImageInfo->Thumbnail.data, ImageInfo->Thumbnail.size); in exif_process_IFD_in_TIFF()
3791 if (php_stream_read(ImageInfo->infile, (char*)file_header, 2) != 2) { in exif_scan_FILE_header()
3802 if (php_stream_read(ImageInfo->infile, (char*)(file_header+2), 6) != 6) { in exif_scan_FILE_header()
/PHP-5.3/ext/pdo_odbc/
H A Dodbc_stmt.c232 len = php_stream_read(stm, buf, 8192); in odbc_stmt_execute()
410 len = php_stream_read(stm, ptr, amount); in odbc_stmt_param_hook()
/PHP-5.3/ext/fileinfo/libmagic/
H A Dmagic.c448 if ((nbytes = php_stream_read(stream, (char *)buf, HOWMANY)) < 0) { in file_or_stream()
/PHP-5.3/ext/interbase/
H A Dibase_blobs.c567 for (size = 0; (b = php_stream_read(stream, bl_data, sizeof(bl_data))); size += b) { in PHP_FUNCTION()
/PHP-5.3/ext/bz2/
H A Dbz2.c346 Z_STRLEN_P(return_value) = php_stream_read(stream, Z_STRVAL_P(return_value), len); in PHP_FUNCTION()
/PHP-5.3/ext/curl/
H A Dstreams.c199 didread = php_stream_read(curlstream->readbuffer.buf, buf, count); in php_curl_stream_read()

Completed in 119 milliseconds

12