Searched refs:newValue (Results 1 - 25 of 56) sorted by relevance

123

/haiku/headers/private/kernel/arch/x86/32/
H A Datomic.h39 atomic_set_inline(int32* value, int32 newValue) argument
42 *(volatile int32*)value = newValue;
47 atomic_get_and_set_inline(int32* value, int32 newValue) argument
50 : "+r" (newValue)
53 return newValue;
58 atomic_test_and_set_inline(int32* value, int32 newValue, int32 testAgainst) argument
61 : "=a" (newValue)
62 : "0" (testAgainst), "r" (newValue), "r" (value)
64 return newValue;
69 atomic_add_inline(int32* value, int32 newValue) argument
82 int32 newValue = *(volatile int32*)value; local
[all...]
/haiku/src/tools/fs_shell/
H A Datomic.cpp14 fssh_atomic_set(int32_t* value, int32_t newValue) argument
16 atomic_set((int32*)value, newValue);
21 fssh_atomic_get_and_set(int32_t* value, int32_t newValue) argument
23 return atomic_get_and_set((int32*)value, newValue);
28 fssh_atomic_test_and_set(int32_t *value, int32_t newValue, int32_t testAgainst) argument
30 return atomic_test_and_set((int32*)value, newValue, testAgainst);
63 fssh_atomic_set64(int64_t *value, int64_t newValue) argument
65 atomic_set64((int64*)value, newValue);
70 fssh_atomic_get_and_set64(int64_t* value, int64_t newValue) argument
72 return atomic_get_and_set64((int64*)value, newValue);
77 fssh_atomic_test_and_set64(int64_t *value, int64_t newValue, int64_t testAgainst) argument
[all...]
/haiku/src/build/libroot/
H A Datomic.cpp14 atomic_set(int32 *value, int32 newValue) argument
16 *value = newValue;
21 atomic_get_and_set(int32 *value, int32 newValue) argument
24 *value = newValue;
30 atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst) argument
34 *value = newValue;
74 atomic_set64(int64 *value, int64 newValue) argument
76 *value = newValue;
81 atomic_get_and_set64(int64 *value, int64 newValue) argument
84 *value = newValue;
89 atomic_test_and_set64(int64 *value, int64 newValue, int64 testAgainst) argument
[all...]
/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/headers/private/fs_shell/
H A Dfssh_atomic.h18 void fssh_atomic_set(int32_t* value, int32_t newValue);
19 int32_t fssh_atomic_get_and_set(int32_t* value, int32_t newValue);
20 int32_t fssh_atomic_test_and_set(int32_t *value, int32_t newValue,
27 void fssh_atomic_set64(int64_t* value, int64_t newValue);
28 int64_t fssh_atomic_get_and_set64(int64_t* value, int64_t newValue);
29 int64_t fssh_atomic_test_and_set64(int64_t *value, int64_t 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);
/haiku/src/kits/tracker/
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...]
H A DSettings.h55 void ValueChanged(const char* newValue);
77 void ValueChanged(const char* newValue);
92 void ValueChanged(int32 newValue);
/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/tests/add-ons/kernel/drivers/hpet/
H A Dmain.cpp19 uint64 value, newValue; local
24 read(hpetFD, &newValue, sizeof(uint64));
25 printf("HPET counter value difference (1 sec): %lld\n", newValue - value);
/haiku/src/system/kernel/arch/arm/
H A Darch_atomic32.cpp28 atomic_set(int32 *value, int32 newValue) argument
31 *value = newValue;
35 atomic_get_and_set(int32 *value, int32 newValue) argument
39 atomic_set(value, newValue);
44 atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst) argument
50 *value = newValue;
94 _user_atomic_set(int32 *value, int32 newValue) argument
98 atomic_set(value, newValue);
109 _user_atomic_get_and_set(int32 *value, int32 newValue) argument
113 int32 oldValue = atomic_get_and_set(value, newValue);
124 _user_atomic_test_and_set(int32 *value, int32 newValue, int32 testAgainst) argument
[all...]
H A Darch_atomic64.cpp34 atomic_set64(int64 *value, int64 newValue) argument
38 *value = newValue;
43 atomic_get_and_set64(int64 *value, int64 newValue) argument
48 *value = newValue;
54 atomic_test_and_set64(int64 *value, int64 newValue, int64 testAgainst) argument
60 *value = newValue;
107 _user_atomic_get_and_set64(int64 *value, int64 newValue) argument
111 int64 oldValue = atomic_get_and_set64(value, newValue);
123 _user_atomic_set64(int64 *value, int64 newValue) argument
127 atomic_set64(value, newValue);
139 _user_atomic_test_and_set64(int64 *value, int64 newValue, int64 testAgainst) argument
[all...]
/haiku/src/kits/debugger/value/value_formatters/
H A DIntegerValueFormatter.cpp126 BVariant newValue;
133 newValue.SetTo((int8)parsedValue);
141 newValue.SetTo((int16)parsedValue);
149 newValue.SetTo((int32)parsedValue);
154 newValue.SetTo((int64)parsedValue);
162 _output = new(std::nothrow) IntegerValue(newValue);
183 BVariant newValue;
190 newValue.SetTo((uint8)parsedValue);
198 newValue.SetTo((uint16)parsedValue);
206 newValue
[all...]
H A DFloatValueFormatter.cpp91 BVariant newValue;
95 newValue.SetTo((float)parsedValue);
100 newValue.SetTo(parsedValue);
107 _output = new(std::nothrow) FloatValue(newValue);
/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/apps/terminal/
H A DTermScrollView.cpp27 virtual void ValueChanged(float newValue) argument
30 target->ScrollTo(0, newValue);
/haiku/src/apps/debugger/user_interface/gui/value/
H A DTableCellValueEditor.h34 void NotifyEditCompleted(Value* newValue);
52 virtual void TableCellEditEnded(Value* newValue);
H A DTableCellValueEditor.cpp73 TableCellValueEditor::NotifyEditCompleted(Value* newValue) argument
77 listener->TableCellEditEnded(newValue);
103 TableCellValueEditor::Listener::TableCellEditEnded(Value* newValue) argument
/haiku/src/apps/icon-o-matic/generic/gui/popup_control/
H A DInputSlider.h38 virtual void ValueChanged(int32 newValue);
/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/src/kits/debugger/jobs/
H A DWriteValueNodeJob.cpp26 ValueNode* valueNode, Value* newValue)
34 fNewValue(newValue)
23 WriteValueNodeValueJob( DebuggerInterface* debuggerInterface, Architecture* architecture, CpuState* cpuState, TeamTypeInformation* typeInformation, ValueNode* valueNode, Value* newValue) argument
/haiku/headers/private/kernel/disk_device_manager/
H A DKDiskDeviceUtils.h49 set_string(char *&location, const char *newValue) argument
58 if (newValue) {
59 location = strdup(newValue);
/haiku/src/apps/debugger/user_interface/gui/utility_windows/
H A DVariableEditWindow.h44 virtual void TableCellEditEnded(Value* newValue);
/haiku/src/bin/desklink/
H A DVolumeControl.cpp223 int32 newValue = ValueForPoint(where); local
224 if (oldValue == newValue) {
230 if ((oldValue < 0 && newValue >= 0) || (oldValue > 0 && newValue <= 0)) {
238 if (oldValue > newValue) {
280 int32 newValue = currentValue - int32(deltaY) * 3; local
282 if (newValue != currentValue) {
283 SetValue(newValue);

Completed in 584 milliseconds

123