Home
last modified time | relevance | path

Searched refs:buffer (Results 251 – 275 of 342) sorted by relevance

1...<<11121314

/PHP-8.3/ext/standard/tests/streams/
H A Dstream_get_line_nb.phpt39 var_dump(fread($sockets[1], strlen("incomplete line"))); // Returns buffer readden by stream_get_li…
/PHP-8.3/ext/gd/libgd/
H A Dgdft.c665 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 Ddasm_arm.h345 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 Dphp_stream_filter_api.h115 php_stream_bucket_brigade buffer; member
/PHP-8.3/ext/phar/
H A Dtar.c304 # 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 Dzip.c27 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 Dmb_decode_mimeheader_variation4.phpt85 // 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 Dsjis_mobile_encodings.phpt312 // 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 Dmb_decode_numericentity.phpt136 // 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 Dmb_encode_mimeheader_basic4.phpt62 // 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 Dmysqlnd_commands.c34 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 Dmysqlnd_vio.c75 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 DSAPI.c234 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 Dsha1.c194 ((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 Dbasic_functions.c539 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 Dstreams.md116 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 Dbind_char_2.phpt9 // The bind buffer size edge cases seem to change each DB version.
/PHP-8.3/ext/pdo_mysql/tests/
H A Dpdo_mysql_get_attribute.phpt80 Maximum buffer size. Defaults to 1 MiB.
/PHP-8.3/ext/hash/xxhash/
H A Dxxhash.h1076 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 Dpcre2_substitute.c211 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 Dphpdbg.h296 char *buffer; /* buffer */ variable
/PHP-8.3/ext/soap/
H A Dphp_packet_soap.c22 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 Dioutil.c1029 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 Dhash_haval.c299 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 Dob_start_basic_004.phpt2 ob_start() chunk_size: confirm buffer is flushed after any output call that causes its length to eq…

Completed in 128 milliseconds

1...<<11121314