/PHP-8.0/sapi/fuzzer/ |
H A D | fuzzer-exif.c | 49 php_stream_write(stream, (const char *) Data, Size); in LLVMFuzzerTestOneInput()
|
/PHP-8.0/ext/dba/libflatfile/ |
H A D | flatfile.c | 55 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 D | zip.c | 445 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 D | tar.c | 804 if (sizeof(header) != php_stream_write(fp->new, (char *) &header, sizeof(header))) { in phar_tar_writeheaders_int() 834 …php_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 D | phar.c | 2676 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 D | stream.c | 441 if (count != php_stream_write(data->fp, buf, count)) { in phar_stream_write()
|
/PHP-8.0/main/streams/ |
H A D | cast.c | 70 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 D | memory.c | 333 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 D | streams.c | 800 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 D | transports.c | 473 return php_stream_write(stream, buf, buflen); in php_stream_xport_sendto()
|
/PHP-8.0/ext/dba/libcdb/ |
H A D | cdb_make.c | 40 return php_stream_write(c->fp, buf, sz) == sz ? 0 : -1; in cdb_make_write()
|
/PHP-8.0/ext/ftp/ |
H A D | ftp.c | 926 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 D | mysqlnd_debug.c | 127 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 D | mysqlnd_vio.c | 110 ret = php_stream_write(vio->data->m.get_stream(vio), (char *)buffer, count); in MYSQLND_METHOD()
|
/PHP-8.0/ext/standard/ |
H A D | formatted_print.c | 882 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 D | php_fopen_wrapper.c | 87 php_stream_write(input->body, buf, read_bytes); in php_stream_input_read()
|
H A D | file.c | 657 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 D | http_fopen_wrapper.c | 315 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 D | mail.c | 377 php_stream_write(stream, message, message_size); in php_mail_log_to_file()
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_wait.c | 173 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 D | pdo_stmt.c | 2038 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 D | com_persist.c | 123 nwrote = php_stream_write(stm->stream, pv, cb); in stm_write()
|
/PHP-8.0/main/ |
H A D | php_streams.h | 317 #define php_stream_write(stream, buf, count) _php_stream_write(stream, (buf), (count)) macro
|
H A D | SAPI.c | 270 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 D | php_http.c | 264 …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()
|