/haiku/src/kits/debugger/dwarf/ |
H A D | BaseUnit.cpp | 46 BaseUnit::AddDebugInfoEntry(DebugInfoEntry* entry, off_t offset) argument 48 if (!fEntries.Add(entry)) 81 BaseUnit::GetEntryAt(int index, DebugInfoEntry*& entry, argument 84 entry = fEntries[index];
|
/haiku/src/kits/tracker/ |
H A D | TemplatesMenu.cpp | 146 BEntry entry; local 148 while (templatesDir.GetNextEntry(&entry) == B_OK) { 149 BNode node(&entry); 152 entry.GetName(fileName); 171 entry.GetRef(&ref); 187 if (templatesDir.GetEntry(&entry) == B_OK) 188 entry.GetRef(&dirRef);
|
H A D | VirtualDirectoryEntryList.cpp | 71 VirtualDirectoryEntryList::GetNextEntry(BEntry* entry, bool traverse) argument 78 return entry->SetTo(&ref, traverse); 86 struct dirent* entry = longEntry.dirent(); local 87 int32 result = GetNextDirents(entry, sizeof(longEntry), 1); 93 ref->device = entry->d_pdev; 94 ref->directory = entry->d_pino; 95 return ref->set_name(entry->d_name);
|
/haiku/src/servers/package/ |
H A D | FSTransaction.h | 30 int32 CreateEntry(const Entry& entry, 32 int32 RemoveEntry(const Entry& entry, 46 static std::string _GetPath(const Entry& entry); 99 CreateOperation(FSTransaction* transaction, const Entry& entry, argument 103 transaction->CreateEntry(entry, modifiedOperation)) 111 RemoveOperation(FSTransaction* transaction, const Entry& entry, argument 115 transaction->RemoveEntry(entry, backupEntry, modifiedOperation))
|
/haiku/src/tests/kits/interface/bshelf/ |
H A D | ShelfTest.cpp | 55 BEntry *entry; local 61 if ((entry = archive_file())) { 66 stream = new BFile(entry, O_RDWR); 81 delete entry; 99 BEntry *entry = NULL; local 116 entry = new BEntry(path.Path()); 117 if (entry->InitCheck() != B_NO_ERROR) { 118 delete entry; 119 entry = NULL; 121 return entry; [all...] |
/haiku/src/kits/debugger/debug_info/ |
H A D | TeamDebugInfo.cpp | 284 SourceFileEntry* entry = fSourceFiles->Clear(true); local 285 while (entry != NULL) { 286 SourceFileEntry* next = entry->fNext; 287 delete entry; 288 entry = next; 503 SourceFileEntry* entry = fSourceFiles->Lookup(file); local 504 if (entry != NULL) { 505 FileSourceCode* sourceCode = entry->GetSourceCode(); 589 SourceFileEntry* entry = fSourceFiles->Lookup(file); local 590 if (entry 660 SourceFileEntry* entry = fSourceFiles->Lookup(sourceFile); local 717 SourceFileEntry* entry = fSourceFiles->Lookup(sourceFile); local 856 SourceFileEntry* entry = fSourceFiles->Lookup(sourceFile); local [all...] |
/haiku/src/system/kernel/arch/x86/paging/64bit/ |
H A D | X86VMTranslationMap64Bit.cpp | 210 uint64* entry = X86PagingMethod64Bit::PageTableEntryForAddress( local 213 ASSERT(entry != NULL); 215 // The entry should not already exist. 216 ASSERT_PRINT((*entry & X86_64_PTE_PRESENT) == 0, 218 virtualAddress, *entry); 220 // Fill in the table entry. 221 X86PagingMethod64Bit::PutPageTableEntryInTable(entry, physicalAddress, 225 // the entry was not present and the TLB doesn't cache those entries. 271 // accessed flags was set, since only then the entry could have 323 // accessed flags was set, since only then the entry coul 346 uint64* entry = X86PagingMethod64Bit::PageTableEntryForAddress( local 546 uint64* entry = X86PagingMethod64Bit::PageTableEntryForAddress( local 706 uint64 entry = pageTable[index]; local 751 uint64* entry = X86PagingMethod64Bit::PageTableEntryForAddress( local 782 uint64* entry = X86PagingMethod64Bit::PageTableEntryForAddress( local [all...] |
/haiku/src/kits/print/ |
H A D | FolderWatcher.cpp | 59 BEntry entry; local 61 while (fFolder.GetNextEntry(&entry) == B_OK && entry.GetNodeRef(&node) == B_OK) { 92 bool FolderWatcher::BuildEntryRef(BMessage* msg, const char* dirName, entry_ref* entry) { argument 94 if (msg->FindInt32("device", &entry->device) == B_OK && 95 msg->FindInt64(dirName, &entry->directory) == B_OK && 97 entry->set_name(name); 110 entry_ref entry; local 111 if (BuildEntryRef(msg, dirName, &entry) && 114 fListener->EntryCreated(&node, &entry); [all...] |
/haiku/src/system/boot/platform/efi/arch/arm/ |
H A D | arch_start.cpp | 36 // From entry.S 96 // Allocate identity mapped region for entry.S trampoline 141 efi_memory_descriptor *entry local 146 entry->PhysicalStart, 147 entry->PhysicalStart + entry->NumberOfPages * B_PAGE_SIZE, 148 entry->VirtualStart, 149 entry->VirtualStart + entry->NumberOfPages * B_PAGE_SIZE, 150 memory_region_type_str(entry [all...] |
/haiku/src/system/boot/platform/efi/arch/x86/ |
H A D | arch_start.cpp | 29 // From entry.S 60 // Copy entry.S trampoline to lower 1M 106 efi_memory_descriptor *entry local 111 entry->PhysicalStart, 112 entry->PhysicalStart + entry->NumberOfPages * B_PAGE_SIZE, 113 entry->VirtualStart, 114 entry->VirtualStart + entry->NumberOfPages * B_PAGE_SIZE, 115 memory_region_type_str(entry [all...] |
/haiku/src/system/boot/arch/m68k/ |
H A D | mmu_030.cpp | 93 long_page_directory_entry entry; local 94 *(uint64 *)&entry = DFL_PAGEENT_VAL; 95 entry.type = DT_ROOT; 96 entry.addr = TA_TO_PREA(((addr_t)pa)); 101 : : "a"((uint64 *)&entry));
|
/haiku/src/apps/cortex/Persistence/ |
H A D | ExportContext.cpp | 94 // push tag onto element stack, and link to entry for the current object 117 element_entry& entry = m_elementStack.back(); local 129 if(!entry.hasContent) 132 out << "\n" << indentString() << "</" << entry.name.String() << ">"; 149 element_entry& entry = m_elementStack.back(); local 159 entry.hasContent = true; 238 // write entry to object stack 240 object_entry& entry = m_objectStack.back(); local 241 entry.object = object; 251 if(!entry 346 operator ()(const ExportContext::element_entry& entry) argument [all...] |
/haiku/src/apps/text_search/ |
H A D | ChangesIterator.cpp | 64 const PathMap::Entry& entry = iterator.Next(); local 65 sprintf(buffer, "%s", entry.key.GetString()); 135 const PathMap::Entry& entry = iterator.Next(); local 137 switch (entry.value) { 151 printf("entry: %s - %s\n", entry.key.GetString(), value);
|
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | EntryIterator.cpp | 97 EntryIterator::GetNext(Entry **entry) argument 100 if (!fDone && fDirectory && entry) { 107 *entry = fEntry; 134 EntryIterator::SetCurrent(Entry *entry, bool isNext) argument 137 fEntry = entry;
|
/haiku/src/servers/app/font/ |
H A D | GlobalFontManager.cpp | 85 set_entry(node_ref& nodeRef, const char* name, BEntry& entry) argument 95 return entry.SetTo(&ref); 170 BEntry entry; local 171 if (set_entry(nodeRef, name, entry) != B_OK) 174 if (entry.IsDirectory()) { 176 _AddPath(entry); 185 _AddFont(*directory, entry); 192 // has the entry been moved into a monitored directory or has 207 BEntry entry; local 208 if (set_entry(nodeRef, name, entry) ! 701 _AddFont(font_directory& directory, BEntry& entry) argument 787 BEntry entry; local 797 _AddPath(BEntry& entry, font_directory** _newDirectory) argument 871 BEntry entry; local [all...] |
/haiku/src/system/kernel/scheduler/ |
H A D | scheduler_tracing.cpp | 164 if (ScheduleThread* entry = dynamic_cast<ScheduleThread*>(_entry)) { 165 if (entry->ThreadID() == threadID) { 167 bigtime_t diffTime = entry->Time() - lastTime; 197 lastTime = entry->Time(); 200 } else if (entry->PreviousThreadID() == threadID) { 202 bigtime_t diffTime = entry->Time() - lastTime; 215 lastTime = entry->Time(); 219 bigtime_t diffTime = entry->Time() - lastTime; 228 lastTime = entry->Time(); 231 } else if (EnqueueThread* entry [all...] |
/haiku/src/apps/debugger/user_interface/cli/ |
H A D | CommandLineUserInterface.cpp | 357 CommandEntry* entry = new(std::nothrow) CommandEntry(nextName, local 359 if (entry == NULL || !fCommands.AddItem(entry)) { 360 delete entry; 386 for (int32 i = 0; CommandEntry* entry = fCommands.ItemAt(i); i++) { 387 if (entry->Name() == commandName) { 388 commandEntry = entry; 396 for (int32 i = 0; CommandEntry* entry = fCommands.ItemAt(i); i++) { 397 if (entry->Name().Compare(commandName, commandNameLength) == 0) { 403 commandEntry = entry; [all...] |
/haiku/src/add-ons/kernel/drivers/input/hid_shared/ |
H A D | DeviceList.cpp | 44 device_list_entry *entry = new(std::nothrow) device_list_entry; local 45 if (entry == NULL) 48 entry->name = strdup(name); 49 if (entry->name == NULL) { 50 delete entry; 54 entry->device = device; 55 entry->next = NULL; 58 fDeviceList = entry; 63 current->next = entry;
|
/haiku/src/tests/add-ons/kernel/file_systems/consistency_check/ |
H A D | generate_hashs.cpp | 128 while (struct dirent* entry = readdir(dir)) { 129 if (!strcmp(entry->d_name, ".") 130 || !strcmp(entry->d_name, "..")) 137 strlcat(fullPath, entry->d_name, sizeof(fullPath)); 177 file_entry entry; local 178 memcpy(entry.hash, gSHA.Digest(), SHA_DIGEST_LENGTH); 179 entry.node = stat.st_ino; 180 entry.path = path; 182 //printf("%s %s\n", entry.HashString().c_str(), path); 184 gFiles.push_back(entry); 216 file_entry& entry = gFiles[i]; local [all...] |
/haiku/headers/os/storage/ |
H A D | Directory.h | 25 BDirectory(const BEntry *entry); 33 status_t SetTo(const BEntry *entry); 37 status_t GetEntry(BEntry *entry) const; 41 status_t FindEntry(const char *path, BEntry *entry, 45 bool Contains(const BEntry *entry, int32 nodeFlags = B_ANY_NODE) const; 49 virtual status_t GetNextEntry(BEntry *entry, bool traverse = false);
|
/haiku/src/tools/ |
H A D | generate_attribute_stores.cpp | 94 attribute_entry entry; local 95 entry.type = info.type; 96 entry.size = info.size; 97 entry.name_length = strlen(nameBuffer) + 1; 98 attributeFile.Write(&entry, sizeof(attribute_entry) - 1); 99 attributeFile.Write(nameBuffer, entry.name_length);
|
/haiku/src/tests/kits/storage/ |
H A D | StatableTest.h | 37 else if (BEntry *entry = dynamic_cast<BEntry*>(*it)) 38 delete entry; 52 void add(C *entry, string entryName) argument 54 entries.push_back(entry); 58 bool getNext(C *&entry, string &entryName) argument 63 entry = *entryIt;
|
/haiku/src/apps/diskprobe/ |
H A D | OpenWindow.cpp | 135 BEntry entry; local 136 while (directory.GetNextEntry(&entry) == B_OK) { 137 if (entry.IsDirectory()) { 138 CollectDevices(menu, &entry); 143 if (entry.GetRef(&ref) != B_OK) 147 if (entry.GetPath(&path) != B_OK)
|
/haiku/headers/private/libroot/ |
H A D | user_group.h | 109 passwd* entry, char* buffer, size_t bufferSize); 110 status_t copy_passwd_to_buffer(const passwd* from, passwd* entry, char* buffer, 120 const char* const* members, int memberCount, group* entry, char* buffer, 122 status_t copy_group_to_buffer(const group* from, group* entry, char* buffer, 133 int flags, spwd* entry, char* buffer, size_t bufferSize); 134 status_t copy_shadow_pwd_to_buffer(const spwd* from, spwd* entry,
|
/haiku/headers/build/os/storage/ |
H A D | Directory.h | 25 BDirectory(const BEntry *entry); 33 status_t SetTo(const BEntry *entry); 37 status_t GetEntry(BEntry *entry) const; 39 status_t FindEntry(const char *path, BEntry *entry, 43 bool Contains(const BEntry *entry, int32 nodeFlags = B_ANY_NODE) const; 47 virtual status_t GetNextEntry(BEntry *entry, bool traverse = false);
|