Searched refs:entry (Results 1 - 25 of 922) sorted by last modified time

1234567891011>>

/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/add-ons/mail_daemon/inbound_protocols/imap/
H A DIMAPFolder.cpp146 struct entry { struct
150 struct entry* entries = (struct entry*)malloc(info.size);
159 for (size_t i = 0; i < info.size / sizeof(entry); i++) {
525 BEntry entry; local
526 while (directory.GetNextEntry(&entry) == B_OK) {
529 if (!entry.IsFile() || entry.GetRef(&ref) != B_OK
530 || node.SetTo(&entry) != B_OK)
634 BEntry entry(
[all...]
/haiku/src/servers/app/font/
H A DGlyphLayoutEngine.h48 void SetTo(FontCacheEntry* entry) argument
50 ASSERT(entry != NULL);
53 fCacheEntry = entry;
250 FontCacheEntry* entry = cache->FontCacheEntryFor(font, forceVector); local
251 return entry;
264 FontCacheEntry* entry = NULL; local
271 entry = _cacheReference->Entry();
276 // This means that the fallback entry mechanism will not do any good
278 // the original entry.
282 if (entry
380 FontCacheEntry* entry = cacheReference.Entry(); local
458 FontCacheEntry* entry = FontCacheEntryFor(fallbackFont, forceVector); local
[all...]
H A DGlobalFontManager.cpp85 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) !
703 _AddFont(font_directory& directory, BEntry& entry) argument
789 BEntry entry; local
799 _AddPath(BEntry& entry, font_directory** _newDirectory) argument
873 BEntry entry; local
[all...]
/haiku/src/kits/tracker/
H A DWidgetAttributeText.cpp420 BEntry entry(model->EntryRef());
424 if (entry.InitCheck() == B_OK
425 && entry.GetPath(&path) == B_OK) {
648 BEntry entry(fModel->EntryRef());
651 if (entry.InitCheck() == B_OK && entry.GetPath(&path) == B_OK) {
675 BEntry entry(fModel->EntryRef());
679 if (entry.InitCheck() == B_OK && FSGetOriginalPath(&entry, &path) == B_OK)
786 BEntry entry(fMode
[all...]
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
1606 BEntry entry; local
1736 RecursiveMove(BEntry* entry, BDirectory* destDir, CopyLoopControl* loopControl) argument
1773 MoveItem(BEntry* entry, BDirectory* destDir, BPoint* loc, uint32 moveMode, const char* newName, Undo &undo, CopyLoopControl* loopControl) argument
2039 MoveEntryToTrash(BEntry* entry, BPoint* loc, Undo &undo) argument
2276 BEntry entry; local
2426 BEntry entry; local
2579 BEntry entry; local
2792 FSIsDirFlavor(const BEntry* entry, directory_which directoryType) argument
2816 FSIsPrintersDir(const BEntry* entry) argument
2823 FSIsTrashDir(const BEntry* entry) argument
2830 FSIsDeskDir(const BEntry* entry) argument
2843 FSIsHomeDir(const BEntry* entry) argument
2850 FSIsRootDir(const BEntry* entry) argument
2861 DirectoryMatchesOrContains(const BEntry* entry, directory_which which) argument
2881 DirectoryMatchesOrContains(const BEntry* entry, const char* additionalPath, directory_which which) argument
2903 DirectoryMatches(const BEntry* entry, directory_which which) argument
2918 DirectoryMatches(const BEntry* entry, const char* additionalPath, directory_which which) argument
2996 BEntry entry; local
3025 BEntry entry; local
3266 BEntry entry; local
3346 FSGetParentVirtualDirectoryAware(const BEntry& entry, entry_ref& _ref) argument
3374 FSGetParentVirtualDirectoryAware(const BEntry& entry, BEntry& _entry) argument
3394 FSGetParentVirtualDirectoryAware(const BEntry& entry, BNode& _node) argument
3982 FSGetOriginalPath(BEntry* entry, BPath* result) argument
[all...]
H A DContainerWindow.cpp152 BEntry entry(addOnRef);
154 status_t result = entry.InitCheck();
158 result = entry.GetPath(&path);
190 BEntry entry; local
198 entry = BEntry(&addOnRef);
199 result = entry.InitCheck();
203 result = entry.GetPath(&path);
270 BEntry entry(&addOnRef);
272 status_t result = entry.InitCheck();
274 result = entry
1442 BEntry entry; local
2140 BEntry entry; local
2295 BEntry entry; local
2439 BEntry entry; local
2569 BEntry entry; local
4135 BEntry entry; local
4255 SetTo(const BEntry* entry, bool forWriting) argument
[all...]
H A DFilePanelPriv.cpp229 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...]
/haiku/src/apps/stylededit/
H A DStatusView.cpp285 BEntry entry; local
286 status_t status = entry.SetTo(&fRef);
288 if (status != B_OK || !entry.Exists())
294 menu->Populate(&entry, Window(), false, false, true, false, true);
/haiku/src/apps/poorman/
H A DPoorManWindow.cpp490 BEntry entry; local
502 err = entry.SetTo(&ref);
506 entry.GetPath(&path);
/haiku/src/apps/installer/
H A DInstallerWindow.cpp678 BEntry entry(path.Path());
680 if (entry.GetRef(&ref) != B_OK || be_roster->Launch(&ref) != B_OK) {
707 BEntry entry(path.Path());
709 if (entry.GetRef(&ref) != B_OK || be_roster->Launch(&ref) != B_OK) {
/haiku/headers/private/kernel/util/
H A DVectorMap.h48 references to the entry's key/value. This allows EntryStrategy::Entry
146 VectorMapEntry(Parent *parent, Entry *entry) argument
147 : fParent(parent), fEntry(entry) {}
285 If there is already a value associated with the key, the old entry
364 /*! \brief Removes the entry with the supplied key.
367 contained an entry with that key, \c 0 otherwise.
382 /*! \brief Removes the entry at the given position.
383 \param iterator An iterator referring to the entry to be removed.
384 \return An iterator referring to the entry succeeding the removed
397 /*! \brief Returns the number of entry th
[all...]
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A Dkernel_interface.cpp194 FUNCTION(("dir: (%llu), entry: `%s'\n", (dir ? dir->GetID() : -1),
219 // find the entry
423 // check if entry does already exist
427 // entry doesn't exist: create a symlink
477 Entry *entry = NULL; local
479 // check if entry does already exist
480 if (dir->FindEntry(name, &entry) == B_OK) {
483 // entry doesn't exist: create a link
519 // check if entry exists
521 Entry *entry local
574 Entry *entry = NULL; local
1062 Node *entry = fIterator.GetDirectory(); local
1077 Entry *entry = NULL; local
1204 Entry *entry = NULL; local
[all...]
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DShortAttribute.h44 uint32 _DataLength(AShortFormEntry* entry);
H A DShortAttribute.cpp28 ShortAttribute::_DataLength(AShortFormEntry* entry) argument
30 return entry->namelen + entry->valuelen;
82 // We have valid attribute entry to stat
129 AShortFormEntry* entry = _FirstEntry(); local
136 char* PtrToOffset = (char*)entry + 3 * sizeof(uint8);
138 memcpy(name, PtrToOffset, entry->namelen);
139 name[entry->namelen] = '\0';
140 *nameLength = entry->namelen + 1;
144 entry
157 AShortFormEntry* entry = _FirstEntry(); local
[all...]
H A DInode.h324 ExtentMapEntry* entry);
352 hashLowerBound(T* entry, int& left, int& right, uint32 hashValueOfRequest) argument
363 uint32 hashval = B_BENDIAN_TO_HOST_INT32(entry[mid].hashval);
H A DInode.cpp93 //Convert inode mode to directory entry filetype
362 ExtentMapEntry* entry)
366 entry->br_state = first >> 63;
367 entry->br_startoff = (first & MASK(63)) >> 9;
368 entry->br_startblock = ((first & MASK(9)) << 43) | (second >> 21);
369 entry->br_blockcount = second & MASK(21);
361 UnWrapExtentFromWrappedEntry(uint64 wrappedExtent[2], ExtentMapEntry* entry) argument
/haiku/src/add-ons/kernel/network/protocols/tcp/
H A DTCPEndpoint.cpp2571 ConditionVariableEntry entry;
2572 condition.Add(&entry);
2575 status_t result = entry.Wait(B_ABSOLUTE_TIMEOUT | B_CAN_INTERRUPT, timeout);
/haiku/src/tools/fs_shell/
H A Dvfs.cpp998 * the entry identified by the original path, and into the buffer \a filename
999 * the leaf name of the original entry is written.
1301 /** \brief Retrieves the directory vnode and the leaf name of an entry referred
1320 * the leaf name of the specified entry will be written.
1389 // found correct entry!
2278 // We don't implement an entry cache in the FS shell.
2287 // We don't implement an entry cache in the FS shell.
2295 // We don't implement an entry cache in the FS shell.
2352 TRACE(("vfs_get_vnode_from_path: entry. path = '%s', kernel %d\n", path, kernel));
2586 * The path must refer to an existing or non-existing entry i
3395 fix_dirent(struct vnode *parent, struct fssh_dirent *entry) argument
[all...]
H A Dfssh.cpp424 // stat the entry
454 // stat the entry
461 fprintf(stderr, "Error: Cannot make dir, entry \"%s\" is in the way.\n",
520 static fssh_status_t remove_entry(int dir, const char *entry, bool recursive,
540 fssh_dirent *entry = (fssh_dirent*)buffer; local
541 while ((numRead = _kern_read_dir(dir, entry, sizeof(buffer), 1)) > 0) {
543 if (strcmp(entry->d_name, ".") == 0 || strcmp(entry->d_name, "..") == 0)
546 error = remove_entry(dir, entry->d_name, true, force);
565 remove_entry(int dir, const char *entry, boo argument
613 move_entry(int dir, const char *entry, int targetDir, const char* target, bool force) argument
974 fssh_dirent* entry = (fssh_dirent*)buffer; local
1219 fssh_dirent* entry = (fssh_dirent*)buffer; local
[all...]
/haiku/src/add-ons/media/plugins/ffmpeg/
H A DAVFormatReader.cpp72 AVDictionaryEntry* entry = NULL;
73 while ((entry = av_dict_get(dictionary, "", entry,
75 // convert entry keys into something more meaningful using the names from
77 if (strcmp(entry->key, "TALB") == 0 || strcmp(entry->key, "TAL") == 0)
78 message->AddString("album", entry->value);
79 else if (strcmp(entry->key, "TCOM") == 0)
80 message->AddString("composer", entry->value);
81 else if (strcmp(entry
593 const AVIndexEntry* entry = avformat_index_get_entry(fStream, index); local
[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/apps/showimage/
H A DShowImageWindow.cpp424 // Add recent files to "Open File" entry as sub-menu.
768 // Fill Go To page submenu with an entry for each page
1221 BEntry entry = fImageView->Image(); local
1222 BPath path(&entry);
H A DShowImageStatusView.cpp127 BEntry entry; local
128 if (entry.SetTo(&fRef) == B_OK)
129 menu->Populate(&entry, Window(), false, false, true, false, true);
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DInode.cpp458 btrfs_entry entry; local
459 entry.key.SetObjectID(fID);
460 entry.key.SetType(BTRFS_KEY_TYPE_INODE_REF);
461 entry.key.SetOffset(parent->ID());
462 entry.SetSize(inodeRef->Length());
464 status_t status = tree->InsertEntries(transaction, path, &entry,
485 entry.key.SetObjectID(parent->ID());
486 entry.key.SetType(BTRFS_KEY_TYPE_DIR_ITEM);
487 entry.key.SetOffset(hash);
488 entry
[all...]

Completed in 172 milliseconds

1234567891011>>