Searched refs:index (Results 76 - 100 of 1857) sorted by relevance

1234567891011>>

/haiku/src/apps/haikudepot/textview/
H A DParagraph.cpp75 Paragraph::TextSpanAtIndex(int32 index) const
77 return fTextSpans[index];
134 int32 index = 0; local
138 while (index < countTextSpans) {
139 const TextSpan& span = fTextSpans[index];
143 index++;
146 if (countTextSpans == index)
150 // Try to merge with span at index if the TextStyles are equal
151 TextSpan span = fTextSpans[index];
154 fTextSpans[index]
192 int32 index = 0; local
[all...]
/haiku/src/system/kernel/arch/arm/paging/32bit/
H A DARMVMTranslationMap32Bit.cpp164 dprintf("index is %d\n", va / B_PAGE_SIZE / 1024);
173 uint32 index = VADDR_TO_PDENT(va); local
174 if ((pd[index] & ARM_PDE_TYPE_MASK) == 0) {
189 ARMPagingMethod32Bit::PutPageTableInPageDir(&pd[index], pgtable,
193 if (index >= FIRST_KERNEL_PGDIR_ENT
194 && index < (FIRST_KERNEL_PGDIR_ENT + NUM_KERNEL_PGDIR_ENTS)) {
195 ARMPagingStructures32Bit::UpdateAllPageDirs(index, pd[index]);
206 pd[index] & ARM_PDE_ADDRESS_MASK);
207 index
239 int index = VADDR_TO_PDENT(start); local
351 int index = VADDR_TO_PDENT(address); local
424 int index = VADDR_TO_PDENT(start); local
560 int index = VADDR_TO_PDENT(address); local
634 int index = VADDR_TO_PDENT(va); local
670 int index = VADDR_TO_PDENT(va); local
711 int index = VADDR_TO_PDENT(start); local
766 int index = VADDR_TO_PDENT(virtualAddress); local
796 int index = VADDR_TO_PDENT(va); local
840 int index = VADDR_TO_PDENT(address); local
[all...]
/haiku/src/servers/app/
H A DDelayedMessage.h134 for (int32 index = 0; index < list.CountItems(); ++index) {
138 error = Attach<Type>(*(list.ItemAt(index)));
156 for (int32 index = 0; index < list.CountItems(); ++index) {
157 if (which[index])
166 for (int32 index = 0; index < lis
[all...]
/haiku/src/add-ons/kernel/file_systems/packagefs/indices/
H A DQuery.cpp28 ::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(StringKey(attribute));
88 return index
91 IndexUnset(Index& index) argument
96 IndexGetWeightedScore(Index& index, int32 score) argument
105 IndexGetType(Index& index) argument
110 IndexGetKeySize(Index& index) argument
115 IndexCreateIterator(Index& index) argument
[all...]
/haiku/src/kits/interface/textview_support/
H A DStyleBuffer.cpp32 _BStyleRunDescBuffer_::InsertDesc(STEStyleRunDesc* inDesc, int32 index) argument
34 InsertItemsAt(1, index, inDesc);
39 _BStyleRunDescBuffer_::RemoveDescs(int32 index, int32 count) argument
41 RemoveItemsAt(count, index);
53 int32 index = 0; local
56 index = (minIndex + maxIndex) >> 1;
57 if (offset >= fBuffer[index].offset) {
58 if (index >= fItemCount - 1
59 || offset < fBuffer[index + 1].offset) {
62 minIndex = index
72 BumpOffset(int32 delta, int32 index) argument
93 int32 index = 0; local
130 CommitRecord(int32 index) argument
137 RemoveRecord(int32 index) argument
238 int32 index = OffsetToRun(offset - 1); local
439 RemoveStyles(int32 index, int32 count) argument
492 BumpOffset(int32 delta, int32 index) argument
[all...]
H A DTextGapBuffer.h73 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/src/add-ons/accelerants/s3/
H A Dregister_io.h45 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/src/libs/print/libprint/tools/
H A Dmake_pattern.cpp25 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/headers/os/support/
H A DList.h23 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* item);
42 void* ItemAt(int32 index) const;
44 void* ItemAtFast(int32 index) const;
/haiku/src/system/kernel/arch/x86/paging/32bit/
H A DX86VMTranslationMap32Bit.cpp147 dprintf("index is %d\n", va / B_PAGE_SIZE / 1024);
156 uint32 index = VADDR_TO_PDENT(va); local
157 if ((pd[index] & X86_PDE_PRESENT) == 0) {
172 X86PagingMethod32Bit::PutPageTableInPageDir(&pd[index], pgtable,
178 if (index >= FIRST_KERNEL_PGDIR_ENT
179 && index < (FIRST_KERNEL_PGDIR_ENT + NUM_KERNEL_PGDIR_ENTS)) {
180 X86PagingStructures32Bit::UpdateAllPageDirs(index, pd[index]);
191 pd[index] & X86_PDE_ADDRESS_MASK);
192 index
224 int index = VADDR_TO_PDENT(start); local
276 int index = VADDR_TO_PDENT(start); local
335 int index = VADDR_TO_PDENT(address); local
407 int index = VADDR_TO_PDENT(start); local
543 int index = VADDR_TO_PDENT(address); local
617 int index = VADDR_TO_PDENT(va); local
660 int index = VADDR_TO_PDENT(va); local
714 int index = VADDR_TO_PDENT(start); local
771 int index = VADDR_TO_PDENT(va); local
815 int index = VADDR_TO_PDENT(address); local
[all...]
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DBitmapBlock.cpp94 uint32 index = startIndex; local
98 uint32 bits = B_LENDIAN_TO_HOST_INT32(data[index]);
106 index += 1;
111 if (data[index++] != (marked ? 0xFFFFFFFF : 0)) {
113 B_PRIx32 "\n", iterations, data[index - 1]);
121 uint32 bits = B_LENDIAN_TO_HOST_INT32(data[index]);
147 TRACE("BitmapBlock::_Update(): start index: %" B_PRIu32 ", start bit: %"
184 uint32 index = startIndex; local
188 uint32 bits = B_LENDIAN_TO_HOST_INT32(fData[index]);
200 fData[index]
258 uint32 index = pos >> 5; local
381 uint32 index = 0; local
[all...]
/haiku/src/kits/debugger/files/
H A DSourceFile.cpp129 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;
/haiku/src/add-ons/kernel/drivers/graphics/vesa/
H A Ddriver.cpp113 for (int32 index = 0; (name = gDeviceNames[index]) != NULL; index++) {
114 free(gDeviceInfo[index]);
123 int index; local
127 for (index = 0; gDeviceNames[index] != NULL; index++) {
128 if (!strcmp(name, gDeviceNames[index]))
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DList.h60 bool AddItem(const item_t &item, int32 index);
62 // bool AddList(list_t *list, int32 index);
66 bool RemoveItem(int32 index);
72 const item_t &ItemAt(int32 index) const;
73 item_t &ItemAt(int32 index);
147 List<ITEM, DEFAULT_ITEM_SUPPLIER>::AddItem(const item_t &item, int32 index) argument
149 bool result = (index >= 0 && index <= fItemCount
152 _MoveItems(fItems + index, 1, fItemCount - index
218 int32 index = IndexOf(item); local
228 RemoveItem(int32 index) argument
278 ItemAt(int32 index) argument
[all...]
/haiku/src/add-ons/media/media-add-ons/dvb/
H A DStringList.h43 const char *ItemAt(int index) const;
74 StringList::ItemAt(int index) const
76 return (const char *)list.ItemAt(index);
/haiku/src/apps/cortex/RouteApp/
H A DNodeSetIOContext.cpp107 uint32 index) {
109 if(index < 0 || index >= m_nodes.size())
112 m_nodes.erase(m_nodes.begin() + index);
121 uint32 index) const {
123 if(index < 0 || index >= m_nodes.size())
126 return m_nodes[index].second;
130 uint32 index) const {
132 if(index <
106 removeNodeAt( uint32 index) argument
[all...]
/haiku/src/kits/interface/
H A DGroupLayout.cpp100 BGroupLayout::ItemWeight(int32 index) const
102 if (index < 0 || index >= CountItems())
105 ItemLayoutData* data = _LayoutDataForItem(ItemAt(index));
111 BGroupLayout::SetItemWeight(int32 index, float weight) argument
113 if (index < 0 || index >= CountItems())
116 if (ItemLayoutData* data = _LayoutDataForItem(ItemAt(index)))
131 BGroupLayout::AddView(int32 index, BView* child) argument
133 return BTwoDimensionalLayout::AddView(index, chil
145 AddView(int32 index, BView* child, float weight) argument
163 AddItem(int32 index, BLayoutItem* item) argument
177 AddItem(int32 index, BLayoutItem* item, float weight) argument
234 ItemUnarchived(const BMessage* from, BLayoutItem* item, int32 index) argument
294 GetColumnRowConstraints(orientation orientation, int32 index, ColumnRowConstraints* constraints) argument
312 int32 index = fVisibleItems.IndexOf(item); local
[all...]
/haiku/src/preferences/repositories/
H A DRepositoriesSettings.cpp62 int32 index, total = 0; local
65 for (index = 0; index < count; index++) {
66 status_t result1 = settings.FindString(key_name, index, &foundName);
67 status_t result2 = settings.FindString(key_url, index, &foundUrl);
87 int32 index, count = nameList.CountStrings(); local
88 for (index = 0; index < count; index
[all...]
/haiku/src/add-ons/print/drivers/pcl6/
H A DDeltaRowCompression.cpp56 int index = DiffersIndex(row, 0); local
57 if (index == -1) {
67 int length = DiffersLength(row, index);
69 // delta starts at index and contains length bytes
77 int totalOffset = index - seedRowIndex;
102 uchar byte = row[index];
104 ASSERT (index < fSize);
105 fSeedRow[index] = byte;
108 index ++;
111 seedRowIndex = index;
[all...]
/haiku/src/add-ons/kernel/drivers/pty/
H A Ddriver.cpp167 int32 index = -1; local
170 index = i;
174 return index;
202 int32 index = -1; local
204 index = get_tty_index(name);
205 if (index >= (int32)kNumTTYs)
209 TRACE(("pty_open: TTY index = %" B_PRId32 " (name = %s)\n", index, name));
214 for (index = 0; index < (int3
253 int32 index = get_tty_index(name); local
358 int32 index = get_tty_index(tty); local
[all...]
/haiku/src/system/kernel/util/
H A DBitmap.cpp74 Bitmap::SetRange(size_t index, size_t count) argument
78 Set(index++);
83 Bitmap::ClearRange(size_t index, size_t count) argument
87 Clear(index++);
114 ssize_t index = GetLowestClear(fromIndex); local
115 if (index < 0)
116 return index;
119 if ((size_t)index + count - 1 < (size_t)index)
123 while (curCount < count && Get(index
[all...]
/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DQuery.cpp23 IndexIterator(Index *index);
38 IndexIterator::IndexIterator(Index *index) argument
39 : fIndex(index),
110 ::Index* index; member in struct:Query::QueryPolicy::Index
120 IndexIterator(::Index* index) argument
122 ::IndexIterator(index)
165 static status_t IndexSetTo(Index& index, const char* attribute) argument
167 index.index = index
171 IndexUnset(Index& index) argument
176 IndexGetWeightedScore(Index& index, int32 score) argument
185 IndexGetType(Index& index) argument
190 IndexGetKeySize(Index& index) argument
195 IndexCreateIterator(Index& index) argument
[all...]
/haiku/src/add-ons/kernel/network/ppp/pppoe/
H A DDiscoveryPacket.cpp61 for(int32 index = 0; index < CountTags(); index++)
62 free(TagAt(index));
67 DiscoveryPacket::AddTag(uint16 type, const void *data, uint16 length, int32 index) argument
75 if(index < 0)
78 status = fTags.AddItem(add, index);
102 DiscoveryPacket::TagAt(int32 index) const
104 pppoe_tag *tag = fTags.ItemAt(index);
118 for(int32 index
[all...]
/haiku/src/system/boot/loader/file_systems/amiga_ffs/
H A Damiga_ffs.cpp65 for (int32 index = 0; index < fSize; index++) {
66 sum += Offset(index);
104 DirectoryBlock::HashValueAt(int32 index) const
106 return index >= HashSize() ? -1 : (int32)B_BENDIAN_TO_HOST_INT32(HashTable()[index]);
111 DirectoryBlock::FirstHashValue(int32 &index) const
113 index = -1;
114 return NextHashValue(index);
162 Goto(int32 index) argument
[all...]
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/
H A DKPPPConfigurePacket.cpp70 for (int32 index = 0; index < CountItems(); index++)
71 free(ItemAt(index));
95 \param index Item's index. Adds after the last item if not specified or negative.
102 KPPPConfigurePacket::AddItem(const ppp_configure_item *item, int32 index) argument
111 if (index < 0)
114 status = fItems.AddItem(add, index);
138 //! Returns the item at \a index o
[all...]

Completed in 150 milliseconds

1234567891011>>