Searched refs:entry (Results 76 - 100 of 1061) sorted by relevance

1234567891011>>

/haiku-fatelf/src/apps/debugger/files/
H A DLocatableDirectory.cpp68 LocatableDirectory::AddEntry(LocatableEntry* entry) argument
70 fEntries.Add(entry);
75 LocatableDirectory::RemoveEntry(LocatableEntry* entry) argument
77 fEntries.Remove(entry);
H A DFileManager.cpp41 EntryPath(const LocatableEntry* entry) argument
43 directory(entry->Parent() != NULL ? entry->Parent()->Path() : NULL),
44 name(entry->Name())
148 // parent not yet located -- try locate with the entry's path
153 // parent already located -- locate the entry in the parent
169 LocatableEntry* entry = _LookupEntry(EntryPath(directory, name)); local
170 if (entry == NULL)
173 _LocateEntry(entry, locatedPath, false, true);
187 virtual void LocatableEntryUnused(LocatableEntry* entry) argument
219 _LocateEntry(LocatableEntry* entry, const BString& locatedPath, bool implicit, bool locateAncestors) argument
254 _LocateEntryInParentDir(LocatableEntry* entry, const BString& locatedDirectoryPath, bool implicit) argument
291 LocatableEntry* entry = _LookupEntry(EntryPath(directoryPath, name)); local
331 LocatableEntry* entry local
379 LocatableEntry* entry = fEntries.Lookup(entryPath); local
693 SourceFileEntry* entry = fSourceFiles->Lookup(path); local
708 _SourceFileUnused(SourceFileEntry* entry) argument
[all...]
/haiku-fatelf/src/bin/package/
H A Dcommand_extract.cpp72 Entry* entry = new(std::nothrow) Entry(parent, clonedName, implicit);
73 if (entry == NULL) {
78 status_t error = entry->Init();
80 delete entry;
85 parent->fChildren.Insert(entry);
87 _entry = entry;
108 // remove all children and set this entry non-implicit
234 Entry* entry = &fRootFilterEntry; local
239 return _AddFilterEntry(entry, fileName, strlen(fileName),
240 false, entry);
262 Entry* entry = &fRootFilterEntry; local
283 HandleEntry(BPackageEntry* entry) argument
455 HandleEntryAttribute(BPackageEntry* entry, BPackageEntryAttribute* attribute) argument
494 HandleEntryDone(BPackageEntry* entry) argument
564 _GetParentFDAndEntryName(BPackageEntry* entry, int& _parentFD, const char*& _entryName) argument
579 _EntryPath(const BPackageEntry* entry) argument
[all...]
/haiku-fatelf/src/preferences/screensaver/
H A DScreenSaverApp.cpp53 BEntry entry;
54 entry.SetTo(&ref, true);
55 if (entry.InitCheck() != B_OK)
59 entry.GetPath(&path);
/haiku-fatelf/src/system/kernel/arch/x86/paging/64bit/
H A DX86PagingMethod64Bit.h72 uint64* entry, phys_addr_t physicalAddress,
75 static uint64 SetTableEntry(uint64* entry, uint64 newEntry);
76 static uint64 SetTableEntryFlags(uint64* entry, uint64 flags);
77 static uint64 TestAndSetTableEntry(uint64* entry,
79 static uint64 ClearTableEntry(uint64* entry);
80 static uint64 ClearTableEntryFlags(uint64* entry,
103 X86PagingMethod64Bit::SetTableEntry(uint64* entry, uint64 newEntry) argument
105 return atomic_set64((int64*)entry, newEntry);
110 X86PagingMethod64Bit::SetTableEntryFlags(uint64* entry, uint64 flags) argument
112 return atomic_or64((int64*)entry, flag
117 TestAndSetTableEntry(uint64* entry, uint64 newEntry, uint64 oldEntry) argument
125 ClearTableEntry(uint64* entry) argument
132 ClearTableEntryFlags(uint64* entry, uint64 flags) argument
[all...]
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/server/
H A DDirectory.cpp89 Entry* entry = fCurrentEntry;
91 return entry;
178 Entry* entry; local
180 dirEntry->d_pino, dirEntry->d_name, false, &entry) == B_OK) {
181 return entry;
237 // any entry other than "." and ".." is fine
238 for (Entry* entry = GetFirstReferringEntry();
239 entry;
240 entry = GetNextReferringEntry(entry)) {
249 AddEntry(Entry* entry) argument
257 RemoveEntry(Entry* entry) argument
291 Entry* entry = GetFirstEntry(); local
[all...]
H A DEntry.h51 DLListLink<Entry>* operator()(Entry* entry) const
53 return &entry->fDirEntryLink;
56 const DLListLink<Entry>* operator()(const Entry* entry) const
58 return &entry->fDirEntryLink;
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/
H A DNameIndex.h20 virtual status_t Changed(Entry *entry, const char *oldName);
23 virtual void EntryAdded(Entry *entry);
24 virtual void EntryRemoved(Entry *entry);
35 void _UpdateLiveQueries(Entry* entry, const char* oldName,
/haiku-fatelf/src/apps/debugger/user_interface/gui/model/
H A DVariablesViewState.cpp179 InfoEntry* entry = fNodeInfos->Lookup(Key(variable, path)); local
180 if (entry == NULL) {
181 entry = new(std::nothrow) InfoEntry(variable, path);
182 if (entry == NULL)
184 fNodeInfos->Insert(entry);
187 entry->SetInfo(info);
196 InfoEntry* entry = fNodeInfos->Clear(true); local
198 while (entry != NULL) {
199 InfoEntry* next = entry->next;
200 delete entry;
[all...]
/haiku-fatelf/src/kits/print/
H A DPrinterRoster.cpp67 BEntry entry;
70 status = fUserPrintersDirectory.GetNextEntry(&entry);
72 printer->SetTo(entry);
93 BEntry entry;
94 while (dir.GetNextEntry(&entry) == B_OK) {
95 if (!entry.IsDirectory())
98 printer->SetTo(entry);
118 BEntry entry;
119 while (dir.GetNextEntry(&entry) == B_OK) {
120 if (!entry
[all...]
/haiku-fatelf/src/add-ons/kernel/network/datalink_protocols/ipv6_datagram/
H A Dipv6_datagram.cpp224 get_request_buffer(ndp_entry* entry) argument
226 net_buffer* buffer = entry->request_buffer;
230 buffer = atomic_pointer_test_and_set(&entry->request_buffer,
240 put_request_buffer(ndp_entry* entry, net_buffer* buffer) argument
243 &entry->request_buffer, buffer, (net_buffer*)NULL);
252 delete_request_buffer(ndp_entry* entry) argument
254 net_buffer* buffer = atomic_pointer_set(&entry->request_buffer,
264 ndp_entry* entry = (ndp_entry*)_entry; local
267 if (entry->protocol_address == *key)
277 ndp_entry* entry local
300 ndp_entry* entry = new (std::nothrow) ndp_entry; local
456 ndp_entry* entry = ndp_entry::Lookup(protocolAddress); local
535 ndp_entry* entry = ndp_entry::Lookup(inetAddress); local
626 ndp_entry* entry; local
698 ndp_entry* entry = ndp_entry::Lookup(header.target_address); local
824 ndp_entry* entry = (ndp_entry*)data; local
908 ndp_entry* entry = ndp_entry::Add(address, NULL, 0); local
1044 ndp_entry* entry = ndp_entry::Lookup( local
[all...]
/haiku-fatelf/src/add-ons/media/media-add-ons/multi_audio/
H A DTimeComputer.cpp68 // add entry
78 Entry& entry = fEntries[fFirstEntry]; local
79 fDrift = double(fPerformanceTime - entry.performanceTime)
80 / double(fRealTime - entry.realTime);
88 Entry& entry = fEntries[fLastEntry]; local
89 entry.realTime = realTime;
90 entry.performanceTime = performanceTime;
/haiku-fatelf/src/apps/deskbar/
H A DDeskbarUtils.cpp76 BEntry entry(&ref);
77 if (entry.Exists()) {
79 if (entry.IsFile()) {
81 entry.GetParent(&parent);
97 BEntry entry(&ref);
98 entry.GetPath(&path);
/haiku-fatelf/src/bin/coreutils/lib/
H A Dsavedir.c66 char const *entry; local
75 entry = dp->d_name;
76 if (entry[entry[0] != '.' ? 0 : entry[1] != '.' ? 1 : 2] != '\0')
93 memcpy (name_space + used, entry, entry_size);
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dsavedir.c72 char const *entry; local
81 entry = dp->d_name;
82 if (entry[entry[0] != '.' ? 0 : entry[1] != '.' ? 1 : 2] != '\0')
99 memcpy (name_space + used, entry, entry_size);
/haiku-fatelf/src/system/kernel/
H A Dcommpage.cpp29 allocate_commpage_entry(int entry, size_t size) argument
33 sCommPageAddress[entry] = (addr_t)sUserCommPageAddress
35 dprintf("allocate_commpage_entry(%d, %lu) -> %p\n", entry, size,
36 (void*)sCommPageAddress[entry]);
42 fill_commpage_entry(int entry, const void* copyFrom, size_t size) argument
44 void* space = allocate_commpage_entry(entry, size);
/haiku-fatelf/src/add-ons/kernel/file_systems/btrfs/
H A DAttribute.cpp101 btrfs_dir_entry *entry;
102 status = _FindEntry(entries, length, fName, nameLength, &entry);
108 // found an entry to stat
110 stat.st_size = entry->DataLength();
129 btrfs_dir_entry *entry;
130 status = _FindEntry(entries, length, fName, nameLength, &entry);
136 // found an entry to read
137 if (pos + *_length > entry->DataLength())
138 length = entry->DataLength() - pos;
141 memcpy(buffer, (uint8*)entry
186 btrfs_dir_entry *entry = entries; local
[all...]
/haiku-fatelf/src/add-ons/translators/ico/
H A DICO.cpp271 convert_data_to_bits(ico_dir_entry &entry, ico_bitmap_header &header, argument
278 int32 xorRowBytes = get_bytes_per_row(entry.width, header.bits_per_pixel);
281 andRowBytes = get_bytes_per_row(entry.width, 1);
282 int32 outRowBytes = entry.width * 4;
287 int32 xorDataSize = xorRowBytes * entry.height;
292 int32 andDataSize = andRowBytes * entry.height;
317 for (uint32 row = 0; row < entry.height; row++) {
318 for (uint32 x = 0; x < entry.width; x++) {
384 convert_bits_to_data(TranslatorBitmap &bitsHeader, uint8 *bitsData, ico_dir_entry &entry, argument
390 int32 xorRowBytes = get_bytes_per_row(entry
537 ico_dir_entry entry; local
600 ico_dir_entry entry; local
[all...]
/haiku-fatelf/src/system/boot/loader/file_systems/fat/
H A DDirectory.cpp103 struct dir_entry entry; member in struct:FATFS::dir_cookie
381 if (c->entry.IsFile()) {
384 c->entry.Cluster(fVolume.FatBits()), c->entry.Size(), name);
386 if (c->entry.IsDir()) {
389 c->entry.Cluster(fVolume.FatBits()), name);
480 // prepare a directory entry for the new file
481 dir_entry entry; local
483 memset(entry.fName, ' ', 11);
485 memcpy(entry
604 _AddEntry(dir_entry& entry, off_t& _entryOffset) argument
662 dir_entry entry; local
[all...]
/haiku-fatelf/src/system/kernel/locks/
H A Duser_mutex.cpp65 add_user_mutex_entry(UserMutexEntry* entry) argument
67 UserMutexEntry* firstEntry = sUserMutexTable.Lookup(entry->address);
69 firstEntry->otherEntries.Add(entry);
71 sUserMutexTable.Insert(entry);
76 remove_user_mutex_entry(UserMutexEntry* entry) argument
78 UserMutexEntry* firstEntry = sUserMutexTable.Lookup(entry->address);
79 if (firstEntry != entry) {
80 // The entry is not the first entry in the table. Just remove it from
81 // the first entry'
120 UserMutexEntry entry; local
[all...]
/haiku-fatelf/src/bin/gdb/bfd/
H A Dhash.c36 entry for it, and to traverse a hash table. There is
45 entry, because they were designed for use by the linker back
102 string in the hash table and to create a new entry.
118 If the @var{create} argument is <<TRUE>>, and a new entry is
137 hash table entry (a <<struct bfd_hash_entry *>>) and the
150 which each entry in the hash table. Some also find it
178 You must define a structure for an entry in the hash table,
181 The first field in the structure for an entry in the hash
182 table must be of the type used for an entry in the hash table
202 entry i
664 register struct strtab_hash_entry *entry; local
731 register struct strtab_hash_entry *entry; local
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEEntry.h58 FUSEEntry* entry = new(std::nothrow) FUSEEntry; local
59 if (entry == NULL)
64 delete entry;
68 entry->parent = parent;
69 entry->name = clonedName;
70 entry->node = node;
72 return entry;
99 FUSEEntry* entry = entries.Head(); local
100 return entry != NULL ? entry
[all...]
/haiku-fatelf/src/kits/app/
H A DMessageQueue.cpp81 for (BMessage* entry = fHead; entry != NULL; entry = entry->fQueueLink) {
82 if (entry == message) {
84 if (entry == fHead)
85 fHead = entry->fQueueLink;
87 last->fQueueLink = entry->fQueueLink;
89 if (entry == fTail)
95 last = entry;
[all...]
/haiku-fatelf/src/kits/tracker/
H A DDirMenu.cpp99 BEntry entry(*startEntry);
111 BDirectory dir(&entry);
119 entry.GetParent(&parent);
121 parent.GetEntry(&entry);
130 BNode node(&entry);
139 entry.GetParent(&parent);
143 BDirectory dir(&entry);
155 if (entry == root) {
158 entry = desktopEntry;
161 if (entry
205 AddItemToDirMenu(const BEntry* entry, BWindow* originatingWindow, bool atEnd, bool addShortcuts, bool navMenuEntries) argument
[all...]
/haiku-fatelf/src/apps/cortex/support/
H A DProfileTarget.cpp74 void operator()(ProfileTarget::block_entry& entry) const {
76 namePad.SetTo(' ', nameLength-strlen(entry.name));
79 entry.name,
81 entry.count,
82 entry.elapsed,
83 (float)entry.elapsed/entry.count);

Completed in 359 milliseconds

1234567891011>>