Searched refs:newValue (Results 1 - 25 of 56) sorted by last modified time

123

/haiku/src/kits/tracker/
H A DWidgetAttributeText.cpp599 int64 newValue = ReadValue(); local
600 if (newValue == fValue)
603 fValue = newValue;
H A DSettings.cpp72 StringValueSetting::ValueChanged(const char* newValue) argument
74 fValue = newValue;
126 EnumeratedStringValueSetting::ValueChanged(const char* newValue) argument
135 if (strcmp(fValues[index], newValue) != 0)
143 StringValueSetting::ValueChanged(newValue);
192 ScalarValueSetting::ValueChanged(int32 newValue) argument
194 ASSERT(newValue > fMin);
195 ASSERT(newValue < fMax);
196 fValue = newValue;
220 int32 newValue;
[all...]
/haiku/src/add-ons/kernel/drivers/audio/hda/
H A Dhda_controller.cpp232 uint32 newValue = (gPci->read_pci_config)(controller->pci_info.bus,
234 return (newValue & ~mask) == value;
/haiku/src/add-ons/kernel/bus_managers/pci/
H A Dpci.cpp1305 uint32 newValue = ReadConfig(dev->domain, dev->bus, dev->device, dev->function, local
1312 *_size = _BarSize(newValue & PCI_rom_address_mask);
1314 *_flags = newValue & 0xf;
/haiku/src/kits/interface/
H A DColumnListView.cpp1880 float newValue = currentValue; local
1883 newValue -= largeStep;
1885 newValue += largeStep;
1887 if (newValue > maxValue)
1888 newValue = maxValue;
1889 else if (newValue < minValue)
1890 newValue = minValue;
1892 fVerticalScrollBar->SetValue(newValue);
H A DScrollBar.cpp769 BScrollBar::ValueChanged(float newValue) argument
771 TRACE("BScrollBar(%s)::ValueChanged(%.1f)\n", Name(), newValue);
776 // if vertical, check bounds top and scroll if different from newValue
777 if (fOrientation == B_VERTICAL && targetBounds.top != newValue)
778 fTarget->ScrollBy(0.0, newValue - targetBounds.top);
780 // if horizontal, check bounds left and scroll if different from newValue
781 if (fOrientation == B_HORIZONTAL && targetBounds.left != newValue)
782 fTarget->ScrollBy(newValue - targetBounds.left, 0.0);
785 TRACE(" -> %.1f\n", newValue);
787 SetValue(newValue);
[all...]
/haiku/src/add-ons/kernel/bus_managers/acpi/
H A DACPICAHaiku.cpp1232 uint32_t newValue; local
1237 newValue = ((oldValue & ~ACPI_GLOCK_PENDING) | ACPI_GLOCK_OWNED);
1239 newValue |= ACPI_GLOCK_PENDING;
1240 } while (atomic_test_and_set((int32*)lock, newValue, oldValue) != (int32)oldValue);
1242 return (newValue & ACPI_GLOCK_PENDING) == 0;
1256 uint32 newValue; local
1261 newValue = oldValue & ~(ACPI_GLOCK_PENDING | ACPI_GLOCK_OWNED);
1262 } while (atomic_test_and_set((int32*)lock, newValue, oldValue) != (int32)oldValue);
/haiku/src/system/kernel/posix/
H A Dxsi_semaphore.cpp352 int newValue = current->undo_values[semaphoreNumber] + value; local
353 if (newValue > USHRT_MAX || newValue < -USHRT_MAX) {
354 TRACE_ERROR(("XsiSemaphoreSet::RecordUndo: newValue %d "
355 "out of range\n", newValue));
358 current->undo_values[semaphoreNumber] = newValue;
/haiku/headers/private/system/
H A Dsyscalls.h521 extern void _kern_atomic_set(int32 *value, int32 newValue);
522 extern int32 _kern_atomic_get_and_set(int32 *value, int32 newValue);
523 extern int32 _kern_atomic_test_and_set(int32 *value, int32 newValue,
532 extern void _kern_atomic_set64(int64 *value, int64 newValue);
533 extern int64 _kern_atomic_get_and_set64(int64 *value, int64 newValue);
534 extern int64 _kern_atomic_test_and_set64(int64 *value, int64 newValue,
/haiku/src/system/kernel/locks/
H A Duser_mutex.cpp133 user_atomic_test_and_set(int32* value, int32 newValue, int32 testAgainst,
139 result = atomic_test_and_set(value, newValue, testAgainst);
145 result = atomic_test_and_set(value, newValue, testAgainst);
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DVariablesView.cpp548 BVariant newValue; local
549 fValue->ToVariant(newValue);
550 fValueChanged = (fPreviousValue != newValue);
H A DTeamWindow.cpp1023 Value* newValue)
1025 fListener->ValueNodeWriteRequested(node, state, newValue);
1022 ValueNodeWriteRequested(ValueNode* node, CpuState* state, Value* newValue) argument
H A DVariablesView.h179 Value* newValue) = 0;
/haiku/src/add-ons/kernel/network/protocols/udp/
H A Dudp.cpp104 void SetActive(bool newValue) { fActive = newValue; } argument
/haiku/headers/os/support/
H A DSupportDefs.h261 atomic_set(int32* value, int32 newValue) argument
263 __atomic_store_n(value, newValue, __ATOMIC_RELEASE);
268 atomic_get_and_set(int32* value, int32 newValue) argument
270 return __atomic_exchange_n(value, newValue, __ATOMIC_SEQ_CST);
275 atomic_test_and_set(int32* value, int32 newValue, int32 testAgainst) argument
277 __atomic_compare_exchange_n(value, &testAgainst, newValue, 1,
312 atomic_set64(int64* value, int64 newValue) argument
314 __atomic_store_n(value, newValue, __ATOMIC_RELEASE);
319 atomic_get_and_set64(int64* value, int64 newValue) argument
321 return __atomic_exchange_n(value, newValue, __ATOMIC_SEQ_CS
326 atomic_test_and_set64(int64* value, int64 newValue, int64 testAgainst) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DBPlusTree.h81 Unaligned<T>& operator=(const T& newValue) argument
83 value = newValue; return *this;
/haiku/headers/os/interface/
H A DScrollBar.h55 virtual void ValueChanged(float newValue);
/haiku/src/system/libroot/os/
H A Datomic.c15 atomic_set(int32 *value, int32 newValue) argument
17 _kern_atomic_set(value, newValue);
22 atomic_get_and_set(int32 *value, int32 newValue) argument
24 return _kern_atomic_get_and_set(value, newValue);
29 atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst) argument
31 return _kern_atomic_test_and_set(value, newValue, testAgainst);
68 atomic_set64(int64 *value, int64 newValue) argument
70 _kern_atomic_set64(value, newValue);
75 atomic_test_and_set64(int64 *value, int64 newValue, int64 testAgainst) argument
77 return _kern_atomic_test_and_set64(value, newValue, testAgains
[all...]
/haiku/src/apps/codycam/
H A DSettings.cpp46 StringValueSetting::ValueChanged(const char* newValue) argument
48 if (newValue == fValue)
53 fValue = strdup(newValue);
107 EnumeratedStringValueSetting::ValueChanged(const char* newValue) argument
111 ASSERT(_ValidateString(newValue));
113 StringValueSetting::ValueChanged(newValue);
170 ScalarValueSetting::ValueChanged(int32 newValue) argument
172 ASSERT(newValue > fMin);
173 ASSERT(newValue < fMax);
174 fValue = newValue;
[all...]
H A DSettings.h24 void ValueChanged(const char* newValue);
53 void ValueChanged(const char* newValue);
73 void ValueChanged(int32 newValue);
/haiku/src/kits/media/
H A DControllable.cpp338 void* newValue, size_t valueSize)
342 newValue, valueSize);
337 BroadcastNewParameterValue(bigtime_t when, int32 id, void* newValue, size_t valueSize) argument
/haiku/src/kits/debugger/controllers/
H A DTeamDebugger.cpp1075 Value* newValue)
1081 fTeam->GetTeamTypeInformation(), node, newValue), this);
1074 ValueNodeWriteRequested(ValueNode* node, CpuState* state, Value* newValue) argument
/haiku/headers/private/debugger/user_interface/
H A DUserInterface.h121 CpuState* state, Value* newValue) = 0;
/haiku/src/system/kernel/arch/m68k/
H A Darch_atomic.cpp28 atomic_set64(vint64 *value, int64 newValue)
35 *value = newValue;
42 atomic_test_and_set64(vint64 *value, int64 newValue, int64 testAgainst)
50 *value = newValue;
112 _user_atomic_set64(vint64 *value, int64 newValue)
123 *value = newValue;
135 _user_atomic_test_and_set64(vint64 *value, int64 newValue, int64 testAgainst)
147 *value = newValue;
/haiku/headers/private/kernel/
H A Duser_atomic.h16 void _user_atomic_set(int32 *value, int32 newValue);
17 int32 _user_atomic_get_and_set(int32 *value, int32 newValue);
18 int32 _user_atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst);
24 void _user_atomic_set64(int64 *value, int64 newValue);
25 int64 _user_atomic_get_and_set64(int64 *value, int64 newValue);
26 int64 _user_atomic_test_and_set64(int64 *value, int64 newValue, int64 testAgainst);

Completed in 169 milliseconds

123