Home
last modified time | relevance | path

Searched refs:buffer (Results 76 – 100 of 342) sorted by relevance

12345678910>>...14

/PHP-8.3/Zend/tests/fibers/
H A Dout-of-memory-in-fiber.phpt15 $buffer = '';
17 $buffer .= str_repeat('.', 1 << 10);
H A Dout-of-memory-in-nested-fiber.phpt16 $buffer = '';
18 $buffer .= str_repeat('.', 1 << 10);
/PHP-8.3/ext/zlib/tests/
H A Dgzinflate_error1.phpt11 echo "\n-- Testing with a buffer that is too small --\n";
22 -- Testing with a buffer that is too small --
H A Dgzuncompress_error1.phpt9 echo "\n-- Testing with a buffer that is too small --\n";
23 -- Testing with a buffer that is too small --
/PHP-8.3/ext/hash/
H A Dhash_md.c224 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_MD4Update()
225 MD4Transform(context->state, context->buffer); in PHP_MD4Update()
237 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) & input[i], inputLen - i); in PHP_MD4Update()
326 memcpy(context->buffer + context->in_buffer, p, len); in PHP_MD2Update()
331 memcpy(context->buffer + context->in_buffer, p, 16 - context->in_buffer); in PHP_MD2Update()
332 MD2_Transform(context, context->buffer); in PHP_MD2Update()
345 memcpy(context->buffer, p, e - p); in PHP_MD2Update()
352 memset(context->buffer + context->in_buffer, 16 - context->in_buffer, 16 - context->in_buffer); in PHP_MD2Final()
353 MD2_Transform(context, context->buffer); in PHP_MD2Final()
365 && (unsigned char) ctx->in_buffer < sizeof(ctx->buffer)) { in php_md2_unserialize()
H A Dhash_snefru.c149 memcpy(&context->buffer[context->length], input, len); in PHP_SNEFRUUpdate()
156 memcpy(&context->buffer[context->length], input, i); in PHP_SNEFRUUpdate()
157 SnefruTransform(context, context->buffer); in PHP_SNEFRUUpdate()
164 memcpy(context->buffer, input + i, r); in PHP_SNEFRUUpdate()
165 ZEND_SECURE_ZERO(&context->buffer[r], 32 - r); in PHP_SNEFRUUpdate()
175 SnefruTransform(context, context->buffer); in PHP_SNEFRUFinal()
198 && ctx->length < sizeof(ctx->buffer)) { in php_snefru_unserialize()
/PHP-8.3/ext/xmlwriter/tests/
H A D004.phpt2 XMLWriter: libxml2 XML Writer, file buffer, flush
18 // Force to write and empty the buffer
H A DOO_004.phpt2 XMLWriter: libxml2 XML Writer, file buffer, flush
19 // Force to write and empty the buffer
/PHP-8.3/ext/standard/tests/file/
H A Dfile_get_contents_file_put_contents_variation2.phpt18 fill_buffer( $buffer, "text", 100);
19 file_put_contents( $filename, $buffer );
20 fill_buffer( $buffer, "numeric", 100);
21 file_put_contents( $filename, $buffer, FILE_APPEND, NULL );
/PHP-8.3/tests/output/
H A Dob_get_level_basic_001.phpt39 Notice: ob_end_flush(): Failed to delete and flush buffer. No buffer to delete or flush in %s on li…
/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c245 zend_uchar buffer[MYSQLND_HEADER_SIZE]; in mysqlnd_read_header() local
253 header->size = uint3korr(buffer); in mysqlnd_read_header()
538 if (sizeof(buffer) < (packet->auth_data_len + (p - buffer))) { in php_mysqlnd_auth_write()
566 len = MIN(strlen(packet->auth_plugin_name), sizeof(buffer) - (p - buffer) - 1); in php_mysqlnd_auth_write()
590 …if (sizeof(buffer) >= (ca_payload_len + php_mysqlnd_net_store_length_size(ca_payload_len) + (p - b… in php_mysqlnd_auth_write()
618 …const MYSQLND_CSTRING payload = {(char*) buffer + MYSQLND_HEADER_SIZE, p - (buffer + MYSQLND_HEADE… in php_mysqlnd_auth_write()
779 if (buffer != pfc->cmd_buffer.buffer) { in php_mysqlnd_change_auth_response_write()
780 mnd_efree(buffer); in php_mysqlnd_change_auth_response_write()
998 if (tmp != pfc->cmd_buffer.buffer) { in php_mysqlnd_cmd_write()
1340 MYSQLND_ROW_BUFFER * buffer, in php_mysqlnd_read_row_ex() argument
[all …]
/PHP-8.3/sapi/cli/tests/
H A Dgh8827-002.phpt19 ob_start(function ($buffer) use ($stdout) {
20 fwrite($stdout, $buffer);
H A Dgh8827-003.phpt35 ob_start(function ($buffer) use ($stdoutStream) {
36 fwrite($stdoutStream, $buffer);
/PHP-8.3/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_memory_device.h40 unsigned char *buffer; member
47 unsigned int *buffer; member
/PHP-8.3/ext/openssl/tests/
H A Dbug74159.phpt2 Bug #74159: Writing a large buffer to non-blocking encrypted streams fails
36 $buffer = fread($client, 8192);
37 if (empty($buffer)) {
40 $data .= $buffer;
/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_sigsafe.c30 void phpdbg_set_sigsafe_mem(char *buffer) { in phpdbg_set_sigsafe_mem() argument
39 mem->mem = buffer; in phpdbg_set_sigsafe_mem()
/PHP-8.3/ext/xmlwriter/
H A Dphp_xmlwriter.c838 xmlBufferPtr buffer; in PHP_FUNCTION() local
851 buffer = xmlBufferCreate(); in PHP_FUNCTION()
853 if (buffer == NULL) { in PHP_FUNCTION()
858 ptr = xmlNewTextWriterMemory(buffer, 0); in PHP_FUNCTION()
860 xmlBufferFree(buffer); in PHP_FUNCTION()
872 ze_obj->output = buffer; in PHP_FUNCTION()
877 ze_obj->output = buffer; in PHP_FUNCTION()
887 xmlBufferPtr buffer; in php_xmlwriter_flush() local
897 buffer = Z_XMLWRITER_P(self)->output; in php_xmlwriter_flush()
902 if (buffer) { in php_xmlwriter_flush()
[all …]
/PHP-8.3/sapi/fpm/fpm/
H A Dfpm_status.c142 char *buffer, *time_format, time_buffer[64]; in fpm_status_handle_request() local
485 spprintf(&buffer, 0, short_syntax, in fpm_status_handle_request()
501 spprintf(&buffer, 0, short_syntax, in fpm_status_handle_request()
517 PUTS(buffer); in fpm_status_handle_request()
518 efree(buffer); in fpm_status_handle_request()
592 spprintf(&buffer, 0, full_syntax, in fpm_status_handle_request()
608 PUTS(buffer); in fpm_status_handle_request()
609 efree(buffer); in fpm_status_handle_request()
H A Dfpm_log.c115 char buffer[FPM_LOG_BUFFER+1]; in fpm_log_write() local
161 memset(buffer, '\0', sizeof(buffer)); in fpm_log_write()
162 b = buffer; in fpm_log_write()
487 if (!test && strlen(buffer) > 0) { in fpm_log_write()
488 buffer[len] = '\n'; in fpm_log_write()
489 zend_quiet_write(fpm_log_fd, buffer, len + 1); in fpm_log_write()
/PHP-8.3/ext/soap/
H A Dphp_packet_soap.h22 int parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunctionPtr fn, char *fn_na…
/PHP-8.3/ext/mbstring/tests/
H A Dbug79037.phpt2 Bug #79037: global buffer-overflow in `mbfl_filt_conv_big5_wchar`
/PHP-8.3/Zend/tests/
H A Dbug64960.phpt32 Notice: ob_end_flush(): Failed to delete and flush buffer. No buffer to delete or flush in %sbug649…
/PHP-8.3/ext/exif/tests/
H A Dbug78256.phpt2 Bug #78256 (heap-buffer-overflow on exif_process_user_comment)
H A Dbug77753.phpt2 Bug #77753 (Heap-buffer-overflow in php_ifd_get32s)
H A Dbug77950.phpt2 Bug #77950 (Heap-buffer-overflow in _estrndup via exif_process_IFD_TAG)

Completed in 49 milliseconds

12345678910>>...14