Home
last modified time | relevance | path

Searched refs:oldFlags (Results 1 – 10 of 10) sorted by relevance

/haiku/src/system/libroot/posix/pthread/
H A Dpthread_cancel.cpp47 int32 oldFlags = atomic_or(&thread->flags, THREAD_CANCELED); in pthread_cancel() local
50 if ((oldFlags & THREAD_CANCELED) != 0) in pthread_cancel()
55 if ((oldFlags & THREAD_CANCEL_ENABLED) != 0) { in pthread_cancel()
74 int32 oldFlags; in pthread_setcancelstate() local
76 oldFlags = atomic_or(&thread->flags, THREAD_CANCEL_ENABLED); in pthread_setcancelstate()
77 test_asynchronous_cancel(oldFlags | THREAD_CANCEL_ENABLED); in pthread_setcancelstate()
79 oldFlags = atomic_and(&thread->flags, ~(int32)THREAD_CANCEL_ENABLED); in pthread_setcancelstate()
80 test_asynchronous_cancel(oldFlags); in pthread_setcancelstate()
86 *_oldState = (oldFlags & THREAD_CANCEL_ENABLED) != 0 in pthread_setcancelstate()
102 int32 oldFlags; in pthread_setcanceltype() local
[all …]
/haiku/src/add-ons/kernel/network/stack/
H A Dnotifications.cpp58 notify_interface_changed(net_interface* interface, uint32 oldFlags, in notify_interface_changed() argument
69 if (oldFlags != newFlags) { in notify_interface_changed()
70 message.AddInt32("old flags", oldFlags); in notify_interface_changed()
H A Dstack_private.h49 status_t notify_interface_changed(net_interface* interface, uint32 oldFlags = 0,
H A Dinterfaces.cpp756 uint32 oldFlags = flags; in Control() local
775 if (oldFlags != flags) { in Control()
777 B_PRIx32 "\n", this, oldFlags, flags); in Control()
778 notify_interface_changed(this, oldFlags, flags); in Control()
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/
H A DIMAPMailbox.cpp102 const entry_ref& ref, uint32 oldFlags, uint32 newFlags) in MessageFlagsChanged() argument
105 B_PRIx32 "\n", ref.name, token.uid, oldFlags, newFlags); in MessageFlagsChanged()
H A DIMAPMailbox.h41 const entry_ref& ref, uint32 oldFlags,
H A DIMAPFolder.h47 const entry_ref& ref, uint32 oldFlags,
/haiku/src/kits/storage/
H A DPathMonitor.cpp2004 uint32 oldFlags = handler->Flags(); in StartWatching() local
2008 oldFlags &= ~(uint32)kMutuallyExclusiveFlags; in StartWatching()
2009 flags |= oldFlags; in StartWatching()
/haiku/src/servers/app/
H A DView.cpp476 uint32 oldFlags = fFlags; in SetFlags() local
483 && (((oldFlags & B_TRANSPARENT_BACKGROUND) != 0) in SetFlags()
/haiku/src/system/kernel/debug/
H A Duser_debugger.cpp2888 int32 oldFlags; in _user_disable_debugger() local
2890 oldFlags = atomic_or(&team->debug_info.flags, in _user_disable_debugger()
2893 oldFlags = atomic_and(&team->debug_info.flags, in _user_disable_debugger()
2901 return !(oldFlags & B_TEAM_DEBUG_DEBUGGER_DISABLED); in _user_disable_debugger()