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

1234567891011>>

/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...]
H A Dcommand_cp.cpp100 virtual fssh_ssize_t GetNextEntry(struct fssh_dirent *entry, int size) = 0;
178 struct dirent *entry = fs_read_attr_dir(fAttrDir); local
179 if (!entry)
182 int len = strlen(entry->d_name);
186 strcpy(name, entry->d_name);
257 virtual fssh_ssize_t GetNextEntry(struct fssh_dirent *entry, int size) argument
265 int recLen = entry->d_name + nameLen + 1 - (char*)entry;
270 entry->d_dev = hostEntry->d_dev;
272 entry
545 struct fssh_dirent *entry = (fssh_dirent *)buffer; local
659 GetNextEntry(struct fssh_dirent *entry, int size) argument
948 struct fssh_dirent *entry = (struct fssh_dirent *)buffer; local
[all...]
/haiku/src/kits/tracker/
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/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...]
/haiku/src/system/runtime_loader/
H A Druntime_loader.cpp713 This is the main entry point of the runtime loader as
719 void *entry = NULL; local
764 load_program(gProgramArgs->program_path, &entry);
766 if (entry == NULL)
769 // call the program entry point (usually _start())
770 returnCode = ((int (*)(int, void *, void *))entry)(gProgramArgs->arg_count,
H A Druntime_loader_private.h73 image_id load_program(char const* path, void** entry);
/haiku/src/preferences/filetypes/
H A DIconView.cpp729 // if we're bound to an entry, check that no one drops this to us
1274 BEntry entry(&fRef, true);
1276 if (entry.IsFile()) {
1291 if (entry.IsDirectory()) {
/haiku/src/system/kernel/fs/
H A Dvfs.cpp1992 the entry identified by the original path, and into the buffer \a filename
1993 the leaf name of the original entry is written.
2070 /*! Looks up the entry with name \a name in the directory represented by \a dir
2376 /*! \brief Retrieves the directory vnode and the leaf name of an entry referred
2395 the leaf name of the specified entry will be written.
2419 /*! \brief Retrieves the directory vnode and the leaf name of an entry referred
2441 the leaf name of the specified entry will be written.
2517 // found correct entry!
4181 TRACE(("vfs_get_vnode_from_path: entry. path = '%s', kernel %d\n",
4436 The path must refer to an existing or non-existing entry i
5403 struct vnode* entry = NULL; local
6023 fix_dirent(struct vnode* parent, struct dirent* entry, struct io_context* ioContext) argument
[all...]
H A Dfd.cpp930 BytePointer<struct dirent> entry = buffer; local
932 size_t length = entry->d_reclen;
934 entry += length;
/haiku/src/servers/package/
H A DCommitTransactionHandler.cpp61 TransactionIssueBuilder& SetPath1(const FSUtils::Entry& entry) argument
63 return SetPath1(entry.Path());
72 TransactionIssueBuilder& SetPath2(const FSUtils::Entry& entry) argument
74 return SetPath2(entry.Path());
559 BEntry entry; local
560 status_t error = entry.SetTo(&entryRef);
562 ERROR("Failed to get package entry for %s: %s\n",
570 // move entry
573 error = entry.MoveTo(&fOldStateDirectory);
624 BEntry entry; local
1047 entry_ref entry; local
1285 BEntry entry; local
1334 BEntry entry; local
1673 BEntry& entry = _entry != NULL ? *_entry : stackEntry; local
1927 _GetPath(const FSUtils::Entry& entry, const BString& fallback) argument
1940 dirent *entry = (dirent*)buffer; local
2002 _AssertEntriesAreEqual(const BEntry& entry, const BDirectory* directory) argument
[all...]
/haiku/src/apps/text_search/
H A DGrepWindow.cpp370 BEntry entry(&ref, true);
371 if (entry.IsDirectory()) {
385 BEntry entry(&fModel->fDirectory, true);
387 if (entry.InitCheck() == B_OK) {
389 if (entry.GetPath(&path) == B_OK) {
539 // The search pattern entry field does not send a message when
849 BEntry entry(path.String());
851 if (entry.GetRef(&ref) == B_OK)
890 BEntry entry(path.String());
892 if (entry
1210 ResultItem* entry = dynamic_cast<ResultItem*>(item); local
1733 BEntry entry; local
[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/servers/app/font/
H A DAppFontManager.cpp58 BEntry entry; local
59 status_t status = entry.SetTo(path);
64 status = entry.GetNodeRef(&nodeRef);
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) !
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...]

Completed in 249 milliseconds

1234567891011>>