/PHP-7.4/ |
H A D | NEWS | 144 . Fixed bug #81302 (Stream position after stream filter removed). (cmb) 145 . Fixed bug #81346 (Non-seekable streams don't update position after write).
|
/PHP-7.4/ext/hash/sha3/generic32lc/ |
H A D | KeccakSponge.inc | 90 …/* If the first bit of padding is at position rate-1, we need a whole new block for the second bit… 230 …/* If the first bit of padding is at position rate-1, we need a whole new block for the second bit…
|
/PHP-7.4/ext/hash/sha3/generic64lc/ |
H A D | KeccakSponge.inc | 90 …/* If the first bit of padding is at position rate-1, we need a whole new block for the second bit… 230 …/* If the first bit of padding is at position rate-1, we need a whole new block for the second bit…
|
/PHP-7.4/main/streams/ |
H A D | streams.c | 755 stream->position += didread; in _php_stream_read() 959 stream->position += cpysz; in _php_stream_get_line() 1115 stream->position += delim_len; in php_stream_get_record() 1132 stream->ops->seek(stream, stream->position, SEEK_SET, &stream->position); in _php_stream_write_buffer() 1154 stream->position += justwrote; in _php_stream_write_buffer() 1295 return stream->position; in _php_stream_tell() 1311 stream->position += offset; in _php_stream_seek() 1317 if (offset > stream->position && in _php_stream_seek() 1320 stream->position = offset; in _php_stream_seek() 1338 offset = stream->position + offset; in _php_stream_seek() [all …]
|
H A D | cast.c | 75 static PHP_FPOS_T stream_cookie_seeker(void *cookie, zend_off_t position, int whence) in stream_cookie_seeker() argument 78 return (PHP_FPOS_T)php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker() 106 static int stream_cookie_seeker(void *cookie, off64_t *position, int whence) in stream_cookie_seeker() argument 109 *position = php_stream_seek((php_stream *)cookie, (zend_off_t)*position, whence); in stream_cookie_seeker() 111 if (*position == -1) { in stream_cookie_seeker() 117 static int stream_cookie_seeker(void *cookie, zend_off_t position, int whence) in stream_cookie_seeker() argument 120 return php_stream_seek((php_stream *)cookie, position, whence); in stream_cookie_seeker() 202 stream->ops->seek(stream, stream->position, SEEK_SET, &dummy); in _php_stream_cast()
|
H A D | filter.c | 475 stream->position += count; in _php_stream_filter_flush()
|
H A D | plain_wrapper.c | 276 stream->position = -1; in _php_stream_fopen_from_fd() 278 stream->position = zend_lseek(self->fd, 0, SEEK_CUR); in _php_stream_fopen_from_fd() 281 if (stream->position == (zend_off_t)-1 && errno == ESPIPE) { in _php_stream_fopen_from_fd() 302 stream->position = -1; in _php_stream_fopen_from_file() 304 stream->position = zend_ftell(file); in _php_stream_fopen_from_file()
|
/PHP-7.4/ext/mbstring/ |
H A D | mbstring.c | 527 ZEND_ARG_INFO(0, position)
|
/PHP-7.4/ext/date/ |
H A D | php_date.c | 2724 …err->error_messages[0].position, err->error_messages[0].character, err->error_messages[0].message); in php_date_initialize() 3085 …add_index_string(&element, error->warning_messages[i].position, error->warning_messages[i].message… in zval_from_error_container() 3092 add_index_string(&element, error->error_messages[i].position, error->error_messages[i].message); in zval_from_error_container() 3261 …err->error_messages[0].position, err->error_messages[0].character, err->error_messages[0].message); in php_date_modify() 4543 …err->error_messages[0].position, err->error_messages[0].character ? err->error_messages[0].charact… in PHP_FUNCTION()
|
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 3571 + 1 = starting position of the match */
|
/PHP-7.4/ext/date/lib/ |
H A D | parse_date.re | 339 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; 349 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; 359 s->errors->warning_messages[s->errors->warning_count - 1].position = cptr - sptr; 369 s->errors->error_messages[s->errors->error_count - 1].position = cptr - sptr;
|
H A D | parse_date.c | 341 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; in add_warning() 351 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; in add_error() 361 s->errors->warning_messages[s->errors->warning_count - 1].position = cptr - sptr; in add_pbf_warning() 371 s->errors->error_messages[s->errors->error_count - 1].position = cptr - sptr; in add_pbf_error()
|
H A D | parse_iso_intervals.c | 95 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0; in add_error()
|
/PHP-7.4/ext/phar/ |
H A D | phar_object.c | 147 zend_off_t position; in phar_file_action() local 195 position = 0; in phar_file_action() 199 got = php_stream_read(fp, buf, MIN(8192, info->uncompressed_filesize - position)); in phar_file_action() 202 position += got; in phar_file_action() 203 if (position == (zend_off_t) info->uncompressed_filesize) { in phar_file_action()
|
H A D | util.c | 116 int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int f… in phar_seek_efp() argument 144 temp = eoffset + position + offset; in phar_seek_efp() 428 (*ret)->position = 0; in phar_get_entry_data() 477 (*ret)->position = 0; in phar_get_entry_data() 608 ret->position = ret->zero = 0; in phar_get_or_create_entry_data()
|
/PHP-7.4/ext/standard/tests/streams/ |
H A D | bug81346.phpt | 2 Bug #81346 (Non-seekable streams don't update position after write)
|
/PHP-7.4/ext/standard/tests/filters/ |
H A D | bug81302.phpt | 2 Bug #81302 (Stream position after stream filter removed)
|
/PHP-7.4/ext/spl/ |
H A D | spl_directory.c | 1954 ZEND_ARG_INFO(0, position)
|
H A D | spl_array.c | 1347 zend_long opos, position; in SPL_METHOD() local 1353 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &position) == FAILURE) { in SPL_METHOD() 1357 opos = position; in SPL_METHOD() 1359 if (position >= 0) { /* negative values are not supported */ in SPL_METHOD() 1363 while (position-- > 0 && (result = spl_array_next(intern)) == SUCCESS); in SPL_METHOD() 1951 ZEND_ARG_INFO(0, position)
|
/PHP-7.4/ext/soap/ |
H A D | php_encoding.c | 2587 xmlAttrPtr position = get_attribute(trav->properties,"position"); in to_zval_array() local 2591 if (position != NULL && position->children && position->children->content) { in to_zval_array() 2592 char* tmp = strrchr((char*)position->children->content, '['); in to_zval_array() 2594 tmp = (char*)position->children->content; in to_zval_array()
|
/PHP-7.4/sapi/fpm/tests/ |
H A D | logtool.inc | 31 private $position; 67 $this->position = 0; 175 … "The suffix has not been finished from position $this->suffixPosition in line: $line" 204 $rem = strlen($this->message) - $this->position; 209 if (!$this->checkMessage($out, $this->position)) { 222 $this->position += $outLen;
|
/PHP-7.4/ext/standard/ |
H A D | http_fopen_wrapper.c | 947 stream->position = 0; in php_stream_url_wrap_http_ex()
|
H A D | streamsfuncs.c | 441 zend_off_t position; in PHP_FUNCTION() local 443 position = php_stream_tell(stream); in PHP_FUNCTION() 444 if (position >= 0 && desiredpos > position) { in PHP_FUNCTION() 446 seek_res = php_stream_seek(stream, desiredpos - position, SEEK_CUR); in PHP_FUNCTION() 447 } else if (desiredpos < position) { in PHP_FUNCTION()
|
/PHP-7.4/ext/reflection/ |
H A D | php_reflection.c | 2250 int position; in ZEND_METHOD() local 2356 position= (int)Z_LVAL_P(parameter); in ZEND_METHOD() 2357 if (position < 0 || (uint32_t)position >= num_args) { in ZEND_METHOD() 2364 position = -1; in ZEND_METHOD() 2374 position = i; in ZEND_METHOD() 2384 position = i; in ZEND_METHOD() 2390 if (position == -1) { in ZEND_METHOD() 2397 ref->arg_info = &arg_info[position]; in ZEND_METHOD() 2398 ref->offset = (uint32_t)position; in ZEND_METHOD() 2410 if (arg_info[position].name) { in ZEND_METHOD() [all …]
|
/PHP-7.4/build/ |
H A D | php.m4 | 1476 int seeker(void *cookie, off64_t *position, int whence) 1477 { ((struct cookiedata*)cookie)->pos = *position; return 0; }
|