Searched refs:index (Results 126 - 150 of 1857) sorted by relevance

1234567891011>>

/haiku/src/apps/icon-o-matic/shape/commands/
H A DAddShapesCommand.cpp24 const Shape* const* shapes, int32 count, int32 index)
25 : AddCommand<Shape>(container, shapes, count, true, index)
23 AddShapesCommand(Container<Shape>* container, const Shape* const* shapes, int32 count, int32 index) argument
H A DAddTransformersCommand.cpp24 const Transformer* const* transformers, int32 count, int32 index)
25 : AddCommand<Transformer>(container, transformers, count, true, index)
23 AddTransformersCommand(Container<Transformer>* container, const Transformer* const* transformers, int32 count, int32 index) argument
/haiku/src/kits/interface/
H A DListView.cpp303 int32 index; local
308 if (message->GetCurrentSpecifier(&index, &specifier, &what, &property)
314 switch (propInfo.FindMatch(message, index, &specifier, what,
324 int32 index; local
325 err = specifier.FindInt32("index", &index);
328 index = CountItems() - index;
329 if (index < 0 || index >
395 int32 index; local
637 int32 index = IndexOf(where); local
739 int32 index = IndexOf(where); local
784 InitiateDrag(BPoint where, int32 index, bool wasSelected) argument
884 AddItem(BListItem* item, int32 index) argument
922 int32 index = CountItems() - 1; local
936 AddList(BList* list, int32 index) argument
976 RemoveItem(int32 index) argument
1014 RemoveItems(int32 index, int32 count) argument
1111 int32 index = IndexOf(BPoint(0.0, item->Top())); local
1221 InvalidateItem(int32 index) argument
1228 ScrollTo(int32 index) argument
1258 Select(int32 index, bool extend) argument
1379 Deselect(int32 index) argument
1434 ReplaceItem(int32 index, BListItem* item) argument
1446 ItemFrame(int32 index) argument
1465 ResolveSpecifier(BMessage* message, int32 index, BMessage* specifier, int32 what, const char* property) argument
1673 _InvalidateFrom(int32 index) argument
1708 _Select(int32 index, bool extend) argument
1796 _Deselect(int32 index) argument
2018 _ReplaceItem(int32 index, BListItem* item) argument
2120 _DoSelection(int32 index) argument
[all...]
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DOption.cpp29 for (size_t index = 0; index < config->interface_count; index++) {
30 usb_interface_info *interface = config->interface[index].active;
60 __func__, index, txEndpointID, rxEndpointID, irEndpointID);
66 index);
/haiku/src/tests/add-ons/kernel/file_systems/bfs/
H A Dbfs_attribute_iterator_test.cpp44 for (int32 index = start; index < start + count; index++) {
46 snprintf(name, sizeof(name), "test:%ld", index);
47 file.WriteAttr(name, B_INT32_TYPE, 0, &index, sizeof(int32));
55 for (int32 index = start; index < start + count; index++) {
57 snprintf(name, sizeof(name), "test:%ld", index);
64 add_marker_attribute(BFile& file, int32 index) argument
73 remove_marker_attribute(BFile& file, int32 index) argument
[all...]
/haiku/src/preferences/notifications/
H A DPrefletView.cpp55 PrefletView::PageAt(int32 index) argument
57 return TabAt(index)->View();
62 PrefletView::Select(int32 index) argument
64 if (index == Selection())
67 BTabView::Select(index);
69 SettingsPane* pane = dynamic_cast<SettingsPane*>(PageAt(index));
/haiku/src/add-ons/kernel/drivers/input/hid_shared/
H A DHIDCollection.h30 HIDCollection * ChildAt(uint32 index);
33 HIDCollection * ChildAtFlat(uint8 type, uint32 index);
37 HIDReportItem * ItemAt(uint32 index);
40 HIDReportItem * ItemAtFlat(uint32 index);
49 HIDCollection * _ChildAtFlat(uint8 type, uint32 &index);
50 HIDReportItem * _ItemAtFlat(uint32 &index);
/haiku/src/tests/kits/app/bmessage/
H A DMessageBStringItemTest.h27 static status_t Find(BMessage& msg, const char* name, int32 index,
30 static BString QuickFind(BMessage& msg, const char* name, int32 index);
31 static bool Has(BMessage& msg, const char* name, int32 index);
32 static status_t Replace(BMessage& msg, const char* name, int32 index,
37 int32 index, const void** data, ssize_t* size);
51 int32 index, BString* data)
53 return msg.FindString(name, index, data);
63 int32 index)
66 msg.FindString(name, index, &data);
71 int32 index)
50 Find(BMessage& msg, const char* name, int32 index, BString* data) argument
62 QuickFind(BMessage& msg, const char* name, int32 index) argument
70 Has(BMessage& msg, const char* name, int32 index) argument
76 Replace(BMessage& msg, const char* name, int32 index, BString& data) argument
90 FindData(BMessage& msg, const char* name, type_code type, int32 index, const void** data, ssize_t* size) argument
[all...]
H A DMessageMessengerItemTest.h31 static status_t Find(BMessage& msg, const char* name, int32 index, argument
33 { return msg.FindMessenger(name, index, val); }
36 static BMessenger QuickFind(BMessage& msg, const char* name, int32 index) argument
39 msg.FindMessenger(name, index, &msngr);
42 static bool Has(BMessage& msg, const char* name, int32 index) argument
43 { return msg.HasMessenger(name, index); }
44 static status_t Replace(BMessage& msg, const char* name, int32 index, argument
46 { return msg.ReplaceMessenger(name, index, val); }
48 int32 index, const void** data, ssize_t* size)
49 { return msg.FindData(name, type, index, dat
47 FindData(BMessage& msg, const char* name, type_code type, int32 index, const void** data, ssize_t* size) argument
[all...]
/haiku/src/kits/interface/textview_support/
H A DStyleBuffer.h47 long index; // index of corresponding style record member in struct:STEStyleRunDesc
57 int32 index);
58 void RemoveDescs(int32 index, int32 count = 1);
61 void BumpOffset(int32 delta, int32 index);
63 STEStyleRunDesc* operator[](int32 index) const;
68 _BStyleRunDescBuffer_::operator[](int32 index) const
70 return &fBuffer[index];
81 void CommitRecord(int32 index);
82 void RemoveRecord(int32 index);
[all...]
/haiku/src/system/runtime_loader/
H A Delf_symbol_lookup.h94 bool IsSymbolValueCached(size_t index) const
96 return index < fTableSize
97 && (fValuesResolved[index / 32] & (1 << (index % 32))) != 0;
100 addr_t SymbolValueAt(size_t index) const
102 return fValues[index];
105 addr_t SymbolValueAt(size_t index, image_t** image) const argument
108 *image = fDSOs[index];
109 return fValues[index];
112 void SetSymbolValueAt(size_t index, addr_ argument
[all...]
/haiku/src/kits/app/
H A DMessageQueue.cpp116 BMessageQueue::FindMessage(int32 index) const
122 if (index < 0 || index >= fMessageCount)
126 // If the index reaches zero, then we have found a match.
127 if (index == 0)
130 index--;
138 BMessageQueue::FindMessage(uint32 what, int32 index) const
144 if (index < 0 || index >= fMessageCount)
149 // If the index reache
[all...]
/haiku/src/kits/debugger/arch/x86/
H A DCpuStateX86.h105 bool IsRegisterSet(int32 index) const;
107 uint32 IntRegisterValue(int32 index) const;
108 void SetIntRegister(int32 index, uint32 value);
110 double FloatRegisterValue(int32 index) const;
111 void SetFloatRegister(int32 index, double value);
113 const void* MMXRegisterValue(int32 index) const;
114 void SetMMXRegister(int32 index,
117 const void* XMMRegisterValue(int32 index) const;
118 void SetXMMRegister(int32 index,
121 void UnsetRegister(int32 index);
[all...]
/haiku/src/kits/debugger/arch/x86_64/
H A DCpuStateX8664.h131 bool IsRegisterSet(int32 index) const;
133 uint64 IntRegisterValue(int32 index) const;
134 void SetIntRegister(int32 index, uint64 value);
137 double FloatRegisterValue(int32 index) const;
138 void SetFloatRegister(int32 index, double value);
140 const void* MMXRegisterValue(int32 index) const;
141 void SetMMXRegister(int32 index,
144 const void* XMMRegisterValue(int32 index) const;
145 void SetXMMRegister(int32 index,
148 void UnsetRegister(int32 index);
[all...]
/haiku/src/system/kernel/arch/m68k/paging/040/
H A DM68KVMTranslationMap040.cpp219 dprintf("index is %d\n", va / B_PAGE_SIZE / 1024);
359 int index; local
362 index = VADDR_TO_PRENT(start);
363 if (PRE_TYPE(pr[index]) != DT_ROOT) {
374 PRE_TO_PA(pr[index]));
376 //pd += (index % NUM_DIRTBL_PER_PAGE) * NUM_DIRENT_PER_TBL;
379 index = VADDR_TO_PDENT(start);
380 if (PDE_TYPE(pd[index]) != DT_DIR) {
388 PDE_TO_PA(pd[index]));
390 //pt += (index
435 int index; local
507 int index; local
681 int index; local
771 int index = VADDR_TO_PRENT(va); local
832 int index = VADDR_TO_PRENT(va); local
[all...]
/haiku/src/add-ons/kernel/bus_managers/usb/
H A DHub.cpp128 Hub::UpdatePortStatus(uint8 index) argument
133 USB_REQUEST_GET_STATUS, 0, index + 1, sizeof(usb_port_status),
134 (void *)&fPortStatus[index], sizeof(usb_port_status), &actualLength);
146 Hub::ResetPort(uint8 index) argument
149 USB_REQUEST_SET_FEATURE, PORT_RESET, index + 1, 0, NULL, 0, NULL);
157 result = UpdatePortStatus(index);
161 if ((fPortStatus[index].change & PORT_STATUS_RESET) != 0
162 || (fPortStatus[index].status & PORT_STATUS_RESET) == 0) {
168 if ((fPortStatus[index].change & PORT_STATUS_RESET) == 0
169 && (fPortStatus[index]
189 DisablePort(uint8 index) argument
387 GetDescriptor(uint8 descriptorType, uint8 index, uint16 languageID, void *data, size_t dataLength, size_t *actualLength) argument
438 BuildDeviceName(char *string, uint32 *index, size_t bufferSize, Device *device) argument
479 _DebouncePort(uint8 index) argument
[all...]
/haiku/src/apps/mediaplayer/playlist/
H A DPlaylist.h28 // special append index values
44 virtual void ItemAdded(PlaylistItem* item, int32 index);
45 virtual void ItemRemoved(int32 index);
73 bool AddItem(PlaylistItem* item, int32 index);
74 PlaylistItem* RemoveItem(int32 index,
78 bool AdoptPlaylist(Playlist& other, int32 index);
81 PlaylistItem* ItemAt(int32 index) const;
82 PlaylistItem* ItemAtFast(int32 index) const;
85 bool SetCurrentItemIndex(int32 index,
137 int32 index) cons
[all...]
/haiku/headers/private/shared/
H A DDateTimeEdit.h52 virtual void DrawSection(uint32 index, BRect bounds, argument
54 virtual void DrawSeparator(uint32 index, BRect bounds) {} argument
56 BRect FrameForSection(uint32 index);
57 BRect FrameForSeparator(uint32 index);
59 virtual void SectionFocus(uint32 index) {} argument
60 virtual void SectionChange(uint32 index, uint32 value) {} argument
90 virtual void DrawSection(uint32 index, BRect bounds,
92 virtual void DrawSeparator(uint32 index, BRect bounds);
94 virtual void SectionFocus(uint32 index);
111 int32 _SectionValue(int32 index) cons
[all...]
H A Dcpu_type.h45 int index = 0; local
46 for (; name[index] != '\0'; index++) {
47 if (name[index] != ' ')
54 for (; name[index] != '\0'; index++) {
56 if (strncmp(&name[index], "Intel", 5) == 0) {
57 for (; name[index] != '\0'; index++) {
58 if (name[index]
93 int index = 0; local
[all...]
/haiku/src/apps/terminal/
H A DTitlePlaceholderMapper.cpp39 int32 index = directory.Length(); local
40 while (number > 0 && index > 0) {
41 index = directory.FindLast('/', index - 1);
45 if (number == 0 && index >= 0 && index + 1 < directory.Length())
46 directory.Remove(0, index + 1);
100 // window index
135 // tab index
/haiku/src/libs/icon/style/
H A DGradientTransformable.h79 int32 index);
81 bool RemoveColor(int32 index);
83 bool SetColor(int32 index,
85 bool SetColor(int32 index, const rgb_color& color);
86 bool SetOffset(int32 index, float offset);
89 BGradient::ColorStop* ColorAt(int32 index) const;
90 BGradient::ColorStop* ColorAtFast(int32 index) const;
/haiku/src/libs/icon/shape/
H A DVectorPath.cpp362 int32 index = fPointCount; local
365 _SetPoint(index, point);
366 _NotifyPointAdded(index);
378 int32 index = fPointCount; local
381 _SetPoint(index, point, pointIn, pointOut, connected);
382 _NotifyPointAdded(index);
391 VectorPath::AddPoint(BPoint point, int32 index) argument
393 if (index < 0)
394 index = 0;
395 if (index > fPointCoun
417 RemovePoint(int32 index) argument
441 SetPoint(int32 index, BPoint point) argument
461 SetPoint(int32 index, BPoint point, BPoint pointIn, BPoint pointOut, bool connected) argument
552 SetInOutConnected(int32 index, bool connected) argument
567 GetPointAt(int32 index, BPoint& point) const argument
580 GetPointInAt(int32 index, BPoint& point) const argument
593 GetPointOutAt(int32 index, BPoint& point) const argument
606 GetPointsAt(int32 index, BPoint& point, BPoint& pointIn, BPoint& pointOut, bool* connected) const argument
706 FindBezierScale(int32 index, BPoint point, double* scale) const argument
737 GetPoint(int32 index, double t, BPoint& point) const argument
948 int32 index = 0; local
1036 _SetPoint(int32 index, BPoint point) argument
1049 _SetPoint(int32 index, const BPoint& point, const BPoint& pointIn, const BPoint& pointOut, bool connected) argument
[all...]
/haiku/src/add-ons/accelerants/s3/
H A Dregister_io.cpp122 uint8 ReadCrtcReg(uint8 index) argument
125 WritePIO_8(0x3d4, index);
129 OUTREG8(0x83d4, index);
134 void WriteCrtcReg(uint8 index, uint8 value) argument
137 WritePIO_8(0x3d4, index);
140 OUTREG8(0x83d4, index);
146 void WriteCrtcReg(uint8 index, uint8 value, uint8 mask) argument
152 WritePIO_8(0x3d4, index);
155 OUTREG8(0x83d4, index);
164 uint8 ReadSeqReg(uint8 index) argument
176 WriteSeqReg(uint8 index, uint8 value) argument
188 WriteSeqReg(uint8 index, uint8 value, uint8 mask) argument
224 WriteIndexedColor(uint8 index, uint8 red, uint8 green, uint8 blue) argument
[all...]
/haiku/src/apps/switcher/
H A DWindowsView.cpp63 void BringToFront(int32 index) argument
65 client_window_info* info = fWindows.ItemAt(index);
72 void Close(int32 index) argument
74 client_window_info* info = fWindows.ItemAt(index);
89 virtual void* ItemAt(int32 index) argument
91 return fWindows.ItemAt(index);
99 virtual void* GroupAt(int32 index) argument
101 return (void*)(_NthSetBit(index, fWorkspaces) + 1);
104 virtual void* GroupForItemAt(int32 index) argument
106 client_window_info* info = fWindows.ItemAt(index);
119 _NthSetBit(int32 index, uint32 mask) argument
205 Draw(BView* owner, BRect frame, int32 index, bool selected) argument
235 Draw(BView* owner, BRect frame, int32 index, bool selected) argument
259 Draw(BView* owner, BRect frame, int32 index, bool selected) argument
331 int32 index; local
[all...]
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/
H A DMixer.cpp462 Mixer::_CreateMIXControlGroup(multi_mix_control_info* MultiInfo, int32& index, argument
475 = Controls[index].id = IdReg | Info.fType;
476 Controls[index].flags = B_MULTI_MIX_GROUP;
477 Controls[index].parent = parentIndex;
478 Controls[index].string = Info.fNameId;
480 strlcpy(Controls[index].name, Info.fName,
481 sizeof(Controls[index].name));
482 index++;
485 Controls[index].id = IdReg | MIX_Check;
486 Controls[index]
579 int32 index = 0; local
[all...]

Completed in 148 milliseconds

1234567891011>>