/PHP-7.4/ext/standard/ |
H A D | user_filters.c | 506 char *buffer; in PHP_FUNCTION() local 513 Z_PARAM_STRING(buffer, buffer_len) in PHP_FUNCTION() 520 memcpy(pbuffer, buffer, buffer_len); in PHP_FUNCTION()
|
H A D | sha1.c | 197 ((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_SHA1Update() 198 SHA1Transform(context->state, context->buffer); in PHP_SHA1Update() 209 ((unsigned char*) & context->buffer[index], (unsigned char*) & input[i], in PHP_SHA1Update()
|
/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_driver.c | 217 stmt->execute_cmd_buffer.buffer = mnd_emalloc(stmt->execute_cmd_buffer.length); in MYSQLND_METHOD() 218 if (!stmt->execute_cmd_buffer.buffer) { in MYSQLND_METHOD()
|
H A D | mysqlnd_debug.c | 150 char * message_line, *buffer; in MYSQLND_METHOD() local 219 mnd_vsprintf(&buffer, 0, format, args); in MYSQLND_METHOD() 228 pipe_buffer, type? type:"", buffer); in MYSQLND_METHOD() 229 mnd_sprintf_free(buffer); in MYSQLND_METHOD()
|
H A D | mysqlnd_vio.c | 77 MYSQLND_METHOD(mysqlnd_vio, network_read)(MYSQLND_VIO * const vio, zend_uchar * const buffer, const… in MYSQLND_METHOD() 83 zend_uchar * p = buffer; in MYSQLND_METHOD() 106 MYSQLND_METHOD(mysqlnd_vio, network_write)(MYSQLND_VIO * const vio, const zend_uchar * const buffer… in MYSQLND_METHOD() 112 ret = php_stream_write(vio->data->m.get_stream(vio), (char *)buffer, count); in MYSQLND_METHOD()
|
H A D | mysqlnd_commands.c | 35 zend_uchar buffer[2]; in MYSQLND_METHOD() local 39 int2store(buffer, (unsigned int) option); in MYSQLND_METHOD() 41 ret = send_command(conn->payload_decoder_factory, COM_SET_OPTION, buffer, sizeof(buffer), FALSE, in MYSQLND_METHOD()
|
/PHP-7.4/ext/openssl/ |
H A D | php_openssl.h | 78 int buffer[ERR_NUM_ERRORS]; member
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_max_buffer_size.phpt | 27 /* buffer is only relevant with native PS */
|
H A D | pdo_mysql_get_attribute.phpt | 79 Maximum buffer size. Defaults to 1 MiB.
|
/PHP-7.4/ext/standard/tests/streams/ |
H A D | stream_get_line_nb.phpt | 39 var_dump(fread($sockets[1], strlen("incomplete line"))); // Returns buffer readden by stream_get_li…
|
/PHP-7.4/ext/ftp/ |
H A D | ftp.c | 626 char *buffer; in ftp_chmod() local 633 buffer_len = spprintf(&buffer, 0, "CHMOD %o %s", mode, filename); in ftp_chmod() 635 if (!buffer) { in ftp_chmod() 639 if (!ftp_putcmd(ftp, "SITE", sizeof("SITE")-1, buffer, buffer_len)) { in ftp_chmod() 640 efree(buffer); in ftp_chmod() 644 efree(buffer); in ftp_chmod() 659 char buffer[64]; in ftp_alloc() local 666 buffer_len = snprintf(buffer, sizeof(buffer) - 1, ZEND_LONG_FMT, size); in ftp_alloc() 672 if (!ftp_putcmd(ftp, "ALLO", sizeof("ALLO")-1, buffer, buffer_len)) { in ftp_alloc()
|
/PHP-7.4/ext/gd/libgd/ |
H A D | gdft.c | 655 level = (bitmap.buffer[pc] * gdAlphaMax / (bitmap.num_grays - 1)); 658 … level = ((bitmap.buffer[(col>>3)+pcr]) & (1<<(~col&0x07))) ? gdAlphaTransparent : gdAlphaOpaque; 724 … tc_key.pixel = ((bitmap.buffer[pc] * NUMCOLORS) + bitmap.num_grays / 2) / (bitmap.num_grays - 1); 726 tc_key.pixel = ((bitmap.buffer[pc / 8] << (pc % 8)) & 128) ? NUMCOLORS : 0; 728 tc_key.pixel = ((bitmap.buffer[(col>>3)+pcr]) & (1<<(~col&0x07))) ? NUMCOLORS : 0;
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | wordwrap_variation5.phpt | 6 * Description: Wraps buffer to selected number of characters using string break char
|
/PHP-7.4/main/streams/ |
H A D | php_stream_filter_api.h | 117 php_stream_bucket_brigade buffer; member
|
/PHP-7.4/ext/exif/tests/ |
H A D | bug76557.phpt | 2 Bug 76557 (heap-buffer-overflow (READ of size 48) while reading exif data)
|
/PHP-7.4/main/ |
H A D | SAPI.c | 234 SAPI_API size_t sapi_read_post_block(char *buffer, size_t buflen) in sapi_read_post_block() argument 242 read_bytes = sapi_module.read_post(buffer, buflen); in sapi_read_post_block() 271 char buffer[SAPI_POST_BLOCK_SIZE]; in SAPI_POST_READER_FUNC() local 273 read_bytes = sapi_read_post_block(buffer, SAPI_POST_BLOCK_SIZE); in SAPI_POST_READER_FUNC() 276 if (php_stream_write(SG(request_info).request_body, buffer, read_bytes) != read_bytes) { in SAPI_POST_READER_FUNC()
|
/PHP-7.4/docs/ |
H A D | streams.md | 116 If you want to read the contents of a stream into an allocated memory buffer, 124 This function will set buf to the address of the buffer that it allocated, which 126 remaining on the stream if you set maxlen to `PHP_STREAM_COPY_ALL`. The buffer 247 itself, which holds some state information (and possibly a buffer) and a 297 * `bufsize` is the size of the buffer to use - if 0, then buffering at the 379 such as coping with a buffer size too small to hold the data,
|
/PHP-7.4/ext/oci8/tests/ |
H A D | bind_char_2_11gR1.phpt | 7 // The bind buffer size edge cases seem to change each DB version.
|
H A D | bind_char_2.phpt | 7 // The bind buffer size edge cases seem to change each DB version.
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | fpassthru_basic.phpt | 8 and writes the results to the output buffer.
|
/PHP-7.4/ext/standard/tests/filters/ |
H A D | stream_filter_remove_error.phpt | 11 …* Description: Flushes any data in the filter's internal buffer, removes it from the chain, and fr…
|
/PHP-7.4/Zend/ |
H A D | zend_interfaces.c | 435 ZEND_API int zend_user_serialize(zval *object, unsigned char **buffer, size_t *buf_len, zend_serial… in zend_user_serialize() argument 453 *buffer = (unsigned char*)estrndup(Z_STRVAL(retval), Z_STRLEN(retval)); in zend_user_serialize() 494 ZEND_API int zend_class_serialize_deny(zval *object, unsigned char **buffer, size_t *buf_len, zend_… in zend_class_serialize_deny() argument
|
/PHP-7.4/ext/pcre/pcre2lib/ |
H A D | pcre2_substitute.c | 211 memcpy(buffer + buff_offset, from, CU2BYTES(length)); \ 223 PCRE2_UCHAR *buffer, PCRE2_SIZE *blength) in pcre2_substitute() argument 312 scb.output = (PCRE2_SPTR)buffer; in pcre2_substitute()
|
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 392 + char buffer[BUFSIZ + 1]; 662 * handle a buffer containing a compiled file. 1006 diff -u libmagic.orig/buffer.c libmagic/buffer.c 1008 +++ libmagic/buffer.c 2021-09-17 21:27:42.796508107 +0200 1037 buffer_fini(struct buffer *b) 1741 struct buffer { 1819 protected void buffer_fini(struct buffer *); 1820 protected int buffer_fill(const struct buffer *); 2249 - * Like printf, only we append to a buffer. 2375 struct buffer b; [all …]
|
/PHP-7.4/ext/mysqli/ |
H A D | mysqli_api.c | 211 bind[ofs].buffer = &Z_DVAL_P(param); in mysqli_stmt_bind_param_do_bind() 221 bind[ofs].buffer = &Z_LVAL_P(param); in mysqli_stmt_bind_param_do_bind() 422 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 433 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 459 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 472 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 530 bind[ofs].buffer = stmt->result.buf[ofs].val; in mysqli_stmt_bind_result_do_bind() 908 stmt->stmt->params[i].buffer = Z_STRVAL_P(param); 913 stmt->stmt->params[i].buffer = &Z_DVAL_P(param); 918 stmt->stmt->params[i].buffer = &Z_LVAL_P(param);
|