Home
last modified time | relevance | path

Searched refs:position (Results 1 – 25 of 279) sorted by last modified time

12345678910>>...12

/php-src/ext/sqlite3/
H A Dsqlite3.c1082 size_t position; member
1110 sqlite3_stream->position += count; in php_sqlite3_stream_write()
1128 sqlite3_stream->position += count; in php_sqlite3_stream_read()
1161 sqlite3_stream->position = 0; in php_sqlite3_stream_seek()
1165 sqlite3_stream->position = sqlite3_stream->position + offset; in php_sqlite3_stream_seek()
1176 sqlite3_stream->position = sqlite3_stream->position + offset; in php_sqlite3_stream_seek()
1188 sqlite3_stream->position = offset; in php_sqlite3_stream_seek()
1189 *newoffs = sqlite3_stream->position; in php_sqlite3_stream_seek()
1199 sqlite3_stream->position = 0; in php_sqlite3_stream_seek()
1209 *newoffs = sqlite3_stream->position; in php_sqlite3_stream_seek()
[all …]
/php-src/ext/pdo_sqlite/
H A Dpdo_sqlite.c131 size_t position; member
159 sqlite3_stream->position += count; in php_pdosqlite3_stream_write()
177 sqlite3_stream->position += count; in php_pdosqlite3_stream_read()
209 sqlite3_stream->position = 0; in php_pdosqlite3_stream_seek()
213 sqlite3_stream->position = sqlite3_stream->position + offset; in php_pdosqlite3_stream_seek()
224 sqlite3_stream->position = sqlite3_stream->position + offset; in php_pdosqlite3_stream_seek()
236 sqlite3_stream->position = offset; in php_pdosqlite3_stream_seek()
237 *newoffs = sqlite3_stream->position; in php_pdosqlite3_stream_seek()
247 sqlite3_stream->position = 0; in php_pdosqlite3_stream_seek()
257 *newoffs = sqlite3_stream->position; in php_pdosqlite3_stream_seek()
[all …]
/php-src/ext/zend_test/
H A Dtest.stub.php197 … function zend_test_compile_string(string $source_string, string $filename, int $position): void {} argument
H A Dtest_arginfo.h19 ZEND_ARG_TYPE_INFO(0, position, IS_LONG, 0)
H A Dtest.c240 zend_long position = ZEND_COMPILE_POSITION_AT_OPEN_TAG; in ZEND_FUNCTION() local
245 Z_PARAM_LONG(position) in ZEND_FUNCTION()
250 op_array = compile_string(source_string, ZSTR_VAL(filename), position); in ZEND_FUNCTION()
/php-src/ext/reflection/
H A Dphp_reflection.c2421 zend_long position; in ZEND_METHOD() local
2433 Z_PARAM_STR_OR_LONG(arg_name, position) in ZEND_METHOD()
2534 position = -1; in ZEND_METHOD()
2540 position = i; in ZEND_METHOD()
2549 position = i; in ZEND_METHOD()
2555 if (position == -1) { in ZEND_METHOD()
2560 if (position < 0) { in ZEND_METHOD()
2564 if (position >= num_args) { in ZEND_METHOD()
2571 ref->arg_info = &arg_info[position]; in ZEND_METHOD()
2572 ref->offset = (uint32_t)position; in ZEND_METHOD()
[all …]
/php-src/Zend/
H A Dzend_compile.c86 …_compile_string)(zend_string *source_string, const char *filename, zend_compile_position position);
/php-src/ext/opcache/jit/ir/
H A Dir_ra.c2288 if (position < live_range->end) { in ir_ival_covers()
3486 ir_live_pos position; in ir_linear_scan() local
3587 position = ival->range.start; in ir_linear_scan()
3598 if (r->end <= position) { in ir_linear_scan()
3601 } while (r && r->end <= position); in ir_linear_scan()
3614 if (position < r->start) { in ir_linear_scan()
3636 if (r->end <= position) { in ir_linear_scan()
3639 } while (r && r->end <= position); in ir_linear_scan()
3652 if (position >= r->start) { in ir_linear_scan()
3729 position = ival->range.start; in ir_linear_scan()
[all …]
/php-src/build/
H A Dphp.m41365 int seeker(void *cookie, off64_t *position, int whence)
1366 { ((struct cookiedata*)cookie)->pos = *position; return 0; }
/php-src/main/streams/
H A Dplain_wrapper.c288 stream->position = -1; in _php_stream_fopen_from_fd()
291 stream->position = 0; in _php_stream_fopen_from_fd()
293 stream->position = zend_lseek(self->fd, 0, SEEK_CUR); in _php_stream_fopen_from_fd()
296 if (stream->position == (zend_off_t)-1 && errno == ESPIPE) { in _php_stream_fopen_from_fd()
317 stream->position = -1; in _php_stream_fopen_from_file()
319 stream->position = zend_ftell(file); in _php_stream_fopen_from_file()
H A Dcast.c75 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
108 static int stream_cookie_seeker(void *cookie, off_t *position, int whence) in stream_cookie_seeker()
112 *position = php_stream_seek((php_stream *)cookie, (zend_off_t)*position, whence); in stream_cookie_seeker()
114 if (*position == -1) { in stream_cookie_seeker()
198 stream->ops->seek(stream, stream->position, SEEK_SET, &dummy); in _php_stream_cast()
H A Dstreams.c783 stream->position += didread; in _php_stream_read()
988 stream->position += cpysz; in _php_stream_get_line()
1144 stream->position += delim_len; in php_stream_get_record()
1162 stream->ops->seek(stream, stream->position, SEEK_SET, &stream->position); in _php_stream_write_buffer()
1190 stream->position += justwrote; in _php_stream_write_buffer()
1337 return stream->position; in _php_stream_tell()
1358 stream->position += offset; in _php_stream_seek()
1367 stream->position = offset; in _php_stream_seek()
1648 src->position += nbytes; in _php_stream_copy_to_stream_ex()
1649 dest->position += nbytes; in _php_stream_copy_to_stream_ex()
[all …]
/php-src/ext/mbstring/tests/
H A Dmb_encode_mimeheader_basic4.phpt87 // If so, properly record where the line start position is so we can correctly calculate
/php-src/ext/intl/formatter/
H A Dformatter_parse.c38 int32_t val32, position = 0; in PHP_FUNCTION() local
54 position = (int32_t) zval_get_long(zposition); in PHP_FUNCTION()
55 position_p = &position; in PHP_FUNCTION()
104 ZEND_TRY_ASSIGN_REF_LONG(zposition, position); in PHP_FUNCTION()
133 int32_t position = 0; in PHP_FUNCTION() local
152 position = (int32_t) zval_get_long(zposition); in PHP_FUNCTION()
153 position_p = &position; in PHP_FUNCTION()
158 ZEND_TRY_ASSIGN_REF_LONG(zposition, position); in PHP_FUNCTION()
/php-src/ext/phar/
H A Dutil.c116 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()
438 (*ret)->position = 0; in phar_get_entry_data()
487 (*ret)->position = 0; in phar_get_entry_data()
618 ret->position = ret->zero = 0; in phar_get_or_create_entry_data()
H A Dstream.c390 php_stream_seek(data->fp, data->position + data->zero, SEEK_SET); in phar_stream_read()
392 …hp_stream_read(data->fp, buf, MIN(count, (size_t)(entry->uncompressed_filesize - data->position))); in phar_stream_read()
393 data->position = php_stream_tell(data->fp) - data->zero; in phar_stream_read()
394 stream->eof = (data->position == (zend_off_t) entry->uncompressed_filesize); in phar_stream_read()
421 temp = data->zero + data->position + offset; in phar_stream_seek()
439 data->position = *newoffset; in phar_stream_seek()
451 php_stream_seek(data->fp, data->position, SEEK_SET); in phar_stream_write()
456 data->position = php_stream_tell(data->fp); in phar_stream_write()
457 if (data->position > (zend_off_t)data->internal_file->uncompressed_filesize) { in phar_stream_write()
458 data->internal_file->uncompressed_filesize = data->position; in phar_stream_write()
/php-src/sapi/phpdbg/
H A Dphpdbg_frame.c248 HashPosition position; in phpdbg_dump_backtrace() local
276 zend_hash_internal_pointer_reset_ex(Z_ARRVAL(zbacktrace), &position); in phpdbg_dump_backtrace()
279 while ((tmp = zend_hash_get_current_data_ex(Z_ARRVAL(zbacktrace), &position))) { in phpdbg_dump_backtrace()
295 zend_hash_move_forward_ex(Z_ARRVAL(zbacktrace), &position); in phpdbg_dump_backtrace()
/php-src/ext/date/
H A Dphp_date.c2434 …err->error_messages[0].position, err->error_messages[0].character ? err->error_messages[0].charact… in php_date_initialize()
3096 …add_index_string(&element, error->warning_messages[i].position, error->warning_messages[i].message… in zval_from_error_container()
3103 add_index_string(&element, error->error_messages[i].position, error->error_messages[i].message); in zval_from_error_container()
3267 err->error_messages[0].position, in php_date_modify()
4645 err->error_messages[0].position, in php_date_interval_initialize_from_hash()
4882 …err->error_messages[0].position, err->error_messages[0].character ? err->error_messages[0].charact… in PHP_FUNCTION()
4916 …err->error_messages[0].position, err->error_messages[0].character ? err->error_messages[0].charact… in PHP_METHOD()
/php-src/sapi/fpm/tests/
H A Dlogreader.inc322 private int $position;
332 $this->position = 0;
351 while ($this->position >= count($this->lines)) {
358 if ($this->position < count($lines)) {
372 return $this->lines[$this->position++];
382 return array_slice($this->lines, 0, $this->position);
H A Dlogtool.inc42 private int $position;
92 $this->position = 0;
248 while (strlen($this->message) !== $this->position) {
268 … "The suffix has not been finished from position $this->suffixPosition in line: $line"
308 $rem = strlen($this->message) - $this->position;
313 if ( ! $this->checkMessage($out, $this->position, $useLine)) {
317 $this->position += $outLen;
375 * @param int $expectedMessageStart Message position.
/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_get_result_seek.phpt38 printf("[007] Cannot seek to position %d, [%d] %s\n",
/php-src/ext/standard/
H A Dstring.c1290 size_t position = ZSTR_LEN(str)-1; in PHP_FUNCTION() local
1294 char c = ZSTR_VAL(incremented)[position]; in PHP_FUNCTION()
1298 ZSTR_VAL(incremented)[position]++; in PHP_FUNCTION()
1302 ZSTR_VAL(incremented)[position] = '0'; in PHP_FUNCTION()
1304 ZSTR_VAL(incremented)[position] -= 25; in PHP_FUNCTION()
1307 } while (carry && position-- > 0); in PHP_FUNCTION()
1350 size_t position = ZSTR_LEN(str)-1; in PHP_FUNCTION() local
1358 ZSTR_VAL(decremented)[position]--; in PHP_FUNCTION()
1362 ZSTR_VAL(decremented)[position] = '9'; in PHP_FUNCTION()
1364 ZSTR_VAL(decremented)[position] += 25; in PHP_FUNCTION()
[all …]
H A Dhttp_fopen_wrapper.c960 stream->position = 0; in php_stream_url_wrap_http_ex()
/php-src/ext/pdo/
H A Dpdo_stmt.c54 int position = 0; in rewrite_name_to_position() local
73 position++; in rewrite_name_to_position()
81 param->paramno = position; in rewrite_name_to_position()
/php-src/ext/spl/
H A Dspl_array.c1699 zend_long opos, position; in PHP_METHOD() local
1705 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &position) == FAILURE) { in PHP_METHOD()
1709 opos = position; in PHP_METHOD()
1711 if (position >= 0) { /* negative values are not supported */ in PHP_METHOD()
1715 while (position-- > 0 && (result = spl_array_next(intern)) == SUCCESS); in PHP_METHOD()

Completed in 163 milliseconds

12345678910>>...12