/PHP-8.3/ext/standard/ |
H A D | crypt.c | 84 struct php_crypt_extended_data buffer; in php_crypt() local 145 memset(&buffer, 0, sizeof(buffer)); in php_crypt() 148 crypt_res = _crypt_extended_r((const unsigned char *) password, salt, &buffer); in php_crypt() 164 struct crypt_data buffer; in php_crypt() local 165 memset(&buffer, 0, sizeof(buffer)); in php_crypt() 167 CRYPTD buffer; in php_crypt() local 171 crypt_res = crypt_r(password, salt, &buffer); in php_crypt()
|
H A D | password.c | 51 zend_string *buffer; in php_password_salt_to64() local 56 if (ZSTR_LEN(buffer) < out_len) { in php_password_salt_to64() 58 zend_string_release_ex(buffer, 0); in php_password_salt_to64() 65 zend_string_free(buffer); in php_password_salt_to64() 68 ret[pos] = ZSTR_VAL(buffer)[pos]; in php_password_salt_to64() 71 zend_string_free(buffer); in php_password_salt_to64() 78 zend_string *ret, *buffer; in php_password_make_salt() local 86 if (FAILURE == php_random_bytes_throw(ZSTR_VAL(buffer), ZSTR_LEN(buffer))) { in php_password_make_salt() 88 zend_string_release_ex(buffer, 0); in php_password_make_salt() 93 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-8.3/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
|
/PHP-8.3/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-8.3/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-8.3/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() 64 buffer_fill(const struct buffer *bb) in buffer_fill() 66 struct buffer *b = CCAST(struct buffer *, bb); in buffer_fill()
|
/PHP-8.3/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 | bug71434.phpt | 13 // As of libmagic >= 5.41 libmagic delivers text/plain for this buffer, 16 echo $finfo->buffer($a) . "\n"; 18 echo $finfo->buffer($a) . "\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"));
|
H A D | bug68731.phpt | 7 $buffer = file_get_contents(__DIR__ . '/68731.gif'); 9 echo finfo_buffer($finfo, $buffer);
|
/PHP-8.3/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() 2082 if (!buffer.s) { in php_cli_server_send_error_page() 2102 chunk = php_cli_server_chunk_heap_new(buffer.s, ZSTR_VAL(buffer.s), ZSTR_LEN(buffer.s)); in php_cli_server_send_error_page() 2197 if (!buffer.s) { in php_cli_server_begin_send_static() [all …]
|
/PHP-8.3/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-8.3/main/ |
H A D | output.c | 364 ZVAL_STRINGL(p, OG(active)->buffer.data, OG(active)->buffer.used); in php_output_get_contents() 866 handler->buffer.data = emalloc(handler->buffer.size); in php_output_handler_init() 879 if ((handler->buffer.size - handler->buffer.used) <= buf->used) { in php_output_handler_append() 884 handler->buffer.data = safe_erealloc(handler->buffer.data, 1, handler->buffer.size, grow_max); in php_output_handler_append() 887 memcpy(handler->buffer.data + handler->buffer.used, buf->data, buf->used); in php_output_handler_append() 921 handler->buffer.used?handler->buffer.data:"", in php_output_handler_op() 922 handler->buffer.used, in php_output_handler_op() 923 handler->buffer.size, in php_output_handler_op() 950 ZVAL_STRINGL(&ob_args[0], handler->buffer.data, handler->buffer.used); in php_output_handler_op() 984 …php_output_context_feed(context, handler->buffer.data, handler->buffer.size, handler->buffer.used,… in php_output_handler_op() [all …]
|
/PHP-8.3/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() 408 char buffer[5]; in IC_METHOD() local 411 buffer[buffer_len] = 0; in IC_METHOD() 598 char buffer[5]; \ [all …]
|
/PHP-8.3/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-8.3/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));
|