Home
last modified time | relevance | path

Searched refs:_lastIndex (Results 1 – 25 of 57) sorted by relevance

123

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/bladerunner/
H A Dmovement_track.cpp39 _lastIndex = 0; in reset()
55 if (_lastIndex >= kSize) { in append()
59 _entries[_lastIndex].waypointId = waypointId; in append()
60 _entries[_lastIndex].delay = delay; in append()
61 _entries[_lastIndex].angle = angle; in append()
62 _entries[_lastIndex].run = run; in append()
64 _lastIndex++; in append()
96 if (_currentIndex < _lastIndex && _hasNext) { in next()
114 f.writeInt(_lastIndex); in save()
128 _lastIndex = f.readInt(); in load()
H A Dmovement_track.h46 int _lastIndex; variable
/dports/games/scummvm/scummvm-2.5.1/engines/bladerunner/
H A Dmovement_track.cpp39 _lastIndex = 0; in reset()
55 if (_lastIndex >= kSize) { in append()
59 _entries[_lastIndex].waypointId = waypointId; in append()
60 _entries[_lastIndex].delay = delayMillis; in append()
61 _entries[_lastIndex].angle = angle; in append()
62 _entries[_lastIndex].run = run; in append()
64 ++_lastIndex; in append()
96 if (_currentIndex < _lastIndex && _hasNext) { in next()
114 f.writeInt(_lastIndex); in save()
128 _lastIndex = f.readInt(); in load()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/bladerunner/ui/
H A Dkia_log.cpp33 _lastIndex = 0; in KIALog()
46 if (_currentIndex == _lastIndex) { in add()
47 _lastIndex = (_lastIndex + 1) % kSize; in add()
68 _lastIndex = 0; in clear()
86 if (_currentIndex != _lastIndex) { in next()
92 _lastIndex = _currentIndex; in clearFuture()
109 if (_currentIndex == _lastIndex) { in hasNext()
113 return (((_currentIndex + 1) % kSize) != _lastIndex); in hasNext()
H A Dkia_log.h43 int _lastIndex; variable
/dports/games/scummvm/scummvm-2.5.1/engines/bladerunner/ui/
H A Dkia_log.cpp33 _lastIndex = 0; in KIALog()
46 if (_currentIndex == _lastIndex) { in add()
47 _lastIndex = (_lastIndex + 1) % kSize; in add()
68 _lastIndex = 0; in clear()
86 if (_currentIndex != _lastIndex) { in next()
92 _lastIndex = _currentIndex; in clearFuture()
109 if (_currentIndex == _lastIndex) { in hasNext()
113 return (((_currentIndex + 1) % kSize) != _lastIndex); in hasNext()
H A Dkia_log.h43 int _lastIndex; variable
/dports/x11-toolkits/py-Pmw/Pmw-2.0.1/Pmw/Pmw_2_0_1/lib/
H A DPmwHistoryText.py27 self._lastIndex = 0 # pointer to end of history list
47 if self['compresstail'] and self._currIndex == self._lastIndex:
58 if self._currIndex == self._lastIndex:
75 self._lastIndex = self._lastIndex + 1
76 self._currIndex = self._lastIndex
79 if self._currIndex == self._lastIndex and self._pastIndex is None:
128 if self._currIndex == self._lastIndex:
/dports/x11-toolkits/py-Pmw/Pmw-2.0.1/Pmw/Pmw_1_3_3/lib/
H A DPmwHistoryText.py26 self._lastIndex = 0 # pointer to end of history list
46 if self['compresstail'] and self._currIndex == self._lastIndex:
57 if self._currIndex == self._lastIndex:
74 self._lastIndex = self._lastIndex + 1
75 self._currIndex = self._lastIndex
78 if self._currIndex == self._lastIndex and self._pastIndex is None:
127 if self._currIndex == self._lastIndex:
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Collections/src/System/Collections/Generic/
H A DHashSet.cs77 private int _lastIndex; field in System.Collections.Generic.HashSet
98 _lastIndex = 0; in HashSet()
180 _lastIndex = source._lastIndex; in CopyFrom()
199 _lastIndex = index; in CopyFrom()
238 if (_lastIndex > 0) in Clear()
246 _lastIndex = 0; in Clear()
1085 _lastIndex = newIndex; in TrimExcess()
1205 index = _lastIndex; in AddIfNotPresent()
1206 _lastIndex++; in AddIfNotPresent()
1508 index = _lastIndex; in AddOrGetLocation()
[all …]
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Core/
H A DSaveStateManager.cpp17 _lastIndex = 1; in SaveStateManager()
41 _lastIndex = (_lastIndex % MaxIndex) + 1; in MoveToNextSlot()
42 MessageManager::DisplayMessage("SaveStates", "SaveStateSlotSelected", std::to_string(_lastIndex)); in MoveToNextSlot()
47 _lastIndex = (_lastIndex == 1 ? SaveStateManager::MaxIndex : (_lastIndex - 1)); in MoveToPreviousSlot()
48 MessageManager::DisplayMessage("SaveStates", "SaveStateSlotSelected", std::to_string(_lastIndex)); in MoveToPreviousSlot()
53 SaveState(_lastIndex); in SaveState()
58 return LoadState(_lastIndex); in LoadState()
/dports/textproc/clucene/clucene-core-2.3.3.4/src/core/CLucene/index/
H A DMultipleTermPositions.cpp84 int32_t _lastIndex; member in MultipleTermPositions::IntQueue
87 IntQueue():_array(_CLNEW ValueArray<int32_t>(16)), _index(0), _lastIndex(0){ in IntQueue()
94 if (_lastIndex == _array->length) in add()
97 _array->values[_lastIndex++] = i; in add()
105 int len = _lastIndex - _index; in sort()
111 _lastIndex = 0; in clear()
115 return (_lastIndex - _index); in size()
/dports/lang/mono/mono-5.10.1.57/external/api-doc-tools/external/Lucene.Net.Light/src/core/Index/
H A DMultipleTermPositions.cs65 private int _lastIndex = 0; field in Lucene.Net.Index.MultipleTermPositions.IntQueue
70 if (_lastIndex == _arraySize) in add()
73 _array[_lastIndex++] = i; in add()
83 System.Array.Sort(_array, _index, _lastIndex - _index); in sort()
89 _lastIndex = 0; in clear()
94 return (_lastIndex - _index); in size()
/dports/mail/thunderbird/thunderbird-91.8.0/comm/mailnews/search/src/
H A DMsgTraitService.jsm11 var _lastIndex = 0; // the first index will be one
34 return _lastIndex;
42 _registerTrait(aId, ++_lastIndex);
43 traitsBranch.setBoolPref("enabled." + _lastIndex, false);
44 traitsBranch.setCharPref("id." + _lastIndex, aId);
45 return _lastIndex;
174 _lastIndex = Services.prefs
193 if (_lastIndex < index) {
194 _lastIndex = index;
/dports/devel/msbuild/msbuild-0.06/src/Build/Collections/RetrievableEntryHashSet/
H A DHashSet.cs113 private int _lastIndex; field in Microsoft.Build.Collections.RetrievableEntryHashSet
134 _lastIndex = 0; in RetrievableEntryHashSet()
270 if (_lastIndex > 0) in Clear()
276 Array.Clear(_slots, 0, _lastIndex); in Clear()
278 _lastIndex = 0; in Clear()
444 _lastIndex = 0; in Remove()
1135 _lastIndex = newIndex; in TrimExcess()
1197 for (int i = 0; i < _lastIndex; i++) in IncreaseCapacity()
1255 index = _lastIndex; in AddEvenIfPresent()
1256 _lastIndex++; in AddEvenIfPresent()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/lastexpress/data/
H A Dsubtitle.cpp143 …nager::SubtitleManager(Font *font) : _font(font), _maxTime(0), _currentIndex(-1), _lastIndex(-1) {} in SubtitleManager()
158 _lastIndex = -1; in reset()
224 if (_currentIndex != _lastIndex) in hasChanged()
232 _lastIndex = _currentIndex; in draw()
H A Dsubtitle.h72 int16 _lastIndex; variable
/dports/games/scummvm/scummvm-2.5.1/engines/lastexpress/data/
H A Dsubtitle.cpp143 …nager::SubtitleManager(Font *font) : _font(font), _maxTime(0), _currentIndex(-1), _lastIndex(-1) {} in SubtitleManager()
158 _lastIndex = -1; in reset()
224 if (_currentIndex != _lastIndex) in hasChanged()
232 _lastIndex = _currentIndex; in draw()
H A Dsubtitle.h72 int16 _lastIndex; variable
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/lastexpress/menu/
H A Dmenu.cpp456 if (_lastIndex == _index) { in handleEvent()
625 if (_lastIndex <= _index || _currentTime > _time) { in handleEvent()
882 _lastIndex = getSaveLoad()->init(_gameId, true); in init()
883 _lowerTime = getSaveLoad()->getTime(_lastIndex); in init()
886 _index = _lastIndex; in init()
916 if (_lastIndex == _index) { in startGame()
1161 if (_lastIndex >= _index) { in adjustIndex()
1172 } while (currentIndex <= _lastIndex); in adjustIndex()
1203 } while (_lastIndex >= index); in goToTime()
1218 if (_lastIndex <= _index) in forwardTime()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/lastexpress/menu/
H A Dmenu.cpp456 if (_lastIndex == _index) { in handleEvent()
625 if (_lastIndex <= _index || _currentTime > _time) { in handleEvent()
882 _lastIndex = getSaveLoad()->init(_gameId, true); in init()
883 _lowerTime = getSaveLoad()->getTime(_lastIndex); in init()
886 _index = _lastIndex; in init()
916 if (_lastIndex == _index) { in startGame()
1161 if (_lastIndex >= _index) { in adjustIndex()
1172 } while (currentIndex <= _lastIndex); in adjustIndex()
1203 } while (_lastIndex >= index); in goToTime()
1218 if (_lastIndex <= _index) in forwardTime()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/draci/
H A Danimation.h180 AnimationManager(DraciEngine *vm) : _vm(vm), _lastIndex(-1), _animationPauseCounter(0) {} in AnimationManager()
197 int getLastIndex() const { return _lastIndex; } in getLastIndex()
215 int _lastIndex; variable
H A Danimation.cpp347 anim->setIndex(++_lastIndex); in insert()
448 _lastIndex -= 1; in deleteAnimation()
475 _lastIndex = -1; in deleteAll()
491 _lastIndex = index; in deleteAfterIndex()
/dports/games/scummvm/scummvm-2.5.1/engines/draci/
H A Danimation.h180 AnimationManager(DraciEngine *vm) : _vm(vm), _lastIndex(-1), _animationPauseCounter(0) {} in AnimationManager()
197 int getLastIndex() const { return _lastIndex; } in getLastIndex()
215 int _lastIndex; variable
H A Danimation.cpp347 anim->setIndex(++_lastIndex); in insert()
448 _lastIndex -= 1; in deleteAnimation()
475 _lastIndex = -1; in deleteAll()
491 _lastIndex = index; in deleteAfterIndex()

123