/haiku/src/apps/debugger/user_interface/gui/model/ |
H A D | VariablesViewStateHistory.cpp | 115 StateEntry* entry = fStates->Clear(true); local 117 while (entry != NULL) { 118 StateEntry* next = entry->next; 119 delete entry; 120 entry = next; 168 // Make sure the default entry for the function exists. 180 // If we have a valid thread ID, make sure the respective entry for the
|
/haiku/src/bin/rc/ |
H A D | compile.cpp | 40 static BEntry entry; variable 231 status_t err = entry.SetTo(rsrc_file, true); 241 err = file.SetTo(&entry, openMode); 256 entry.Remove(); // throw away output file 259 entry.Unset();
|
/haiku/src/kits/device/ |
H A D | JoystickTweaker.cpp | 95 BEntry entry; 98 while (root.GetNextEntry(&entry) == B_OK) { 99 if (entry.IsDirectory()) { 100 status_t result = _ScanIncludingDisabled(rootPath, list, &entry); 108 status_t result = entry.GetPath(&path);
|
/haiku/src/apps/expander/ |
H A D | ExpanderRules.cpp | 100 BEntry entry(ref, true); 101 BNode node(&entry); 138 entry_ref entry; local 139 while (directory.GetNextRef(&entry) == B_OK) { 141 if (filePath.SetTo(path.Path(), entry.name) == B_OK)
|
/haiku/src/kits/tracker/ |
H A D | EntryIterator.h | 60 virtual status_t GetNextEntry(BEntry* entry, bool traverse = false) = 0; 82 virtual status_t GetNextEntry(BEntry* entry, bool traverse = false); 113 virtual status_t GetNextEntry(BEntry* entry, bool traverse = false); 146 virtual status_t GetNextEntry(BEntry* entry, bool traverse = false); 162 // caching entry list iterator for directories 183 virtual status_t GetNextEntry(BEntry* entry, bool traverse = false);
|
H A D | DesktopPoseView.cpp | 176 BEntry entry(ref); 178 entry.GetNodeRef(&nref); 237 BEntry entry("/"); 238 Model model(&entry); 248 if (entry.GetRef(&ref) == B_OK) {
|
H A D | FilePanelPriv.cpp | 229 BEntry entry(path.Path(), true); 230 if (entry.InitCheck() == B_OK && model->SetTo(&entry) == B_OK) 242 BEntry entry; local 243 root.GetEntry(&entry); 244 model->SetTo(&entry); 323 BEntry entry(&ref); 324 if (entry.InitCheck() != B_OK) 327 // if the entry is a symlink 330 if (entry 434 BEntry entry; local [all...] |
H A D | Tracker.cpp | 297 BEntry entry; local 298 deskDir.GetEntry(&entry); 299 Model* model = new Model(&entry, true); 309 BEntry entry("/"); 310 Model model(&entry); 381 BEntry entry; local 384 if (entry.SetTo(ref) == B_OK 385 && entry.GetPath(&path) == B_OK) { 731 // if we have a window open for this entry, ask the pose to 732 // delete it, this will select the next entry 1059 BEntry entry; local 1184 BEntry entry; local 1245 FindContainerWindow(const entry_ref* entry, int32 number) const argument 1266 EntryHasWindowOpen(const entry_ref* entry) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | MetadataCache.cpp | 120 AccessEntry entry; local 121 entry.fAllowed = allowed; 122 entry.fExpire = time(NULL) + kExpirationTime; 123 entry.fForceValid = fForceValid; 125 fAccessCache.Insert(uid, entry);
|
/haiku/src/add-ons/media/media-add-ons/multi_audio/ |
H A D | MultiAudioAddOn.cpp | 193 BEntry entry; local 194 while (root.GetNextEntry(&entry) == B_OK) { 195 if (entry.IsDirectory()) { 196 _RecursiveScan(rootPath, &entry, depth + 1); 199 entry.GetPath(&path);
|
/haiku/src/add-ons/print/transports/ipp/ |
H A D | Ipp.cpp | 135 const IPPPrinterMap::Entry& entry = iterator.Next(); local 136 msg->AddString("port_id", entry.value->fURI); 138 BString name = entry.value->fInfo; 139 if (name.Length() && entry.value->fLocation.Length()) { 141 name.Append(entry.value->fLocation);
|
/haiku/src/system/kernel/scheduler/ |
H A D | scheduling_analysis.cpp | 588 if (ScheduleThread* entry = dynamic_cast<ScheduleThread*>(_entry)) { 589 error = manager.AddThread(entry->PreviousThreadID(), NULL); 593 if (entry->PreviousState() == B_THREAD_WAITING) { 594 void* waitObject = (void*)entry->PreviousWaitObject(); 595 switch (entry->PreviousWaitObjectType()) { 609 error = manager.AddWaitObject(entry->PreviousWaitObjectType(), 642 if (ScheduleThread* entry = dynamic_cast<ScheduleThread*>(_entry)) { 644 Thread* thread = manager.ThreadFor(entry->ThreadID()); 646 bigtime_t diffTime = entry->Time() - thread->lastTime; 674 thread->lastTime = entry [all...] |
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | ClientVolume.cpp | 332 // get the entry 333 Entry* entry = volumeManager->GetEntry(volumeID, dirID, name); local 334 if (!entry) 337 // check, if the entry is contained by the root dir of the client volume 338 if (volumeManager->DirectoryContains(GetRootDirectory(), entry)) 339 return entry; 364 // get the entry 365 Entry* entry; local 367 name, true, &entry); 371 // check, if the entry i 381 LoadEntry(Directory* directory, const char* name, Entry** entry) argument [all...] |
/haiku/src/bin/consoled/ |
H A D | consoled.cpp | 243 dirent* entry = readdir(dir); local 244 if (entry == NULL) 246 if (!strcmp(entry->d_name, ".") || !strcmp(entry->d_name, "..")) 252 strlcat(path, entry->d_name, sizeof(path)); 309 struct dirent* entry; local 312 while ((entry = readdir(dir)) != NULL) { 313 if (entry->d_name[0] == '.') 316 snprintf(name, sizeof(name), "/dev/pt/%s", entry->d_name); 320 snprintf(name, sizeof(name), "/dev/tt/%s", entry [all...] |
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/ |
H A D | FolderConfigWindow.cpp | 339 IMAP::FolderEntry& entry = fFolderList[i]; local 341 MailboxToFolderName(entry.folder, separator), entry.subscribed); 365 IMAP::FolderEntry& entry = fFolderList[i]; local 367 if (entry.subscribed != item->Checked()) { 381 IMAP::FolderEntry& entry = fFolderList[i]; local 383 if (entry.subscribed && !item->Checked()) 384 fProtocol.UnsubscribeFolder(entry.folder); 385 else if (!entry.subscribed && item->Checked()) 386 fProtocol.SubscribeFolder(entry [all...] |
/haiku/src/kits/storage/ |
H A D | Query.cpp | 328 // Fills out entry with the next entry traversing symlinks if traverse is true. 330 BQuery::GetNextEntry(BEntry* entry, bool traverse) argument 332 status_t error = (entry ? B_OK : B_BAD_VALUE); 337 error = entry->SetTo(&ref, traverse); 343 // Fills out ref with the next entry as an entry_ref. 352 struct dirent* entry = longEntry.dirent(); local 355 if (GetNextDirents(entry, sizeof(longEntry), 1) != 1) { 358 next = (!strcmp(entry->d_name, ".") 359 || !strcmp(entry [all...] |
/haiku/src/system/kernel/ |
H A D | sem.cpp | 187 while (queued_thread* entry = it.Next()) 188 kprintf(" %" B_PRId32, entry->thread->id); 286 // append the entry to the list 332 while (queued_thread* entry = sem.queue.RemoveHead()) { 333 entry->queued = false; 334 thread_unblock(entry->thread, B_BAD_SEM_ID); 409 TRACE(("sem_init: entry\n")); 603 remove_thread_from_sem(queued_thread *entry, struct sem_entry *sem) argument 605 if (!entry->queued) 608 sem->queue.Remove(entry); 936 queued_thread* entry = sSems[slot].queue.Head(); local [all...] |
H A D | syscalls.cpp | 233 "pre syscall trace entry is encountered, the corresponding post\n" 234 "syscall traced entry is also printed, even if it doesn't match the\n" 302 ConditionVariableEntry entry; local 303 syscall->unused_condition.Add(&entry); 307 entry.Wait(); 520 if (const PreSyscall* entry = dynamic_cast<const PreSyscall*>(_entry)) { 521 _RemovePendingThread(entry->ThreadID()); 523 bool accepted = fFilter->Filter(entry, out); 525 _AddPendingThread(entry->ThreadID()); 528 } else if (const PostSyscall* entry [all...] |
/haiku/src/system/kernel/arch/m68k/ |
H A D | arch_vm_translation_map_impl.cpp | 137 init_page_root_entry(page_root_entry *entry) argument 140 *(page_root_entry_scalar *)entry = DFL_ROOTENT_VAL; 145 update_page_root_entry(page_root_entry *entry, page_root_entry *with) argument 147 // update page directory entry atomically 148 *(page_root_entry_scalar *)entry = *(page_root_entry_scalar *)with; 153 init_page_directory_entry(page_directory_entry *entry) argument 155 *(page_directory_entry_scalar *)entry = DFL_DIRENT_VAL; 160 update_page_directory_entry(page_directory_entry *entry, page_directory_entry *with) argument 162 // update page directory entry atomically 163 *(page_directory_entry_scalar *)entry 168 init_page_table_entry(page_table_entry *entry) argument 175 update_page_table_entry(page_table_entry *entry, page_table_entry *with) argument 184 init_page_indirect_entry(page_indirect_entry *entry) argument 192 update_page_indirect_entry(page_indirect_entry *entry, page_indirect_entry *with) argument 204 vm_translation_map *entry; local 312 vm_translation_map *entry; local 396 put_pgdir_in_pgroot(page_root_entry *entry, addr_t pgdir_phys, uint32 attributes) argument 419 put_pgtable_in_pgdir(page_directory_entry *entry, addr_t pgtable_phys, uint32 attributes) argument 442 put_page_table_entry_in_pgtable(page_table_entry *entry, addr_t physicalAddress, uint32 attributes, bool globalPage) argument 471 put_page_indirect_entry_in_pgtable(page_indirect_entry *entry, addr_t physicalAddress, uint32 attributes, bool globalPage) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | Node.cpp | 207 NodeEntry* entry = (NodeEntry*)(void*)(fLeafBuffer + NodeHeader::Size(fInode)); 211 < &entry[count]) { 216 if (hashVal <= B_BENDIAN_TO_HOST_INT32(entry[i].hashval)) { 217 *rightMapOffset = B_BENDIAN_TO_HOST_INT32(entry[i].before); 269 void* entry; // This could be unused entry so we should check local 271 entry = (void*)(fDataBuffer + ExtentDataHeader::Size(fInode)); 275 entry = (void*)(fDataBuffer 277 // This gets us a little faster to the next entry 292 // map entry bu 431 ExtentDataEntry* entry = (ExtentDataEntry*)(fDataBuffer + offset); local [all...] |
/haiku/src/system/kernel/arch/arm/paging/32bit/ |
H A D | ARMPagingMethod32Bit.cpp | 241 page_directory_entry* entry local 243 PutPageTableInPageDir(entry, physicalTable, ARM_MMU_L1_FLAG_PXN); 244 ARMPagingStructures32Bit::UpdateAllPageDirs(index, *entry); 276 TRACE("ARMPagingMethod32Bit::Init(): entry\n"); 428 // get the page directory entry for the address 435 // map the original page directory and get the entry 449 // map the page table and get the entry 485 ARMPagingMethod32Bit::PutPageTableInPageDir(page_directory_entry* entry, argument 490 *entry = (pgtablePhysical & ARM_PDE_ADDRESS_MASK) | ARM_MMU_L1_TYPE_COARSE | attributes; 498 ARMPagingMethod32Bit::PutPageTableEntryInTable(page_table_entry* entry, argument 542 page_directory_entry* entry = method->KernelVirtualPageDirectory() local 568 page_table_entry* entry = (page_table_entry*)ptEntryVirt; local [all...] |
/haiku/src/system/boot/platform/efi/arch/riscv64/ |
H A D | arch_mmu.cpp | 352 efi_memory_descriptor* entry = (efi_memory_descriptor *)(addr + i * descriptorSize); local 353 if (entry->PhysicalStart == RESERVED_MEMORY_BASE) { 354 entry->Type = EfiReservedMemoryType; 392 efi_memory_descriptor* entry = &memoryMap[i]; local 393 switch (entry->Type) { 396 MapRange(entry->VirtualStart, entry->PhysicalStart, entry->NumberOfPages * B_PAGE_SIZE, 410 efi_memory_descriptor* entry = &memoryMap[i]; local 411 if ((entry [all...] |
/haiku/src/system/kernel/debug/ |
H A D | core_dump.cpp | 1347 elf_note_area_entry entry; local 1348 memset(&entry, 0, sizeof(entry)); 1349 entry.na_id = areaInfo->Id(); 1350 entry.na_lock = areaInfo->Lock(); 1351 entry.na_protection = areaInfo->Protection(); 1352 entry.na_base = areaInfo->Base(); 1353 entry.na_size = areaInfo->Size(); 1354 entry.na_ram_size = areaInfo->RamSize(); 1355 writer.Write(entry); 1395 elf_note_image_entry entry; local 1504 elf_note_thread_entry entry; local [all...] |
/haiku/src/apps/cortex/ValControl/ |
H A D | ValControl.cpp | 269 [](ValCtrlLayoutEntry& entry) { ValCtrlLayoutEntry::InitChildFrame(entry); } 450 // archive entry 484 ValCtrlLayoutEntry entry = segment->makeLayoutEntry(); local 485 _InsertEntry(entry, nIndex); 494 // the entry's frame rectangle will be filled in 496 ValControl::_Add(ValCtrlLayoutEntry& entry, entry_location from) argument 502 if (entry.pView) 503 AddChild(entry.pView); 506 _InsertEntry(entry, inde 602 _InsertEntry(ValCtrlLayoutEntry& entry, uint16 index) argument [all...] |
/haiku/src/kits/debugger/debug_info/ |
H A D | DwarfTypes.h | 104 const BString& name, const DIEType* entry); 107 static bool GetTypeID(const DIEType* entry, BString& _id); 155 DwarfInheritance(DIEInheritance* entry, 174 DwarfDataMember(DIEMember* entry, 195 DwarfEnumeratorValue(DIEEnumerator* entry, 231 DIEFormalParameter* entry, 252 DebugInfoEntry* entry, 272 const BString& name, DIEBaseType* entry, 290 const BString& name, DIECompoundType* entry, 347 const BString& name, DIEArrayType* entry, [all...] |