/haiku/src/system/kernel/ |
H A D | low_resource_manager.cpp | 333 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 D | Canvas.cpp | 71 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 D | Canvas.h | 47 void SetDrawState(DrawState* newState);
|
H A D | PictureBoundingBoxPlayer.cpp | 74 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 D | View.cpp | 970 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 D | PlaybackManager.cpp | 429 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 D | PlaybackManager.h | 125 bool& newState) const;
|
/haiku/src/kits/debugger/arch/x86/ |
H A D | CpuStateX86.cpp | 93 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 D | cpu.h | 33 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 D | CpuStateX8664.cpp | 130 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 D | ThreadHandler.cpp | 526 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 D | vm_types.h | 168 void InitState(uint8 newState); 169 void SetState(uint8 newState);
|
/haiku/src/apps/debuganalyzer/gui/ |
H A D | HeaderView.cpp | 1079 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 D | HeaderView.h | 220 void _SwitchState(State* newState);
|
/haiku/src/kits/media/legacy/ |
H A D | OldBufferStreamManager.h | 149 virtual void SetState(stream_state newState);
|
H A D | OldBufferStreamManager.cpp | 243 BBufferStreamManager::SetState(stream_state newState) in SetState() argument
|
/haiku/src/add-ons/kernel/bus_managers/pci/ |
H A D | pci_private.h | 64 uint8 function, uint8 newState);
|
H A D | pci.h | 135 uint8 function, uint8 newState);
|
H A D | pci.cpp | 316 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 D | team.h | 48 void team_set_job_control_state(Team* team, job_control_state newState,
|
/haiku/src/system/kernel/arch/x86/ |
H A D | arch_thread.cpp | 34 extern void (*gX86SwapFPUFunc)(void *oldState, const void *newState);
|
/haiku/src/servers/package/ |
H A D | Volume.h | 187 const VolumeState* newState,
|
H A D | Volume.cpp | 1375 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 D | StatusView.h | 208 bool newVertical, bool newLeft, bool newTop, int32 newState);
|
/haiku/src/system/kernel/vm/ |
H A D | vm_page.cpp | 542 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()
|