Searched refs:entry (Results 226 - 250 of 922) sorted by relevance

1234567891011>>

/haiku/src/add-ons/print/drivers/postscript/
H A DSelectPPDDlg.cpp104 BEntry entry; local
111 while (dir.GetNextEntry(&entry) == B_OK)
112 if (entry.IsDirectory()
113 && entry.GetName(name) == B_OK)
126 BEntry entry; local
140 while (dir.GetNextEntry(&entry) == B_OK)
141 if (entry.GetName(name) == B_OK) {
/haiku/src/tests/system/kernel/
H A Dlive_query.cpp113 BEntry entry(volumePath);
114 if (entry.InitCheck() != B_OK) {
120 status_t status = entry.GetVolume(&volume);
251 BEntry entry; local
253 while (query.GetNextEntry(&entry) == B_OK) {
254 if (sFilesOnly && !entry.IsFile())
257 if (entry.GetPath(&path) != B_OK) {
258 fprintf(stderr, "%s: could not get path for entry\n", kProgramName);
/haiku/src/system/kernel/arch/m68k/paging/040/
H A DM68KPagingMethod040.cpp56 init_page_root_entry(page_root_entry *entry) argument
59 *entry = DFL_ROOTENT_VAL;
64 update_page_root_entry(page_root_entry *entry, page_root_entry *with) argument
66 // update page directory entry atomically
67 *entry = *with;
72 init_page_directory_entry(page_directory_entry *entry) argument
74 *entry = DFL_DIRENT_VAL;
79 update_page_directory_entry(page_directory_entry *entry, page_directory_entry *with) argument
81 // update page directory entry atomically
82 *entry
87 init_page_table_entry(page_table_entry *entry) argument
94 update_page_table_entry(page_table_entry *entry, page_table_entry *with) argument
103 init_page_indirect_entry(page_indirect_entry *entry) argument
111 update_page_indirect_entry(page_indirect_entry *entry, page_indirect_entry *with) argument
611 PutPageDirInPageRoot(page_root_entry* entry, phys_addr_t pgdirPhysical, uint32 attributes) argument
630 PutPageTableInPageDir(page_directory_entry* entry, phys_addr_t pgtablePhysical, uint32 attributes) argument
640 PutPageTableEntryInTable(page_table_entry* entry, phys_addr_t physicalAddress, uint32 attributes, uint32 memoryType, bool globalPage) argument
[all...]
/haiku/src/bin/
H A Dmimeset.cpp78 process_file_with_custom_mime_db(const BEntry& entry) argument
84 status_t error = entry.GetRef(&ref);
101 entry.GetPath(&path) == B_OK ? path.Path() : entry.Name(),
115 BEntry entry(path);
116 if (!entry.Exists())
120 return process_file_with_custom_mime_db(entry);
H A Ddiff_zip.cpp45 void Write(const char* entry) argument
47 write(fFD, entry, strlen(entry));
116 // that's OK, the entry was removed
157 while (dirent* entry = readdir(dir)) {
158 if (strcmp(entry->d_name, ".") == 0
159 || strcmp(entry->d_name, "..") == 0) {
163 string entryPath = path + '/' + entry->d_name;
166 fprintf(stderr, "Error: Failed to stat entry \"%s\": %s\n",
172 Node* node = create_node(this, entry
[all...]
H A Dreindex.cpp166 handleFile(BEntry *entry, BNode *node) argument
169 if (gRecursive && entry->IsDirectory()) {
170 BDirectory dir(entry);
183 entry->GetName(name);
185 status_t status = node->SetTo(entry);
232 if (entry->GetRef(&ref) == B_OK) {
350 BEntry entry(*argv);
353 if (entry.InitCheck() == B_OK) {
355 copyIndicesFromVolume(gAttrPattern, entry);
356 handleFile(&entry,
[all...]
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DDirItem.h36 \brief Represents the on-disk structure for a directory entry.
40 entry. Note, that the dir ID is note necessarily the object ID of
59 PRINT((" dir entry\n"));
85 DirEntry *entry = NULL; local
87 entry = (DirEntry*)GetData() + index;
88 return entry;
94 if (DirEntry *entry = EntryAt(index)) {
96 uint32 location = entry->GetLocation();
99 FATAL(("WARNING: bad dir entry %" B_PRId32 " "
101 "the entry'
[all...]
/haiku/src/kits/tracker/
H A DFSUtils.cpp130 status_t MoveItem(BEntry* entry, BDirectory* destDir, BPoint* loc,
427 GetWritableNode(BEntry* entry, StatStruct* statBuf = 0) argument
438 if (entry->GetStat(statBuf) != B_OK)
443 return new BFile(entry, O_RDWR);
445 return new BNode(entry);
479 FSSetPoseLocation(BEntry* entry, BPoint point) argument
481 BNode node(entry);
487 result = entry->GetParent(&parent);
616 ConfirmChangeIfWellKnownDirectory(const BEntry* entry, DestructiveAction action, argument
627 if (FSIsDeskDir(entry) || FSIsTrashDi
1039 BEntry entry; local
1050 BEntry entry; local
1585 BEntry entry; local
1715 RecursiveMove(BEntry* entry, BDirectory* destDir, CopyLoopControl* loopControl) argument
1752 MoveItem(BEntry* entry, BDirectory* destDir, BPoint* loc, uint32 moveMode, const char* newName, Undo &undo, CopyLoopControl* loopControl) argument
2018 MoveEntryToTrash(BEntry* entry, BPoint* loc, Undo &undo) argument
2255 BEntry entry; local
2405 BEntry entry; local
2558 BEntry entry; local
2771 FSIsDirFlavor(const BEntry* entry, directory_which directoryType) argument
2795 FSIsPrintersDir(const BEntry* entry) argument
2802 FSIsTrashDir(const BEntry* entry) argument
2809 FSIsDeskDir(const BEntry* entry) argument
2822 FSIsHomeDir(const BEntry* entry) argument
2829 FSIsRootDir(const BEntry* entry) argument
2840 DirectoryMatchesOrContains(const BEntry* entry, directory_which which) argument
2860 DirectoryMatchesOrContains(const BEntry* entry, const char* additionalPath, directory_which which) argument
2882 DirectoryMatches(const BEntry* entry, directory_which which) argument
2897 DirectoryMatches(const BEntry* entry, const char* additionalPath, directory_which which) argument
2975 BEntry entry; local
3004 BEntry entry; local
3248 BEntry entry; local
3328 FSGetParentVirtualDirectoryAware(const BEntry& entry, entry_ref& _ref) argument
3356 FSGetParentVirtualDirectoryAware(const BEntry& entry, BEntry& _entry) argument
3376 FSGetParentVirtualDirectoryAware(const BEntry& entry, BNode& _node) argument
3964 FSGetOriginalPath(BEntry* entry, BPath* result) argument
[all...]
/haiku/src/system/kernel/arch/x86/
H A Dioapic.cpp46 #define IO_APIC_REDIRECTION_TABLE 0x10 // entry = base + 2 * index
58 // Fields of each redirection table entry
196 uint64 entry = ioapic_read_64(ioapic, IO_APIC_REDIRECTION_TABLE + pin * 2); local
197 entry &= ~(IO_APIC_TRIGGER_MODE_MASK | IO_APIC_PIN_POLARITY_MASK
201 entry |= IO_APIC_TRIGGER_MODE_LEVEL;
204 entry |= IO_APIC_TRIGGER_MODE_EDGE;
209 entry |= IO_APIC_PIN_POLARITY_LOW_ACTIVE;
211 entry |= IO_APIC_PIN_POLARITY_HIGH_ACTIVE;
213 entry |= deliveryMode;
214 entry |
264 uint64 entry = ioapic_read_64(*ioapic, IO_APIC_REDIRECTION_TABLE + pin * 2); local
291 uint64 entry = ioapic_read_64(*ioapic, IO_APIC_REDIRECTION_TABLE + pin * 2); local
308 uint64 entry = ioapic_read_64(*ioapic, IO_APIC_REDIRECTION_TABLE + pin * 2); local
386 uint64 entry = ((uint64)targetAPIC << IO_APIC_DESTINATION_FIELD_SHIFT) local
790 irq_routing_entry& entry = table.ElementAt(i); local
[all...]
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_if_media.c102 struct ifmedia_entry *entry; local
104 for (entry = LIST_FIRST(&ifm->ifm_list); entry;
105 entry = LIST_FIRST(&ifm->ifm_list)) {
106 LIST_REMOVE(entry, ifm_list);
107 kernel_free(entry, M_IFADDR);
122 register struct ifmedia_entry *entry; local
133 entry = kernel_malloc(sizeof(*entry), M_IFADDR, M_NOWAIT);
134 if (entry
[all...]
/haiku/src/add-ons/tracker/zipomatic/
H A DZipperThread.cpp99 BEntry entry(&dirRef);
101 entry.GetPath(&path);
104 BEntry entry(&lastRef);
106 entry.GetParent(&entry);
107 entry.GetPath(&path);
131 BEntry entry(tryName.String());
132 if (!entry.Exists()) {
134 entry.GetRef(&fOutputEntryRef);
418 BEntry entry(
[all...]
/haiku/src/tools/elfsymbolpatcher/
H A DElfSymbolPatcher.cpp79 Entry* entry = NULL; local
81 entry = new(buffer) Entry(image, targets, targetCount);
82 return entry;
173 for (int i = 0; Entry* entry = EntryAt(i); i++)
174 entry->Patch(newAddress);
190 for (int i = 0; Entry* entry = EntryAt(i); i++)
191 entry->Delete();
222 Entry* entry = Entry::Create(image, (void***)targets->Items(),
224 if (!entry)
226 if (!fEntries.AddItem(entry)) {
606 ElfSymbolPatchInfo::Entry* entry = info->EntryFor(image->GetID()); local
[all...]
/haiku/src/system/kernel/
H A Dcondition_variable.cpp168 "disabled, entry: %p, variable: %p", this, fVariable);
288 ConditionVariable::Add(ConditionVariableEntry* entry) argument
291 entry->_AddToLockedVariable(this);
298 ConditionVariableEntry entry; local
299 Add(&entry);
300 return entry.Wait(flags, timeout);
307 ConditionVariableEntry entry; local
308 Add(&entry);
310 status_t res = entry.Wait(flags, timeout);
319 ConditionVariableEntry entry; local
[all...]
/haiku/headers/private/file_systems/
H A DQueryParser.h142 void LiveUpdate(Entry* entry, Node* node,
146 void LiveUpdateRenameMove(Entry* entry, Node* node,
159 void _SendEntryNotification(Entry* entry,
199 virtual status_t Match(Entry* entry, Node* node,
250 virtual status_t Match(Entry* entry, Node* node,
312 virtual status_t Match(Entry* entry, Node* node,
711 Equation<QueryPolicy>::Match(Entry* entry, Node* node, argument
730 if (entry == NULL)
732 buffer = (uint8*)QueryPolicy::EntryGetNameNoCopy(entry, buffer,
892 Entry* entry
[all...]
/haiku/src/kits/storage/
H A DPathMonitor.cpp159 // init entry ref
160 BEntry entry; local
161 status_t error = entry.SetTo(fPath);
166 error = entry.GetRef(&entryRef);
175 error = entry.GetStat(&st);
208 // uninitialize node and entry ref
390 bool IsOnlyNodeEntry(Entry* entry) const
392 return entry == fEntries.Head() && fEntries.GetNext(entry) == NULL;
395 void AddNodeEntry(Entry* entry) argument
400 RemoveNodeEntry(Entry* entry) argument
479 Entry* entry = new(std::nothrow) Entry(this, name, node); local
489 AddEntry(Entry* entry) argument
494 RemoveEntry(Entry* entry) argument
1078 BEntry entry; local
1145 BEntry entry; local
1643 _AddNode(const node_ref& nodeRef, bool isDirectory, bool notify, Entry* entry, Node** _node) argument
1731 Entry* entry = directory->RemoveAllEntries(); local
1771 Entry* entry = directory->CreateEntry(name, NULL); local
1793 _DeleteEntry(Entry* entry, bool notify) argument
1801 _DeleteEntryAlreadyRemovedFromParent(Entry* entry, bool notify) argument
1815 _NotifyFilesCreatedOrRemoved(Entry* entry, int32 opcode) const argument
1829 _NotifyEntryCreatedOrRemoved(Entry* entry, int32 opcode) const argument
[all...]
H A DMergedDirectory.cpp100 BMergedDirectory::GetNextEntry(BEntry* entry, bool traverse) argument
107 return entry->SetTo(&ref, traverse);
115 struct dirent* entry = longEntry.dirent(); local
116 int32 result = GetNextDirents(entry, sizeof(longEntry), 1);
122 ref->device = entry->d_pdev;
123 ref->directory = entry->d_pino;
124 return ref->set_name(entry->d_name);
226 BEntry entry(fDirectories.ItemAt(i), bestEntry.name);
229 if (entry.GetStat(&st) == B_OK && entry
[all...]
/haiku/src/system/kernel/arch/generic/
H A Dacpi_irq_routing_table.cpp71 print_irq_routing_entry(const irq_routing_entry& entry) argument
73 dprintf("address 0x%04" B_PRIx64 "; pin %u;", entry.device_address,
74 entry.pin);
76 if (entry.source_index != 0)
77 dprintf(" GSI %" B_PRIu32 ";", entry.source_index);
79 dprintf(" source %p %" B_PRIu32 ";", entry.source, entry.source_index);
82 " config 0x%02x\n", entry.pci_bus, entry.pci_device, entry
98 update_pci_info_for_entry(pci_module_info* pci, const irq_routing_entry& entry) argument
116 fill_pci_info_for_entry(pci_module_info* pci, irq_routing_entry& entry) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dcache.c47 * A compare function must be provided for finding a wanted entry
49 * an entry to facilitate multiple invalidation.
82 link->entry = current;
114 while (link && (link->entry != current)) {
141 * Fetch an entry from cache
143 * returns the cache entry, or NULL if not available
144 * The returned entry may be modified, but not freed
160 * locate the entry if present
164 while (link && compare(link->entry, wanted))
167 current = link->entry;
453 struct CACHED_GENERIC *entry; local
[all...]
/haiku/src/kits/interface/
H A DDecorInfo.cpp45 BEntry entry(path.String(), true);
46 entry.GetRef(&fRef);
88 BEntry entry(path.String(), true);
90 entry.GetRef(&ref);
223 BEntry entry(&fRef);
225 if (entry.InitCheck() != B_OK)
228 if (!entry.Exists()) {
234 if (entry.GetModificationTime(&modtime) != B_OK) {
258 BEntry entry; local
288 entry
[all...]
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DWorkQueue.cpp61 WorkQueueEntry* entry = new(std::nothrow) WorkQueueEntry; local
62 if (entry == NULL)
65 entry->fType = type;
66 entry->fArguments = args;
71 fQueue.InsertAfter(fQueue.Tail(), entry);
123 WorkQueueEntry* entry = fQueue.RemoveHead(); local
125 ASSERT(entry != NULL);
127 void* args = entry->fArguments;
128 switch (entry->fType) {
137 delete entry;
[all...]
/haiku/src/servers/package/
H A DFSTransaction.cpp105 BEntry entry; local
106 status_t error = entry.SetTo(fToPath.c_str());
108 ERROR("Failed to init entry for \"%s\": %s\n",
113 error = entry.Rename(fFromPath.c_str(), true);
165 FSTransaction::CreateEntry(const Entry& entry, int32 modifiedOperation) argument
168 OperationInfo(OperationInfo::TYPE_CREATE, _GetPath(entry),
175 FSTransaction::RemoveEntry(const Entry& entry, const Entry& backupEntry, argument
179 OperationInfo(OperationInfo::TYPE_REMOVE, _GetPath(entry),
219 FSTransaction::_GetPath(const Entry& entry) argument
223 status_t error = entry
[all...]
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DVolume.h78 inline EntryListenerValue(EntryListener *listener, Entry *entry, argument
80 : listener(listener), entry(entry), flags(flags) {}
86 Entry *entry; member in class:EntryListenerValue
128 // entry table and listeners
129 status_t EntryAdded(ino_t id, Entry *entry);
130 status_t EntryRemoved(ino_t id, Entry *entry);
131 status_t FindEntry(ino_t id, const char *name, Entry **entry);
132 status_t AddEntryListener(EntryListener *listener, Entry *entry,
134 status_t RemoveEntryListener(EntryListener *listener, Entry *entry);
[all...]
/haiku/src/apps/musiccollection/
H A DFileMonitor.cpp71 entry_ref& entry = (*fCurrentReadList)[fCurrentReadIndex]; local
73 BNode node(&entry);
77 EntryCreated(entry.name, entry.directory, entry.device,
106 NodeMonitorHandler::make_entry_ref(device, directory, name, &file.entry);
135 NodeMonitorHandler::make_entry_ref(device, toDirectory, name, &file->entry);
269 entry_ref entry; local
270 while (ReadNextEntry(entry)) {
276 fWriteRefList->push_back(entry);
[all...]
/haiku/src/apps/webpositive/
H A DBookmarkBar.cpp77 BEntry entry(&ref, true);
78 if (entry.InitCheck() == B_OK)
79 _AddItem(inode, &entry);
93 BEntry entry(&ref, true);
94 _AddItem(inode, &entry);
225 BookmarkBar::_AddItem(ino_t inode, BEntry* entry) argument
228 entry->GetName(name);
235 entry->GetRef(&ref);
239 if (entry->IsDirectory()) {
246 BNode node(entry);
[all...]
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DAttribute.cpp323 ext2_xattr_entry* entry = (ext2_xattr_entry*)start; local
324 if (!entry->IsValid())
328 if ((name != NULL && _PrefixedName(entry, buffer, &length) == B_OK
330 *_entry = entry;
333 start += entry->Length();
344 Attribute::_PrefixedName(ext2_xattr_entry* entry, char* _name, size_t* _nameLength) argument
349 if (entry->NameIndex() < ((sizeof(indexNames) / sizeof(indexNames[0]))))
351 "linux", indexNames[entry->NameIndex()], entry->NameLength(),
352 entry
[all...]

Completed in 371 milliseconds

1234567891011>>