/PHP-8.3/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.3/ext/gd/libgd/ |
H A D | gdft.c | 665 level = (bitmap.buffer[pc] * gdAlphaMax / (bitmap.num_grays - 1)); 668 … level = ((bitmap.buffer[(col>>3)+pcr]) & (1<<(~col&0x07))) ? gdAlphaTransparent : gdAlphaOpaque; 734 … tc_key.pixel = ((bitmap.buffer[pc] * NUMCOLORS) + bitmap.num_grays / 2) / (bitmap.num_grays - 1); 736 tc_key.pixel = ((bitmap.buffer[pc / 8] << (pc % 8)) & 128) ? NUMCOLORS : 0; 738 tc_key.pixel = ((bitmap.buffer[(col>>3)+pcr]) & (1<<(~col&0x07))) ? NUMCOLORS : 0;
|
/PHP-8.3/ext/opcache/jit/dynasm/ |
H A D | dasm_arm.h | 345 int dasm_encode(Dst_DECL, void *buffer) in dasm_encode() argument 348 char *base = (char *)buffer; in dasm_encode() 349 unsigned int *cp = (unsigned int *)buffer; in dasm_encode()
|
/PHP-8.3/main/streams/ |
H A D | php_stream_filter_api.h | 115 php_stream_bucket_brigade buffer; member
|
/PHP-8.3/ext/phar/ |
H A D | tar.c | 304 # define PHAR_GET_32(buffer) \ in phar_parse_tarfile() argument 305 (((((unsigned char*)(buffer))[3]) << 24) \ in phar_parse_tarfile() 306 | ((((unsigned char*)(buffer))[2]) << 16) \ in phar_parse_tarfile() 307 | ((((unsigned char*)(buffer))[1]) << 8) \ in phar_parse_tarfile() 308 | (((unsigned char*)(buffer))[0])) in phar_parse_tarfile() 310 # define PHAR_GET_32(buffer) (uint32_t) *(buffer) in phar_parse_tarfile() argument
|
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()
|
/PHP-8.3/ext/mbstring/tests/ |
H A D | mb_decode_mimeheader_variation4.phpt | 85 // passed the last buffer of wchars without passing 'end' flag, then called one more 86 // time with an empty buffer and 'end' flag to finish up
|
H A D | sjis_mobile_encodings.phpt | 312 // Regression test for problem with not allocating enough space in output buffer 328 // the very end of one buffer of wchars, and the keycap modifier was at the 329 // beginning of the following buffer of wchars 336 // Regression test for 0-9 appearing at end of one buffer and U+203E NOT appearing 344 // Regression test for not making enough space in output buffer when 0-9 appeared 345 // at the end of one buffer and was re-processed together with the next
|
H A D | mb_decode_numericentity.phpt | 136 // Try with '&', '&#', or '&#' at the end of a buffer of wchars, with more input 137 // still left to process in the next buffer 155 // Try huge entities, big enough to fill an entire buffer
|
H A D | mb_encode_mimeheader_basic4.phpt | 62 // Regression test for buffer overrun while performing Base64-encoding 95 // refill our buffer of wchars so we don't hit the end of the buffer in the middle of a line 127 // buffer for the next iteration, causing an assertion failure
|
/PHP-8.3/ext/mysqlnd/ |
H A D | mysqlnd_commands.c | 34 zend_uchar buffer[2]; in MYSQLND_METHOD() local 38 int2store(buffer, (unsigned int) option); in MYSQLND_METHOD() 40 ret = send_command(conn->payload_decoder_factory, COM_SET_OPTION, buffer, sizeof(buffer), FALSE, 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()
|
/PHP-8.3/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-8.3/ext/standard/ |
H A D | sha1.c | 194 ((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_SHA1Update() 195 SHA1Transform(context->state, context->buffer); in PHP_SHA1Update() 206 ((unsigned char*) & context->buffer[index], (unsigned char*) & input[i], in PHP_SHA1Update()
|
H A D | basic_functions.c | 539 char buffer[40]; in PHP_FUNCTION() local 554 if (!inet_ntop(af, address, buffer, sizeof(buffer))) { in PHP_FUNCTION() 558 RETURN_STRING(buffer); in PHP_FUNCTION() 570 char buffer[17]; in PHP_FUNCTION() local 576 memset(buffer, 0, sizeof(buffer)); in PHP_FUNCTION() 587 ret = inet_pton(af, address, buffer); in PHP_FUNCTION() 593 RETURN_STRINGL(buffer, af == AF_INET ? 4 : 16); in PHP_FUNCTION()
|
/PHP-8.3/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.3/ext/oci8/tests/ |
H A D | bind_char_2.phpt | 9 // The bind buffer size edge cases seem to change each DB version.
|
/PHP-8.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_get_attribute.phpt | 80 Maximum buffer size. Defaults to 1 MiB.
|
/PHP-8.3/ext/hash/xxhash/ |
H A D | xxhash.h | 1076 XXH_ALIGN_MEMBER(64, unsigned char buffer[XXH3_INTERNALBUFFER_SIZE]); 4844 XXH_memcpy(state->buffer + state->bufferedSize, input, len); in XXH3_update() 4859 XXH_memcpy(state->buffer + state->bufferedSize, input, loadSize); in XXH3_update() 4863 state->buffer, XXH3_INTERNALBUFFER_STRIPES, in XXH3_update() 4896 …XXH_memcpy(state->buffer + sizeof(state->buffer) - XXH_STRIPE_LEN, input - XXH_STRIPE_LEN, XXH_STR… in XXH3_update() 4912 …XXH_memcpy(state->buffer + sizeof(state->buffer) - XXH_STRIPE_LEN, input - XXH_STRIPE_LEN, XXH_STR… in XXH3_update() 4920 XXH_memcpy(state->buffer, input, (size_t)(bEnd-input)); in XXH3_update() 4955 state->buffer, nbStripes, in XXH3_digest_long() 4966 XXH_memcpy(lastStripe, state->buffer + sizeof(state->buffer) - catchupSize, catchupSize); in XXH3_digest_long() 4988 return XXH3_64bits_withSecret(state->buffer, (size_t)(state->totalLen), in XXH3_64bits_digest() [all …]
|
/PHP-8.3/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 327 scb.output = (PCRE2_SPTR)buffer; in pcre2_substitute()
|
/PHP-8.3/sapi/phpdbg/ |
H A D | phpdbg.h | 296 char *buffer; /* buffer */ variable
|
/PHP-8.3/ext/soap/ |
H A D | php_packet_soap.c | 22 int parse_packet_soap(zval *this_ptr, char *buffer, int buffer_size, sdlFunctionPtr fn, char *fn_na… in parse_packet_soap() argument 40 response = soap_xmlParseMemory(buffer, buffer_size); in parse_packet_soap()
|
/PHP-8.3/win32/ |
H A D | ioutil.c | 1029 char buffer[MAXIMUM_REPARSE_DATA_BUFFER_SIZE]; in php_win32_ioutil_readlink_int() local 1030 …HP_WIN32_IOUTIL_REPARSE_DATA_BUFFER *reparse_data = (PHP_WIN32_IOUTIL_REPARSE_DATA_BUFFER*) buffer; in php_win32_ioutil_readlink_int() 1039 buffer, in php_win32_ioutil_readlink_int() 1040 sizeof buffer, in php_win32_ioutil_readlink_int()
|
/PHP-8.3/ext/hash/ |
H A D | hash_haval.c | 299 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); in PHP_HAVALUpdate() 300 context->Transform(context->state, context->buffer); in PHP_HAVALUpdate() 312 memcpy((unsigned char*) &context->buffer[index], (unsigned char*) &input[i], inputLen - i); in PHP_HAVALUpdate()
|
/PHP-8.3/tests/output/ |
H A D | ob_start_basic_004.phpt | 2 ob_start() chunk_size: confirm buffer is flushed after any output call that causes its length to eq…
|