Home
last modified time | relevance | path

Searched refs:php_stream_write (Results 1 – 25 of 33) sorted by relevance

12

/PHP-5.5/ext/standard/
H A Dhttp_fopen_wrapper.c419 php_stream_write(stream, scratch, strlen(scratch)); in php_stream_url_wrap_http_ex()
539 php_stream_write(stream, scratch, strlen(scratch)); in php_stream_url_wrap_http_ex()
550 php_stream_write(stream, scratch, strlen(scratch)); in php_stream_url_wrap_http_ex()
558 php_stream_write(stream, scratch, strlen(scratch)); in php_stream_url_wrap_http_ex()
561 php_stream_write(stream, scratch, strlen(scratch)); in php_stream_url_wrap_http_ex()
586 php_stream_write(stream, ua, ua_len); in php_stream_url_wrap_http_ex()
609 php_stream_write(stream, scratch, scratch_len); in php_stream_url_wrap_http_ex()
614 php_stream_write(stream, "\r\n", sizeof("\r\n")-1); in php_stream_url_wrap_http_ex()
624 php_stream_write(stream, scratch, scratch_len); in php_stream_url_wrap_http_ex()
631 php_stream_write(stream, "\r\n", sizeof("\r\n")-1); in php_stream_url_wrap_http_ex()
[all …]
H A Dformatted_print.c766 php_stream_write(stream, result, len); in PHP_FUNCTION()
797 php_stream_write(stream, result, len); in PHP_FUNCTION()
H A Dmail.c220 php_stream_write(stream, message, message_size); in php_mail_log_to_file()
H A Dfile.c646 numbytes = php_stream_write(stream, Z_STRVAL_P(data), Z_STRLEN_P(data)); in PHP_FUNCTION()
668 bytes_written = php_stream_write(stream, Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp)); in PHP_FUNCTION()
689 numbytes = php_stream_write(stream, Z_STRVAL(out), Z_STRLEN(out)); in PHP_FUNCTION()
1200 ret = php_stream_write(stream, buffer ? buffer : arg2, num_bytes); in PHP_FUNCTION()
1939 ret = php_stream_write(stream, csvline.c, csvline.len); in php_fputcsv()
/PHP-5.5/ext/phar/
H A Dzip.c428 php_stream_write(sigfile, metadata, PHAR_GET_16(locator.comment_len)); in phar_parse_zipfile()
961 if (sizeof(local) != php_stream_write(p->filefp, (char *)&local, sizeof(local))) { in phar_zip_changed_apply()
977 if (1 != php_stream_write(p->filefp, "/", 1)) { in phar_zip_changed_apply()
987 if (1 != php_stream_write(p->centralfp, "/", 1)) { in phar_zip_changed_apply()
1003 if (sizeof(perms) != php_stream_write(p->filefp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply()
1103 php_stream_write(newfile, metadata->c, metadata->len); in phar_zip_applysignature()
1130 …if (8 != (int)php_stream_write(entry.fp, sigbuf, 8) || signature_length != (int)php_stream_write(e… in phar_zip_applysignature()
1280 if ((size_t)len != php_stream_write(entry.fp, user_stub, len) in phar_zip_flush()
1281 || 5 != php_stream_write(entry.fp, " ?>\r\n", 5)) { in phar_zip_flush()
1451 if (sizeof(eocd) != php_stream_write(pass.filefp, (char *)&eocd, sizeof(eocd))) { in phar_zip_flush()
[all …]
H A Dtar.c784 if (sizeof(header) != php_stream_write(fp->new, (char *) &header, sizeof(header))) { in phar_tar_writeheaders()
814php_stream_write(fp->new, padding, ((entry->uncompressed_filesize +511)&~511) - entry->uncompresse… in phar_tar_writeheaders()
874 …if (entry->metadata_str.len != php_stream_write(entry->fp, entry->metadata_str.c, entry->metadata_… in phar_tar_setmetadata()
982 if (phar->alias_len != (int)php_stream_write(entry.fp, phar->alias, phar->alias_len)) { in phar_tar_flush()
1052 if ((size_t)len != php_stream_write(entry.fp, user_stub, len) in phar_tar_flush()
1053 || 5 != php_stream_write(entry.fp, " ?>\r\n", 5)) { in phar_tar_flush()
1078 if (sizeof(newstub)-1 != php_stream_write(entry.fp, newstub, sizeof(newstub)-1)) { in phar_tar_flush()
1228 …if (8 != (int)php_stream_write(entry.fp, sigbuf, 8) || signature_length != (int)php_stream_write(e… in phar_tar_flush()
1258 php_stream_write(newfile, buf, 1024); in phar_tar_flush()
H A Dphar.c2690 if ((size_t)len != php_stream_write(newfile, user_stub, len)
2691 || 5 != php_stream_write(newfile, " ?>\r\n", 5)) {
2717 written = php_stream_write(newfile, newstub, phar->halt_offset);
2978 if (4 != php_stream_write(newfile, manifest, 4) || (main_metadata_str.len
3021 if (4 != php_stream_write(newfile, entry_buffer, 4)
3023 || (entry->is_dir && 1 != php_stream_write(newfile, "/", 1))) {
3072 if(1 != php_stream_write(newfile, manifest, 1)) {
3210 php_stream_write(newfile, digest, digest_len);
3214 php_stream_write(newfile, sig_buf, 4);
3220 php_stream_write(newfile, sig_buf, 4);
[all …]
H A Dstream.c439 if (count != php_stream_write(data->fp, buf, count)) { in phar_stream_write()
/PHP-5.5/ext/dba/libflatfile/
H A Dflatfile.c58 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store()
63 if (php_stream_write(dba->fp, value_datum.dptr, value_datum.dsize) < value_datum.dsize) { in flatfile_store()
70 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store()
74 if (php_stream_write(dba->fp, value_datum.dptr, value_datum.dsize) < value_datum.dsize) { in flatfile_store()
/PHP-5.5/ext/gd/
H A Dgd_ctx.c53 php_stream_write(stream, &ch, 1); in _php_image_stream_putc()
60 return php_stream_write(stream, (void *)buf, l); in _php_image_stream_putbuf()
/PHP-5.5/main/streams/
H A Dcast.c76 return php_stream_write((php_stream *)cookie, (char *)buffer, size); in stream_cookie_writer()
109 return php_stream_write(((php_stream *)cookie), (char *)buffer, size); in stream_cookie_writer()
H A Dmemory.c328 php_stream_write(stream, buf, length); in _php_stream_memory_open()
381 php_stream_write(file, membuf, memsize); in php_stream_temp_write()
387 return php_stream_write(ts->innerstream, buf, count); in php_stream_temp_write()
504 php_stream_write(file, membuf, memsize); in php_stream_temp_cast()
H A Dstreams.c794 if (php_stream_write(stream, &buf, 1) > 0) { in _php_stream_putc()
816 if (len > 0 && php_stream_write(stream, buf, len) && php_stream_write(stream, newline, 1)) { in _php_stream_puts()
1262 count = php_stream_write(stream, buf, count); in _php_stream_printf()
1536 didwrite = php_stream_write(dest, p, mapped); in _php_stream_copy_to_stream_ex()
1570 didwrite = php_stream_write(dest, writeptr, towrite); in _php_stream_copy_to_stream_ex()
H A Dtransports.c476 return php_stream_write(stream, buf, buflen); in php_stream_xport_sendto()
/PHP-5.5/ext/ftp/
H A Dftp.c850 php_stream_write(outstream, ptr, (e - ptr)); in ftp_get()
854 php_stream_write(outstream, ptr, (s - ptr)); in ftp_get()
863 php_stream_write(outstream, ptr, (e - ptr)); in ftp_get()
865 } else if (rcvd != php_stream_write(outstream, data->buf, rcvd)) { in ftp_get()
1660 php_stream_write(tmpstream, data->buf, rcvd); in ftp_genlist()
1799 } else if (rcvd != php_stream_write(ftp->stream, data->buf, rcvd)) { in ftp_nb_continue_read()
/PHP-5.5/ext/dba/libcdb/
H A Dcdb_make.c42 return php_stream_write(c->fp, buf, sz) == sz ? 0 : -1; in cdb_make_write()
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_debug.c140 ret = php_stream_write(self->stream, message_line, message_line_len)? PASS:FAIL; in MYSQLND_METHOD()
242 ret = php_stream_write(self->stream, message_line, message_line_len)? PASS:FAIL; in MYSQLND_METHOD()
H A Dmysqlnd_net.c102 ret = php_stream_write(net->data->m.get_stream(net TSRMLS_CC), (char *)buffer, count); in MYSQLND_METHOD()
/PHP-5.5/ext/com_dotnet/
H A Dcom_persist.c127 nwrote = php_stream_write(stm->stream, pv, cb); in stm_write()
/PHP-5.5/ext/soap/
H A Dphp_http.c262 if (php_stream_write(stream, soap_headers.c, soap_headers.len) != soap_headers.len) { in http_connect()
865 err = php_stream_write(stream, soap_headers.c, soap_headers.len); in make_http_soap_request()
/PHP-5.5/main/
H A Dphp_streams.h298 #define php_stream_write(stream, buf, count) _php_stream_write(stream, (buf), (count) TSRMLS_CC) macro
/PHP-5.5/ext/libxml/
H A Dlibxml.c379 return php_stream_write((php_stream*)context, buffer, len); in php_libxml_streams_IO_write()
/PHP-5.5/ext/pdo_pgsql/
H A Dpgsql_driver.c797 if (php_stream_write(stream, csv, ret) != ret) { in PHP_METHOD()
/PHP-5.5/ext/fileinfo/libmagic/
H A Dapprentice.c2782 if (php_stream_write(stream, (const char *)map->nmagic, nm) != (ssize_t)nm) { in apprentice_compile()
2796 if (php_stream_write(stream, (const char *)map->magic[i], len) != (ssize_t)len) { in apprentice_compile()
/PHP-5.5/
H A DREADME.STREAMS29 PHPAPI size_t php_stream_write(php_stream * stream, const char * buf, size_t

Completed in 142 milliseconds

12