Home
last modified time | relevance | path

Searched refs:newState (Results 1 – 25 of 31) sorted by relevance

12

/haiku/src/system/kernel/
H A Dlow_resource_manager.cpp333 int32 newState = B_NO_LOW_RESOURCE; in low_resource() local
337 newState = B_LOW_RESOURCE_CRITICAL; in low_resource()
339 newState = B_LOW_RESOURCE_WARNING; in low_resource()
341 newState = B_LOW_RESOURCE_NOTE; in low_resource()
343 if (sLowPagesState < newState) in low_resource()
344 sLowPagesState = newState; in low_resource()
350 newState = B_LOW_RESOURCE_CRITICAL; in low_resource()
352 newState = B_LOW_RESOURCE_WARNING; in low_resource()
354 newState = B_LOW_RESOURCE_NOTE; in low_resource()
356 if (sLowMemoryState < newState) in low_resource()
[all …]
/haiku/src/servers/app/
H A DCanvas.cpp71 DrawState* newState = previous->PushState(); in PushState() local
72 if (newState == NULL) in PushState()
73 newState = previous; in PushState()
75 fDrawState.SetTo(newState); in PushState()
97 Canvas::SetDrawState(DrawState* newState) in SetDrawState() argument
99 fDrawState.SetTo(newState); in SetDrawState()
H A DCanvas.h47 void SetDrawState(DrawState* newState);
H A DPictureBoundingBoxPlayer.cpp74 DrawState* newState = previousState->PushState(); in PushDrawState() local
75 if (newState == NULL) in PushDrawState()
76 newState = previousState; in PushDrawState()
78 fDrawState.SetTo(newState); in PushDrawState()
H A DView.cpp970 DrawState* newState = previousState->PushState(); in PushState() local
971 if (newState == NULL) in PushState()
972 newState = previousState; in PushState()
974 fDrawState.SetTo(newState); in PushState()
/haiku/src/apps/mediaplayer/media_node_framework/
H A DPlaybackManager.cpp429 PlayingState* newState = new PlayingState(*_LastState()); in SetCurrentFrame() local
430 newState->current_frame = frame; in SetCurrentFrame()
431 newState->is_seek_request = true; in SetCurrentFrame()
432 _PushState(newState, false); in SetCurrentFrame()
448 PlayingState* newState = new PlayingState(*_LastState()); in SetPlayMode() local
449 newState->play_mode = mode; in SetPlayMode()
452 if (!continuePlaying && !(_PlayingDirectionFor(newState) == 0)) in SetPlayMode()
453 newState->current_frame = _PlayingStartFrameFor(newState); in SetPlayMode()
454 _PushState(newState, continuePlaying); in SetPlayMode()
470 PlayingState* newState = new PlayingState(*_LastState()); in SetLoopMode() local
[all …]
H A DPlaybackManager.h125 bool& newState) const;
/haiku/src/kits/debugger/arch/x86/
H A DCpuStateX86.cpp93 CpuStateX86* newState = new(std::nothrow) CpuStateX86(); in Clone() local
94 if (newState == NULL) in Clone()
98 memcpy(newState->fIntRegisters, fIntRegisters, sizeof(fIntRegisters)); in Clone()
99 memcpy(newState->fFloatRegisters, fFloatRegisters, in Clone()
101 memcpy(newState->fMMXRegisters, fMMXRegisters, sizeof(fMMXRegisters)); in Clone()
102 memcpy(newState->fXMMRegisters, fXMMRegisters, sizeof(fXMMRegisters)); in Clone()
104 newState->fSetRegisters = fSetRegisters; in Clone()
105 newState->fInterruptVector = fInterruptVector; in Clone()
107 _clone = newState; in Clone()
/haiku/headers/private/kernel/arch/x86/64/
H A Dcpu.h33 x86_context_switch(arch_thread* oldState, arch_thread* newState) in x86_context_switch() argument
44 : "a" (oldState), "d" (newState), in x86_context_switch()
/haiku/src/kits/debugger/arch/x86_64/
H A DCpuStateX8664.cpp130 CpuStateX8664* newState = new(std::nothrow) CpuStateX8664(); in Clone() local
131 if (newState == NULL) in Clone()
135 memcpy(newState->fIntRegisters, fIntRegisters, sizeof(fIntRegisters)); in Clone()
136 memcpy(newState->fFloatRegisters, fFloatRegisters, in Clone()
138 memcpy(newState->fMMXRegisters, fMMXRegisters, sizeof(fMMXRegisters)); in Clone()
139 memcpy(newState->fXMMRegisters, fXMMRegisters, sizeof(fXMMRegisters)); in Clone()
141 newState->fSetRegisters = fSetRegisters; in Clone()
142 newState->fInterruptVector = fInterruptVector; in Clone()
144 _clone = newState; in Clone()
/haiku/src/kits/debugger/controllers/
H A DThreadHandler.cpp526 CpuState* newState = NULL; in _HandleSetAddress() local
527 if (state->Clone(newState) != B_OK) in _HandleSetAddress()
529 BReference<CpuState> stateReference(newState, true); in _HandleSetAddress()
531 newState->SetInstructionPointer(address); in _HandleSetAddress()
532 if (fDebuggerInterface->SetCpuState(fThread->ID(), newState) != B_OK) in _HandleSetAddress()
537 fThread->SetCpuState(newState); in _HandleSetAddress()
/haiku/headers/private/kernel/vm/
H A Dvm_types.h168 void InitState(uint8 newState);
169 void SetState(uint8 newState);
/haiku/src/apps/debuganalyzer/gui/
H A DHeaderView.cpp1079 HeaderView::_SwitchState(State* newState) in _SwitchState() argument
1081 if (newState == NULL) in _SwitchState()
1082 newState = fDefaultState; in _SwitchState()
1084 fState->Leaving(newState); in _SwitchState()
1085 newState->Entering(fState); in _SwitchState()
1090 fState = newState; in _SwitchState()
H A DHeaderView.h220 void _SwitchState(State* newState);
/haiku/src/kits/media/legacy/
H A DOldBufferStreamManager.h149 virtual void SetState(stream_state newState);
H A DOldBufferStreamManager.cpp243 BBufferStreamManager::SetState(stream_state newState) in SetState() argument
/haiku/src/add-ons/kernel/bus_managers/pci/
H A Dpci_private.h64 uint8 function, uint8 newState);
H A Dpci.h135 uint8 function, uint8 newState);
H A Dpci.cpp316 pci_set_powerstate(uchar virtualBus, uint8 device, uint8 function, uint8 newState) in pci_set_powerstate() argument
323 return gPCI->SetPowerstate(domain, bus, device, function, newState); in pci_set_powerstate()
1881 PCI::SetPowerstate(PCIDev *device, uint8 newState) in SetPowerstate() argument
1887 if ((state & PCI_pm_mask) != newState) { in SetPowerstate()
1889 (state & ~PCI_pm_mask) | newState); in SetPowerstate()
1912 uint8 newState) in SetPowerstate() argument
1918 SetPowerstate(device, newState); in SetPowerstate()
/haiku/headers/private/kernel/
H A Dteam.h48 void team_set_job_control_state(Team* team, job_control_state newState,
/haiku/src/system/kernel/arch/x86/
H A Darch_thread.cpp34 extern void (*gX86SwapFPUFunc)(void *oldState, const void *newState);
/haiku/src/servers/package/
H A DVolume.h187 const VolumeState* newState,
H A DVolume.cpp1375 const VolumeState* newState, BStringList& addedPackageNames) in _CollectPackageNamesAdded() argument
1377 if (newState == NULL) in _CollectPackageNamesAdded()
1381 = newState->ByFileNameIterator(); it.HasNext();) { in _CollectPackageNamesAdded()
/haiku/src/apps/deskbar/
H A DStatusView.h208 bool newVertical, bool newLeft, bool newTop, int32 newState);
/haiku/src/system/kernel/vm/
H A Dvm_page.cpp542 SetPageState(vm_page* page, uint8 newState) in SetPageState() argument
546 fNewState(newState), in SetPageState()
1453 vm_page::InitState(uint8 newState) in InitState() argument
1455 state = newState; in InitState()
1460 vm_page::SetState(uint8 newState) in SetState() argument
1462 TPS(SetPageState(this, newState)); in SetState()
1464 state = newState; in SetState()

12