/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_error.c | 300 pcre2_get_error_message(int enumber, PCRE2_UCHAR *buffer, PCRE2_SIZE size) in pcre2_get_error_message() argument 334 buffer[i] = 0; /* Terminate partial message */ in pcre2_get_error_message() 337 buffer[i] = *message++; in pcre2_get_error_message() 340 buffer[i] = 0; in pcre2_get_error_message()
|
/php-src/tests/output/ |
H A D | ob_end_clean_basic_001.phpt | 22 Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in %s on line %d 27 Notice: ob_end_clean(): Failed to delete buffer. No buffer to delete in %s on line %d
|
H A D | ob_clean_basic_001.phpt | 15 echo "Ensure the buffer is still active after the clean."; 26 Notice: ob_clean(): Failed to delete buffer. No buffer to delete in %s on line %d 29 Ensure the buffer is still active after the clean."
|
H A D | ob_end_flush_basic_001.phpt | 27 Notice: ob_end_flush(): Failed to delete and flush buffer. No buffer to delete or flush in %s on li… 33 Notice: ob_end_flush(): Failed to delete and flush buffer. No buffer to delete or flush in %s on li…
|
H A D | ob_flush_basic_001.phpt | 15 echo "Ensure the buffer is still active after the flush.\n"; 27 Notice: ob_flush(): Failed to flush buffer. No buffer to flush in %s on line %d 31 Ensure the buffer is still active after the flush.
|
H A D | ob_implicit_flush_basic_002.phpt | 7 // Start a user buffer 12 echo "This is being written to a user buffer.\n"; 14 echo "because implicit flushing affects only the top level buffer, not user buffers.\n"; 16 // Wipe the user buffer. Nothing should have been flushed.
|
H A D | ob_start_error_002.phpt | 24 Notice: ob_start(): Failed to create buffer in %s on line %d 29 Notice: ob_start(): Failed to create buffer in %s on line 13 34 Notice: ob_start(): Failed to create buffer in %s on line 14 39 Notice: ob_start(): Failed to create buffer in %s on line 15
|
H A D | ob_start_basic_006.phpt | 2 ob_start(): ensure multiple buffer initialization with a single call using arrays is not supported … 78 Notice: ob_start(): Failed to create buffer in %s on line %d 86 Notice: ob_start(): Failed to create buffer in %s on line %d 94 Notice: ob_start(): Failed to create buffer in %s on line %d 102 Notice: ob_start(): Failed to create buffer in %s on line %d 110 Notice: ob_start(): Failed to create buffer in %s on line %d 130 Notice: ob_start(): Failed to create buffer in %s on line %d
|
/php-src/ext/hash/ |
H A D | php_hash_ripemd.h | 25 unsigned char buffer[64]; /* input buffer */ member 32 unsigned char buffer[64]; /* input buffer */ member 39 unsigned char buffer[64]; /* input buffer */ member 46 unsigned char buffer[64]; /* input buffer */ member
|
H A D | php_hash_sha.h | 28 unsigned char buffer[64]; /* input buffer */ member 41 unsigned char buffer[64]; /* input buffer */ member 54 unsigned char buffer[128]; /* input buffer */ member 67 unsigned char buffer[128]; /* input buffer */ member
|
/php-src/ext/zlib/tests/ |
H A D | deflate_add_buffer_full.phpt | 2 Test deflate_add() buffer issue with data that fills deflate buffer while using ZLIB_SYNC_FLUSH on … 9 * When using ZLIB_ENCODING_RAW, the deflated buffer should always end in 00 00 ff ff 14 * Prior to fixing, the output buffer size was not being checked. According to the zlib 15 * manual, deflate must be called again with more buffer space.
|
/php-src/sapi/cli/ |
H A D | php_cli_server.c | 982 buffer->first = NULL; in php_cli_server_buffer_ctor() 983 buffer->last = NULL; in php_cli_server_buffer_ctor() 990 if (!buffer->last) { in php_cli_server_buffer_append() 995 buffer->last = last; in php_cli_server_buffer_append() 1003 if (!buffer->last) { in php_cli_server_buffer_prepend() 1004 buffer->last = last; in php_cli_server_buffer_prepend() 1006 buffer->first = chunk; in php_cli_server_buffer_prepend() 2055 if (!buffer.s) { in php_cli_server_send_error_page() 2076 chunk = php_cli_server_chunk_heap_new(buffer.s, ZSTR_VAL(buffer.s), ZSTR_LEN(buffer.s)); in php_cli_server_send_error_page() 2171 if (!buffer.s) { in php_cli_server_begin_send_static() [all …]
|
/php-src/ext/fileinfo/tests/ |
H A D | bug79283.phpt | 2 Bug #79283 (Segfault in libmagic patch contains a buffer overflow) 13 var_dump($finfo->buffer("buffer\n"));
|
H A D | clone_serialize.phpt | 9 var_dump($finfo->buffer("Test string")); 12 var_dump($finfo2->buffer("Test string")); 18 var_dump($finfo3->buffer("Test string"));
|
/php-src/ext/fileinfo/libmagic/ |
H A D | buffer.c | 42 buffer_init(struct buffer *b, int fd, const zend_stat_t *st, const void *data, in buffer_init() 58 buffer_fini(struct buffer *b) in buffer_fini() 66 buffer_fill(const struct buffer *bb) in buffer_fill() 68 struct buffer *b = CCAST(struct buffer *, bb); in buffer_fill()
|
H A D | file.h | 177 struct buffer { struct 537 file_protected int file_tryelf(struct magic_set *, const struct buffer *); 538 file_protected int file_trycdf(struct magic_set *, const struct buffer *); 540 file_protected int file_zmagic(struct magic_set *, const struct buffer *, 543 file_protected int file_ascmagic(struct magic_set *, const struct buffer *, 547 file_protected int file_encoding(struct magic_set *, const struct buffer *, 549 file_protected int file_is_json(struct magic_set *, const struct buffer *); 553 file_protected int file_is_tar(struct magic_set *, const struct buffer *); 598 file_protected void buffer_init(struct buffer *, int, const zend_stat_t *, 600 file_protected void buffer_fini(struct buffer *); [all …]
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_out.c | 211 char *buffer; in phpdbg_log_internal() local 216 buflen = vasprintf(&buffer, fmt, args); in phpdbg_log_internal() 219 len = phpdbg_mixed_write(fd, buffer, buflen); in phpdbg_log_internal() 220 free(buffer); in phpdbg_log_internal() 227 char *buffer; in phpdbg_out_internal() local 236 buflen = vasprintf(&buffer, fmt, args); in phpdbg_out_internal() 239 len = phpdbg_mixed_write(fd, buffer, buflen); in phpdbg_out_internal() 241 free(buffer); in phpdbg_out_internal()
|
/php-src/ext/intl/uchar/ |
H A D | uchar.c | 54 char buffer[5]; in IC_METHOD() local 65 buffer[buffer_len] = 0; in IC_METHOD() 66 RETURN_STRINGL(buffer, buffer_len); in IC_METHOD() 220 zend_string *buffer = NULL; in IC_METHOD() local 236 …buffer_len = u_charName(cp, (UCharNameChoice)nameChoice, ZSTR_VAL(buffer), ZSTR_LEN(buffer) + 1, &… in IC_METHOD() 238 zend_string_efree(buffer); in IC_METHOD() 241 RETURN_NEW_STR(buffer); in IC_METHOD() 407 char buffer[5]; in IC_METHOD() local 410 buffer[buffer_len] = 0; in IC_METHOD() 597 char buffer[5]; \ [all …]
|
/php-src/ext/standard/ |
H A D | password.c | 52 zend_string *buffer; in php_password_salt_to64() local 57 if (ZSTR_LEN(buffer) < out_len) { in php_password_salt_to64() 59 zend_string_release_ex(buffer, 0); in php_password_salt_to64() 66 zend_string_free(buffer); in php_password_salt_to64() 69 ret[pos] = ZSTR_VAL(buffer)[pos]; in php_password_salt_to64() 72 zend_string_free(buffer); in php_password_salt_to64() 79 zend_string *ret, *buffer; in php_password_make_salt() local 87 if (FAILURE == php_random_bytes_throw(ZSTR_VAL(buffer), ZSTR_LEN(buffer))) { in php_password_make_salt() 89 zend_string_release_ex(buffer, 0); in php_password_make_salt() 94 if (php_password_salt_to64(ZSTR_VAL(buffer), ZSTR_LEN(buffer), length, ZSTR_VAL(ret)) == FAILURE) { in php_password_make_salt() [all …]
|
H A D | md5.c | 328 body(ctx, ctx->buffer, 64); in PHP_MD5Update() 336 memcpy(ctx->buffer, data, size); in PHP_MD5Update() 345 ctx->buffer[used++] = 0x80; in PHP_MD5Final() 351 body(ctx, ctx->buffer, 64); in PHP_MD5Final() 359 ctx->buffer[56] = ctx->lo; in PHP_MD5Final() 360 ctx->buffer[57] = ctx->lo >> 8; in PHP_MD5Final() 361 ctx->buffer[58] = ctx->lo >> 16; in PHP_MD5Final() 362 ctx->buffer[59] = ctx->lo >> 24; in PHP_MD5Final() 363 ctx->buffer[60] = ctx->hi; in PHP_MD5Final() 364 ctx->buffer[61] = ctx->hi >> 8; in PHP_MD5Final() [all …]
|
H A D | php_crypt_r.h | 35 extern char * php_sha512_crypt_r (const char *key, const char *salt, char *buffer, int buflen); 36 extern char * php_sha256_crypt_r (const char *key, const char *salt, char *buffer, int buflen);
|
/php-src/main/ |
H A D | output.c | 362 ZVAL_STRINGL(p, OG(active)->buffer.data, OG(active)->buffer.used); in php_output_get_contents() 861 handler->buffer.data = emalloc(handler->buffer.size); in php_output_handler_init() 874 if ((handler->buffer.size - handler->buffer.used) <= buf->used) { in php_output_handler_append() 879 handler->buffer.data = safe_erealloc(handler->buffer.data, 1, handler->buffer.size, grow_max); in php_output_handler_append() 882 memcpy(handler->buffer.data + handler->buffer.used, buf->data, buf->used); in php_output_handler_append() 916 handler->buffer.used?handler->buffer.data:"", in php_output_handler_op() 917 handler->buffer.used, in php_output_handler_op() 918 handler->buffer.size, in php_output_handler_op() 945 ZVAL_STRINGL(&ob_args[0], handler->buffer.data, handler->buffer.used); in php_output_handler_op() 979 …php_output_context_feed(context, handler->buffer.data, handler->buffer.size, handler->buffer.used,… in php_output_handler_op() [all …]
|
/php-src/ext/mysqlnd/ |
H A D | php_mysqlnd.c | 49 smart_str * buffer = (smart_str *) buf; in mysqlnd_minfo_dump_loaded_plugins() local 52 if (buffer->s) { in mysqlnd_minfo_dump_loaded_plugins() 53 smart_str_appendc(buffer, ','); in mysqlnd_minfo_dump_loaded_plugins() 55 smart_str_appends(buffer, plugin_header->plugin_name); in mysqlnd_minfo_dump_loaded_plugins() 64 mysqlnd_minfo_dump_api_plugins(smart_str * buffer) in mysqlnd_minfo_dump_api_plugins() argument 70 if (buffer->s) { in mysqlnd_minfo_dump_api_plugins() 71 smart_str_appendc(buffer, ','); in mysqlnd_minfo_dump_api_plugins() 73 smart_str_appends(buffer, ext->module->name); in mysqlnd_minfo_dump_api_plugins()
|
/php-src/ext/gd/tests/ |
H A D | bug73155.phpt | 18 $buffer = ob_get_clean(); 20 $header = unpack('@10/nchunk_size/nformat/nx_count/ny_count', $buffer); 24 printf("file size: %d\n", strlen($buffer));
|
H A D | imagegd_truecolor.phpt | 23 $buffer = ob_get_clean(); 25 $header = unpack('nsignature/nwidth/nheight/Ctruecolor', $buffer); 28 printf("size: %d\n", strlen($buffer));
|