Searched refs:entry (Results 126 - 150 of 922) sorted by last modified time

1234567891011>>

/haiku/src/kits/tracker/
H A DFavoritesMenu.cpp143 BEntry entry(path.Path());
144 Model startModel(&entry, true);
H A DTests.cpp200 BEntry entry(NextRef());
201 Model model(&entry, true);
207 entry.GetPath(&currentPath);
256 BEntry entry(NextRef());
257 BModel model(&entry, true);
263 entry.GetPath(&currentPath);
/haiku/src/system/kernel/locks/
H A Duser_mutex.cpp75 static const char* kUserMutexEntryType = "umtx entry";
182 UserMutexEntry* entry = (UserMutexEntry*)variable->Object();
184 const bool physical = (sSharedUserMutexContext.table.Lookup(entry->address) == entry);
185 kprintf("user mutex entry %p\n", entry);
186 kprintf(" address: 0x%" B_PRIxPHYSADDR " (%s)\n", entry->address,
188 kprintf(" refcount: %" B_PRId32 "\n", entry->ref_count);
189 kprintf(" lock: %p\n", &entry->lock);
195 (void*)entry
[all...]
/haiku/src/system/kernel/events/
H A Dwait_for_objects.cpp773 select_sync_pool_entry *entry = it.Next(); local
774 if (entry->sync == sync)
775 return entry;
786 // check, whether the entry does already exist
787 select_sync_pool_entry *entry = find_select_sync_pool_entry(pool, sync); local
788 if (!entry) {
789 entry = new (std::nothrow) select_sync_pool_entry;
790 if (!entry)
793 entry->sync = sync;
794 entry
844 select_sync_pool_entry *entry = it.Next(); local
895 select_sync_pool_entry *entry = it.Next(); local
[all...]
/haiku/src/apps/debugger/user_interface/cli/
H A DCommandLineUserInterface.cpp357 CommandEntry* entry = new(std::nothrow) CommandEntry(nextName, local
359 if (entry == NULL || !fCommands.AddItem(entry)) {
360 delete entry;
386 for (int32 i = 0; CommandEntry* entry = fCommands.ItemAt(i); i++) {
387 if (entry->Name() == commandName) {
388 commandEntry = entry;
396 for (int32 i = 0; CommandEntry* entry = fCommands.ItemAt(i); i++) {
397 if (entry->Name().Compare(commandName, commandNameLength) == 0) {
403 commandEntry = entry;
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/
H A Dkernel_interface.cpp1176 directory_cookie::entry* entry = local
1177 (directory_cookie::entry*)malloc(sizeof(directory_cookie::entry) + name_len);
1178 if (entry == NULL)
1180 entry->next = NULL;
1182 entry->inode = MREF(mref);
1183 entry->name_length = name_len;
1184 memcpy(entry->name, name, name_len + 1);
1187 cookie->first = cookie->current = entry;
[all...]
/haiku/src/system/kernel/
H A Dsyscalls.cpp233 "pre syscall trace entry is encountered, the corresponding post\n"
234 "syscall traced entry is also printed, even if it doesn't match the\n"
302 ConditionVariableEntry entry; local
303 syscall->unused_condition.Add(&entry);
307 entry.Wait();
520 if (const PreSyscall* entry = dynamic_cast<const PreSyscall*>(_entry)) {
521 _RemovePendingThread(entry->ThreadID());
523 bool accepted = fFilter->Filter(entry, out);
525 _AddPendingThread(entry->ThreadID());
528 } else if (const PostSyscall* entry
[all...]
H A Dmodule.cpp146 struct entry { struct in namespace:Module
151 struct hash_entry : entry {
162 typedef entry* KeyType;
165 size_t Hash(ValueType* entry) const
166 { return HashKey(entry); }
167 ValueType*& GetLink(ValueType* entry) const
168 { return entry->hash_link; }
175 bool Compare(KeyType key, ValueType* entry) const
177 return key->device == entry->device
178 && key->node == entry
1318 struct entry entry = {device, node}; local
1329 hash_entry* entry = fNodes.Lookup(&key); local
1353 struct hash_entry* entry = new(std::nothrow) hash_entry; local
1587 hash_entry* entry = fNodes.Lookup(&key); local
[all...]
/haiku/src/system/boot/loader/file_systems/fat/
H A DDirectory.cpp109 struct dir_entry entry; member in struct:FATFS::dir_cookie
387 if (c->entry.IsFile()) {
390 c->entry.Cluster(fVolume.FatBits()), c->entry.Size(), name);
392 if (c->entry.IsDir()) {
395 c->entry.Cluster(fVolume.FatBits()), name);
486 // prepare a directory entry for the new file
487 dir_entry entry; local
489 memset(entry.fName, ' ', sizeof(entry
609 _AddEntry(dir_entry& entry, off_t& _entryOffset) argument
667 dir_entry entry; local
[all...]
/haiku/src/servers/launch/
H A DLaunchDaemon.cpp188 void _ReadEntry(const char* context, BEntry& entry);
191 status_t _ReadFile(const char* context, BEntry& entry);
1423 BEntry entry(paths.StringAt(i));
1424 if (entry.InitCheck() != B_OK || !entry.Exists())
1427 _ReadDirectory(NULL, entry);
1433 LaunchDaemon::_ReadEntry(const char* context, BEntry& entry) argument
1435 if (entry.IsDirectory())
1436 _ReadDirectory(context, entry);
1438 _ReadFile(context, entry);
1447 BEntry entry; local
1455 _ReadFile(const char* context, BEntry& entry) argument
[all...]
/haiku/src/apps/cortex/ValControl/
H A DNumericValControl.cpp561 const ValCtrlLayoutEntry& entry = _EntryAt(n-1); local
562 if (entry.type == ValCtrlLayoutEntry::SEGMENT_ENTRY) {
564 dynamic_cast<ValControlDigitSegment*>(entry.pView);
605 const ValCtrlLayoutEntry& entry = _EntryAt(n-1); local
607 if (entry.type == ValCtrlLayoutEntry::SEGMENT_ENTRY) {
609 dynamic_cast<ValControlDigitSegment*>(entry.pView);
/haiku/src/apps/cortex/RouteApp/
H A DRouteApp.cpp431 BEntry entry(path.Path());
432 if(!entry.Exists())
436 entry.SetTo(path.Path());
437 if(!entry.Exists())
441 BFile file(&entry, B_READ_ONLY);
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Dcondition_variable.cpp195 ConditionVariable::Add(ConditionVariableEntry* entry) argument
198 entry->_AddToLockedVariable(this);
205 ConditionVariableEntry entry; local
206 Add(&entry);
207 return entry.Wait(flags, timeout);
238 while (ConditionVariableEntry* entry = fEntries.RemoveHead()) {
239 entry->fVariable = NULL;
241 if (entry->fWaitStatus <= 0)
244 if (entry->fWaitStatus == STATUS_WAITING)
245 _kern_unblock_thread(get_thread_id(entry
[all...]
/haiku/src/system/kernel/arch/riscv64/
H A Darch_thread.cpp107 arch_thread_enter_userspace(Thread *thread, addr_t entry, void *arg1, argument
132 frame.epc = entry;
/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/apps/terminal/
H A DTermView.cpp2142 BEntry entry(&ref);
2147 entry.GetParent(&dir);
/haiku/src/tools/restest/
H A DResourceFile.cpp415 resource_index_entry* entry = (resource_index_entry*)data; local
417 for (int32 i = 0; i < fResourceCount; i++, entry++) {
420 entry->rie_offset = entryOffset;
421 entry->rie_size = entrySize;
422 entry->rie_pad = 0;
427 fill_pattern(buffer, entry, data);
671 // program header table offset and entry count/size
718 // section header table offset and entry count/size
932 // read one entry
955 resource_index_entry entry; local
[all...]
/haiku/src/tests/system/kernel/device_manager/
H A Ddma_resource_test.cpp250 physical_entry entry[2];
251 get_memory_map((void*)fDataBase, 2 * B_PAGE_SIZE, entry, 2);
253 if (entry[0].size == B_PAGE_SIZE) {
254 fPhysicalDataBase = (addr_t)entry[0].address;
255 fSecondPhysicalDataBase = (addr_t)entry[1].address;
259 (void*)fDataBase, entry[0].address, entry[1].address);
273 physical_entry entry;
274 get_memory_map((void*)fDataBase, B_PAGE_SIZE, &entry, 1);
276 fPhysicalDataBase = (addr_t)entry
[all...]
/haiku/src/tests/kits/storage/testapps/
H A DNodeMonitorTest.cpp62 BEntry entry("/tmp", true);
64 if (entry.GetNodeRef(&nodeRef) != B_OK) {
76 entry.SetTo("/tmp/_watch_test_");
79 status_t status = file.SetTo(&entry, B_CREATE_FILE | B_READ_WRITE);
85 if (entry.Remove() != B_OK)
/haiku/src/tests/kits/storage/
H A DMimeTypeTest.cpp621 BEntry entry(testApp);
623 CHK(entry.InitCheck() == B_OK);
624 CHK(entry.GetRef(&appRef) == B_OK);
768 BEntry entry(fakeTestApp);
769 CHK(entry.InitCheck() == B_OK);
770 CHK(!entry.Exists());
771 CHK(entry.GetRef(&fakeRef) == B_OK);
1660 // If the entry designates a valid MIME string, find it
1750 // If the entry designates a valid MIME string, find it
2182 BEntry entry((st
[all...]
/haiku/src/tests/add-ons/kernel/file_systems/consistency_check/
H A Dconsistency_check.cpp120 process_file(const file_entry& entry, int number) argument
123 if (::stat(entry.path.c_str(), &stat) != 0) {
124 fprintf(stderr, "Could not stat file \"%s\": %s\n", entry.path.c_str(),
129 if (stat.st_ino != entry.node) {
131 entry.path.c_str(), entry.node, stat.st_ino);
134 int file = open(entry.path.c_str(), O_RDONLY);
136 fprintf(stderr, "Could not open file \"%s\": %s\n", entry.path.c_str(),
143 fprintf(stderr, "Computing SHA failed \"%s\": %s\n", entry.path.c_str(),
148 if (memcmp(entry
212 file_entry entry; local
[all...]
/haiku/src/tests/add-ons/kernel/file_systems/bfs/dump_log/
H A Ddump_log.cpp105 int32 entry = 0; local
139 printf("Entry %ld contains %lld blocks (entry starts at block %lld):\n", entry, count, blockNumber);
/haiku/src/system/kernel/vm/
H A DVMCache.cpp404 // find the previous "insert area" entry for the given area
406 TraceEntry* entry = iterator.Current(); local
407 while (entry != NULL) {
408 if (InsertArea* insertAreaEntry = dynamic_cast<InsertArea*>(entry)) {
413 entry = iterator.Previous();
425 // find the previous "add consumer" or "create" entry for the given cache
427 TraceEntry* entry = iterator.Current(); local
428 while (entry != NULL) {
429 if (Create* createEntry = dynamic_cast<Create*>(entry)) {
432 } else if (AddConsumer* addEntry = dynamic_cast<AddConsumer*>(entry)) {
[all...]
/haiku/src/bin/bfs_tools/lib/
H A DInode.cpp1101 BEntry entry(path.Path());
1103 if ((status = entry.GetParent(&directory)) < B_OK)
1110 if ((status = directory.SetTo(&entry)) < B_OK)
1365 BEntry entry(path.Path());
1367 if ((status = entry.GetParent(&directory)) < B_OK)
1379 if ((status = link.SetTo(&entry)) < B_OK)
/haiku/src/apps/diskprobe/
H A DDataEditor.cpp389 DataEditor::DataEditor(BEntry &entry, const char *attribute) argument
394 SetTo(entry, attribute);
415 BEntry entry(path);
416 return SetTo(entry, attribute);
423 BEntry entry(&ref);
424 return SetTo(entry, attribute);
429 DataEditor::SetTo(BEntry &entry, const char *attribute) argument
446 status_t status = entry.GetStat(&stat);
450 entry.GetRef(&fAttributeRef);
454 if (entry
[all...]

Completed in 182 milliseconds

1234567891011>>