Searched refs:entry (Results 176 - 200 of 922) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DIndex.cpp80 Entry *entry = it.GetCurrent(); local
81 PRINT(" entry: `%s', dir: %lld\n", entry->GetName(),
82 entry->GetParent()->GetID());
142 Entry *entry = NULL; local
144 entry = GetCurrent(buffer, keyLength);
145 return entry;
H A DEntryIterator.h29 status_t GetNext(Entry **entry);
35 void SetCurrent(Entry *entry, bool isNext);
/haiku/src/bin/filteredquery/
H A Dquery.cpp108 BEntry entry; local
110 while (query.GetNextEntry(&entry) == B_OK) {
111 if (entry.GetPath(&path) < B_OK) {
112 fprintf(stderr, "%s: could not get path for entry\n", __progname);
173 BEntry entry(volumePath);
174 if (entry.InitCheck() != B_OK) {
179 status_t status = entry.GetVolume(&volume);
/haiku/src/kits/package/hpkg/
H A DPackageWriterImpl.cpp281 Entry* entry = new(std::nothrow) Entry(clonedName, nameLength, fd, local
283 if (entry == NULL) {
288 return entry;
653 // create entry list
715 Entry* entry = it.Next();) {
718 _AddEntry(AT_FDCWD, entry, entry->Name(), pathBuffer);
895 // find the closest ancestor of the entry that is in the added entries
897 Entry* entry = fRootEntry; local
898 while (entry !
1047 _UpdateCheckEntryCollisions(Attribute* parentAttribute, int dirFD, Entry* entry, const char* fileName, char* pathBuffer) argument
1259 Entry* entry = fRootEntry; local
1305 Entry* entry = parent->GetChild(name, nameLength); local
1400 _AddEntry(int dirFD, Entry* entry, const char* fileName, char* pathBuffer) argument
1561 _AddDirectoryChildren(Entry* entry, int fd, char* pathBuffer) argument
[all...]
/haiku/src/system/kernel/scheduler/
H A Dscheduler_cpu.cpp111 cpu_ent* entry = &gCPU[fCPUNumber]; local
114 SpinLocker locker(entry->irqs_lock);
116 = (irq_assignment*)list_get_first_item(&entry->irqs);
123 irq = (irq_assignment*)list_get_first_item(&entry->irqs);
379 CPUEntry* entry = PeekRoot(); local
380 while (entry) {
381 int32 cpu = entry->ID();
382 int32 key = GetKey(entry);
384 entry->GetLoad() / 10);
387 sDebugCPUHeap.Insert(entry, ke
623 CoreEntry* entry = PeekMinimum(); local
706 DumpCoreLoadHeapEntry(CoreEntry* entry) argument
[all...]
/haiku/src/add-ons/kernel/network/protocols/unix/
H A DUnixFifo.cpp111 while (AncillaryDataEntry* entry = fAncillaryData.RemoveHead()) {
112 gStackModule->delete_ancillary_data_container(entry->data);
113 delete entry;
181 // Adjust ancillary data entry offsets, respectively attach the ones
183 if (AncillaryDataEntry* entry = fAncillaryData.Head()) {
185 while (entry != NULL && offsetDelta > entry->offset) {
186 // entry data have been read -- add ancillary data to request
188 offsetDelta -= entry->offset;
189 request.AddAncillaryData(entry
530 ConditionVariableEntry entry; local
557 ConditionVariableEntry entry; local
588 ConditionVariableEntry entry; local
615 ConditionVariableEntry entry; local
[all...]
/haiku/src/kits/debugger/debug_info/
H A DDwarfTypes.cpp33 inline bool operator()(EntryType* entry) const
35 return entry->BitStride()->IsValid();
45 inline bool operator()(EntryType* entry) const
47 return entry->ByteStride()->IsValid();
189 const DIEType* entry)
197 GetTypeID(entry, fID);
208 DwarfType::GetTypeID(const DIEType* entry, BString& _id) argument
211 snprintf(buffer, sizeof(buffer), "dwarf:%p", entry);
458 DwarfInheritance::DwarfInheritance(DIEInheritance* entry, DwarfType* type) argument
460 fEntry(entry),
188 DwarfType(DwarfTypeContext* typeContext, const BString& name, const DIEType* entry) argument
483 DwarfDataMember(DIEMember* entry, const BString& name, DwarfType* type) argument
516 DwarfEnumeratorValue(DIEEnumerator* entry, const BString& name, const BVariant& value) argument
571 DwarfFunctionParameter(DIEFormalParameter* entry, const BString& name, DwarfType* type) argument
605 DwarfTemplateParameter(DebugInfoEntry* entry, DwarfType* type) argument
644 DwarfPrimitiveType(DwarfTypeContext* typeContext, const BString& name, DIEBaseType* entry, uint32 typeConstant) argument
671 DwarfCompoundType(DwarfTypeContext* typeContext, const BString& name, DIECompoundType* entry, compound_type_kind compoundKind) argument
993 DwarfArrayType(DwarfTypeContext* typeContext, const BString& name, DIEArrayType* entry, DwarfType* baseType) argument
1223 DwarfModifiedType(DwarfTypeContext* typeContext, const BString& name, DIEModifiedType* entry, uint32 modifiers, DwarfType* baseType) argument
1266 DwarfTypedefType(DwarfTypeContext* typeContext, const BString& name, DIETypedef* entry, DwarfType* baseType) argument
1300 DwarfAddressType(DwarfTypeContext* typeContext, const BString& name, DIEAddressingType* entry, address_type_kind addressKind, DwarfType* baseType) argument
1343 DwarfEnumerationType(DwarfTypeContext* typeContext, const BString& name, DIEEnumerationType* entry, DwarfType* baseType) argument
1407 DwarfSubrangeType(DwarfTypeContext* typeContext, const BString& name, DIESubrangeType* entry, Type* baseType, const BVariant& lowerBound, const BVariant& upperBound) argument
1458 DwarfUnspecifiedType(DwarfTypeContext* typeContext, const BString& name, DIEUnspecifiedType* entry) argument
1482 DwarfFunctionType(DwarfTypeContext* typeContext, const BString& name, DIESubroutineType* entry, DwarfType* returnType) argument
1563 DwarfPointerToMemberType( DwarfTypeContext* typeContext, const BString& name, DIEPointerToMemberType* entry, DwarfCompoundType* containingType, DwarfType* baseType) argument
[all...]
/haiku/src/kits/storage/
H A DPath.cpp48 // Creates a BPath object and initializes it to the filesystem entry
59 // Creates a BPath object and initializes it to the filesystem entry
61 BPath::BPath(const BEntry* entry) argument
66 SetTo(entry);
107 // Reinitializes the object to the filesystem entry specified by the
128 // Reinitializes the object to the specified filesystem entry.
130 BPath::SetTo(const BEntry* entry) argument
133 if (entry == NULL)
137 fCStatus = entry->GetRef(&ref);
186 // create a BEntry and initialize us with this entry
187 BEntry entry; local
209 BEntry entry; local
410 BEntry entry; local
[all...]
H A DRemoveEngine.cpp51 BRemoveEngine::RemoveEntry(const Entry& entry) argument
55 status_t error = entry.GetPath(pathBuffer, path);
66 // apply entry filter
70 // stat entry
77 // recurse, if entry is a directory
88 dirent *entry = (dirent*)buffer; local
89 while (directory.GetNextDirents(entry, sizeof(buffer), 1) == 1) {
90 if (strcmp(entry->d_name, ".") == 0
91 || strcmp(entry->d_name, "..") == 0) {
95 // construct child entry pat
[all...]
/haiku/src/kits/print/
H A DJobs.cpp76 BEntry entry(job);
78 if (entry.InitCheck() == B_OK && entry.GetName(name) == B_OK) {
158 BEntry entry(&fEntry);
159 if (entry.InitCheck() == B_OK) entry.Remove();
169 bool Folder::AddJob(BEntry& entry, bool notify) { argument
170 Job* job = new Job(entry, this);
191 void Folder::EntryCreated(node_ref* node, entry_ref* entry) { argument
192 BEntry job(entry);
225 BEntry entry; local
[all...]
/haiku/src/add-ons/kernel/file_systems/packagefs/indices/
H A DQuery.cpp51 static ino_t EntryGetParentID(Entry* entry) argument
53 return entry->Parent()->ID();
56 static Node* EntryGetNode(Entry* entry) argument
58 return entry;
61 static ino_t EntryGetNodeID(Entry* entry) argument
63 return entry->ID();
66 static ssize_t EntryGetName(Entry* entry, void* buffer, size_t bufferSize) argument
68 const char* name = entry->Name();
77 static const char* EntryGetNameNoCopy(Entry* entry, void* buffer, argument
80 return entry
209 NodeGetNextReferrer(Node* node, Entry* entry) argument
272 GetNextEntry(struct dirent* entry, size_t size) argument
[all...]
/haiku/src/apps/haikudepot/ui/
H A DPackageContentsView.cpp52 PackageEntryItem(const BPackageEntry* entry, const BString& path) argument
54 BStringItem(entry->Name()),
59 fPath.Append(entry->Name());
93 virtual status_t HandleEntry(BPackageEntry* entry) argument
105 const BPackageEntry* parent = entry->Parent();
113 PackageEntryItem* item = new PackageEntryItem(entry, path);
115 if (entry->Parent() == NULL) {
119 } else if (entry->Parent() == fLastEntry) {
123 } else if (entry->Parent() == fLastParentEntry) {
126 // Not the last parent entry, nee
160 HandleEntryAttribute(BPackageEntry* entry, BPackageEntryAttribute* attribute) argument
166 HandleEntryDone(BPackageEntry* entry) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DVolume.h30 status_t AddEntry(Entry* entry);
31 bool RemoveEntry(Entry* entry);
/haiku/src/apps/resedit/
H A DApp.cpp67 BEntry entry(argv[i]);
69 if (entry.GetRef(&ref) < B_OK)
/haiku/src/tests/add-ons/print/ppd/ui/
H A DPrinterSelection.cpp92 BEntry entry; local
93 while (directory.GetNextEntry(&entry) == B_OK) {
95 entry.GetName(name);
97 entry.GetPath(&path);
108 BEntry entry; local
109 while (directory.GetNextEntry(&entry) == B_OK) {
111 entry.GetName(name);
113 entry.GetPath(&path);
/haiku/headers/os/add-ons/network_settings/
H A DNetworkProfile.h21 BNetworkProfile(const BEntry& entry);
26 status_t SetTo(const BEntry& entry);
/haiku/src/preferences/mail/
H A DFilterList.cpp51 BEntry entry; local
52 while (dir.GetNextEntry(&entry) == B_OK) {
55 if (knownNames.find(entry.Name()) != knownNames.end())
58 if (_LoadAddOn(entry) == B_OK)
59 knownNames.insert(entry.Name());
155 FilterList::_LoadAddOn(BEntry& entry) argument
159 BPath path(&entry);
177 entry.GetRef(&info.ref);
/haiku/src/servers/registrar/
H A DRosterAppInfo.cpp39 BEntry entry(ref, true);
40 if (entry.GetRef(&this->ref) != B_OK)
/haiku/src/build/libbe/storage/
H A DMergedDirectory.cpp99 BMergedDirectory::GetNextEntry(BEntry* entry, bool traverse) argument
106 return entry->SetTo(&ref, traverse);
121 BEntry entry;
123 = entry.SetTo(fDirectories.ItemAt(fDirectoryIndex), dirEntry->d_name);
127 return entry.GetRef(ref);
233 BEntry entry(fDirectories.ItemAt(i), name);
235 if (entry.Exists() && entry.GetRef(&ref) == B_OK
/haiku/src/apps/mail/
H A DStatus.cpp117 BEntry entry; local
124 if (dir.FindEntry("Mail", &entry) == B_NO_ERROR)
125 dir.SetTo(&entry);
130 if (dir.FindEntry("status", &entry) == B_NO_ERROR)
131 dir.SetTo(&entry);
154 dir.FindEntry(newName, &entry);
192 BEntry entry; local
193 if (query.GetNextEntry(&entry) == B_NO_ERROR)
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DAttribute.h54 ext2_xattr_entry** entry);
57 ext2_xattr_entry** entry);
60 ext2_xattr_entry** entry);
61 status_t _PrefixedName(ext2_xattr_entry* entry, char* _name,
/haiku/src/preferences/datatranslations/
H A DDataTranslations.h28 status_t _Install(BDirectory& target, BEntry& entry);
/haiku/headers/private/storage/mime/
H A DDatabaseDirectory.h37 bool _IsValidMimeTypeEntry(const entry_ref& entry);
/haiku/src/apps/showimage/
H A DImageCache.h67 status_t _RetrieveImage(QueueEntry* entry,
69 void _NotifyListeners(CacheEntry* entry,
71 void _NotifyTarget(CacheEntry* entry,
73 void _BuildNotification(CacheEntry* entry,
/haiku/src/kits/package/
H A DContext.cpp66 BContext::GetNewTempfile(const BString& baseName, BEntry* entry) const
68 if (entry == NULL)
72 *entry = fTempfileManager->Create(baseName);
73 return entry->InitCheck();

Completed in 296 milliseconds

1234567891011>>