/haiku/src/tools/elfsymbolpatcher/ |
H A D | ElfFile.cpp | 234 ElfSymbol::ElfSymbol(ElfSection* section, int32 index) argument 236 fIndex(index), 249 ElfSymbol::SetTo(ElfSection* section, int32 index) argument 253 fIndex = index; 320 uint32 index = SHN_UNDEF; local 322 index = symbol->st_shndx; 323 return index; 330 ElfRelocation::ElfRelocation(ElfSection* section, int32 index) argument 332 fIndex(index), 345 ElfRelocation::SetTo(ElfSection* section, int32 index) argument 397 uint32 index = 0; local 419 uint32 index = GetSymbolIndex(); local 557 GetStringSectionStrings(int32 index, size_t* _size) argument 573 SectionAt(int32 index, bool load) argument 695 _SectionHeaderAt(int32 index) argument 705 _LoadSection(int32 index) argument [all...] |
/haiku/src/kits/tracker/ |
H A D | Tracker.cpp | 346 int32 index = 0; local 348 while ((window = WindowAt(index++)) != NULL) { 408 for (int32 index = 0; 409 message.FindString("paths", index, &target) 410 == B_OK; index++) { 632 for (int32 index = 0; index < count; index++) { 634 fWindowList.ItemAt(index)); 722 for (int32 index 1722 int32 index; local [all...] |
/haiku/src/add-ons/kernel/bus_managers/firewire/ |
H A D | fwohci_pci.cpp | 73 fwohci_pci_detach(int index) argument 75 fwohci_softc_t *sc = gFwohci_softc[index]; 83 firewire_detach(gFirewire_softc[index]); 101 fwohci_pci_add_child(int index) argument 106 sc = gFwohci_softc[index]; 116 err = firewire_attach(&sc->fc, gFirewire_softc[index]); 121 fwohci_pci_detach(index); 140 fwohci_pci_attach(int index) argument 142 fwohci_softc_t *sc = gFwohci_softc[index]; 143 pci_info *info = pciInfo[index]; [all...] |
/haiku/src/add-ons/print/drivers/gutenprint/ |
H A D | SelectPrinterDialog.cpp | 113 for (int32 index = 0; binding.ExtractManufacturer(manufacturers, index, id, 114 displayName); index ++) { 133 for (int32 index = 0; binding.ExtractModel(models, index, displayName, driver); 134 index ++) { 144 int32 index = listView->CurrentSelection(); local 147 if (index < 0) 149 BListItem* item = listView->ItemAt(index); 159 int32 index local [all...] |
/haiku/src/apps/debuganalyzer/model/ |
H A D | ThreadModel.h | 32 inline WaitObjectGroup* WaitObjectGroupAt(int32 index) const; 39 int32 index) const; 75 inline Model::ThreadWaitObject* WaitObjectAt(int32 index) const; 102 ThreadModel::WaitObjectGroupAt(int32 index) const 104 return fWaitObjectGroups.ItemAt(index); 116 ThreadModel::SchedulingEventAt(int32 index) const 118 return fSchedulingEvents.ItemAt(index); 168 ThreadModel::WaitObjectGroup::WaitObjectAt(int32 index) const 170 return index >= 0 && index < fCoun [all...] |
/haiku/src/apps/icon-o-matic/generic/property/specific_properties/ |
H A D | OptionProperty.cpp | 202 OptionProperty::GetOption(int32 index, BString* string, int32* id) const argument 204 if (option* o = (option*)fOptions.ItemAt(index)) { 237 int32 index = -1; local 240 index = i; 243 if (index >= 0) { 244 // offset index 245 index += indexOffset; 246 // keep index in range by wrapping arround 247 if (index >= fOptions.CountItems()) 248 index [all...] |
/haiku/src/system/kernel/arch/m68k/paging/040/ |
H A D | M68KPagingMethod040.cpp | 310 int32 index = (addr_t)virtualBase / (B_PAGE_SIZE * SLOTS_PER_POOL); 312 = &map->PagingStructures040()->pgdir_virt[index]; 315 M68KPagingStructures040::UpdateAllPageDirs(index, *entry); 486 uint32 index; local 493 index = VADDR_TO_PRENT(va); 494 if (PRE_TYPE(pr[index]) != DT_ROOT) { 495 unsigned aindex = index & ~(NUM_DIRTBL_PER_PAGE-1); /* aligned */ 496 TRACE("missing page root entry %d ai %d\n", index, aindex); 515 pd = (page_directory_entry *)PRE_TO_TA(pr[index]); 517 index 680 size_t index; local 715 int32 index; local [all...] |
/haiku/src/preferences/mail/ |
H A D | FilterList.cpp | 73 FilterList::InfoAt(int32 index) const 75 return fList[index]; 92 FilterList::SimpleName(int32 index, argument 95 return DescriptiveName(index, accountSettings, NULL); 108 FilterList::DescriptiveName(int32 index, argument 112 if (index < 0 || index >= CountInfos()) 115 const FilterInfo& info = InfoAt(index); 134 int32 index = InfoIndexFor(ref); local 135 if (index < [all...] |
/haiku/src/tools/mbrtool/ |
H A D | mbrtool.cpp | 94 createPartition(int handle, int index, bool active, uint8_t type, 112 TRACE("%s: #%d %c bytes: %u-%u, sectors: %u-%u\n", __func__, index, 116 ssize_t written = pwrite(handle, partition, 16, 512 - 2 - 16 * (4 - index)); 168 for (int index = optind; index < argc; index++) { 170 imageFile = argv[index]; 172 partIndex = atoi(argv[index]); 174 partType = (int)strtol(argv[index], NULL, 0); 176 partStartOffset = (int64_t)strtol(argv[index], NUL [all...] |
/haiku/src/tests/kits/app/bmessage/ |
H A D | MessageMessageItemTest.h | 29 static status_t Find(BMessage& msg, const char* name, int32 index, 32 static BMessage QuickFind(BMessage& msg, const char* name, int32 index); 33 static bool Has(BMessage& msg, const char* name, int32 index); 34 static status_t Replace(BMessage& msg, const char* name, int32 index, 37 int32 index, const void** data, ssize_t* size); 65 int32 index, BMessage* val) 67 return msg.FindMessage(name, index, val); 77 int32 index) 80 msg.FindMessage(name, index, &val); 85 int32 index) 64 Find(BMessage& msg, const char* name, int32 index, BMessage* val) argument 76 QuickFind(BMessage& msg, const char* name, int32 index) argument 84 Has(BMessage& msg, const char* name, int32 index) argument 90 Replace(BMessage& msg, const char* name, int32 index, BMessage& val) argument 96 FindData(BMessage& msg, const char* name, type_code type, int32 index, const void** data, ssize_t* size) argument 139 operator [](int index) argument [all...] |
/haiku/headers/private/kernel/util/ |
H A D | VectorSet.h | 131 int32 index = _FindInsertionIndex(value, exists); local 134 fElements[index] = value; 137 return fElements.Insert(value, index); 151 int32 index = _FindInsertionIndex(value, exists); local 154 fElements.Erase(index); 315 int32 index = _FindInsertionIndex(value, exists); local 318 return fElements.IteratorForIndex(index); 333 int32 index = _FindInsertionIndex(value, exists); local 336 return fElements.IteratorForIndex(index); 367 int32 index local 408 int32 index = _FindInsertionIndex(value, exists); local [all...] |
/haiku/src/libs/icon/generic/ |
H A D | Container.h | 34 virtual void ItemAdded(Type* item, int32 index) = 0; 54 bool AddItem(Type* item, int32 index); 56 Type* RemoveItem(int32 index); 64 Type* ItemAt(int32 index) const; 65 Type* ItemAtFast(int32 index) const; 71 void _NotifyItemAdded(Type* item, int32 index) const; 124 Container<Type>::AddItem(Type* item, int32 index) argument 133 if (fItems.AddItem((void*)item, index)) { 134 _NotifyItemAdded(item, index); 158 Container<Type>::RemoveItem(int32 index) argument [all...] |
/haiku/src/add-ons/network_settings/dialup/ |
H A D | GeneralAddon.cpp | 79 for(int32 index = 0; Addons()->FindPointer(DUN_DEVICE_ADDON_TYPE, index, 80 reinterpret_cast<void**>(&addon)) == B_OK; index++) 123 int32 index = 0; local 125 if(!FindMessageParameter(PPP_DEVICE_KEY, *fSettings, &device, &index)) 134 fSettings->ReplaceMessage(MDSU_PARAMETERS, index, &device); 156 for(int32 index = 0; item.FindString(MDSU_VALUES, index, &name) == B_OK; index++) { 337 for(int32 index 352 int32 index = 0; local 566 int32 index = menu->IndexOf(menu->FindMarked()); local [all...] |
/haiku/src/apps/webpositive/tabview/ |
H A D | TabContainerView.cpp | 172 TabContainerView::AddTab(const char* label, int32 index) argument 181 AddTab(tab, index); 186 TabContainerView::AddTab(TabView* tab, int32 index) argument 190 if (index == -1) 191 index = GroupLayout()->CountItems() - 1; 195 GroupLayout()->AddItem(index, tab->LayoutItem()); 200 bool isLast = index == GroupLayout()->CountItems() - 1; 203 = dynamic_cast<TabLayoutItem*>(GroupLayout()->ItemAt(index - 1)); 215 TabContainerView::RemoveTab(int32 index) argument 218 = dynamic_cast<TabLayoutItem*>(GroupLayout()->RemoveItem(index)); 284 SelectTab(int32 index) argument 312 int32 index = -1; local 325 SetTabLabel(int32 index, const char* label) argument 337 SetFirstVisibleTabIndex(int32 index) argument [all...] |
/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/ |
H A D | geode_controller.cpp | 142 for (uint32 index = 0; index < GEODE_MAX_STREAMS; index++) { 143 if (controller->streams[index] 144 && (intr & controller->streams[index]->status) != 0) { 146 controller->streams[index]); 278 uint32 index; local 330 for (index = 0; index < stream->num_buffers; index 456 int index; local [all...] |
/haiku/src/add-ons/translators/pcx/ |
H A D | PCX.cpp | 98 uint32 index = 0; local 107 if (index + count - 1 > scanLineLength) { 116 line[index++] = x; 118 line[index++] = x; 120 } while (index < scanLineLength); 177 uint16 index; local 179 index = (line[i >> 1] >> 4) & 15; 181 index = line[i >> 1] & 15; 182 TRACE("target writing 4 i %d index %d\n", i, index); 198 uint16 index = line[i]; local [all...] |
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | CheckVisitor.cpp | 311 check_index* index = new(std::nothrow) check_index; local 312 if (index == NULL) 315 strlcpy(index->name, treeName, sizeof(index->name)); 316 index->run = inode->BlockRun(); 317 Indices().Push(index); 439 uint32 index = block / 32; // 32bit resolution local 440 if (index > size / 4) 443 return BFS_ENDIAN_TO_HOST_INT32(fCheckBitmap[index]) 452 uint32 index local 519 int32 index = 0; local 682 check_index* index = Indices().Array()[i]; local 715 check_index* index = Indices().Array()[i]; local 732 check_index* index = Indices().Array()[i]; local [all...] |
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/ |
H A D | test.cpp | 74 node->overflow_link == BPLUSTREE_NULL ? "leaf" : "index", 350 printf("\nkeys don't match (key index = %lld, %ld times in tree, " 469 int32 index = int32(1.0 * gNum * rand() / RAND_MAX); local 470 if (index == gNum) 471 index = gNum - 1; 474 dumpKey(gKeys[index].data, gKeys[index].length); 484 insertTotal + gKeys[index].in); 488 status = tree->Insert(transaction, (uint8*)gKeys[index].data, 489 gKeys[index] 544 int32 index = int32(1.0 * gNum * rand() / RAND_MAX); local 582 int32 index = int32(1.0 * gNum * rand() / RAND_MAX); local [all...] |
/haiku/src/apps/serialconnect/libvterm/src/ |
H A D | pen.c | 36 static void lookup_colour_ansi(const VTermState *state, long index, VTermColor *col) argument 38 if(index >= 0 && index < 16) { 39 *col = state->colors[index]; 43 static void lookup_colour_palette(const VTermState *state, long index, VTermColor *col) argument 45 if(index >= 0 && index < 16) { 47 lookup_colour_ansi(state, index, col); 49 else if(index >= 16 && index < 23 67 lookup_colour(const VTermState *state, int palette, const long args[], int argcount, VTermColor *col, int *index) argument 189 vterm_state_get_palette_color(const VTermState *state, int index, VTermColor *col) argument 200 vterm_state_set_palette_color(VTermState *state, int index, const VTermColor *col) argument [all...] |
/haiku/src/add-ons/kernel/bus_managers/virtio/ |
H A D | VirtioQueue.cpp | 276 uint16 index = descriptorIndex; local 277 if ((fRing.desc[index].flags & VRING_DESC_F_INDIRECT) == 0) { 278 while ((fRing.desc[index].flags & VRING_DESC_F_NEXT) != 0) { 279 index = fRing.desc[index].next; 287 fRing.desc[index].next = fRingHeadIndex; 315 uint16 index = QueueVector(insertIndex, fRing.desc, vector, local 318 fRingHeadIndex = index; 343 uint16 index = QueueVector(0, fDescriptors[insertIndex]->Indirect(), local 347 fRing.desc[insertIndex].len = index * sizeo 361 UpdateAvailable(uint16 index) argument 376 uint16 index = insertIndex; local [all...] |
/haiku/src/apps/haikudepot/ui/ |
H A D | FeaturedPackagesView.cpp | 170 void _MessageSelectIndex(int32 index) const 172 if (index != -1) { 174 BString packageName = fPackages[index]->Name(); 200 int32 index = _IndexOfPackage(package); local 201 if (index >= 0) { 202 fPackages[index] = package; 203 Invalidate(_RectOfIndex(index)); 228 int32 index = _IndexOfName(name); local 229 if (index != -1) 230 Invalidate(_RectOfIndex(index)); 313 int32 index = _IndexOfPackage(package); local 336 _SelectIndex(int32 index) argument 392 _DrawPackageAtIndex(BRect updateRect, int32 index) argument 399 _DrawPackage(BRect updateRect, PackageInfoRef pkg, int index, float y, bool selected) argument 568 _EnsureIndexVisible(int32 index) argument 589 _IsIndexEntirelyVisible(int32 index) argument 612 int index = _IndexOfPackage(package); local [all...] |
/haiku/src/add-ons/media/media-add-ons/radeon/ |
H A D | Theater.h | 81 int Register(int index); 83 int Register(int index, int mask); 85 void SetRegister(int index, int value); 87 void SetRegister(int index, int mask, int value);
|
/haiku/src/apps/cortex/support/ |
H A D | MultiInvoker.h | 71 virtual void RemoveTarget(int32 index); 74 BHandler* TargetAt(int32 index, BLooper** looper=0) const; 75 BMessenger* MessengerAt(int32 index) const; 76 bool IsTargetLocal(int32 index) const;
|
/haiku/src/apps/haiku3d/ |
H A D | Mesh.h | 34 virtual Face& GetFace(uint32 index) const = 0;
|
/haiku/src/apps/haiku3d/mesh/ |
H A D | StaticMesh.h | 20 virtual Face& GetFace(uint32 index) const;
|