/haiku/src/tests/servers/app/newerClipping/ |
H A D | MultiLocker.cpp | 129 bool locked = false; local 136 locked = true; 142 locked = (acquire_sem_etc(fReadSem, 1, B_DO_NOT_RESCHEDULE, 144 } else locked = true; 147 if (locked) register_thread(); 159 return locked; 169 bool locked = false; local 178 locked = true; 183 locked = (acquire_sem_etc(fWriterLock, 1, B_DO_NOT_RESCHEDULE, 185 } else locked 381 bool locked = true; local [all...] |
/haiku/src/servers/app/ |
H A D | MultiLocker.cpp | 140 bool locked = (rw_lock_read_lock(&fLock) == B_OK); local 148 return locked; 159 bool locked = (rw_lock_write_lock(&fLock) == B_OK); local 167 return locked; 238 bool locked = false; local 248 locked = true; 255 locked = status == B_OK; 257 if (locked) 261 return locked; 268 bool locked local [all...] |
H A D | DrawState.h | 130 void SetDrawingModeLocked(bool locked);
|
H A D | DrawState.cpp | 673 DrawState::SetDrawingModeLocked(bool locked) argument 675 fDrawingModeLocked = locked;
|
/haiku/src/tests/kits/support/bstring/ |
H A D | StringAccessTest.cpp | 57 BString locked("a string"); 58 char *ptrstr = locked.LockBuffer(20); 60 strcat(ptrstr, " to be locked"); 61 locked.UnlockBuffer(); 62 CPPUNIT_ASSERT(strcmp(ptrstr, "a string to be locked") == 0);
|
/haiku/src/kits/shared/ |
H A D | RWLocker.cpp | 209 bool locked = false; local 216 locked = true; 221 locked = true; 227 if (error == B_OK && !locked) { 281 bool locked = false; local 308 // locked the data. But that doesn't harm. 315 locked = true; 340 locked = true; 352 if (!locked && error == B_OK) { 372 if (!locked [all...] |
/haiku/src/bin/bfs_tools/lib/ |
H A D | Cache.h | 25 locked(0L), 38 int32 locked; member in class:Cache::Cacheable 64 if (entry->locked <= 0 || force) 109 entry->locked++; 119 entry->locked--;
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/ |
H A D | fs_cache_priv.h | 73 locked; /* list of clean and locked blocks */ member in struct:block_cache
|
H A D | fs_cache.c | 10 The locked list is for blocks that are locked in the cache by 538 real_dump_cache_list(&bc.locked); 557 for(ce=bc.locked.lru; ce; prev=ce, ce=ce->next) { 579 printf("LOCKED 0x%x (tail 0x%x, head 0x%x)\n", &bc.locked, 580 bc.locked.lru, bc.locked.mru); 581 for(nce=bc.locked.lru; nce; nce=nce->next) 603 for(oce=bc.locked.lru; oce; oce=oce->next) { 616 cel = &bc.locked; [all...] |
/haiku/src/kits/app/ |
H A D | Clipboard.cpp | 153 bool locked = fLock.Lock(); local 156 if (locked && _DownloadFromSystem() != B_OK) { 157 locked = false; 162 return locked; 277 // This function is for jumping to the debugger if not locked 279 debugger("The clipboard must be locked before proceeding.");
|
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | e1000_phy.c | 730 * @locked: semaphore has already been acquired or not 737 bool locked) 743 if (!locked) { 760 if (!locked) 800 * @locked: semaphore has already been acquired or not 806 bool locked) 812 if (!locked) { 829 if (!locked) 868 * @locked: semaphore has already been acquired or not 875 bool locked) 736 __e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data, bool locked) argument 805 __e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data, bool locked) argument 874 __e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data, bool locked) argument 949 __e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data, bool locked) argument 3544 __e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data, bool locked, bool page_set) argument 3654 __e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data, bool locked, bool page_set) argument 4124 bool locked = false; local 4186 bool locked = false; local [all...] |
/haiku/headers/private/userlandfs/legacy/ |
H A D | cache.h | 75 locked; /* list of clean and locked blocks */ member in struct:block_cache
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | callout.cpp | 190 _callout_stop(struct callout *c, bool drain, bool locked = false) 195 if (!locked)
|
/haiku/src/add-ons/kernel/generic/mpu401/ |
H A D | mpu401.c | 556 spinlock locked = B_SPINLOCK_INITIALIZER; variable 561 acquire_spinlock(&locked); 568 release_spinlock(&locked);
|
/haiku/src/system/kernel/ |
H A D | image.cpp | 86 register_image(Team *team, extended_image_info *info, size_t size, bool locked) argument 98 if (!locked) 114 if (!locked)
|
H A D | UserTimer.cpp | 197 bool locked = false; local 198 while (!locked && atomic_get(&userTimer->fSkip) == 0) { 199 locked = try_acquire_write_seqlock(&sUserTimerLock); 200 if (!locked) 204 if (locked) {
|
H A D | smp.cpp | 166 bool locked = B_SPINLOCK_IS_LOCKED(lock); local 167 if (locked) { 168 kprintf(" locked from %p\n", find_lock_caller(lock)); 170 kprintf(" not locked\n");
|
/haiku/src/apps/terminal/ |
H A D | TerminalRoster.cpp | 112 bool locked = fLock.Lock(); local 113 if (!locked)
|
/haiku/src/apps/mediaconverter/ |
H A D | MediaConverterApp.cpp | 165 bool locked = fWin->Lock(); local 167 if (locked && (fWin->CountSourceFiles() > 0)) { 177 if (locked) {
|
/haiku/src/kits/interface/ |
H A D | Menu.cpp | 747 const bool locked = LockLooper(); local 750 if (locked) 756 if (locked) { 780 const bool locked = LockLooper(); local 786 if (locked) 791 if (locked) { 871 bool locked = LockLooper(); 883 if (locked && Window() != NULL && !Window()->IsHidden()) { 890 if (locked) 2434 bool locked local [all...] |
/haiku/src/apps/deskbar/ |
H A D | TeamMenuItem.cpp | 401 bool locked = sub->LockLooper(); local 404 if (locked)
|
/haiku/src/apps/cortex/MediaRoutingView/ |
H A D | MediaRoutingView.cpp | 646 bool locked; local 647 if(message->FindBool("locked", &locked) < B_OK) 652 uint32 f = locked ?
|