/haiku/src/servers/app/drawing/interface/virtual/ |
H A D | DWindowHWInterface.cpp | 403 the first working entry. 416 struct dirent *entry = NULL; local 419 while (count < deviceNumber && (entry = readdir(directory)) != NULL) { 420 if (!strcmp(entry->d_name, ".") || !strcmp(entry->d_name, "..") 421 || !strcmp(entry->d_name, "vesa") || !strcmp(entry->d_name, "framebuffer")) 429 sprintf(path, "/dev/graphics/%s", entry->d_name); 450 if (entry) 451 fCardNameInDevFS = entry [all...] |
/haiku/src/system/kernel/cache/ |
H A D | block_cache.cpp | 336 ConditionVariableEntry entry; local 337 cache->busy_writing_condition.Add(&entry); 342 entry.Wait(); 774 // TODO: this only works if the link is the first entry of block_cache 1755 ConditionVariableEntry entry; local 1756 cache->busy_reading_condition.Add(&entry); 1761 entry.Wait(); 1775 ConditionVariableEntry entry; local 1776 cache->busy_reading_condition.Add(&entry); 1781 entry 1795 ConditionVariableEntry entry; local 1815 ConditionVariableEntry entry; local 2721 ConditionVariableEntry entry; local [all...] |
/haiku/src/add-ons/kernel/network/stack/ |
H A D | routes.cpp | 409 route_entry entry; 410 if (user_memcpy(&entry, &((ifreq*)argument)->ifr_route, 416 if ((status = user_copy_address(entry.destination, 418 || (status = user_copy_address(entry.mask, &route.mask)) != B_OK 419 || (status = user_copy_address(entry.gateway, &route.gateway)) 426 route.mtu = entry.mtu; 427 route.flags = entry.flags; 561 route_entry entry; 562 if (user_memcpy(&entry, value, sizeof(route_entry)) < B_OK) 566 status_t status = user_copy_address(entry [all...] |
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | FUSEVolume.h | 166 void _RemoveEntry(FUSEEntry* entry);
|
H A D | FUSEEntry.h | 58 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; 101 FUSEEntry* entry = entries.Head(); local 102 return entry != NULL ? entry [all...] |
/haiku/src/kits/network/libnetapi/ |
H A D | NetworkDevice.cpp | 448 uint8* entry = buffer; local 452 = (ieee80211req_scan_result*)entry; 462 entry += result->isr_len; 501 uint8* entry = buffer; local 506 = (ieee80211req_scan_result*)entry; 521 entry += result->isr_len; 558 uint8* entry = (uint8*)&request.info[0]; local 562 ieee80211req_sta_info* info = (ieee80211req_sta_info*)entry; 572 entry += info->isi_len;
|
/haiku/src/apps/mediaconverter/ |
H A D | MediaConverterWindow.cpp | 756 BEntry entry(&ref); 757 entry.GetParent(&entry); 758 _SetOutputFolder(entry); 891 BEntry entry; local 892 fOutputDir.GetEntry(&entry); 894 entry.GetPath(&path); 1030 MediaConverterWindow::_SetOutputFolder(BEntry entry) argument 1033 entry.GetPath(&path); 1035 fOutputDir.SetTo(&entry); [all...] |
/haiku/src/bin/ |
H A D | open.cpp | 35 open_file(const char* openWith, BEntry& entry, int32 line = -1, int32 col = -1) argument 38 status_t result = entry.GetRef(&ref); 78 BEntry entry(*argv); 79 if ((result = entry.InitCheck()) == B_OK && entry.Exists()) { 80 result = open_file(openWith, entry); 117 result = entry.SetTo(arg.String()); 118 if (result == B_OK && entry.Exists()) { 119 result = open_file(openWith, entry, line); 130 result = entry [all...] |
/haiku/src/system/boot/platform/efi/arch/x86_64/ |
H A D | arch_start.cpp | 23 // From entry.S 121 efi_memory_descriptor *entry local 124 entry->PhysicalStart, 125 entry->PhysicalStart + entry->NumberOfPages * B_PAGE_SIZE, 126 entry->VirtualStart, 127 entry->VirtualStart + entry->NumberOfPages * B_PAGE_SIZE, 128 memory_region_type_str(entry->Type), entry [all...] |
/haiku/src/system/boot/platform/efi/arch/x86/ |
H A D | arch_start.cpp | 29 // From entry.S 60 // Copy entry.S trampoline to lower 1M 106 efi_memory_descriptor *entry local 111 entry->PhysicalStart, 112 entry->PhysicalStart + entry->NumberOfPages * B_PAGE_SIZE, 113 entry->VirtualStart, 114 entry->VirtualStart + entry->NumberOfPages * B_PAGE_SIZE, 115 memory_region_type_str(entry [all...] |
/haiku/src/system/boot/platform/efi/arch/riscv64/ |
H A D | arch_start.cpp | 21 // From entry.S 94 efi_memory_descriptor *entry local 99 entry->PhysicalStart, 100 entry->PhysicalStart + entry->NumberOfPages * B_PAGE_SIZE, 101 entry->VirtualStart, 102 entry->VirtualStart + entry->NumberOfPages * B_PAGE_SIZE, 103 memory_region_type_str(entry->Type), entry [all...] |
/haiku/src/system/boot/platform/efi/arch/arm64/ |
H A D | arch_start.cpp | 77 efi_memory_descriptor* entry = (efi_memory_descriptor*) (addr + i * descriptor_size); local 80 entry->PhysicalStart, entry->PhysicalStart + entry->NumberOfPages * B_PAGE_SIZE, 81 entry->VirtualStart, entry->VirtualStart + entry->NumberOfPages * B_PAGE_SIZE, 82 entry->NumberOfPages * B_PAGE_SIZE, memory_region_type_str(entry->Type), entry [all...] |
/haiku/src/system/boot/platform/efi/arch/arm/ |
H A D | arch_start.cpp | 36 // From entry.S 96 // Allocate identity mapped region for entry.S trampoline 141 efi_memory_descriptor *entry local 146 entry->PhysicalStart, 147 entry->PhysicalStart + entry->NumberOfPages * B_PAGE_SIZE, 148 entry->VirtualStart, 149 entry->VirtualStart + entry->NumberOfPages * B_PAGE_SIZE, 150 memory_region_type_str(entry [all...] |
/haiku/src/servers/mail/ |
H A D | DeskbarView.cpp | 138 BEntry entry(ref); 146 return trash.Contains(&entry); 169 BEntry entry; local 170 while (newMailQuery->GetNextEntry(&entry) == B_OK) { 171 if (entry.InitCheck() == B_OK) { 173 entry.GetRef(&ref); 396 BEntry entry(path.Path()); 398 || entry.GetParent(&directory) < B_OK 474 BEntry entry(&ref, true); 480 if (entry [all...] |
H A D | MailDaemonApplication.cpp | 390 BEntry entry(&ref); 392 if (!_IsEntryInTrash(entry)) { 525 BEntry entry; local 526 while (query.GetNextEntry(&entry) == B_OK) { 527 if (_IsEntryInTrash(entry)) 531 while (node.SetTo(&entry) == B_BUSY) 540 _AddMessage(messages[account], entry, node); 549 BEntry entry(path); 550 _AddMessage(messages[account], entry, BNode(&entry)); 722 const entry_ref& entry = settings.InboundAddOnRef(); local 744 const entry_ref& entry = settings.OutboundAddOnRef(); local 811 BEntry entry; local 863 _AddMessage(send_mails_info& info, const BEntry& entry, const BNode& node) argument 890 _IsEntryInTrash(BEntry& entry) argument [all...] |
/haiku/src/servers/app/font/ |
H A D | GlobalFontManager.h | 88 status_t _AddPath(BEntry& entry, 95 BEntry& entry);
|
/haiku/src/build/libroot/ |
H A D | fs.cpp | 207 // find the entry 209 while (dirent *entry = readdir(dir)) { 210 if ((strcmp(entry->d_name, ".") == 0 && skipDot) 211 || strcmp(entry->d_name, "..") == 0) { 213 } else /*if (entry->d_ino == ref.node)*/ { 220 entryPath += entry->d_name; 224 name = entry->d_name; 523 // stat the entry 580 // stat the entry 588 // get the entry nam [all...] |
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | Node.cpp | 207 NodeEntry* entry = (NodeEntry*)(void*)(fLeafBuffer + NodeHeader::Size(fInode)); 211 < &entry[count]) { 216 if (hashVal <= B_BENDIAN_TO_HOST_INT32(entry[i].hashval)) { 217 *rightMapOffset = B_BENDIAN_TO_HOST_INT32(entry[i].before); 269 void* entry; // This could be unused entry so we should check local 271 entry = (void*)(fDataBuffer + ExtentDataHeader::Size(fInode)); 275 entry = (void*)(fDataBuffer 277 // This gets us a little faster to the next entry 292 // map entry bu 431 ExtentDataEntry* entry = (ExtentDataEntry*)(fDataBuffer + offset); local [all...] |
H A D | LeafDirectory.cpp | 240 void* entry; // This could be unused entry so we should check local 242 entry = (void*)(fDataBuffer + ExtentDataHeader::Size(fInode)); 246 entry = (void*)(fDataBuffer 248 // This gets us a little faster to the next entry 262 // map entry but is not the first block 267 entry = (void*)(fDataBuffer + ExtentDataHeader::Size(fInode)); 271 // When the block isn't mapped in the current data map entry 277 entry = (void*)(fDataBuffer + ExtentDataHeader::Size(fInode)); 282 ExtentUnusedEntry* unusedEntry = (ExtentUnusedEntry*)entry; 373 ExtentDataEntry* entry = (ExtentDataEntry*)(fDataBuffer + offset); local [all...] |
H A D | LeafAttribute.cpp | 152 // We have valid attribute entry to stat 248 AttrLeafEntry* entry = local 251 uint32 offset = B_BENDIAN_TO_HOST_INT16(entry->nameidx); 256 if (entry->flags & XFS_ATTR_LOCAL) { 286 AttrLeafEntry* entry = (AttrLeafEntry*)(fLeafBuffer + AttrLeafHeader::Size(fInode)); local 294 hashLowerBound<AttrLeafEntry>(entry, left, right, hashValueOfRequest); 296 while (B_BENDIAN_TO_HOST_INT32(entry[left].hashval) == hashValueOfRequest) { 298 uint32 offset = B_BENDIAN_TO_HOST_INT16(entry[left].nameidx); 303 if (entry[left].flags & XFS_ATTR_LOCAL) {
|
H A D | Extent.cpp | 157 void* entry; // This could be unused entry so we should check local 159 entry = (void*)(fBlockBuffer + ExtentDataHeader::Size(fInode)); 167 uint16 currentOffset = (char*)entry - fBlockBuffer; 170 ExtentUnusedEntry* unusedEntry = (ExtentUnusedEntry*)entry; 173 TRACE("Unused entry found\n"); 175 entry = (void*) 176 ((char*)entry + B_BENDIAN_TO_HOST_INT16(unusedEntry->length)); 180 ExtentDataEntry* dataEntry = (ExtentDataEntry*) entry; 183 entry 233 ExtentDataEntry* entry = (ExtentDataEntry*)(fBlockBuffer + offset); local [all...] |
/haiku/src/bin/makebootable/platform/bios_ia32/ |
H A D | makebootable.cpp | 360 BEntry entry; local 361 error = entry.SetTo(fileName, true); 370 error = entry.GetStat(&st);
|
/haiku/src/add-ons/input_server/devices/keyboard/ |
H A D | KeyboardInputDevice.cpp | 793 BEntry entry; local 795 while (dir.GetNextEntry(&entry) == B_OK) { 797 entry.GetPath(&path); 798 if (entry.IsDirectory())
|
/haiku/src/servers/net/ |
H A D | NetServer.cpp | 709 BEntry entry; local 710 while (directory.GetNextEntry(&entry) == B_OK) { 714 if (entry.GetName(name) != B_OK 715 || entry.GetPath(&path) != B_OK 716 || entry.GetStat(&stat) != B_OK 727 } else if (entry.IsDirectory()) { 756 BEntry entry(device); 757 if (!entry.Exists()) { 932 // not a valid device entry, ignore
|
/haiku/src/add-ons/kernel/file_systems/exfat/ |
H A D | kernel_interface.cpp | 103 struct exfat_entry entry; local 106 &entry, entrySize) == (ssize_t)entrySize; i++) { 107 if (entry.type == EXFAT_ENTRY_TYPE_NOT_IN_USE 108 || entry.type == EXFAT_ENTRY_TYPE_LABEL) { 109 if (get_volume_name(&entry, cookie->name, sizeof(cookie->name))
|