| /PHP_5_3/ext/phar/tests/zip/files/ |
| H A D | corrupt_zipmaker.php.inc | 39 * @var int Current position in the writer
|
| /PHP_5_3/ext/spl/internal/ |
| H A D | limititerator.inc | 51 /** Seek to specified position 52 * @param position offset to seek to (relative to beginning not offset 54 * @throw exception when position is invalid 56 function seek($position) { 57 if ($position < $this->offset) { 58 throw new exception('Cannot seek to '.$position.' which is below offset '.$this->offset); 60 if ($position > $this->offset + $this->count && $this->count != -1) { 61 throw new exception('Cannot seek to '.$position.' which is behind offset '.$this->offset.' plus count '.$this->count); 64 $this->it->seek($position); 65 $this->pos = $position; [all...] |
| H A D | multipleiterator.inc | 33 /** keys are created from sub iterators position */
|
| H A D | seekableiterator.inc | 23 /** Seek to an absolute position 25 * \param $index position to seek to 29 * the given position. Typically this exception should be of type 34 $position = 0; 35 while($position < $index && $this->valid()) { 37 $position++; 40 throw new OutOfBoundsException('Invalid seek position');
|
| H A D | splfileobject.inc | 133 * @return current file position 141 * @param pos new file position
|
| /PHP_5_3/ext/spl/ |
| H A D | spl.php | 826 /** @param $position offset to seek to 827 * @throw OutOfBoundsException if $position is invalid 829 function seek($position) {/**/}
|
| H A D | spl_array.c | 840 spl_array_rewind(intern TSRMLS_CC); /* because deletion might invalidate position */ 909 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Array was modified outside object and internal position is no longer valid"); 956 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "ArrayIterator::valid(): Array was modified outside object and internal position is no longer valid"); 996 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "ArrayIterator::current(): Array was modified outside object and internal position is no longer valid"); 1021 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "ArrayIterator::next(): Array was modified outside object and internal position is no longer valid"); 1299 /* {{{ proto void ArrayIterator::seek(int $position) 1300 Seek to position. */ 1303 long opos, position; local 1309 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &position) == FAILURE) { 1318 opos = position; [all...] |
| /PHP_5_3/ext/sqlite3/tests/ |
| H A D | stream_test.inc | 5 private $position; 11 $this->position = 0; 17 $ret = substr(self::$string, $this->position, $count); 18 $this->position += strlen($ret); 34 return $this->position; 39 return ($this->position >= self::$string_length);
|
| /PHP_5_3/ext/intl/dateformat/ |
| H A D | dateformat_class.c | 121 ZEND_ARG_INFO(1, position)
|
| /PHP_5_3/ext/intl/doc/ |
| H A D | formatter_api.php | 191 * @param [integer] $position On input, the position to start parsing, default is 0; 196 public function parse($string, $type, &$position) {} 216 * @param [integer] $position On input, the position within text to match, default is 0; 217 * on output, the position after the last matched character; 221 public function parseCurrency($string, &$currency, &$position) {} 363 * @param [integer] $position String position after the end of parsed data. 366 function numfmt_parse($formatter, $string, $type, &$position) {} [all...] |
| /PHP_5_3/ext/intl/formatter/ |
| H A D | formatter_class.c | 117 ZEND_ARG_INFO(1, position) 123 ZEND_ARG_INFO(1, position)
|
| H A D | formatter_parse.c | 32 /* {{{ proto mixed NumberFormatter::parse( string $str[, int $type, int &$position ]) 34 /* {{{ proto mixed numfmt_parse( NumberFormatter $nf, string $str[, int $type, int &$position ]) 44 int32_t val32, position = 0; local 71 position = (int32_t)Z_LVAL_P( zposition ); 72 position_p = &position; 106 ZVAL_LONG(zposition, position); 117 /* {{{ proto double NumberFormatter::parseCurrency( string $str, string $¤cy[, int $&position] ) 119 /* {{{ proto double numfmt_parse_currency( NumberFormatter $nf, string $str, string $¤cy[, int $&position] ) 133 int32_t position = 0; local 156 position [all...] |
| /PHP_5_3/ext/intl/ |
| H A D | php_intl.c | 128 ZEND_ARG_INFO(1, position) 135 ZEND_ARG_INFO(1, position) 204 ZEND_ARG_INFO(1, position)
|
| /PHP_5_3/ext/date/lib/ |
| H A D | parse_iso_intervals.re | 111 s->errors->warning_messages[s->errors->warning_count - 1].position = s->tok ? s->tok - s->str : 0; 120 s->errors->error_messages[s->errors->error_count - 1].position = s->tok ? s->tok - s->str : 0;
|
| H A D | timelib_structs.h | 176 int position; member in struct:timelib_error_message
|
| /PHP_5_3/ext/mbstring/ |
| H A D | php_mbregex.c | 1326 Get search start position */ 1333 /* {{{ proto bool mb_ereg_search_setpos(int position) 1334 Set search start position */ 1337 long position; local 1339 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &position) == FAILURE) { 1343 if (position < 0 || (MBREX(search_str) != NULL && Z_TYPE_P(MBREX(search_str)) == IS_STRING && position >= Z_STRLEN_P(MBREX(search_str)))) { 1349 MBREX(search_pos) = position;
|
| /PHP_5_3/ext/reflection/ |
| H A D | php_reflection.c | 1996 int position; local 2098 position= Z_LVAL_PP(parameter); 2099 if (position < 0 || (zend_uint)position >= fptr->common.num_args) { 2115 position= -1; 2119 position= i; 2123 if (position == -1) { 2139 if (arg_info[position].name) { 2140 ZVAL_STRINGL(name, arg_info[position].name, arg_info[position] [all...] |
| /PHP_5_3/ext/sqlite3/ |
| H A D | sqlite3.c | 1067 size_t position; member in struct:__anon207 1082 if (sqlite3_stream->position + count >= sqlite3_stream->size) { 1083 count = sqlite3_stream->size - sqlite3_stream->position; 1087 if (sqlite3_blob_read(sqlite3_stream->blob, buf, count, sqlite3_stream->position) != SQLITE_OK) { 1090 sqlite3_stream->position += count; 1122 if (sqlite3_stream->position < (size_t)(-offset)) { 1123 sqlite3_stream->position = 0; 1127 sqlite3_stream->position = sqlite3_stream->position + offset; 1128 *newoffs = sqlite3_stream->position; [all...] |
| /PHP_5_3/ext/standard/ |
| H A D | php_fopen_wrapper.c | 74 off_t *position = (off_t*)stream->abstract; local 79 read_bytes = SG(request_info).raw_post_data_length - *position; 86 memcpy(buf, SG(request_info).raw_post_data + *position, read_bytes); 101 *position += read_bytes;
|
| H A D | streamsfuncs.c | 428 off_t position; local 430 position = php_stream_tell(stream); 431 if (position >= 0 && desiredpos > position) { 433 seek_res = php_stream_seek(stream, desiredpos - position, SEEK_CUR); 434 } else if (desiredpos < position) { 435 /* desired position before position or error on tell */ 441 "Failed to seek to position %ld in the stream", desiredpos); 478 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to seek to position [all...] |
| /PHP_5_3/main/streams/ |
| H A D | plain_wrapper.c | 248 stream->position = lseek(self->fd, 0, SEEK_CUR); 250 if (stream->position == (off_t)-1 && errno == ESPIPE) { 251 stream->position = 0; 287 stream->position = ftell(file);
|
| H A D | streams.c | 697 stream->position += didread; 881 stream->position += cpysz; 1037 stream->position += delim_len; 1049 * current stream->position. This means invalidating the read buffer and then 1054 stream->ops->seek(stream, stream->position, SEEK_SET, &stream->position TSRMLS_CC); 1074 stream->position += justwrote; 1200 return stream->position; 1216 stream->position += offset; 1222 if (offset > stream->position [all...] |
| H A D | cast.c | 79 static PHP_FPOS_T stream_cookie_seeker(void *cookie, off_t position, int whence) argument 83 return (PHP_FPOS_T)php_stream_seek((php_stream *)cookie, position, whence); 113 static int stream_cookie_seeker(void *cookie, __off64_t *position, int whence) argument 117 *position = php_stream_seek((php_stream *)cookie, (off_t)*position, whence); 119 if (*position == -1) { 125 static int stream_cookie_seeker(void *cookie, off_t position, int whence) argument 129 return php_stream_seek((php_stream *)cookie, position, whence); 211 stream->ops->seek(stream, stream->position, SEEK_SET, &dummy TSRMLS_CC); 253 /* If the stream position i [all...] |
| /PHP_5_3/ext/phar/ |
| H A D | phar_internal.h | 281 /* position in the manifest */ 484 /* stream position proxy, allows multiple open streams referring to the same fp */ 485 off_t position; member in struct:_phar_entry_data 659 int phar_seek_efp(phar_entry_info *entry, off_t offset, int whence, off_t position, int follow_links TSRMLS_DC);
|
| H A D | stream.c | 376 /* use our proxy position */ 377 php_stream_seek(data->fp, data->position + data->zero, SEEK_SET); 379 got = php_stream_read(data->fp, buf, MIN(count, entry->uncompressed_filesize - data->position)); 380 data->position = php_stream_tell(data->fp) - data->zero; 381 stream->eof = (data->position == (off_t) entry->uncompressed_filesize); 408 temp = data->zero + data->position + offset; 426 data->position = *newoffset; 438 php_stream_seek(data->fp, data->position, SEEK_SET); 443 data->position = php_stream_tell(data->fp); 444 if (data->position > (off_ [all...] |