/haiku-fatelf/src/apps/soundrecorder/ |
H A D | DrawingTidbits.cpp | 61 for (int32 index = 0; index < bitsLength; index++) 62 if (bits[index] == fromIndex) 63 bits[index] = toIndex; 77 for (int32 index = 0; index < bitsLength; index++) 78 if (bits[index] == B_TRANSPARENT_8_BIT) 79 bits[index] [all...] |
/haiku-fatelf/src/tests/kits/app/bmessage/ |
H A D | MessagePointerItemTest.h | 29 static status_t Find(BMessage& msg, const char* name, int32 index, argument 31 { return msg.FindPointer(name, index, (void**)val); } 34 static const void* QuickFind(BMessage& msg, const char* name, int32 index) argument 37 msg.FindPointer(name, index, (void**)&ptr); 40 static bool Has(BMessage& msg, const char* name, int32 index) argument 41 { return msg.HasPointer(name, index); } 42 static status_t Replace(BMessage& msg, const char* name, int32 index, argument 44 { return msg.ReplacePointer(name, index, val); } 46 int32 index, const void** data, ssize_t* size) 47 { return msg.FindData(name, type, index, dat 45 FindData(BMessage& msg, const char* name, type_code type, int32 index, const void** data, ssize_t* size) argument [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/geode/ |
H A D | geode_multi.cpp | 319 create_group_control(geode_multi *multi, uint32 *index, uint32 parent, argument 321 int32 i = *index; 322 (*index)++; 338 uint32 i = 0, index = 0, count, id, parent, parent2, parent3; local 342 parent = create_group_control(multi, &index, 0, S_null, "AC97 mixer"); 351 parent2 = create_group_control(multi, &index, parent, S_null, info->name); 355 multi->controls[index].mix_control.id = MULTI_CONTROL_FIRSTID + index; 356 multi->controls[index].mix_control.flags = B_MULTI_MIX_ENABLE; 357 multi->controls[index] [all...] |
/haiku-fatelf/headers/private/shared/ |
H A D | OpenHashTable.h | 66 Element &At(int32 index); 69 void Remove(int32 index); 108 // invalid; to deal with this, get the element index and restore 111 Element *ElementAt(int32 index) const; 143 Element &At(int32 index); 144 const Element &At(int32 index) const; 147 void Remove(int32 index); 176 for (int32 index = 0; index < fArraySize; index 310 int32 index = fHashArray[i]; local 364 int32 index = fHashArray[i]; local 411 At(int32 index) argument 498 Remove(int32 index) argument [all...] |
/haiku-fatelf/src/apps/webpositive/support/ |
H A D | OpenHashTable.h | 66 Element &At(int32 index); 69 void Remove(int32 index); 108 // invalid; to deal with this, get the element index and restore 111 Element *ElementAt(int32 index) const; 143 Element &At(int32 index); 144 const Element &At(int32 index) const; 147 void Remove(int32 index); 176 for (int32 index = 0; index < fArraySize; index 310 int32 index = fHashArray[i]; local 364 int32 index = fHashArray[i]; local 411 At(int32 index) argument 498 Remove(int32 index) argument [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/headers/shared/ |
H A D | OpenHashTable.h | 62 Element &At(int32 index); 65 void Remove(int32 index); 104 // invalid; to deal with this, get the element index and restore 107 Element *ElementAt(int32 index) const; 139 Element &At(int32 index); 140 const Element &At(int32 index) const; 143 void Remove(int32 index); 172 for (int32 index = 0; index < fArraySize; index 306 int32 index = fHashArray[i]; local 360 int32 index = fHashArray[i]; local 407 At(int32 index) argument 494 Remove(int32 index) argument [all...] |
/haiku-fatelf/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/ |
H A D | Response.cpp | 40 ArgumentList::StringAt(int32 index) const 42 if (index >= 0 && index < CountItems()) { 44 = dynamic_cast<StringArgument*>(ItemAt(index))) 52 ArgumentList::IsStringAt(int32 index) const 54 if (index >= 0 && index < CountItems()) { 55 if (dynamic_cast<StringArgument*>(ItemAt(index)) != NULL) 63 ArgumentList::EqualsAt(int32 index, const char* string) const argument 65 return StringAt(index) 94 IsListAt(int32 index, char kind) const argument 360 int32 index = 0; local [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | DirItem.h | 83 DirEntry *EntryAt(int32 index) const 86 if (index >= 0 && index < GetEntryCount()) 87 entry = (DirEntry*)GetData() + index; 91 const char *EntryNameAt(int32 index, size_t *nameLen = NULL) const argument 94 if (DirEntry *entry = EntryAt(index)) { 101 "entry name space (%lu - %u)!\n", index, GetIndex(), 110 if (index == 0) 113 maxLength = EntryAt(index -1)->GetLocation() 122 status_t GetEntryNameAt(int32 index, cha argument [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/reiserfs/ |
H A D | DirItem.h | 83 DirEntry *EntryAt(int32 index) const 86 if (index >= 0 && index < GetEntryCount()) 87 entry = (DirEntry*)GetData() + index; 91 const char *EntryNameAt(int32 index, size_t *nameLen = NULL) const argument 94 if (DirEntry *entry = EntryAt(index)) { 101 "entry name space (%lu - %u)!\n", index, GetIndex(), 110 if (index == 0) 113 maxLength = EntryAt(index -1)->GetLocation() 122 status_t GetEntryNameAt(int32 index, cha argument [all...] |
/haiku-fatelf/src/add-ons/media/plugins/asf_reader/libasf/ |
H A D | parse.c | 344 * a new asf_object_index_t in file->index and uses the file->iostream to 352 asf_object_index_t *index; local 359 file->index = NULL; 362 /* read the raw data of an index header */ 365 printf("Could not read index header\n"); 369 /* allocate the index object */ 370 index = malloc(sizeof(asf_object_index_t)); 371 if (!index) { 375 asf_parse_read_object((asfint_object_t *) index, idata); 376 if (index [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/packagefs/ |
H A D | Query.cpp | 28 ::Index* index; member in struct:Query::QueryPolicy::Index 38 ::Index* index; member in struct:Query::QueryPolicy::IndexIterator 40 IndexIterator(::Index* index) argument 42 index(index) 85 static status_t IndexSetTo(Index& index, const char* attribute) argument 87 index.index = index.query->fVolume->FindIndex(attribute); 88 return index 91 IndexUnset(Index& index) argument 96 IndexGetWeightedScore(Index& index, int32 score) argument 106 IndexGetType(Index& index) argument 111 IndexGetKeySize(Index& index) argument 116 IndexCreateIterator(Index& index) argument [all...] |
/haiku-fatelf/src/kits/interface/textview_support/ |
H A D | StyleBuffer.cpp | 28 _BStyleRunDescBuffer_::InsertDesc(STEStyleRunDesc* inDesc, int32 index) argument 30 InsertItemsAt(1, index, inDesc); 35 _BStyleRunDescBuffer_::RemoveDescs(int32 index, int32 count) argument 37 RemoveItemsAt(count, index); 49 int32 index = 0; local 52 index = (minIndex + maxIndex) >> 1; 53 if (offset >= fBuffer[index].offset) { 54 if (index >= (fItemCount - 1)) { 57 if (offset < fBuffer[index + 1].offset) 60 minIndex = index 71 BumpOffset(int32 delta, int32 index) argument 91 int32 index = 0; local 128 CommitRecord(int32 index) argument 135 RemoveRecord(int32 index) argument 229 int32 index = OffsetToRun(offset - 1); local 423 RemoveStyles(int32 index, int32 count) argument 473 BumpOffset(int32 delta, int32 index) argument [all...] |
H A D | TextGapBuffer.h | 73 TextGapBuffer::RealCharAt(int32 index) const 75 if (index < 0 || index >= fItemCount) { 76 if (index != fItemCount) 77 debugger("RealCharAt: invalid index supplied"); 81 return index < fGapIndex ? fBuffer[index] : fBuffer[index + fGapCount];
|
/haiku-fatelf/src/system/kernel/cache/ |
H A D | BlockMap.cpp | 51 to_block_entry_offset(off_t offset, uint32 &index) argument 55 index = uint32(offset - baseOffset); 153 uint32 index; local 154 off_t baseOffset = to_block_entry_offset(offset, index); 158 int32 max = min_c(BLOCK_ARRAY_SIZE, index + count); 159 int32 blocks = max - index; 162 for (int32 i = index; i < max; i++) { 178 index = 0; 190 uint32 index; local 191 off_t baseOffset = to_block_entry_offset(offset, index); 228 uint32 index; local [all...] |
/haiku-fatelf/src/system/kernel/slab/ |
H A D | allocator.cpp | 94 int index = size_to_index(size); local 95 if (index >= 0) 96 return object_cache_alloc(sBlockCaches[index], flags); 111 int index = size_to_index(size); local 112 if (index >= 0 && sBlockCaches[index] != NULL) 113 return object_cache_alloc(sBlockCaches[index], CACHE_DURING_BOOT); 167 for (int index = 0; kBlockSizes[index] != 0; index [all...] |
/haiku-fatelf/headers/os/support/ |
H A D | List.h | 23 bool AddItem(void* item, int32 index); 25 bool AddList(const BList* list, int32 index); 29 void* RemoveItem(int32 index); 30 bool RemoveItems(int32 index, int32 count); 31 bool ReplaceItem(int32 index, void* newItem); 42 void* ItemAt(int32 index) const; 44 void* ItemAtFast(int32 index) const;
|
/haiku-fatelf/src/add-ons/accelerants/s3/ |
H A D | register_io.h | 45 uint8 ReadCrtcReg(uint8 index); 46 void WriteCrtcReg(uint8 index, uint8 value); 47 void WriteCrtcReg(uint8 index, uint8 value, uint8 mask); 49 uint8 ReadSeqReg(uint8 index); 50 void WriteSeqReg(uint8 index, uint8 value); 51 void WriteSeqReg(uint8 index, uint8 value, uint8 mask); 56 void WriteIndexedColor(uint8 index, uint8 red, uint8 green, uint8 blue);
|
/haiku-fatelf/src/apps/terminal/ |
H A D | TitlePlaceholderMapper.cpp | 35 int32 index = directory.Length(); local 36 while (number > 0 && index > 0) { 37 index = directory.FindLast('/', index - 1); 41 if (number == 0 && index >= 0 && index + 1 < directory.Length()) 42 directory.Remove(0, index + 1); 84 // window index 118 // tab index
|
/haiku-fatelf/src/libs/print/libprint/tools/ |
H A D | make_pattern.cpp | 25 inline int index2horz(int index) argument 27 return index % MAX_HORTZ; 30 inline int index2vert(int index) argument 32 return index / MAX_HORTZ; 41 int index = value2index[i]; local 42 int h = index2horz(index); 43 int v = index2vert(index);
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/beserved/BeManager/ |
H A D | ListControl.cpp | 88 int index = CurrentSelection(); local 89 if (index >= 0) 91 ListItem *item = (ListItem *) ItemAt(index); 92 DeleteItem(index, item); 97 bool SmartColumnListView::DeleteItem(int index, ListItem *item) argument 103 RemoveItem(index); 110 Select(max(--index, 0));
|
/haiku-fatelf/src/system/kernel/arch/x86/paging/32bit/ |
H A D | X86VMTranslationMap32Bit.cpp | 146 dprintf("index is %d\n", va / B_PAGE_SIZE / 1024); 155 uint32 index = VADDR_TO_PDENT(va); local 156 if ((pd[index] & X86_PDE_PRESENT) == 0) { 171 X86PagingMethod32Bit::PutPageTableInPageDir(&pd[index], pgtable, 177 if (index >= FIRST_KERNEL_PGDIR_ENT 178 && index < (FIRST_KERNEL_PGDIR_ENT + NUM_KERNEL_PGDIR_ENTS)) { 179 X86PagingStructures32Bit::UpdateAllPageDirs(index, pd[index]); 190 pd[index] & X86_PDE_ADDRESS_MASK); 191 index 223 int index = VADDR_TO_PDENT(start); local 275 int index = VADDR_TO_PDENT(start); local 334 int index = VADDR_TO_PDENT(address); local 406 int index = VADDR_TO_PDENT(start); local 542 int index = VADDR_TO_PDENT(address); local 616 int index = VADDR_TO_PDENT(va); local 659 int index = VADDR_TO_PDENT(va); local 713 int index = VADDR_TO_PDENT(start); local 770 int index = VADDR_TO_PDENT(va); local 814 int index = VADDR_TO_PDENT(address); local [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/ramfs/ |
H A D | OpenHashTable.h | 67 Element &At(int32 index); 70 void Remove(int32 index); 108 // invalid; to deal with this, get the element index and restore 111 Element *ElementAt(int32 index) const; 143 Element &At(int32 index); 144 const Element &At(int32 index) const; 147 void Remove(int32 index); 176 for (int32 index = 0; index < fArraySize; index 348 int32 index = fHashArray[i]; local 395 At(int32 index) argument 482 Remove(int32 index) argument [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/ |
H A D | OpenHashTable.h | 68 Element &At(int32 index); 71 void Remove(int32 index); 109 // invalid; to deal with this, get the element index and restore 112 Element *ElementAt(int32 index) const; 144 Element &At(int32 index); 145 const Element &At(int32 index) const; 148 void Remove(int32 index); 177 for (int32 index = 0; index < fArraySize; index 349 int32 index = fHashArray[i]; local 396 At(int32 index) argument 483 Remove(int32 index) argument [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/vesa/ |
H A D | driver.cpp | 102 for (int32 index = 0; (name = gDeviceNames[index]) != NULL; index++) { 103 free(gDeviceInfo[index]); 112 int index; local 116 for (index = 0; gDeviceNames[index] != NULL; index++) { 117 if (!strcmp(name, gDeviceNames[index]))
|
/haiku-fatelf/src/apps/debugger/files/ |
H A D | SourceFile.cpp | 129 SourceFile::LineAt(int32 index) const 131 return index >= 0 && index < fLineCount 132 ? fFileContent + fLineOffsets[index] : NULL; 137 SourceFile::LineLengthAt(int32 index) const 139 return index >= 0 && index < fLineCount 140 ? fLineOffsets[index + 1] - fLineOffsets[index] - 1: 0;
|