/PHP-8.0/ext/mysqlnd/ |
H A D | mysqlnd_driver.c | 215 stmt->execute_cmd_buffer.buffer = mnd_emalloc(stmt->execute_cmd_buffer.length); in MYSQLND_METHOD() 216 if (!stmt->execute_cmd_buffer.buffer) { in MYSQLND_METHOD()
|
H A D | mysqlnd_debug.c | 148 char * message_line, *buffer; in MYSQLND_METHOD() local 217 mnd_vsprintf(&buffer, 0, format, args); in MYSQLND_METHOD() 226 pipe_buffer, type? type:"", buffer); in MYSQLND_METHOD() 227 mnd_sprintf_free(buffer); in MYSQLND_METHOD()
|
H A D | mysqlnd_vio.c | 75 MYSQLND_METHOD(mysqlnd_vio, network_read)(MYSQLND_VIO * const vio, zend_uchar * const buffer, const… in MYSQLND_METHOD() 81 zend_uchar * p = buffer; in MYSQLND_METHOD() 104 MYSQLND_METHOD(mysqlnd_vio, network_write)(MYSQLND_VIO * const vio, const zend_uchar * const buffer… in MYSQLND_METHOD() 110 ret = php_stream_write(vio->data->m.get_stream(vio), (char *)buffer, count); in MYSQLND_METHOD()
|
H A D | mysqlnd_commands.c | 33 zend_uchar buffer[2]; in MYSQLND_METHOD() local 37 int2store(buffer, (unsigned int) option); in MYSQLND_METHOD() 39 ret = send_command(conn->payload_decoder_factory, COM_SET_OPTION, buffer, sizeof(buffer), FALSE, in MYSQLND_METHOD()
|
/PHP-8.0/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-8.0/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 51 const struct buffer *, size_t, int, int, int, uint16_t *, 53 private int mget(struct magic_set *, struct magic *, const struct buffer *, 57 private int msetoffset(struct magic_set *, struct magic *, struct buffer *, 58 const struct buffer *, size_t, unsigned int); 121 file_softmagic(struct magic_set *ms, const struct buffer *b, in file_softmagic() 201 const struct buffer *b, size_t offset, int mode, int text, in match() 211 struct buffer bb; in match() 1495 msetoffset(struct magic_set *ms, struct magic *m, struct buffer *bb, in msetoffset() 1496 const struct buffer *b, size_t o, unsigned int cont_level) in msetoffset() 1545 mget(struct magic_set *ms, struct magic *m, const struct buffer *b, in mget() [all …]
|
/PHP-8.0/ext/opcache/jit/dynasm/ |
H A D | dasm_arm.h | 344 int dasm_encode(Dst_DECL, void *buffer) in dasm_encode() argument 347 char *base = (char *)buffer; in dasm_encode() 348 unsigned int *cp = (unsigned int *)buffer; in dasm_encode()
|
H A D | dasm_arm64.h | 400 int dasm_encode(Dst_DECL, void *buffer) in dasm_encode() argument 403 char *base = (char *)buffer; in dasm_encode() 404 unsigned int *cp = (unsigned int *)buffer; in dasm_encode()
|
/PHP-8.0/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-8.0/ext/ftp/ |
H A D | ftp.c | 607 char *buffer; in ftp_chmod() local 614 buffer_len = spprintf(&buffer, 0, "CHMOD %o %s", mode, filename); in ftp_chmod() 616 if (!buffer) { in ftp_chmod() 620 if (!ftp_putcmd(ftp, "SITE", sizeof("SITE")-1, buffer, buffer_len)) { in ftp_chmod() 621 efree(buffer); in ftp_chmod() 625 efree(buffer); in ftp_chmod() 639 char buffer[64]; in ftp_alloc() local 646 buffer_len = snprintf(buffer, sizeof(buffer) - 1, ZEND_LONG_FMT, size); in ftp_alloc() 652 if (!ftp_putcmd(ftp, "ALLO", sizeof("ALLO")-1, buffer, buffer_len)) { in ftp_alloc()
|
/PHP-8.0/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-8.0/main/streams/ |
H A D | php_stream_filter_api.h | 115 php_stream_bucket_brigade buffer; member
|
/PHP-8.0/ext/exif/tests/ |
H A D | bug76557.phpt | 2 Bug 76557 (heap-buffer-overflow (READ of size 48) while reading exif data)
|
/PHP-8.0/main/ |
H A D | SAPI.c | 228 SAPI_API size_t sapi_read_post_block(char *buffer, size_t buflen) in sapi_read_post_block() argument 236 read_bytes = sapi_module.read_post(buffer, buflen); in sapi_read_post_block() 265 char buffer[SAPI_POST_BLOCK_SIZE]; in SAPI_POST_READER_FUNC() local 267 read_bytes = sapi_read_post_block(buffer, SAPI_POST_BLOCK_SIZE); in SAPI_POST_READER_FUNC() 270 if (php_stream_write(SG(request_info).request_body, buffer, read_bytes) != read_bytes) { in SAPI_POST_READER_FUNC()
|
/PHP-8.0/ext/standard/ |
H A D | sha1.c | 193 ((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_SHA1Update() 194 SHA1Transform(context->state, context->buffer); in PHP_SHA1Update() 205 ((unsigned char*) & context->buffer[index], (unsigned char*) & input[i], in PHP_SHA1Update()
|
H A D | basic_functions.c | 602 char buffer[40]; in PHP_FUNCTION() local 617 if (!inet_ntop(af, address, buffer, sizeof(buffer))) { in PHP_FUNCTION() 621 RETURN_STRING(buffer); in PHP_FUNCTION() 633 char buffer[17]; in PHP_FUNCTION() local 639 memset(buffer, 0, sizeof(buffer)); in PHP_FUNCTION() 650 ret = inet_pton(af, address, buffer); in PHP_FUNCTION() 656 RETURN_STRINGL(buffer, af == AF_INET ? 4 : 16); in PHP_FUNCTION()
|
/PHP-8.0/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-8.0/ext/oci8/tests/ |
H A D | bind_char_2.phpt | 7 // The bind buffer size edge cases seem to change each DB version.
|
H A D | bind_char_2_11gR1.phpt | 7 // The bind buffer size edge cases seem to change each DB version.
|
/PHP-8.0/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-8.0/Zend/ |
H A D | zend_interfaces.c | 348 ZEND_API int zend_user_serialize(zval *object, unsigned char **buffer, size_t *buf_len, zend_serial… in zend_user_serialize() argument 366 *buffer = (unsigned char*)estrndup(Z_STRVAL(retval), Z_STRLEN(retval)); in zend_user_serialize() 406 ZEND_API int zend_class_serialize_deny(zval *object, unsigned char **buffer, size_t *buf_len, zend_… in zend_class_serialize_deny() argument
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg.h | 307 char *buffer; /* buffer */ variable
|
H A D | phpdbg.c | 149 pg->buffer = NULL; in php_phpdbg_globals_ctor() 235 if (PHPDBG_G(buffer)) { in PHP_MSHUTDOWN_FUNCTION() 236 free(PHPDBG_G(buffer)); in PHP_MSHUTDOWN_FUNCTION() 237 PHPDBG_G(buffer) = NULL; in PHP_MSHUTDOWN_FUNCTION() 1144 char buffer[20] = {0}; in phpdbg_remote_init() local 1148 inet_ntop(AF_INET, &(((struct sockaddr_in *)&address)->sin_addr), buffer, sizeof(buffer)); in phpdbg_remote_init() 1150 phpdbg_rlog(fileno(stderr), "connection established from %s", buffer); in phpdbg_remote_init()
|
/PHP-8.0/ext/phar/ |
H A D | zip.c | 27 static inline void phar_write_32(char buffer[4], uint32_t value) in phar_write_32() 29 buffer[3] = (unsigned char) ((value & 0xff000000) >> 24); in phar_write_32() 30 buffer[2] = (unsigned char) ((value & 0xff0000) >> 16); in phar_write_32() 31 buffer[1] = (unsigned char) ((value & 0xff00) >> 8); in phar_write_32() 32 buffer[0] = (unsigned char) (value & 0xff); in phar_write_32() 34 static inline void phar_write_16(char buffer[2], uint32_t value) in phar_write_16() 36 buffer[1] = (unsigned char) ((value & 0xff00) >> 8); in phar_write_16() 37 buffer[0] = (unsigned char) (value & 0xff); in phar_write_16()
|