/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | Directory.cpp | 104 LevelInfo& info, size_t needed, 644 LevelInfo& info = infos[level]; local 646 if (info.entryBlock.EntryCount() == 0) { 655 info.index = info.entryBlock.FindInsertionIndex(name, nameLength, 656 info.exactMatch); 659 info.index, info.exactMatch ? "" : " not "); 666 if (!info.exactMatch && info 695 LevelInfo& info = infos[level]; local 709 LevelInfo& info = infos[level]; local 731 LevelInfo& info = infos[depth]; local 778 LevelInfo& info = infos[level]; local 869 LevelInfo& info = infos[level]; local 935 LevelInfo& info = infos[level]; local 1008 LevelInfo& info = infos[level]; local 1135 LevelInfo& info = infos[level]; local [all...] |
/haiku/src/servers/media/ |
H A D | NodeManager.cpp | 98 const dormant_node_info* info, const media_input* input) 108 } else if (info != NULL) { 111 status = GetInstances(info->addon, info->flavor_id, &nodeID, &count, 721 live_node_info info; local 722 info.node.node = node.node_id; 723 info.node.port = node.port; 724 info.node.kind = node.kinds; 725 info.hint_point = BPoint(0, 0); 726 strlcpy(info 97 SetDefaultNode(node_type type, const media_node* node, const dormant_node_info* info, const media_input* input) argument 831 dormant_add_on_flavor_info& info = *iterator; local 856 dormant_add_on_flavor_info info; local 883 dormant_add_on_flavor_info& info = *iterator; local 905 dormant_add_on_flavor_info& info = fDormantFlavors[index]; local 927 dormant_add_on_flavor_info& info = *iterator; local 972 dormant_add_on_flavor_info& info = *iterator; local 1008 dormant_add_on_flavor_info& info = *iterator; local 1042 dormant_add_on_flavor_info& info = *iterator; local 1100 dormant_add_on_flavor_info& info = *iterator; local [all...] |
/haiku/src/tests/kits/game/direct_window_test/ |
H A D | StarWindow.cpp | 34 version_info *info) { 53 return appinfo.GetVersionInfo(info, B_APP_VERSION_KIND); 279 StarWindow::DirectConnected(direct_buffer_info *info) argument 282 switch (info->buffer_state & B_DIRECT_MODE_MASK) { 285 SwitchContext(info); // update the direct screen infos. 295 SwitchContext(info); // update the direct screen infos. 313 StarWindow::SwitchContext(direct_buffer_info *info) argument 324 window_area = (info->window_bounds.right-info->window_bounds.left+1)* 325 (info 32 get_file_version_info( directory_which dir, char *filename, version_info *info) argument [all...] |
/haiku/src/tests/kits/app/broster/ |
H A D | GetAppInfoTester.cpp | 35 check_app_info(app_info &info, AppRunner &runner, const char *signature, argument 57 //" signature: `%s' vs `%s'\n", info.thread, thread, info.team, team, 58 //info.port, port, info.flags, flags, info.signature, signature); 60 //info.ref.device, info.ref.directory, info.ref.name, 62 return (info 75 app_info info; local 94 app_info info; local 145 app_info info; local 164 app_info info; local 235 app_info info; local 264 app_info info; local [all...] |
/haiku/src/kits/package/ |
H A D | PackageInfoSet.cpp | 43 PackageInfo* info = this; local 44 while (info != NULL) { 45 PackageInfo* next = info->listNext; 46 delete info; 47 info = next; 118 const BPackageInfo* info = it.Next(); local 119 if (newMap->AddNewPackageInfo(*info) != B_OK) 126 void AddPackageInfo(PackageInfo* info) argument 128 if (PackageInfo* oldInfo = Lookup(info->Name())) { 129 info 139 PackageInfo* info = new(std::nothrow) PackageInfo(oldInfo); local 155 PackageInfo* info = Clear(true); local 240 AddInfo(const BPackageInfo& info) argument [all...] |
/haiku/src/kits/locale/ |
H A D | MutableLocaleRoster.cpp | 105 image_info info; 109 while (get_next_image_info(0, &cookie, &info) == B_OK) { 110 if (info.data < (void*)&be_app 111 && (char*)info.data + info.data_size > (void*)&be_app) { 122 status_t status = BEntry(info.name).GetRef(&ref); 151 CatalogAddOnInfo* info = (CatalogAddOnInfo*) local 153 if (info->fName.ICompare(type) != 0 || !info->fCreateFunc) 156 BCatalogData* catalog = info 187 CatalogAddOnInfo* info = (CatalogAddOnInfo*) local 275 CatalogAddOnInfo* info = (CatalogAddOnInfo*) local 366 CatalogAddOnInfo* info = static_cast<CatalogAddOnInfo*>( local [all...] |
/haiku/src/apps/diskusage/ |
H A D | PieView.h | 53 float _DrawDirectory(BRect b, FileInfo* info, 59 BMenu* _BuildOpenWithMenu(FileInfo* info); 60 void _ShowContextMenu(FileInfo* info, BPoint where); 61 void _Launch(FileInfo* info, 63 void _OpenInfo(FileInfo* info, BPoint p); 68 : begin(0.0), end(0.0), info(NULL) { } 70 : begin(b), end(e), info(i) { } 72 : begin(s.begin), end(s.end), info(s.info) { } 77 FileInfo* info; member in struct:PieView::Segment [all...] |
/haiku/src/apps/processcontroller/ |
H A D | ThreadBarMenu.cpp | 76 thread_info info; local 79 while (get_next_thread_info(fTeam, &cookie, &info) == B_OK) { 81 while (k < fThreadsRecCount && fThreadsRec[k].thread != info.thread) 85 while (k < lastk && fThreadsRec[k].thread != info.thread) 91 // printf("*** Thread %d %s/%s, user %lld, kernel %lld\n", info.thread, info.name, info.user_time, info.kernel_time); 103 fThreadsRec[k].thread = info.thread; 105 kill_thread->AddInt32("thread", info [all...] |
/haiku/src/add-ons/kernel/network/ppp/shared/libppp/ |
H A D | PPPInterface.cpp | 112 ppp_interface_info_t info; local 113 // printf("SetTo info:%p\n", &info); 114 if (GetInterfaceInfo(&info)) { 115 fName = info.info.name; 117 // printf("%s fine: name:%s, fID:%ld\n", __func__, info.info.name, fID); 151 ppp_control_info info; local 157 args.data = &info; 275 ControlOptionHandler(ppp_simple_handler_info_t *info, uint32 handlerindex, uint32 handlerOP) const argument 293 ControlChild(void *info, uint32 childindex, uint32 childOP) const argument 311 ControlLCPExtension(ppp_simple_handler_info_t *info, uint32 LCPExtensionindex, uint32 LCPExtensionOP) const argument 329 ControlProtocol(ppp_protocol_info_t *info, uint32 protocolindex, uint32 protocolOP) const argument [all...] |
H A D | PPPManager.cpp | 224 ppp_interface_description_info info; local 225 info.u.settings = settings; 227 if (Control(PPPC_CREATE_INTERFACE, &info, sizeof(info)) != B_OK) 230 return info.interface; 267 // ppp_interface_description_info info; 268 // info.u.name = name; 270 // if (Control(PPPC_CREATE_INTERFACE_WITH_NAME, &info, sizeof(info)) != B_OK) 273 // return info 383 ppp_get_interfaces_info info; local 399 ppp_interface_description_info info; local 421 ppp_interface_info_t info; local 457 ppp_interface_info_t info; local [all...] |
/haiku/src/tools/elfsymbolpatcher/ |
H A D | ElfSymbolPatcher.cpp | 330 image_info info; local 331 if (get_image_info(image->GetID(), &info) != B_OK) { 340 image_info info; local 342 while (get_next_image_info(0, &cookie, &info) == B_OK) { 343 ElfImage* image = _ImageForID(info.id); 353 error = image->SetTo(info.id); 371 ElfSymbolPatchInfo* info) 374 if (!symbolName || !info) 379 info->Unset(); 380 status_t error = info 370 GetSymbolPatchInfo(const char* symbolName, ElfSymbolPatchInfo* info) argument 424 UpdateSymbolPatchInfo(ElfSymbolPatchInfo* info, ElfImage* image) argument 443 image_info info; local 619 PatchInfo* info = (PatchInfo*)fPatchInfos.ItemAt(i); local [all...] |
/haiku/src/preferences/backgrounds/ |
H A D | BackgroundImage.cpp | 81 attr_info info; local 82 if (node->GetAttrInfo(kBackgroundImageInfo, &info) != B_OK) 86 char* buffer = new char [info.size]; 88 status_t error = node->ReadAttr(kBackgroundImageInfo, info.type, 0, buffer, 89 (size_t)info.size); 90 if (error == info.size) 220 BackgroundImage::Add(BackgroundImageInfo* info) argument 222 fBitmapForWorkspaceList.AddItem(info); 227 BackgroundImage::Remove(BackgroundImageInfo* info) argument 229 fBitmapForWorkspaceList.RemoveItem(info); 237 BackgroundImageInfo* info = fBitmapForWorkspaceList.ItemAt(index); local 251 BackgroundImageInfo* info = ImageInfoForWorkspace(workspace); local 263 Show(BackgroundImageInfo* info, BView* view) argument 402 BackgroundImageInfo* info = fBitmapForWorkspaceList.ItemAt(index); local 432 BackgroundImageInfo* info = ImageInfoForWorkspace(workspace); local 476 BackgroundImageInfo* info = fBitmapForWorkspaceList.ItemAt(index); local [all...] |
/haiku/src/add-ons/accelerants/radeon_hd/ |
H A D | bios.cpp | 34 radeon_shared_info &info = *gInfo->shared_info; local 39 if (info.chipsetID >= RADEON_R600) { 52 if (info.chipsetID >= RADEON_R600) { 67 radeon_shared_info &info = *gInfo->shared_info; local 70 if (info.chipsetID == RADEON_PALM) { 78 } else if (info.chipsetID >= RADEON_CEDAR) { 94 } else if (info.chipsetID >= RADEON_RS600) { 110 if (info.chipsetID >= RADEON_R600) 125 radeon_shared_info &info = *gInfo->shared_info; local 127 if (info 191 radeon_shared_info &info = *gInfo->shared_info; local [all...] |
/haiku/src/preferences/mail/ |
H A D | AutoConfigView.cpp | 125 AutoConfigView::GetBasicAccountInfo(account_info &info) argument 133 item->Message()->FindRef("protocol", &(info.inboundProtocol)); 139 info.inboundType = IMAP; 141 info.inboundType = POP; 143 info.outboundProtocol = fSMTPAddOnRef; 144 info.name = fNameView->Text(); 145 info.accountName = fAccountNameView->Text(); 146 info.email = fEmailView->Text(); 147 info.loginName = fLoginNameView->Text(); 148 info 233 provider_info info; local 274 ServerSettingsView(const account_info &info) argument 418 GetServerInfo(account_info& info) argument [all...] |
/haiku/src/add-ons/kernel/bus_managers/firewire/ |
H A D | firewire_module.cpp | 78 find_device_name(pci_info *info) argument 82 if (info->vendor_id == device->vendor_id 83 && info->device_id == device->device_id >> 16) { 149 pci_info *info = (pci_info*)malloc(sizeof(pci_info)); local 150 if (!info) 155 free(info); 161 free(info); 169 for (i = 0, found = 0; (status = gPci->get_nth_pci_info(i, info)) == B_OK; i++) { 170 if (find_device_name(info) 171 || ((info [all...] |
/haiku/src/add-ons/kernel/drivers/wmi/ |
H A D | WMIACPI.cpp | 69 guid_info *info = (guid_info*)object->buffer.buffer; local 72 for (uint32 i = 0; i < fWMIInfoCount; i++, info++) { 74 wmi->guid = *info; 142 wmi_info* info = &fWMIInfos[busCookie]; 143 if ((info->guid.flags & ACPI_WMI_REGFLAG_METHOD) != 0 144 || (info->guid.flags & ACPI_WMI_REGFLAG_EVENT) != 0) { 146 } else if (instance > info->guid.max_instance) 150 strncat(method, info->guid.oid, 2); 152 strncat(wcMethod, info->guid.oid, 2); 156 if ((info 247 wmi_info* info = &fWMIInfos[i]; local 270 wmi_info* info = &fWMIInfos[i]; local 294 wmi_info* info = &fWMIInfos[i]; local 312 _SetEventGeneration(wmi_info* info, bool enabled) argument [all...] |
/haiku/src/bin/debug/time_stats/ |
H A D | timing_analysis.cpp | 85 // gather initial usage info 93 // get child usage info 99 // gather final usage info 178 const thread_info& info = sortedThreads[i]; local 179 if (info.user_time + info.kernel_time == 0) 182 bool highlight = info.thread == child && isatty(STDOUT_FILENO); 187 bigtime_t total = info.user_time + info.kernel_time; 188 printf("%7ld %-32s %10lld %10lld %10lld %6.2f\n", info 197 const thread_info& info = goneThreads[i]; local [all...] |
/haiku/src/add-ons/kernel/file_systems/netfs/shared/ |
H A D | PortChannel.cpp | 27 PortChannel::PortChannel(const Info* info, bool inverse) argument 29 fSendPort(inverse ? info->receivePort : info->sendPort), 30 fReceivePort(inverse ? info->sendPort : info->receivePort), 71 PortChannel::GetInfo(Info* info) const 73 if (info) { 74 info->sendPort = fSendPort; 75 info->receivePort = fReceivePort;
|
/haiku/src/tests/kits/app/bmessagerunner/ |
H A D | MessageRunnerTestHelpers.cpp | 54 for (int32 i = 0; MessageInfo *info = MessageInfoAt(i); i++) 55 delete info; 65 MessageInfo *info = new MessageInfo; local 66 info->time = system_time(); 67 fMessageInfos.AddItem(info); 94 MessageInfo *info = MessageInfoAt(i + skip); local 96 result = (expectedTime - JITTER < info->time 97 && info->time < expectedTime + JITTER); 99 printf("message out of time: %lld vs. %lld\n", info->time, expectedTime);
|
/haiku/src/bin/ |
H A D | listimage.c | 10 /*! Lists image info for all currently running teams. */ 80 team_info info; local 88 while (get_next_team_info(&cookie, &info) >= B_OK) { 89 if (strstr(info.args, arg)) { 90 result = list_images_for_team_by_id(info.team); 93 B_PRId32 ": %s\n", info.team, strerror(result)); 104 team_info info; local 109 while (get_next_team_info(&cookie, &info) >= B_OK) { 110 result = list_images_for_team_by_id(info.team); 113 B_PRId32 ": %s\n", info [all...] |
/haiku/src/apps/patchbay/ |
H A D | EndpointInfo.cpp | 63 EndpointInfo::EndpointInfo(const EndpointInfo& info) argument 65 fId(info.fId) 67 fIcon = (info.fIcon) ? new BBitmap(info.fIcon) : NULL; 72 EndpointInfo::operator=(const EndpointInfo& info) argument 74 if (&info != this) { 75 fId = info.fId; 77 fIcon = (info.fIcon) ? new BBitmap(info.fIcon) : NULL;
|
/haiku/src/add-ons/translators/psd/ |
H A D | PSDTranslator.cpp | 103 translator_info *info, uint32 outType) 114 info->type = PSD_IMAGE_FORMAT; 115 info->group = B_TRANSLATOR_BITMAP; 116 info->quality = PSD_IN_QUALITY; 117 info->capability = PSD_IN_CAPABILITY; 118 snprintf(info->name, sizeof(info->name), 121 strcpy(info->MIME, kPSDMimeType); 129 const translator_info *info, BMessage *ioExtension, 101 DerivedIdentify(BPositionIO *stream, const translation_format *format, BMessage *ioExtension, translator_info *info, uint32 outType) argument 128 DerivedTranslate(BPositionIO *source, const translator_info *info, BMessage *ioExtension, uint32 outType, BPositionIO *target, int32 baseType) argument
|
/haiku/src/apps/cortex/InfoView/ |
H A D | DormantNodeInfoView.cpp | 64 const dormant_node_info &info) 65 : InfoView(info.name, B_TRANSLATE("Dormant media node"), 66 new MediaIcon(info, B_LARGE_ICON)), 67 m_addOnID(info.addon), 68 m_flavorID(info.flavor_id) 80 s << info.addon; 85 s << info.flavor_id; 93 if (roster && (roster->GetDormantFlavorInfoFor(info, &flavorInfo) == B_OK)) 96 s = flavorInfo.info; 63 DormantNodeInfoView( const dormant_node_info &info) argument
|
/haiku/src/servers/power/ |
H A D | power_daemon.cpp | 105 object_wait_info info[fdCount]; local 110 info[index].object = *it; 111 info[index].type = B_OBJECT_TYPE_FD; 112 info[index].events = B_EVENT_READ; 118 if (wait_for_objects(info, fdCount) < B_OK) 122 if (info[i].events & B_EVENT_READ) 123 descriptorMap[info[i].object]->HandleEvent(info[i].object); 125 info[i].events = B_EVENT_READ;
|
/haiku/src/add-ons/kernel/bus_managers/pci/ |
H A D | pci_root.cpp | 54 const pci_info& info = dev->info; local 57 // info about device 63 {B_PCI_DEVICE_DEVICE, B_UINT8_TYPE, {.ui8 = info.device}}, 64 {B_PCI_DEVICE_FUNCTION, B_UINT8_TYPE, {.ui8 = info.function}}, 66 // info about the device 67 {B_DEVICE_VENDOR_ID, B_UINT16_TYPE, {.ui16 = info.vendor_id}}, 68 {B_DEVICE_ID, B_UINT16_TYPE, {.ui16 = info.device_id}}, 70 {B_DEVICE_TYPE, B_UINT16_TYPE, {.ui16 = info.class_base}}, 71 {B_DEVICE_SUB_TYPE, B_UINT16_TYPE, {.ui16 = info [all...] |