/haiku-fatelf/src/add-ons/kernel/file_systems/ext2/ |
H A D | ExtentStream.cpp | 51 fileblock_t index = offset >> fVolume->BlockShift(); local 52 TRACE("FindBlock(%lld, %lld)\n", offset, index); 69 && stream->extent_index[i].LogicalBlock() <= index) { 72 TRACE("FindBlock() getting index %ld at %lld\n", i - 1, 87 if (stream->extent_entries[middle].LogicalBlock() == index) 89 if (stream->extent_entries[middle].LogicalBlock() < index) 94 if (stream->extent_entries[middle].LogicalBlock() > index) 96 fileblock_t diff = index 100 TRACE("FindBlock() sparse block index %lld at %ld\n", index, 273 int32 index = stream->extent_header.NumEntries(); local 317 int32 index = stream->extent_header.NumEntries(); local 346 int32 index = stream->extent_header.NumEntries(); local 394 int32 index = stream->extent_header.NumEntries() - 1; local 436 uint16 index = stream->extent_header.NumEntries() - 1; local 490 ext2_extent_index &index = stream->extent_index[i]; local 532 ext2_extent_index &index = stream->extent_index[i]; local [all...] |
/haiku-fatelf/src/add-ons/translators/jpeg2000/ |
H A D | JPEG2000Translator.cpp | 105 int32 index = 0; local 108 scanline[index++] = (jpr_uchar_t)jas_matrix_getv(pixels[2], x); 109 scanline[index++] = (jpr_uchar_t)jas_matrix_getv(pixels[1], x); 110 scanline[index++] = (jpr_uchar_t)jas_matrix_getv(pixels[0], x); 111 scanline[index++] = 255; 121 int32 index = 0; local 126 scanline[index++] = color; 127 scanline[index++] = color; 128 scanline[index++] = color; 129 scanline[index 141 int32 index = 0; local 173 int32 index = 0; local 191 int32 index = 0; local 250 int32 index = 0; local 275 int32 index = 0; local 300 int32 index = 0; local 325 int32 index = 0; local 349 int32 index = 0; local 367 int32 index = 0; local 385 int32 index = 0; local 404 int32 index = 0; local 424 int32 index = 0; local 444 int32 index = 0; local [all...] |
/haiku-fatelf/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 696 _SectionHeaderAt(int32 index) argument 706 _LoadSection(int32 index) argument [all...] |
/haiku-fatelf/headers/os/app/ |
H A D | Message.h | 64 status_t GetInfo(type_code typeRequested, int32 index, 119 status_t AddSpecifier(const char* property, int32 index); 120 status_t AddSpecifier(const char* property, int32 index, 126 status_t SetCurrentSpecifier(int32 index); 127 status_t GetCurrentSpecifier(int32* index, 170 status_t RemoveData(const char* name, int32 index = 0); 177 status_t FindAlignment(const char* name, int32 index, 181 status_t FindRect(const char* name, int32 index, 185 status_t FindPoint(const char* name, int32 index, 189 status_t FindSize(const char* name, int32 index, [all...] |
/haiku-fatelf/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-fatelf/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-fatelf/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-fatelf/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-fatelf/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-fatelf/headers/os/interface/ |
H A D | ListView.h | 85 virtual BListItem* RemoveItem(int32 index); 86 virtual bool RemoveItems(int32 index, int32 count); 99 BListItem* ItemAt(int32 index) const; 112 void InvalidateItem(int32 index); 115 void Select(int32 index, bool extend = false); 118 bool IsItemSelected(int32 index) const; 119 int32 CurrentSelection(int32 index = 0) const; 125 void Deselect(int32 index); 138 bool ReplaceItem(int32 index, BListItem* item); 140 BRect ItemFrame(int32 index); 160 struct Replace { int32 index; BListItem *item; } replace; member in struct:BListView::MiscData::Replace [all...] |
/haiku-fatelf/headers/private/kernel/util/ |
H A D | VectorSet.h | 154 int32 index = _FindInsertionIndex(value, exists); local 157 fElements[index] = value; 160 return fElements.Insert(value, index); 174 int32 index = _FindInsertionIndex(value, exists); local 177 fElements.Erase(index); 338 int32 index = _FindInsertionIndex(value, exists); local 341 return fElements.IteratorForIndex(index); 356 int32 index = _FindInsertionIndex(value, exists); local 359 return fElements.IteratorForIndex(index); 390 int32 index local 431 int32 index = _FindInsertionIndex(value, exists); local [all...] |
/haiku-fatelf/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-fatelf/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 329 for (index = 0; index < stream->num_buffers; index 455 int index; local [all...] |
/haiku-fatelf/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-fatelf/src/apps/serialconnect/libvterm/src/ |
H A D | pen.c | 36 static void lookup_colour_ansi(long index, char is_bg, VTermColor *col) argument 38 if(index >= 0 && index < 16) { 39 *col = ansi_colors[index]; 45 long index; local 59 index = argcount ? CSI_ARG_OR(args[0], -1) : -1; 61 if(index >= 0 && index < 16) { 63 lookup_colour_ansi(index, is_bg, col); 65 else if(index > [all...] |
/haiku-fatelf/src/bin/gdb/bfd/ |
H A D | hash.c | 375 unsigned int index; local 389 index = hash % table->size; 390 for (hashp = table->table[index]; 421 hashp->next = table->table[index]; 422 table->table[index] = hashp; 435 unsigned int index; local 438 index = old->hash % table->size; 439 for (pph = &table->table[index]; 513 size_t index; 516 for (index 512 size_t index; local 540 bfd_size_type index; member in struct:strtab_hash_entry [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/headers/shared/ |
H A D | KMessage.h | 61 status_t FindData(const char *name, type_code type, int32 index, 64 inline status_t FindBool(const char *name, int32 index, bool *value) const; 66 inline status_t FindInt8(const char *name, int32 index, int8 *value) const; 68 inline status_t FindInt16(const char *name, int32 index, int16 *value) const; 70 inline status_t FindInt32(const char *name, int32 index, int32 *value) const; 72 inline status_t FindInt64(const char *name, int32 index, int64 *value) const; 74 inline status_t FindString(const char *name, int32 index, 132 type_code type, int32 index, T *value) const; 158 const void *ElementAt(int32 index, int32 *size = NULL) const; 243 KMessage::FindBool(const char *name, int32 index, boo argument 259 FindInt8(const char *name, int32 index, int8 *value) const argument 275 FindInt16(const char *name, int32 index, int16 *value) const argument 291 FindInt32(const char *name, int32 index, int32 *value) const argument 307 FindInt64(const char *name, int32 index, int64 *value) const argument 323 FindString(const char *name, int32 index, const char **value) const argument [all...] |
/haiku-fatelf/headers/private/kernel/platform/openfirmware/ |
H A D | openfirmware.h | 32 int &Argument(int index) { return data[index]; } argument 33 int &ReturnValue(int index) { return data[num_args + index]; } argument
|
/haiku-fatelf/src/add-ons/accelerants/s3/ |
H A D | savage_edid.cpp | 26 uint32 index = (uint32)cookie; local 27 uint8 value = ReadCrtcReg(index); 38 uint32 index = (uint32)cookie; local 46 WriteCrtcReg(index, value);
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/wwan/usb_beceemwmx/ |
H A D | BeceemLED.cpp | 158 int index = 0; local 162 for (index = 0; index < NUM_OF_LEDS; index++) { 163 if (pwmxdevice->LEDMap.LEDState[index].GPIO_Num != GPIO_DISABLE_VAL) 164 LEDOff(index); 204 BeceemLED::LEDOn(uint32 index) argument 208 uint32 gpio_towrite = 1 << pwmxdevice->LEDMap.LEDState[index].GPIO_Num; 210 if (pwmxdevice->LEDMap.LEDState[index].BitPolarity == 0) 219 index, gpio_towrit 233 LEDOff(uint32 index) argument [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/ramfs/ |
H A D | File.cpp | 39 // update the size index, if our size has changed 43 if (SizeIndex *index = GetVolume()->GetSizeIndex()) 44 index->Changed(this, oldSize); 58 // update the size index 59 if (SizeIndex *index = GetVolume()->GetSizeIndex()) 60 index->Changed(this, oldSize);
|
H A D | SymLink.cpp | 32 // update the size index 33 if (SizeIndex *index = GetVolume()->GetSizeIndex()) 34 index->Changed(this, oldSize); 54 // update the size index, if necessary 58 if (SizeIndex *index = GetVolume()->GetSizeIndex()) 59 index->Changed(this, oldLen);
|
/haiku-fatelf/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-fatelf/src/add-ons/media/plugins/musepack/ |
H A D | MusePack.h | 17 Decoder * NewDecoder(uint index);
|
/haiku-fatelf/src/add-ons/tracker/opentargetfolder/ |
H A D | opentargetfolder.cpp | 28 int32 index; local 29 for (index = 0; msg->FindRef("refs", index, &ref) == B_OK; index ++) {
|