Home
last modified time | relevance | path

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

12

/PHP-8.0/sapi/fuzzer/
H A Dfuzzer-exif.c49 php_stream_write(stream, (const char *) Data, Size); in LLVMFuzzerTestOneInput()
/PHP-8.0/ext/dba/libflatfile/
H A Dflatfile.c55 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store()
60 if (php_stream_write(dba->fp, value_datum.dptr, value_datum.dsize) < value_datum.dsize) { in flatfile_store()
67 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store()
71 if (php_stream_write(dba->fp, value_datum.dptr, value_datum.dsize) < value_datum.dsize) { in flatfile_store()
/PHP-8.0/ext/phar/
H A Dzip.c445 php_stream_write(sigfile, metadata, PHAR_GET_16(locator.comment_len)); in phar_parse_zipfile()
1006 if (sizeof(local) != php_stream_write(p->filefp, (char *)&local, sizeof(local))) { in phar_zip_changed_apply_int()
1022 if (1 != php_stream_write(p->filefp, "/", 1)) { in phar_zip_changed_apply_int()
1032 if (1 != php_stream_write(p->centralfp, "/", 1)) { in phar_zip_changed_apply_int()
1048 if (sizeof(perms) != php_stream_write(p->filefp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply_int()
1177 …if (Z_UL(8) != php_stream_write(entry.fp, sigbuf, 8) || signature_length != php_stream_write(entry… in phar_zip_applysignature()
1244 if (phar->alias_len != php_stream_write(entry.fp, phar->alias, phar->alias_len)) { in phar_zip_flush()
1333 if ((size_t)len != php_stream_write(entry.fp, user_stub, len) in phar_zip_flush()
1334 || 5 != php_stream_write(entry.fp, " ?>\r\n", 5)) { in phar_zip_flush()
1482 if (sizeof(eocd) != php_stream_write(pass.filefp, (char *)&eocd, sizeof(eocd))) { in phar_zip_flush()
[all …]
H A Dtar.c804 if (sizeof(header) != php_stream_write(fp->new, (char *) &header, sizeof(header))) { in phar_tar_writeheaders_int()
834php_stream_write(fp->new, padding, ((entry->uncompressed_filesize +511)&~511) - entry->uncompresse… in phar_tar_writeheaders_int()
896 …if (serialized_str && ZSTR_LEN(serialized_str) != php_stream_write(entry->fp, ZSTR_VAL(serialized_… in phar_tar_setmetadata()
1005 if (phar->alias_len != php_stream_write(entry.fp, phar->alias, phar->alias_len)) { in phar_tar_flush()
1088 if ((size_t)len != php_stream_write(entry.fp, user_stub, len) in phar_tar_flush()
1089 || 5 != php_stream_write(entry.fp, " ?>\r\n", 5)) { in phar_tar_flush()
1114 if (sizeof(newstub)-1 != php_stream_write(entry.fp, newstub, sizeof(newstub)-1)) { in phar_tar_flush()
1257 …if (8 != php_stream_write(entry.fp, sigbuf, 8) || signature_length != php_stream_write(entry.fp, s… in phar_tar_flush()
1287 php_stream_write(newfile, buf, 1024); in phar_tar_flush()
H A Dphar.c2676 if ((size_t)len != php_stream_write(newfile, user_stub, len) in phar_flush()
2677 || 5 != php_stream_write(newfile, " ?>\r\n", 5)) { in phar_flush()
2704 written = php_stream_write(newfile, ZSTR_VAL(newstub), phar->halt_offset); in phar_flush()
2938 if (sizeof(manifest) != php_stream_write(newfile, manifest, sizeof(manifest)) in phar_flush()
2995 if (4 != php_stream_write(newfile, entry_buffer, 4) in phar_flush()
2997 || (entry->is_dir && 1 != php_stream_write(newfile, "/", 1))) { in phar_flush()
3048 if(1 != php_stream_write(newfile, manifest, 1)) { in phar_flush()
3172 php_stream_write(newfile, digest, digest_len); in phar_flush()
3176 php_stream_write(newfile, sig_buf, 4); in phar_flush()
3182 php_stream_write(newfile, sig_buf, 4); in phar_flush()
[all …]
H A Dstream.c441 if (count != php_stream_write(data->fp, buf, count)) { in phar_stream_write()
/PHP-8.0/main/streams/
H A Dcast.c70 return php_stream_write((php_stream *)cookie, (char *)buffer, size); in stream_cookie_writer()
100 return php_stream_write(((php_stream *)cookie), (char *)buffer, size); in stream_cookie_writer()
H A Dmemory.c333 php_stream_write(stream, buf, length); in _php_stream_memory_open()
388 php_stream_write(file, membuf, memsize); in php_stream_temp_write()
395 return php_stream_write(ts->innerstream, buf, count); in php_stream_temp_write()
519 php_stream_write(file, membuf, memsize); in php_stream_temp_cast()
H A Dstreams.c800 if (php_stream_write(stream, (char*)&buf, 1) > 0) { in _php_stream_putc()
822 …if (len > 0 && php_stream_write(stream, buf, len) > 0 && php_stream_write(stream, newline, 1) > 0)… in _php_stream_puts()
1280 count = php_stream_write(stream, buf, count); in _php_stream_printf()
1568 didwrite = php_stream_write(dest, p, mapped); in _php_stream_copy_to_stream_ex()
1617 ssize_t didwrite = php_stream_write(dest, writeptr, towrite); in _php_stream_copy_to_stream_ex()
H A Dtransports.c473 return php_stream_write(stream, buf, buflen); in php_stream_xport_sendto()
/PHP-8.0/ext/dba/libcdb/
H A Dcdb_make.c40 return php_stream_write(c->fp, buf, sz) == sz ? 0 : -1; in cdb_make_write()
/PHP-8.0/ext/ftp/
H A Dftp.c926 php_stream_write(outstream, ptr, (e - ptr)); in ftp_get()
930 php_stream_write(outstream, ptr, (s - ptr)); in ftp_get()
939 php_stream_write(outstream, ptr, (e - ptr)); in ftp_get()
941 } else if (rcvd != php_stream_write(outstream, data->buf, rcvd)) { in ftp_get()
2009 php_stream_write(tmpstream, data->buf, rcvd); in ftp_genlist()
2150 } else if (rcvd != php_stream_write(ftp->stream, data->buf, rcvd)) { in ftp_nb_continue_read()
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_debug.c127 ret = php_stream_write(self->stream, message_line, message_line_len)? PASS:FAIL; in MYSQLND_METHOD()
228 ret = php_stream_write(self->stream, message_line, message_line_len)? PASS:FAIL; in MYSQLND_METHOD()
H A Dmysqlnd_vio.c110 ret = php_stream_write(vio->data->m.get_stream(vio), (char *)buffer, count); in MYSQLND_METHOD()
/PHP-8.0/ext/standard/
H A Dformatted_print.c882 php_stream_write(stream, ZSTR_VAL(result), ZSTR_LEN(result)); in PHP_FUNCTION()
916 php_stream_write(stream, ZSTR_VAL(result), ZSTR_LEN(result)); in PHP_FUNCTION()
H A Dphp_fopen_wrapper.c87 php_stream_write(input->body, buf, read_bytes); in php_stream_input_read()
H A Dfile.c657 numbytes = php_stream_write(stream, Z_STRVAL_P(data), Z_STRLEN_P(data)); in PHP_FUNCTION()
675 bytes_written = php_stream_write(stream, ZSTR_VAL(str), ZSTR_LEN(str)); in PHP_FUNCTION()
693 numbytes = php_stream_write(stream, Z_STRVAL(out), Z_STRLEN(out)); in PHP_FUNCTION()
1160 ret = php_stream_write(stream, input, num_bytes); in PHP_FUNCTION()
1904 ret = php_stream_write(stream, ZSTR_VAL(csvline.s), ZSTR_LEN(csvline.s)); in php_fputcsv()
H A Dhttp_fopen_wrapper.c315 if (php_stream_write(stream, ZSTR_VAL(header.s), ZSTR_LEN(header.s)) != ZSTR_LEN(header.s)) { in php_stream_url_wrap_http_ex()
650 php_stream_write(stream, ZSTR_VAL(req_buf.s), ZSTR_LEN(req_buf.s)); in php_stream_url_wrap_http_ex()
H A Dmail.c377 php_stream_write(stream, message, message_size); in php_mail_log_to_file()
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_wait.c173 php_stream_write(SG(request_info).request_body, Z_STRVAL_P(zvp), Z_STRLEN_P(zvp)); in phpdbg_webdata_decompress()
/PHP-8.0/ext/pdo/
H A Dpdo_stmt.c2038 php_stream_write(out, stmt->query_string, stmt->query_stringlen); in PHP_METHOD()
2039 php_stream_write(out, "\n", 1); in PHP_METHOD()
2046 php_stream_write(out, stmt->active_query_string, stmt->active_query_stringlen); in PHP_METHOD()
2047 php_stream_write(out, "\n", 1); in PHP_METHOD()
/PHP-8.0/ext/com_dotnet/
H A Dcom_persist.c123 nwrote = php_stream_write(stm->stream, pv, cb); in stm_write()
/PHP-8.0/main/
H A Dphp_streams.h317 #define php_stream_write(stream, buf, count) _php_stream_write(stream, (buf), (count)) macro
H A DSAPI.c270 if (php_stream_write(SG(request_info).request_body, buffer, read_bytes) != read_bytes) { in SAPI_POST_READER_FUNC()
/PHP-8.0/ext/soap/
H A Dphp_http.c264 …if (php_stream_write(stream, ZSTR_VAL(soap_headers.s), ZSTR_LEN(soap_headers.s)) != ZSTR_LEN(soap_… in http_connect()
883 err = php_stream_write(stream, ZSTR_VAL(soap_headers.s), ZSTR_LEN(soap_headers.s)); in make_http_soap_request()

Completed in 163 milliseconds

12