/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/ |
H A D | AX88178Device.h | 21 AX88178Device(usb_device device, DeviceInfo& info);
|
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | Entry.cpp | 99 Entry::GetAllocationInfo(AllocationInfo &info) argument 101 info.AddEntryAllocation(); 102 info.AddStringAllocation(fName.GetLength()); 103 fNode->GetAllocationInfo(info);
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/ |
H A D | geode_multi.cpp | 189 ac97_source_info *info = (ac97_source_info *)cookie; local 195 value = ac97_reg_cached_read(controller->ac97, info->reg); 197 if (info->type & B_MIX_STEREO) { 198 mask = ((1 << (info->bits + 1)) - 1) << 8; 199 gain = ((value & mask) >> 8) * info->granularity; 200 if (info->polarity == 1) 201 values[0] = info->max_gain - gain; 203 values[0] = gain - info->min_gain; 205 mask = ((1 << (info->bits + 1)) - 1); 206 gain = (value & mask) * info 247 ac97_source_info *info = (ac97_source_info *)cookie; local 338 const ac97_source_info *info; local [all...] |
/haiku/src/apps/soundrecorder/ |
H A D | FileUtils.cpp | 88 attr_info info; local 89 if (src.GetAttrInfo(attrName, &info) != B_OK) { 90 fprintf(stderr, "Failed to read info for attribute '%s'\n", 98 ssize_t read = src.ReadAttr(attrName, info.type, offset, buffer, 99 std::min((off_t)size, info.size)); 106 ssize_t written = dst.WriteAttr(attrName, info.type, offset, 116 read = src.ReadAttr(attrName, info.type, offset, buffer, 117 std::min((off_t)size, info.size - offset));
|
/haiku/src/bin/ |
H A D | roster.cpp | 63 // Get info on team 64 app_info info; local 65 if (be_roster->GetRunningAppInfo(id, &info) != B_OK) 70 BEntry entry(&info.ref); 75 name = info.ref.name; 84 info.port, info.flags, info.signature);
|
H A D | listfont.cpp | 34 printf("\t-l --long long listing with more info (spacing, encoding,\n" 148 tuned_font_info info; local 149 font.GetTunedInfo(i, &info); 155 info.size, 156 info.shear, 157 info.rotation, 158 info.flags, 159 info.face);
|
/haiku/src/tools/cppunit/ |
H A D | ThreadedTestCase.cpp | 47 ThreadSubTestInfo *info = i->second; local 49 sprintf(num, "%" B_PRId32 "", info->subTestNum++); 50 string str = string("[") + info->name + fProgressSeparator + num 107 ThreadSubTestInfo *info = new ThreadSubTestInfo(); local 108 info->name = threadName; 109 info->subTestNum = 0; 110 fNumberMap[id] = info;
|
/haiku/src/system/boot/platform/efi/arch/riscv64/ |
H A D | arch_dtb.cpp | 50 platform_cpu_info* info; 51 arch_smp_register_cpu(&info); 52 if (info == NULL) 54 info->id = fdt32_to_cpu(*(uint32*)fdt_getprop(fdt, node, 57 dprintf(" id: %" B_PRIu32 "\n", info->id); 63 info->phandle = fdt_get_phandle(fdt, subNode); 64 dprintf(" phandle: %" B_PRIu32 "\n", info->phandle);
|
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | LeafAttribute.cpp | 356 return offsetof(AttrLeafHeaderV5::OnDiskData, info.crc); 393 fData.info.forw = B_BENDIAN_TO_HOST_INT32(fData.info.forw); 394 fData.info.back = B_BENDIAN_TO_HOST_INT32(fData.info.back); 395 fData.info.magic = B_BENDIAN_TO_HOST_INT16(fData.info.magic); 396 fData.info.pad = B_BENDIAN_TO_HOST_INT16(fData.info.pad); 418 return fData.info [all...] |
/haiku/src/build/libroot/ |
H A D | sem.cpp | 178 _get_sem_info(sem_id id, struct sem_info *info, size_t infoSize)
argument 183 if (!info)
186 info->sem = id;
187 info->team = 1;
188 strlcpy(info->name, sSemaphores[id].name, sizeof(info->name));
189 info->count = sSemaphores[id].count;
190 info->latest_holder = -1;
197 _get_next_sem_info(team_id team, int32 *cookie, struct sem_info *info,
argument 206 return _get_sem_info(i, info, infoSiz [all...] |
/haiku/src/system/boot/platform/amiga_m68k/ |
H A D | video.cpp | 123 struct DisplayInfo info; local 126 if (GetDisplayInfoData(NULL, (uint8 *)&info, sizeof(info), 135 if (info.NotAvailable) 137 if (info.PropertyFlags & DIPF_IS_HAM) 139 if (info.PropertyFlags & DIPF_IS_DUALPF) 149 modeID, info.Resolution.x, info.Resolution.y, info.PropertyFlags, 150 info [all...] |
/haiku/src/system/libroot/posix/time/ |
H A D | timer_support.cpp | 28 info_to_itimerspec(const user_timer_info& info, itimerspec& spec) argument 30 bigtime_to_timespec(info.interval, spec.it_interval); 33 if (info.remaining_time != B_INFINITE_TIMEOUT) { 34 bigtime_to_timespec(info.remaining_time, spec.it_value); 139 user_timer_info info; local 140 status_t error = _kern_get_timer(timer->id, timer->thread, &info); 144 info_to_itimerspec(info, *value); 170 // translate old info back 181 user_timer_info info; local 182 status_t error = _kern_get_timer(timer->id, timer->thread, &info); [all...] |
/haiku/src/apps/diskusage/ |
H A D | StatusView.cpp | 119 StatusView::ShowInfo(const FileInfo* info) argument 121 if (info == fCurrentFileInfo) 124 fCurrentFileInfo = info; 126 if (info == NULL) { 133 if (!info->pseudo) { 134 BNode node(&info->ref); 145 info->GetPath(path); 151 string_for_size(info->size, label, sizeof(label)); 154 if (info->count > 0) { 158 format.Format(label, info [all...] |
/haiku/src/kits/debugger/target_host_interface/ |
H A D | TargetHostInterfaceRoster.cpp | 35 for (int32 i = 0; TargetHostInterfaceInfo* info 37 info->ReleaseReference(); 100 TargetHostInterfaceInfo* info = NULL; local 105 info = new(std::nothrow) type##TargetHostInterfaceInfo; \ 106 if (info == NULL) \ 108 interfaceReference.SetTo(info, true); \ 109 if (info->Init() != B_OK) \ 111 if (!fInterfaceInfos.AddItem(info)) \ 137 TargetHostInterfaceRoster::CreateInterface(TargetHostInterfaceInfo* info, argument 146 status_t error = info [all...] |
/haiku/src/apps/processcontroller/ |
H A D | ThreadBarMenuItem.cpp | 148 thread_info info; local 149 if (get_thread_info(fThreadID, &info) == B_OK) { 151 fKernel = double(info.kernel_time - fThreadInfo.kernel_time) / double(now - fLastTime); 152 fUser = double(info.user_time - fThreadInfo.user_time) / double(now - fLastTime); 153 if (info.priority == B_IDLE_PRIORITY) { 157 fThreadInfo.user_time = info.user_time; 158 fThreadInfo.kernel_time = info.kernel_time; 162 if (popup && info.priority != fThreadInfo.priority) 163 popup->Update (info.priority); 165 fThreadInfo.priority = info [all...] |
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_phy.h | 95 * info element of MLME */ 100 } info[IEEE80211_RATE_TABLE_SIZE]; member in struct:ieee80211_rate_table 117 cix = rt->info[rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]].ctlRateIndex; 118 KASSERT(cix != (uint8_t)-1, ("rate %d has no info", rate)); 119 return rt->info[cix].dot11Rate; 133 cix = rt->info[rt->rateCodeToIndex[rate & IEEE80211_RATE_VAL]].ctlRateIndex; 134 KASSERT(cix != (uint8_t)-1, ("rate %d has no info", rate)); 135 return rt->info[cix].dot11Rate; 150 KASSERT(rix != (uint8_t)-1, ("rate %d has no info", rate)); 151 return (enum ieee80211_phytype)rt->info[ri [all...] |
/haiku/src/add-ons/screen_savers/flurry/ |
H A D | Smoke.cpp | 85 UpdateSmoke_ScalarBase(flurry_info_t* info, SmokeV* s) argument 87 float sx = info->star->position[0]; 88 float sy = info->star->position[1]; 89 float sz = info->star->position[2]; 97 if (info->fTime - s->lastParticleTime >= 1.0f / 121.0f) { 115 for(int i=0; i < info->numStreams; i++) { 130 - info->spark[i]->position[0]; 132 - info->spark[i]->position[1]; 134 - info->spark[i]->position[2]; 147 = info 248 DrawSmoke_Scalar(flurry_info_t* info, SmokeV* s, float brightness) argument [all...] |
/haiku/src/kits/translation/ |
H A D | FuncTranslator.cpp | 50 return fData.info; 95 BMessage* ioExtension, translator_info* info, uint32 type) 100 return fData.identify_hook(source, format, ioExtension, info, type); 105 BFuncTranslator::Translate(BPositionIO* source, const translator_info *info, argument 111 return fData.translate_hook(source, info, ioExtension, type, destination); 94 Identify(BPositionIO* source, const translation_format* format, BMessage* ioExtension, translator_info* info, uint32 type) argument
|
/haiku/src/tests/system/libroot/os/ |
H A D | fs_attr_test.cpp | 22 attr_info info; local 23 if (fs_stat_attr(fd, attribute, &info) != 0) { 29 if (info.size != length) { 31 "%lld\n", data, length, info.size); 35 if (info.type != type) {
|
/haiku/headers/private/kernel/ |
H A D | port.h | 41 status_t select_port(int32 object, struct select_info *info, bool kernel); 42 status_t deselect_port(int32 object, struct select_info *info, bool kernel); 54 status_t _user_get_port_info(port_id id, struct port_info *info); 56 struct port_info *info); 71 port_message_info *info, size_t infoSize, uint32 flags,
|
/haiku/src/tests/kits/interface/layout/widget_layout_test/ |
H A D | GroupView.cpp | 207 // apply constraints to column/row info 272 LayoutInfo* info = (LayoutInfo*)infosToLayout.ItemAt(i); local 273 info->size += (i + 1) * size / infosToLayoutCount 275 if (info->size < info->min) { 276 sizeDiff -= info->min - info->size; 277 info->size = info->min; 278 } else if (info [all...] |
/haiku/src/kits/debugger/model/ |
H A D | Thread.cpp | 68 Thread::SetState(uint32 state, uint32 reason, const BString& info) argument 75 fStoppedReasonInfo = info; 132 Thread::AddReturnValueInfo(ReturnValueInfo* info) argument 134 if (!fReturnValueInfos->AddItem(info)) 137 info->AcquireReference();
|
/haiku/src/apps/debugger/user_interface/gui/connection_config/ |
H A D | ConnectionConfigHandlerRoster.cpp | 77 ConnectionConfigHandlerRoster::HasHandlerFor(TargetHostInterfaceInfo* info) 81 return _GetHandler(info->Name(), handler); 86 ConnectionConfigHandlerRoster::CreateConfigView(TargetHostInterfaceInfo* info, argument 92 if (!_GetHandler(info->Name(), handler)) 95 return handler->CreateView(info, listener, _view);
|
/haiku/src/system/libroot/posix/ |
H A D | dlfcn.c | 78 dladdr(const void *address, Dl_info *info) argument 95 info->dli_fname = imagePath; 96 info->dli_fbase = imageInfo.text; 97 info->dli_sname = symbolName; 98 info->dli_saddr = location;
|
/haiku/src/system/boot/platform/efi/arch/arm64/ |
H A D | arch_dtb.cpp | 45 platform_cpu_info* info = NULL; local 46 arch_smp_register_cpu(&info); 47 if (info == NULL) 49 info->id = fdt32_to_cpu(*(uint32*)fdt_getprop(fdt, node, 52 dprintf(" id: %" B_PRIu32 "\n", info->id);
|