/haiku/src/system/boot/platform/efi/arch/arm/ |
H A D | arch_dtb.cpp | 53 platform_cpu_info* info; local 54 arch_smp_register_cpu(&info); 55 if (info == NULL) 57 info->id = fdt32_to_cpu(*(uint32*)fdt_getprop(fdt, node, 60 dprintf(" id: %" B_PRIu32 "\n", info->id);
|
/haiku/src/add-ons/media/media-add-ons/dvb/ |
H A D | DVBMediaAddon.cpp | 42 char info[200]; member in struct:device_info 100 DVBMediaAddon::InstantiateNodeFor(const flavor_info * info, BMessage * config, status_t * out_error) argument 104 device_info *dev = (device_info *)fDeviceList.ItemAt(info->internal_id); 105 if (!dev || dev->flavor.internal_id != info->internal_id) { 183 char info[1000]; local 187 // get card name, info and type 192 if (B_OK != card->GetCardInfo(name, sizeof(name), info, sizeof(info))) { 193 printf("DVBMediaAddon::AddDevice: getting DVB card info failed\n"); 218 // setup name and info, i [all...] |
/haiku/src/bin/ |
H A D | launch_roster.cpp | 172 BMessage info; local 173 status_t status = roster.GetLog(filter, info); 181 info.PrintToStream(); 185 print_log(info); 188 if (info.FindMessage("user", &user) == B_OK) { 200 BMessage info; local 201 status_t targetStatus = roster.GetTargetInfo(name, info); 204 info.PrintToStream(); 207 info.MakeEmpty(); 208 status_t jobStatus = roster.GetJobInfo(name, info); [all...] |
/haiku/src/add-ons/accelerants/radeon_hd/ |
H A D | accelerant.cpp | 62 // initialize global accelerant info structure 114 // get basic info from driver 124 AreaDeleter sharedDeleter(clone_area("radeon hd shared info", 208 radeon_shared_info &info = *gInfo->shared_info; 210 init_lock(&info.accelerant_lock, "radeon hd accelerant"); 211 init_lock(&info.engine_lock, "radeon hd engine"); 289 radeon_shared_info &info = *gInfo->shared_info; local 291 uninit_lock(&info.accelerant_lock); 292 uninit_lock(&info.engine_lock); 302 radeon_shared_info &info local [all...] |
/haiku/src/add-ons/kernel/bus_managers/random/ |
H A D | driver.cpp | 218 random_driver_info* info = (random_driver_info*)malloc( local 220 if (info == NULL) 226 memset(info, 0, sizeof(*info)); 228 info->node = node; 232 *cookie = info; 248 random_driver_info* info = (random_driver_info*)_cookie; local 249 free(info); 257 random_driver_info* info = (random_driver_info*)_cookie; local 258 status_t status = gDeviceManager->publish_device(info [all...] |
/haiku/src/add-ons/kernel/drivers/audio/ac97/es1370/ |
H A D | multi.c | 33 ac97_source_info *info = (ac97_source_info *)cookie; 39 value = es1370_codec_read(&dev->config, info->reg); 41 if (info->type & B_MIX_STEREO) { 42 mask = ((1 << (info->bits + 1)) - 1) << 8; 43 gain = ((value & mask) >> 8) * info->granularity; 44 if (info->polarity == 1) 45 values[0] = info->max_gain - gain; 47 values[0] = gain - info->min_gain; 49 mask = ((1 << (info->bits + 1)) - 1); 50 gain = (value & mask) * info [all...] |
/haiku/src/add-ons/kernel/busses/scsi/ahci/ |
H A D | ahci_sim.cpp | 64 ahci_path_inquiry(scsi_sim_cookie cookie, scsi_path_inquiry *info) argument 68 memset(info, 0, sizeof(*info)); 69 info->version_num = 1; 71 info->hba_inquiry = 0; // SCSI_PI_TAG_ABLE | SCSI_PI_SOFT_RST; 73 info->initiator_id = 32; 75 info->hba_queue_size = 1;
|
/haiku/src/apps/mediaplayer/supplier/ |
H A D | ImageTrackVideoSupplier.cpp | 76 ImageTrackVideoSupplier::GetCodecInfo(media_codec_info* info) const 78 strlcpy(info->pretty_name, "Artwork (static image)", 79 sizeof(info->pretty_name)); 80 strlcpy(info->short_name, "Artwork", sizeof(info->short_name)); 81 info->id = info->sub_id = 0;
|
/haiku/src/tests/add-ons/opengl/fake_renderer/ |
H A D | FakeRenderer.cpp | 107 FakeRenderer::DirectConnected(direct_buffer_info *info) argument 114 switch (info->buffer_state & B_DIRECT_MODE_MASK) { 119 fFrameBuffer = (uint8 *) info->bits; 120 fBytesPerRow = info->bytes_per_row; 121 fColorSpace = info->pixel_format; 124 fRectsCount = info->clip_list_count; 126 memcpy(fRects, info->clip_list, fRectsCount * sizeof(clipping_rect));
|
/haiku/src/kits/debugger/controllers/ |
H A D | ThreadHandler.cpp | 68 virtual void ExpressionEvaluated(ExpressionInfo* info, status_t result, argument 255 const SignalInfo& info = event->GetSignalInfo(); local 256 int32 signal = info.Signal(); 264 const struct sigaction& handlerInfo = info.Handler(); 502 // Let's be lazy. If the image debug info has not been loaded yet, the user 575 // We need to get the statement from the debug info of the function. 603 InstructionInfo info; local 605 cpuState->InstructionPointer(), info, cpuState) != B_OK) { 606 TRACE_CONTROL(" failed to get instruction info\n"); 610 if (info 782 ReturnValueInfo* info = new(std::nothrow) ReturnValueInfo( local 867 ReturnValueInfo* info = new(std::nothrow) local 930 FunctionDebugInfo* info = frame->Function()->GetFunctionDebugInfo(); local [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/wb840/ |
H A D | wb840.c | 21 // MII chip info table 344 wb_tx_nobuf(wb_device* info) argument 350 acquire_spinlock(&info->txSpinlock); 352 for (limit = info->txSent; limit > 0; limit--) { 353 status = info->txDescriptor[info->txInterruptIndex].wb_status; 366 info->txDescriptor[info->txInterruptIndex].wb_status = 0; 369 info->txInterruptIndex = (info 604 wb_read_mode(wb_device* info) argument 639 wb_set_mode(wb_device* info, int mode) argument [all...] |
/haiku/src/bin/network/ppp_up/ |
H A D | ConnectionView.cpp | 239 ppp_interface_info_t info; local 240 if(interface.GetInterfaceInfo(&info) && info.info.phase < PPP_ESTABLISHMENT_PHASE) 261 ppp_interface_info_t info; local 262 if(!interface.GetInterfaceInfo(&info)) 265 attempt << "Attempt " << info.info.connectAttempt << " of " << 266 info.info 368 ppp_interface_info_t info; local [all...] |
/haiku/src/servers/registrar/ |
H A D | ShutdownProcess.cpp | 265 for (int32 i = 0; AppInfo* info = (AppInfo*)fAppInfos.ItemAt(i); i++) { 266 delete info; 326 AppInfo* info = new(nothrow) AppInfo; local 327 if (!info) { 332 info->team = team; 333 info->appIcon = appIcon; 335 if (!fAppInfos.AddItem(info)) { 336 delete info; 352 AppInfo* info = (AppInfo*)fAppInfos.RemoveItem(index); local 353 delete info; 358 AppInfo* info = (team >= 0 ? _AppInfoFor(team) : NULL); local 454 SetAppInfo(AppInfo* info) argument 798 RosterAppInfo* info; local 1040 RosterAppInfo* info = *it; local 1546 RosterAppInfo* info = *list.It(); local 1694 RosterAppInfo* info = *list.It(); local 1848 RosterAppInfo* info = fUserApps.InfoFor(team); local [all...] |
/haiku/src/add-ons/kernel/busses/scsi/virtio/ |
H A D | VirtioSCSIController.cpp | 146 VirtioSCSIController::PathInquiry(scsi_path_inquiry *info) argument 148 info->hba_inquiry = SCSI_PI_TAG_ABLE; 149 info->hba_misc = 0; 150 info->sim_priv = 0; 151 info->initiator_id = VIRTIO_SCSI_INITIATOR_ID; 152 info->hba_queue_size = fConfig.cmd_per_lun != 0 ? fConfig.cmd_per_lun : 1; 153 memset(info->vuhba_flags, 0, sizeof(info->vuhba_flags)); 155 strlcpy(info->sim_vid, "Haiku", SCSI_SIM_ID); 156 strlcpy(info [all...] |
/haiku/src/add-ons/accelerants/common/ |
H A D | create_display_modes.cpp | 95 bool AddModes(edid1_info* info); 178 ModeList::AddModes(edid1_info* info) argument 180 if (info->established_timing.res_720x400x70) 182 if (info->established_timing.res_720x400x88) 185 if (info->established_timing.res_640x480x60) 187 if (info->established_timing.res_640x480x67) 189 if (info->established_timing.res_640x480x72) 191 if (info->established_timing.res_640x480x75) 194 if (info->established_timing.res_800x600x56) 196 if (info [all...] |
/haiku/src/servers/mail/ |
H A D | MailDaemonApplication.cpp | 106 fs_info info; local 107 if (fs_stat_dev(device, &info) < 0 108 || (info.flags & B_FS_HAS_QUERY) == 0) 219 app_info info; local 220 be_roster->GetAppInfo(B_MAIL_DAEMON_SIGNATURE, &info); 222 BNode node(&info.ref); 559 send_mails_info& info = iterator->second; local 560 if (info.bytes == 0) 563 protocol->SendMessages(info.files, info 579 BMessage info; local 863 _AddMessage(send_mails_info& info, const BEntry& entry, const BNode& node) argument [all...] |
/haiku/src/system/libnetwork/netresolv/net/ |
H A D | gethnamaddr.c | 569 struct getnamaddr info; local 645 info.hp = hp; 646 info.buf = buf; 647 info.buflen = buflen; 648 info.he = he; 649 if (nsdispatch(&info, dtab, NSDB_HOSTS, "gethostbyname", 687 struct getnamaddr info; local 729 info.hp = hp; 730 info.buf = buf; 731 info 947 struct getnamaddr *info = rv; local 1014 struct getnamaddr *info = rv; local 1111 _yp_hostent(char *line, int af, struct getnamaddr *info) argument 1246 struct getnamaddr *info = rv; local 1297 struct getnamaddr *info = rv; local [all...] |
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | dir.cpp | 200 struct _dirent_info_ info; local 204 result = _next_dirent_(iter, &info, filename, len); 208 } while ((info.mode & FAT_VOLUME) && (dir->vnid == vol->root_vnode.vnid)); 218 ino_t loc = (IS_DATA_CLUSTER(info.cluster)) 219 ? GENERATE_DIR_CLUSTER_VNID(dir->vnid, info.cluster) 220 : GENERATE_DIR_INDEX_VNID(dir->vnid, info.sindex); 245 if (info.mode & FAT_SUBDIR) { 246 if (dlist_find(vol, info.cluster) == -1LL) { 433 struct _dirent_info_ info; local 446 result = _next_dirent_(&diri, &info, filenam 495 struct _dirent_info_ info; local 572 _create_dir_entry_(nspace *vol, vnode *dir, struct _entry_info_ *info, const char nshort[11], const char *nlong, uint32 len, uint32 *ns, uint32 *ne) argument 627 struct _dirent_info_ info; local 767 struct _entry_info_ info = { local 821 struct _entry_info_ info; local 919 struct _dirent_info_ info; local [all...] |
/haiku/src/servers/media/ |
H A D | MediaFilesManager.cpp | 93 item_info& info = itemIterator->second; local 97 BPath path(&info.ref); 102 status = items.AddFloat("gain", info.gain); 137 const item_info& info = fileIterator->second; local 139 BPath path(&info.ref); 144 info.gain); 232 item_info* info; local 233 status_t status = _GetItem(type, item, info); 235 *_ref = &info->ref; 248 item_info* info; local 372 _GetItem(const char* type, const char* item, item_info*& info) argument 417 item_info info = itemMap[item]; local [all...] |
/haiku/src/kits/storage/disk_device/ |
H A D | DiskSystem.cpp | 368 user_disk_system_info info; 369 status_t error = _kern_get_disk_system_info(id, &info); 373 return _SetTo(&info); 379 BDiskSystem::_SetTo(const user_disk_system_info* info) argument 383 if (!info) 386 fID = info->id; 387 fName = info->name; 388 fShortName = info->short_name; 389 fPrettyName = info->pretty_name; 390 fFlags = info [all...] |
/haiku/src/system/kernel/disk_device_manager/ |
H A D | KDiskSystem.cpp | 123 KDiskSystem::GetInfo(user_disk_system_info *info) argument 125 if (!info) 128 info->id = ID(); 129 strlcpy(info->name, Name(), sizeof(info->name)); 130 strlcpy(info->short_name, ShortName(), sizeof(info->short_name)); 131 strlcpy(info->pretty_name, PrettyName(), sizeof(info->pretty_name)); 132 info [all...] |
/haiku/src/tests/kits/app/broster/ |
H A D | LaunchTesterHelper.cpp | 192 for (int32 i = 0; AppInfo *info = AppInfoAt(i); i++) 193 delete info; 271 AppInfo *info = CreateAppInfo(messenger); local 272 info->AddMessage(*message); 274 TerminateApp(info); 292 for (int32 i = 0; AppInfo *info = AppInfoAt(i); i++) 293 TerminateApp(info); 320 if (AppInfo *info = AppInfoFor(team)) 321 TerminateApp(info); 333 if (AppInfo *info 363 port_info info; local 684 AppInfo *info = AppInfoFor(team); local 696 TerminateApp(AppInfo *info) argument 744 AppInfo *info = NULL; local [all...] |
/haiku/src/add-ons/kernel/drivers/audio/ice1712/ |
H A D | ice1712.cpp | 59 pci_info info; local 67 while ((*pci->get_nth_pci_info)(ix, &info) == B_OK) { 68 if ((info.vendor_id == ICE1712_VENDOR_ID) 69 && (info.device_id == ICE1712_DEVICE_ID)) { 98 while ((*pci->get_nth_pci_info)(i, &cards[num_cards].info) == B_OK) { 100 if ((cards[num_cards].info.vendor_id == ICE1712_VENDOR_ID) 101 && (cards[num_cards].info.device_id == ICE1712_DEVICE_ID)) { 107 if ((err = (*pci->reserve_device)(cards[num_cards].info.bus, 108 cards[num_cards].info.device, 109 cards[num_cards].info [all...] |
/haiku/src/apps/diskusage/ |
H A D | InfoWindow.cpp | 73 BString stringTitle("%refName% info"); 77 InfoList info; local 95 info.push_back(Item(B_TRANSLATE_MARK("Size"), name.String())); 102 info.push_back(Item(B_TRANSLATE("Created"), tmp)); 105 info.push_back(Item(B_TRANSLATE("Modified"), tmp)); 110 info.push_back(Item(B_TRANSLATE("Kind"), tmp)); 116 info.push_back(Item(B_TRANSLATE("Path"), path)); 134 InfoList::iterator i = info.begin(); 135 while (i != info.end()) { 168 i = info [all...] |
/haiku/src/kits/media/ |
H A D | MediaDecoder.cpp | 24 const void *info, 29 SetTo(in_format, info, info_size); 57 const void *info, 71 err = SetInputFormat(in_format, info, info_size); 151 * the decoded buffer. The media_decode_info structure info is used 165 media_decode_info *info) 170 return fDecoder->Decode(out_buffer, out_frameCount, out_mh, info); 252 const void *info, 254 : BMediaDecoder(in_format, info, info_size) 273 media_decode_info *info) 23 BMediaDecoder(const media_format *in_format, const void *info, size_t info_size) argument 56 SetTo(const media_format *in_format, const void *info, size_t info_size) argument 162 Decode(void *out_buffer, int64 *out_frameCount, media_header *out_mh, media_decode_info *info) argument 251 BMediaBufferDecoder(const media_format *in_format, const void *info, size_t info_size) argument 268 DecodeBuffer(const void *input_buffer, size_t input_size, void *out_buffer, int64 *out_frameCount, media_header *out_mh, media_decode_info *info) argument [all...] |