Home
last modified time | relevance | path

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

12

/PHP-7.4/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-7.4/ext/phar/
H A Dzip.c449 php_stream_write(sigfile, metadata, PHAR_GET_16(locator.comment_len)); in phar_parse_zipfile()
1020 if (sizeof(local) != php_stream_write(p->filefp, (char *)&local, sizeof(local))) { in phar_zip_changed_apply_int()
1036 if (1 != php_stream_write(p->filefp, "/", 1)) { in phar_zip_changed_apply_int()
1046 if (1 != php_stream_write(p->centralfp, "/", 1)) { in phar_zip_changed_apply_int()
1062 if (sizeof(perms) != php_stream_write(p->filefp, (char *)&perms, sizeof(perms))) { in phar_zip_changed_apply_int()
1168 php_stream_write(newfile, ZSTR_VAL(metadata->s), ZSTR_LEN(metadata->s)); in phar_zip_applysignature()
1195 …if (Z_UL(8) != php_stream_write(entry.fp, sigbuf, 8) || signature_length != php_stream_write(entry… in phar_zip_applysignature()
1353 if ((size_t)len != php_stream_write(entry.fp, user_stub, len) in phar_zip_flush()
1354 || 5 != php_stream_write(entry.fp, " ?>\r\n", 5)) { in phar_zip_flush()
1509 if (sizeof(eocd) != php_stream_write(pass.filefp, (char *)&eocd, sizeof(eocd))) { in phar_zip_flush()
[all …]
H A Dtar.c807 if (sizeof(header) != php_stream_write(fp->new, (char *) &header, sizeof(header))) { in phar_tar_writeheaders_int()
837php_stream_write(fp->new, padding, ((entry->uncompressed_filesize +511)&~511) - entry->uncompresse… in phar_tar_writeheaders_int()
902 …if (ZSTR_LEN(entry->metadata_str.s) != php_stream_write(entry->fp, ZSTR_VAL(entry->metadata_str.s)… in phar_tar_setmetadata()
1011 if (phar->alias_len != php_stream_write(entry.fp, phar->alias, phar->alias_len)) { in phar_tar_flush()
1094 if ((size_t)len != php_stream_write(entry.fp, user_stub, len) in phar_tar_flush()
1095 || 5 != php_stream_write(entry.fp, " ?>\r\n", 5)) { in phar_tar_flush()
1120 if (sizeof(newstub)-1 != php_stream_write(entry.fp, newstub, sizeof(newstub)-1)) { in phar_tar_flush()
1263 …if (8 != php_stream_write(entry.fp, sigbuf, 8) || signature_length != php_stream_write(entry.fp, s… in phar_tar_flush()
1293 php_stream_write(newfile, buf, 1024); in phar_tar_flush()
H A Dphar.c2625 if ((size_t)len != php_stream_write(newfile, user_stub, len) in phar_flush()
2626 || 5 != php_stream_write(newfile, " ?>\r\n", 5)) { in phar_flush()
2653 written = php_stream_write(newfile, ZSTR_VAL(newstub), phar->halt_offset); in phar_flush()
2890 if (sizeof(manifest) != php_stream_write(newfile, manifest, sizeof(manifest)) in phar_flush()
2946 if (4 != php_stream_write(newfile, entry_buffer, 4) in phar_flush()
2948 || (entry->is_dir && 1 != php_stream_write(newfile, "/", 1))) { in phar_flush()
2998 if(1 != php_stream_write(newfile, manifest, 1)) { in phar_flush()
3122 php_stream_write(newfile, digest, digest_len); in phar_flush()
3126 php_stream_write(newfile, sig_buf, 4); in phar_flush()
3132 php_stream_write(newfile, sig_buf, 4); in phar_flush()
[all …]
H A Dstream.c444 if (count != php_stream_write(data->fp, buf, count)) { in phar_stream_write()
/PHP-7.4/ext/gd/
H A Dgd_ctx.c48 php_stream_write(stream, &ch, 1); in _php_image_stream_putc()
54 return php_stream_write(stream, (void *)buf, l); in _php_image_stream_putbuf()
/PHP-7.4/main/streams/
H A Dcast.c72 return php_stream_write((php_stream *)cookie, (char *)buffer, size); in stream_cookie_writer()
102 return php_stream_write(((php_stream *)cookie), (char *)buffer, size); in stream_cookie_writer()
H A Dmemory.c335 php_stream_write(stream, buf, length); in _php_stream_memory_open()
389 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.c802 if (php_stream_write(stream, (char*)&buf, 1) > 0) { in _php_stream_putc()
824 …if (len > 0 && php_stream_write(stream, buf, len) > 0 && php_stream_write(stream, newline, 1) > 0)… in _php_stream_puts()
1287 count = php_stream_write(stream, buf, count); in _php_stream_printf()
1587 didwrite = php_stream_write(dest, p, mapped); in _php_stream_copy_to_stream_ex()
1636 ssize_t didwrite = php_stream_write(dest, writeptr, towrite); in _php_stream_copy_to_stream_ex()
H A Dtransports.c467 return php_stream_write(stream, buf, buflen); in php_stream_xport_sendto()
/PHP-7.4/ext/dba/libcdb/
H A Dcdb_make.c42 return php_stream_write(c->fp, buf, sz) == sz ? 0 : -1; in cdb_make_write()
/PHP-7.4/ext/ftp/
H A Dftp.c953 php_stream_write(outstream, ptr, (e - ptr)); in ftp_get()
957 php_stream_write(outstream, ptr, (s - ptr)); in ftp_get()
966 php_stream_write(outstream, ptr, (e - ptr)); in ftp_get()
968 } else if (rcvd != php_stream_write(outstream, data->buf, rcvd)) { in ftp_get()
2056 php_stream_write(tmpstream, data->buf, rcvd); in ftp_genlist()
2199 } else if (rcvd != php_stream_write(ftp->stream, data->buf, rcvd)) { in ftp_nb_continue_read()
/PHP-7.4/ext/standard/
H A Dformatted_print.c787 php_stream_write(stream, ZSTR_VAL(result), ZSTR_LEN(result)); in PHP_FUNCTION()
823 php_stream_write(stream, ZSTR_VAL(result), ZSTR_LEN(result)); in PHP_FUNCTION()
H A Dphp_fopen_wrapper.c89 php_stream_write(input->body, buf, read_bytes); in php_stream_input_read()
H A Dfile.c658 numbytes = php_stream_write(stream, Z_STRVAL_P(data), Z_STRLEN_P(data)); in PHP_FUNCTION()
676 bytes_written = php_stream_write(stream, ZSTR_VAL(str), ZSTR_LEN(str)); in PHP_FUNCTION()
694 numbytes = php_stream_write(stream, Z_STRVAL(out), Z_STRLEN(out)); in PHP_FUNCTION()
1212 ret = php_stream_write(stream, input, num_bytes); in PHP_FUNCTION()
1973 ret = php_stream_write(stream, ZSTR_VAL(csvline.s), ZSTR_LEN(csvline.s)); in php_fputcsv()
H A Dhttp_fopen_wrapper.c317 if (php_stream_write(stream, ZSTR_VAL(header.s), ZSTR_LEN(header.s)) != ZSTR_LEN(header.s)) { in php_stream_url_wrap_http_ex()
652 php_stream_write(stream, ZSTR_VAL(req_buf.s), ZSTR_LEN(req_buf.s)); in php_stream_url_wrap_http_ex()
H A Dmail.c418 php_stream_write(stream, message, message_size); in php_mail_log_to_file()
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_debug.c129 ret = php_stream_write(self->stream, message_line, message_line_len)? PASS:FAIL; in MYSQLND_METHOD()
230 ret = php_stream_write(self->stream, message_line, message_line_len)? PASS:FAIL; in MYSQLND_METHOD()
H A Dmysqlnd_vio.c112 ret = php_stream_write(vio->data->m.get_stream(vio), (char *)buffer, count); in MYSQLND_METHOD()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_wait.c179 php_stream_write(SG(request_info).request_body, Z_STRVAL_P(zvp), Z_STRLEN_P(zvp)); in phpdbg_webdata_decompress()
/PHP-7.4/ext/pdo/
H A Dpdo_stmt.c2110 php_stream_write(out, stmt->query_string, stmt->query_stringlen); in PHP_METHOD()
2111 php_stream_write(out, "\n", 1); in PHP_METHOD()
2118 php_stream_write(out, stmt->active_query_string, stmt->active_query_stringlen); in PHP_METHOD()
2119 php_stream_write(out, "\n", 1); in PHP_METHOD()
/PHP-7.4/ext/com_dotnet/
H A Dcom_persist.c124 nwrote = php_stream_write(stm->stream, pv, cb); in stm_write()
/PHP-7.4/main/
H A Dphp_streams.h315 #define php_stream_write(stream, buf, count) _php_stream_write(stream, (buf), (count)) macro
H A DSAPI.c276 if (php_stream_write(SG(request_info).request_body, buffer, read_bytes) != read_bytes) { in SAPI_POST_READER_FUNC()
/PHP-7.4/ext/soap/
H A Dphp_http.c265 …if (php_stream_write(stream, ZSTR_VAL(soap_headers.s), ZSTR_LEN(soap_headers.s)) != ZSTR_LEN(soap_… in http_connect()
879 err = php_stream_write(stream, ZSTR_VAL(soap_headers.s), ZSTR_LEN(soap_headers.s)); in make_http_soap_request()

Completed in 102 milliseconds

12