Home
last modified time | relevance | path

Searched refs:_current_index (Results 1 – 25 of 68) sorted by relevance

123

/dports/graphics/sharpconstruct/sharpconstruct-0.11/src/
H A DMeshHistory.cc51 _current_index--; in AddMesh()
83 _current_index++; in AddMesh()
89 _current_index--; in Undo()
90 if( _current_index < 0 ) in Undo()
91 _current_index = 0; in Undo()
98 _current_index++; in Redo()
107 _current_index = 0; in Clear()
158 if( _current_index > 0 ) in UndoPossible()
208 ndx = _current_index; in _update_composite()
219 ndx = _current_index; in _update_composite()
[all …]
/dports/cad/uranium/Uranium-3ed9c4de/UM/Operations/
H A DOperationStack.py63 self._current_index += 1
81 if self._current_index >= 0 and self._current_index < len(self._operations):
82 self._operations[self._current_index].undo()
83 self._current_index -= 1
93 n = self._current_index + 1
96 self._current_index += 1
116 return self._current_index >= 0
138 op1 = self._operations[self._current_index]
139 op2 = self._operations[self._current_index - 1]
148 del self._operations[self._current_index]
[all …]
/dports/devel/p5-Array-Iterator/Array-Iterator-0.131/lib/Array/
H A DIterator.pm35 _current_index => 0,
53 $self->{_current_index} = 0;
63 sub _current_index : lvalue { subroutine
66 $_[0]->{_current_index}
113 my $idx = $self->{_current_index} + ($n - 1);
122 ($self->{_current_index} < $self->{_length})
125 return $self->_getItem($self->{_iteratee}, $self->{_current_index}++);
131 …return undef unless ($self->{_current_index} < $self->{_length}); ## no critic: Subroutines::Prohi…
132 return $self->_getItem($self->{_iteratee}, $self->{_current_index}++);
144 my $idx = $self->{_current_index} + ($n - 1);
[all …]
/dports/games/openxcom/OpenXcom-1.0/src/Ufopaedia/
H A DUfopaedia.cpp39 size_t Ufopaedia::_current_index = 0; member in OpenXcom::Ufopaedia
137 if (_current_index != (size_t) -1) in openArticle()
152 if (_current_index != (size_t) -1) in openArticle()
175 if (_current_index >= articles.size() - 1) in next()
178 _current_index = 0; in next()
182 _current_index++; in next()
185 game->pushState(createArticleState(game, articles[_current_index])); in next()
195 if (_current_index == 0) in prev()
198 _current_index = articles.size() - 1; in prev()
202 _current_index--; in prev()
[all …]
/dports/math/topcom/topcom-0.17.8/lib-src/
H A DPlainHashTable.hh908 _current_index(0) { in __pht_iterator()
912 ++_current_index; in __pht_iterator()
930 _current_index = iter._current_index; in __pht_iterator()
937 _current_index = index; in __pht_iterator()
984 _current_index = iter._current_index; in operator =()
996 return _current_index; in current_index()
1051 _current_index(0) { in __pht_const_iterator()
1055 ++_current_index; in __pht_const_iterator()
1073 _current_index = iter._current_index; in __pht_const_iterator()
1133 _current_index = iter._current_index; in operator =()
[all …]
/dports/multimedia/avidemux-qt5/avidemux_2.7.6/avidemux_plugins/ADM_demuxers/Mp4/
H A DADM_mp4audio.cpp50 _current_index=0; in ADM_mp4AudioAccess()
128 _current_index=_nb_chunks-1; in goToTime()
135 _current_index=i; in goToTime()
152 if(_current_index>=_nb_chunks) in getPacket()
156 …AudioAccess::getPacket] Requested index %u out of bounds, max: %u\n",_current_index,(_nb_chunks)?(… in getPacket()
161 fseeko(_fd,_index[_current_index].offset,SEEK_SET); in getPacket()
162 r=fread(buffer,1,_index[_current_index].size,_fd); in getPacket()
168 *dts=_index[_current_index].dts; in getPacket()
170 _current_index++; in getPacket()
/dports/multimedia/avidemux-cli/avidemux_2.7.6/avidemux_plugins/ADM_demuxers/Mp4/
H A DADM_mp4audio.cpp50 _current_index=0; in ADM_mp4AudioAccess()
128 _current_index=_nb_chunks-1; in goToTime()
135 _current_index=i; in goToTime()
152 if(_current_index>=_nb_chunks) in getPacket()
156 …AudioAccess::getPacket] Requested index %u out of bounds, max: %u\n",_current_index,(_nb_chunks)?(… in getPacket()
161 fseeko(_fd,_index[_current_index].offset,SEEK_SET); in getPacket()
162 r=fread(buffer,1,_index[_current_index].size,_fd); in getPacket()
168 *dts=_index[_current_index].dts; in getPacket()
170 _current_index++; in getPacket()
/dports/multimedia/avidemux-plugins/avidemux_2.7.6/avidemux_plugins/ADM_demuxers/Mp4/
H A DADM_mp4audio.cpp50 _current_index=0; in ADM_mp4AudioAccess()
128 _current_index=_nb_chunks-1; in goToTime()
135 _current_index=i; in goToTime()
152 if(_current_index>=_nb_chunks) in getPacket()
156 …AudioAccess::getPacket] Requested index %u out of bounds, max: %u\n",_current_index,(_nb_chunks)?(… in getPacket()
161 fseeko(_fd,_index[_current_index].offset,SEEK_SET); in getPacket()
162 r=fread(buffer,1,_index[_current_index].size,_fd); in getPacket()
168 *dts=_index[_current_index].dts; in getPacket()
170 _current_index++; in getPacket()
/dports/multimedia/avidemux/avidemux_2.7.6/avidemux_plugins/ADM_demuxers/Mp4/
H A DADM_mp4audio.cpp50 _current_index=0; in ADM_mp4AudioAccess()
128 _current_index=_nb_chunks-1; in goToTime()
135 _current_index=i; in goToTime()
152 if(_current_index>=_nb_chunks) in getPacket()
156 …AudioAccess::getPacket] Requested index %u out of bounds, max: %u\n",_current_index,(_nb_chunks)?(… in getPacket()
161 fseeko(_fd,_index[_current_index].offset,SEEK_SET); in getPacket()
162 r=fread(buffer,1,_index[_current_index].size,_fd); in getPacket()
168 *dts=_index[_current_index].dts; in getPacket()
170 _current_index++; in getPacket()
/dports/devel/p5-Array-Iterator/Array-Iterator-0.131/lib/Array/Iterator/
H A DBiDirectional.pm23 my $idx = $self->_current_index - $n;
32 (($self->_current_index - 1) > 0)
35 return $self->_getItem($self->_iteratee, --$self->_current_index);
40 …return undef unless (($self->_current_index - 1) > 0); ## no critic: Subroutines::ProhibitExplicit…
42 return $self->_getItem($self->_iteratee, --$self->_current_index);
54 my $idx = $self->_current_index - ($n + 1);
H A DCircular.pm28 unless ($self->_current_index < $self->getLength()) {
29 $self->_current_index = 0;
33 return $self->_getItem($self->_iteratee(), $self->_current_index++);
44 return ($self->_current_index() == 0);
51 return ($self->_current_index() == $self->getLength());
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/gc/shenandoah/
H A DshenandoahHeapRegionSet.cpp33 _set(set), _heap(ShenandoahHeap::heap()), _current_index(0) {} in ShenandoahHeapRegionSetIterator()
37 _current_index = 0; in reset()
91 if (_current_index >= (jint)num_regions) { in claim_next()
95 jint saved_current = _current_index; in claim_next()
100 jint cur = Atomic::cmpxchg((jint)(index + 1), &_current_index, saved_current); in claim_next()
118 for (size_t index = (size_t)_current_index; index < num_regions; index ++) { in next()
120 _current_index = (jint)(index + 1); in next()
H A DshenandoahCollectionSet.cpp45 _current_index(0) { in ShenandoahCollectionSet()
108 _current_index = 0; in clear()
113 if (_current_index >= (jint)num_regions) { in claim_next()
117 jint saved_current = _current_index; in claim_next()
122 jint cur = Atomic::cmpxchg((jint)(index + 1), &_current_index, saved_current); in claim_next()
142 for (size_t index = (size_t)_current_index; index < num_regions; index ++) { in next()
144 _current_index = (jint)(index + 1); in next()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/gc/shenandoah/
H A DshenandoahHeapRegionSet.cpp33 _set(set), _heap(ShenandoahHeap::heap()), _current_index(0) {} in ShenandoahHeapRegionSetIterator()
37 _current_index = 0; in reset()
91 if (_current_index >= (jint)num_regions) { in claim_next()
95 jint saved_current = _current_index; in claim_next()
100 jint cur = Atomic::cmpxchg((jint)(index + 1), &_current_index, saved_current); in claim_next()
118 for (size_t index = (size_t)_current_index; index < num_regions; index ++) { in next()
120 _current_index = (jint)(index + 1); in next()
H A DshenandoahCollectionSet.cpp45 _current_index(0) { in ShenandoahCollectionSet()
108 _current_index = 0; in clear()
113 if (_current_index >= (jint)num_regions) { in claim_next()
117 jint saved_current = _current_index; in claim_next()
122 jint cur = Atomic::cmpxchg((jint)(index + 1), &_current_index, saved_current); in claim_next()
142 for (size_t index = (size_t)_current_index; index < num_regions; index ++) { in next()
144 _current_index = (jint)(index + 1); in next()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/share/gc/shenandoah/
H A DshenandoahHeapRegionSet.cpp33 _set(set), _heap(ShenandoahHeap::heap()), _current_index(0) {} in ShenandoahHeapRegionSetIterator()
37 _current_index = 0; in reset()
91 if (_current_index >= (jint)num_regions) { in claim_next()
95 jint saved_current = _current_index; in claim_next()
100 jint cur = Atomic::cmpxchg((jint)(index + 1), &_current_index, saved_current); in claim_next()
118 for (size_t index = (size_t)_current_index; index < num_regions; index ++) { in next()
120 _current_index = (jint)(index + 1); in next()
H A DshenandoahCollectionSet.cpp45 _current_index(0) { in ShenandoahCollectionSet()
135 _current_index = 0; in clear()
140 if (_current_index >= (jint)num_regions) { in claim_next()
144 jint saved_current = _current_index; in claim_next()
149 jint cur = Atomic::cmpxchg((jint)(index + 1), &_current_index, saved_current); in claim_next()
169 for (size_t index = (size_t)_current_index; index < num_regions; index ++) { in next()
171 _current_index = (jint)(index + 1); in next()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/gc/shenandoah/
H A DshenandoahHeapRegionSet.cpp34 _set(set), _heap(ShenandoahHeap::heap()), _current_index(0) {} in ShenandoahHeapRegionSetIterator()
38 _current_index = 0; in reset()
92 if (_current_index >= (jint)num_regions) { in claim_next()
96 jint saved_current = _current_index; in claim_next()
101 jint cur = Atomic::cmpxchg(&_current_index, saved_current, (jint)(index + 1)); in claim_next()
119 for (size_t index = (size_t)_current_index; index < num_regions; index ++) { in next()
121 _current_index = (jint)(index + 1); in next()
H A DshenandoahCollectionSet.cpp46 _current_index(0) { in ShenandoahCollectionSet()
109 _current_index = 0; in clear()
114 if (_current_index >= (jint)num_regions) { in claim_next()
118 jint saved_current = _current_index; in claim_next()
123 jint cur = Atomic::cmpxchg(&_current_index, saved_current, (jint)(index + 1)); in claim_next()
143 for (size_t index = (size_t)_current_index; index < num_regions; index ++) { in next()
145 _current_index = (jint)(index + 1); in next()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/hotspot/share/gc/shenandoah/
H A DshenandoahHeapRegionSet.cpp33 _set(set), _heap(ShenandoahHeap::heap()), _current_index(0) {} in ShenandoahHeapRegionSetIterator()
37 _current_index = 0; in reset()
91 if (_current_index >= (jint)num_regions) { in claim_next()
95 jint saved_current = _current_index; in claim_next()
100 jint cur = Atomic::cmpxchg((jint)(index + 1), &_current_index, saved_current); in claim_next()
118 for (size_t index = (size_t)_current_index; index < num_regions; index ++) { in next()
120 _current_index = (jint)(index + 1); in next()
H A DshenandoahCollectionSet.cpp45 _current_index(0) { in ShenandoahCollectionSet()
135 _current_index = 0; in clear()
140 if (_current_index >= (jint)num_regions) { in claim_next()
144 jint saved_current = _current_index; in claim_next()
149 jint cur = Atomic::cmpxchg((jint)(index + 1), &_current_index, saved_current); in claim_next()
169 for (size_t index = (size_t)_current_index; index < num_regions; index ++) { in next()
171 _current_index = (jint)(index + 1); in next()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/share/gc/shenandoah/
H A DshenandoahHeapRegionSet.cpp34 _set(set), _heap(ShenandoahHeap::heap()), _current_index(0) {} in ShenandoahHeapRegionSetIterator()
38 _current_index = 0; in reset()
92 if (_current_index >= (jint)num_regions) { in claim_next()
96 jint saved_current = _current_index; in claim_next()
101 jint cur = Atomic::cmpxchg(&_current_index, saved_current, (jint)(index + 1)); in claim_next()
119 for (size_t index = (size_t)_current_index; index < num_regions; index ++) { in next()
121 _current_index = (jint)(index + 1); in next()
H A DshenandoahCollectionSet.cpp46 _current_index(0) { in ShenandoahCollectionSet()
109 _current_index = 0; in clear()
114 if (_current_index >= (jint)num_regions) { in claim_next()
118 jint saved_current = _current_index; in claim_next()
123 jint cur = Atomic::cmpxchg(&_current_index, saved_current, (jint)(index + 1)); in claim_next()
143 for (size_t index = (size_t)_current_index; index < num_regions; index ++) { in next()
145 _current_index = (jint)(index + 1); in next()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/hotspot/share/gc/shenandoah/
H A DshenandoahHeapRegionSet.cpp33 _set(set), _heap(ShenandoahHeap::heap()), _current_index(0) {} in ShenandoahHeapRegionSetIterator()
37 _current_index = 0; in reset()
91 if (_current_index >= (jint)num_regions) { in claim_next()
95 jint saved_current = _current_index; in claim_next()
100 jint cur = Atomic::cmpxchg(&_current_index, saved_current, (jint)(index + 1)); in claim_next()
118 for (size_t index = (size_t)_current_index; index < num_regions; index ++) { in next()
120 _current_index = (jint)(index + 1); in next()
H A DshenandoahCollectionSet.cpp45 _current_index(0) { in ShenandoahCollectionSet()
108 _current_index = 0; in clear()
113 if (_current_index >= (jint)num_regions) { in claim_next()
117 jint saved_current = _current_index; in claim_next()
122 jint cur = Atomic::cmpxchg(&_current_index, saved_current, (jint)(index + 1)); in claim_next()
142 for (size_t index = (size_t)_current_index; index < num_regions; index ++) { in next()
144 _current_index = (jint)(index + 1); in next()

123