/haiku-fatelf/src/build/libroot/ |
H A D | atomic.cpp | 12 int32 oldValue = *value; local 14 return oldValue; 21 int32 oldValue = *value; local 22 if (oldValue == testAgainst) 24 return oldValue; 31 int32 oldValue = *value; local 33 return oldValue; 40 int32 oldValue = *value; local 42 return oldValue; 49 int32 oldValue local 65 int64 oldValue = *value; local 73 int64 oldValue = *value; local 82 int64 oldValue = *value; local 90 int64 oldValue = *value; local 98 int64 oldValue = *value; local [all...] |
/haiku-fatelf/src/system/libroot/posix/unistd/ |
H A D | alarm.c | 18 struct itimerval value, oldValue; local 23 if (setitimer(ITIMER_REAL, &value, &oldValue) < 0) 26 if (oldValue.it_value.tv_usec) 27 oldValue.it_value.tv_sec++; 29 return oldValue.it_value.tv_sec;
|
H A D | ualarm.c | 18 struct itimerval value, oldValue; local 25 if (setitimer(ITIMER_REAL, &value, &oldValue) < 0) 28 return (oldValue.it_value.tv_sec * 1000000) + oldValue.it_value.tv_usec;
|
/haiku-fatelf/src/system/kernel/arch/m68k/ |
H A D | arch_atomic.cpp | 31 int64 oldValue; 34 oldValue = *value; 38 return oldValue; 45 int64 oldValue; 48 oldValue = *value; 49 if (oldValue == testAgainst) 53 return oldValue; 60 int64 oldValue; 63 oldValue = *value; 67 return oldValue; [all...] |
/haiku-fatelf/src/system/kernel/arch/mipsel/ |
H A D | arch_atomic.cpp | 22 int64 oldValue; local 25 oldValue = *value; 29 return oldValue; 36 int64 oldValue; local 39 oldValue = *value; 40 if (oldValue == testAgainst) 44 return oldValue; 51 int64 oldValue; local 54 oldValue = *value; 58 return oldValue; 65 int64 oldValue; local 79 int64 oldValue; local 93 int64 oldValue; local 106 int64 oldValue; local 129 int64 oldValue; local 153 int64 oldValue; local 176 int64 oldValue; local 199 int64 oldValue; local 221 int64 oldValue; local [all...] |
/haiku-fatelf/src/system/kernel/arch/ppc/ |
H A D | arch_atomic.cpp | 22 int64 oldValue; local 25 oldValue = *value; 29 return oldValue; 36 int64 oldValue; local 39 oldValue = *value; 40 if (oldValue == testAgainst) 44 return oldValue; 51 int64 oldValue; local 54 oldValue = *value; 58 return oldValue; 65 int64 oldValue; local 79 int64 oldValue; local 93 int64 oldValue; local 106 int64 oldValue; local 129 int64 oldValue; local 153 int64 oldValue; local 176 int64 oldValue; local 199 int64 oldValue; local 221 int64 oldValue; local [all...] |
/haiku-fatelf/src/system/libroot/os/locks/ |
H A D | mutex.cpp | 54 int32 oldValue = atomic_or(&lock->lock, B_USER_MUTEX_LOCKED); local 56 if ((oldValue & (B_USER_MUTEX_LOCKED | B_USER_MUTEX_WAITING)) == 0 57 || (oldValue & B_USER_MUTEX_DISABLED) != 0) { 77 int32 oldValue = atomic_and(&lock->lock, ~(int32)B_USER_MUTEX_LOCKED); local 78 if ((oldValue & B_USER_MUTEX_WAITING) != 0 79 && (oldValue & B_USER_MUTEX_DISABLED) == 0) {
|
/haiku-fatelf/src/system/libroot/posix/sys/ |
H A D | itimer.cpp | 83 setitimer(int which, const struct itimerval* value, struct itimerval* oldValue) argument 98 oldValue != NULL ? &oldValueSpec : NULL) != 0) { 102 // convert back to itimerval oldValue 103 if (oldValue != NULL) 104 itimerspec_to_itimerval(oldValueSpec, *oldValue);
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/ |
H A D | Utility.h | 88 int32 oldValue = *value; local 89 if (oldValue == testAgainst) 92 return oldValue; 104 int32 oldValue; local 106 : "=a" (oldValue) : "a" (testAgainst), "c" (newValue), "d" (value)); 107 return oldValue;
|
H A D | BPlusTree.cpp | 665 off_t oldValue = BFS_ENDIAN_TO_HOST_INT64(values[index]); local 669 if (bplustree_node::IsDuplicate(oldValue)) { 673 if (bplustree_node::LinkType(oldValue) == BPLUSTREE_DUPLICATE_FRAGMENT) { 675 bplustree_node::FragmentOffset(oldValue), false); 679 duplicate_array *array = duplicate->FragmentAt(bplustree_node::FragmentIndex(oldValue)); 683 bplustree_node::FragmentIndex(oldValue), 684 bplustree_node::FragmentOffset(oldValue), 696 offset = bplustree_node::FragmentOffset(oldValue); 746 duplicateOffset = bplustree_node::FragmentOffset(oldValue); 758 && (oldValue 1207 off_t oldValue = BFS_ENDIAN_TO_HOST_INT64(values[index]); local [all...] |
/haiku-fatelf/src/system/libroot/posix/pthread/ |
H A D | pthread_mutex.cpp | 76 int32 oldValue = atomic_or((int32*)&mutex->lock, B_USER_MUTEX_LOCKED); local 78 if ((oldValue & (B_USER_MUTEX_LOCKED | B_USER_MUTEX_WAITING)) != 0) { 155 int32 oldValue = atomic_and((int32*)&mutex->lock, local 157 if ((oldValue & B_USER_MUTEX_WAITING) != 0)
|
/haiku-fatelf/src/kits/translation/ |
H A D | Translator.cpp | 54 int32 oldValue = atomic_add(&fRefCount, -1); local 55 if (oldValue > 0)
|
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/ |
H A D | ACPICAHaiku.cpp | 1234 uint32 oldValue; local 1237 oldValue = *lock; 1238 newValue = ((oldValue & ~GL_BIT_MASK) | GL_BIT_OWNED) | 1239 ((oldValue >> 1) & GL_BIT_PENDING); 1240 atomic_test_and_set((int32*)lock, newValue, oldValue); 1241 } while (*lock == oldValue); 1257 uint32 oldValue; local 1260 oldValue = *lock; 1261 newValue = oldValue & ~GL_BIT_MASK; 1262 atomic_test_and_set((int32*)lock, newValue, oldValue); [all...] |
/haiku-fatelf/src/system/libroot/posix/time/ |
H A D | timer_support.cpp | 152 struct itimerspec* oldValue) 166 interval, timeoutFlags, oldValue != NULL ? &oldInfo : NULL); 171 if (oldValue != NULL) 172 info_to_itimerspec(oldInfo, *oldValue); 151 timer_settime(timer_t timer, int flags, const struct itimerspec* value, struct itimerspec* oldValue) argument
|
/haiku-fatelf/src/apps/mediaplayer/interface/ |
H A D | VolumeSlider.cpp | 62 int32 oldValue = Value(); local 64 if (oldValue == newValue) { 70 if ((oldValue < fSnapValue && newValue >= fSnapValue) 71 || (oldValue > fSnapValue && newValue <= fSnapValue)) { 78 if (oldValue > newValue) {
|
/haiku-fatelf/src/system/kernel/locks/ |
H A D | user_mutex.cpp | 106 int32 oldValue = atomic_or(mutex, local 110 if ((oldValue & (B_USER_MUTEX_LOCKED | B_USER_MUTEX_WAITING)) == 0 111 || (oldValue & B_USER_MUTEX_DISABLED) != 0) { 157 int32 oldValue = atomic_or(mutex, B_USER_MUTEX_LOCKED); local 164 || (oldValue & B_USER_MUTEX_DISABLED) != 0) {
|
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/radeon_hd/ |
H A D | device.cpp | 84 uint32 oldValue = read32(info.registers + reg); local 86 kprintf(" %svalue: %#lx (%lu)\n", set ? "old " : "", oldValue, oldValue);
|
/haiku-fatelf/headers/posix/sys/ |
H A D | time.h | 43 extern int setitimer(int which, const struct itimerval *value, struct itimerval *oldValue);
|
/haiku-fatelf/src/bin/desklink/ |
H A D | VolumeControl.cpp | 222 int32 oldValue = Value(); local 224 if (oldValue == newValue) { 230 if ((oldValue < 0 && newValue >= 0) || (oldValue > 0 && newValue <= 0)) { 238 if (oldValue > newValue) {
|
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/intel_extreme/ |
H A D | device.cpp | 85 uint32 oldValue = read32(info, reg); local 87 kprintf(" %svalue: %#lx (%lu)\n", set ? "old " : "", oldValue, oldValue);
|
/haiku-fatelf/headers/posix/ |
H A D | time.h | 105 const struct itimerspec* value, struct itimerspec* oldValue);
|
/haiku-fatelf/src/system/kernel/ |
H A D | smp.cpp | 360 int32 oldValue; local 361 oldValue = atomic_or((int32*)lock, 1); 362 if (oldValue != 0) { 365 find_lock_caller(lock), oldValue); 457 int32 oldValue; local 458 oldValue = atomic_or((int32*)lock, 1); 459 if (oldValue != 0) { 462 find_lock_caller(lock), oldValue);
|
/haiku-fatelf/src/add-ons/kernel/file_systems/bfs/ |
H A D | BPlusTree.cpp | 1139 off_t oldValue = BFS_ENDIAN_TO_HOST_INT64(values[index]); local 1143 if (bplustree_node::IsDuplicate(oldValue)) { 1147 if (bplustree_node::LinkType(oldValue) 1150 transaction, bplustree_node::FragmentOffset(oldValue), false); 1155 bplustree_node::FragmentIndex(oldValue)); 1160 (int)bplustree_node::FragmentIndex(oldValue), 1161 bplustree_node::FragmentOffset(oldValue), arrayCount, 1174 offset = bplustree_node::FragmentOffset(oldValue); 1227 duplicateOffset = bplustree_node::FragmentOffset(oldValue); 1241 && (oldValue 1770 off_t oldValue = BFS_ENDIAN_TO_HOST_INT64(values[index]); local [all...] |
/haiku-fatelf/src/apps/terminal/ |
H A D | AppearPrefView.cpp | 327 BString oldValue(PrefHandler::Default()->getString(PREF_TAB_TITLE)); 328 if (oldValue != fTabTitle->Text()) { 338 BString oldValue(PrefHandler::Default()->getString( 340 if (oldValue != fWindowTitle->Text()) {
|
/haiku-fatelf/src/servers/registrar/mime/ |
H A D | Database.cpp | 191 char oldValue[maxLength]; local 192 status_t status = read_mime_attr(type, attribute, oldValue, 194 if (status >= B_OK && !strcmp(value, oldValue)) {
|