/haiku/src/apps/icon-o-matic/shape/ |
H A D | PathManipulator.cpp | 168 inline int32 IndexAt(int32 index) const 169 { return at(index); } 482 // points to the correct index 1063 PathManipulator::PointAdded(int32 index) argument 1070 PathManipulator::PointRemoved(int32 index) argument 1072 fSelection->Remove(index); 1078 PathManipulator::PointChanged(int32 index) argument 1250 PathManipulator::_InsertPoint(BPoint where, int32 index) argument 1263 if (fPath->FindBezierScale(index - 1, where, &scale) 1265 && fPath->GetPoint(index 1301 _SetInOutConnected(int32 index, bool connected) argument 1308 _SetSharp(int32 index) argument 1336 _RemovePoint(int32 index) argument 1346 _RemovePointIn(int32 index) argument 1357 _RemovePointOut(int32 index) argument 1412 int32 index = fOldSelection->IndexAt(i); local 1426 _Select(int32 index, bool extend) argument 1458 _Deselect(int32 index) argument 1473 int32 index = fSelection->IndexAt(i); local 1535 _ControlPointRect(int32 index, uint32 mode) const argument 1581 int32 index = -1; local [all...] |
/haiku/src/kits/tracker/ |
H A D | Utilities.cpp | 212 for (int32 index = 0; index < count; index++) { 213 if (fPoseList.ItemAt(index)->pose == pose) { 217 periodic_pose* periodic = fPoseList.RemoveItemAt(index); 237 for (int32 index = 0; index < count; index++) { 238 periodic_pose* periodic = fPoseList.ItemAt(index); 326 for (int32 index 1005 MatchArchivedVolume(BVolume* volume, const BMessage* message, int32 index) argument 1333 int32 index; local [all...] |
H A D | PoseView.cpp | 206 for (int32 index = 0; index < count; index++) { 208 index)->TargetModel()->EntryRef()))); 466 for (int32 index = 0; ; index++) { 467 BColumn* column = BColumn::InstantiateFromMessage(message, index); 659 for (int32 index = 0; ; index++) { 660 const BColumn* column = ColumnAt(index); 1164 int32 index = fPoseList->IndexOf(ActivePose()); local 1619 int32 index; local 2065 MimeTypeAt(int32 index) argument 2116 InsertPoseAfter(BPose* pose, int32* index, int32 orientation, BRect* invalidRect) argument 3447 int32 index; local 3475 int32 index; local 3803 int32 index = FirstIndexAtOrBelow((int32)(poseRect.top - IconPoseHeight())); local 3844 int32 index = 0; local 3885 int32 index = FirstIndexAtOrBelow((int32)pose->Location(this).y, false); local 3899 int32 index = 0; local 4024 ScrollIntoView(BPose* pose, int32 index) argument 4059 SelectPose(BPose* pose, int32 index, bool scrollIntoView) argument 4072 AddPoseToSelection(BPose* pose, int32 index, bool scrollIntoView) argument 4435 int32 index = menu->IndexOf(resultingItem); local 4477 int32 index; local 5206 UpdateWasBrokenSymlinkBinder(BPose* pose, Model* model, int32 index, BPoseView* poseView, BObjectList<Model>* fBrokenLinks) argument 5242 PoseHandleDeviceUnmounted(BPose* pose, Model* model, int32 index, BPoseView* poseView, dev_t device) argument 5256 OneMetaMimeChanged(BPose* pose, Model* model, int32 index, BPoseView* poseView, const char* type) argument 5486 int32 index; local 5698 int32 index; local 5863 int32 index; local 6004 ConvertZombieToPose(Model* zombie, int32 index) argument 6099 int32 index; local 6132 int32 index = IndexOfPose(pose); local 6354 int32 index = IndexOfPose(pose); local 6397 int32 index = IndexOfPose(pose); local 6638 int32 index; local 6690 int32 index; local 6708 int32 index; local 6740 int32 index; local 6791 int32 index; local 6864 int32 index; local 6913 FindBestMatch(int32* index) argument 7341 int32 index; local 7415 int32 index; local 7473 int32 index; local 7507 WasClickInPath(const BPose* pose, int32 index, BPoint mouseLocation) const argument 7620 int32 index = CurrentPoseList()->IndexOf(pose); local 8000 int32 index = CurrentPoseList()->IndexOf(pose); local 8028 DeleteSymLinkPoseTarget(const node_ref* itemNode, BPose* pose, int32 index) argument 8045 DeletePose(const node_ref* itemNode, BPose* pose, int32 index) argument 8117 int32 index = (int32)(bounds.bottom / fListElemHeight); local 8167 int32 index = (int32)(point.y / fListElemHeight); local 8218 OpenSelection(BPose* clickedPose, int32* index) argument 8253 OpenSelectionUsing(BPose* clickedPose, int32* index) argument 8836 AddRemovePoseFromSelection(BPose* pose, int32 index, bool select) argument 9112 DrawPose(BPose* pose, int32 index, bool fullDraw) argument 9516 int32 index = poseList->IndexOf(searchResult); local 9750 int32 index = fColumnList->IndexOf(dest); local 9779 int32 index; local 10221 CalcPoseRect(const BPose* pose, int32 index, bool firstColumnOnly) const argument 10239 CalcPoseRectList(const BPose* pose, int32 index, bool firstColumnOnly) const argument 10384 RemoveFilteredPose(BPose* pose, int32 index) argument [all...] |
H A D | TaskLoop.cpp | 58 for (uint32 index = 0; index < sinfo.cpu_count; index++) 59 time += cpuInfos[index].active_time; 390 for (int32 index = 0; index < count; index++) { 393 fTaskList.ItemAt(index)); 415 for (int32 index = 0; index < coun [all...] |
H A D | AttributeStream.cpp | 458 for (int32 index = 0; index < count; index++) { 459 if (strcmp(fAttributes.ItemAt(index)->fAttr.Name(), name) == 0 460 && fAttributes.ItemAt(index)->fAttr.Type() == type) { 461 return index; 472 int32 index = Find(name, type); local 474 return index < 0 ? 0 : fAttributes.ItemAt(index)->fAttr.Size(); 488 int32 index local [all...] |
/haiku/src/tests/system/kernel/cache/ |
H A D | pages_io_test.cpp | 44 file_extent *operator[](uint32 index); 45 file_extent *ExtentAt(uint32 index); 86 file_map::operator[](uint32 index) argument 88 return ExtentAt(index); 93 file_map::ExtentAt(uint32 index) argument 95 if (index >= count) 99 return &array[index]; 101 return &direct[index]; 256 uint32 index = 0; local 267 vecs[index] 397 uint32 index; local [all...] |
H A D | file_map_test.cpp | 160 int32 index = _IndexFor(offset); local 161 if (index < 0) 162 _Error("index for offset %lld not found!", offset); 164 off_t diff = offset - fOffsets[index]; 170 if (fTestVecs[0].offset != fVecs[index].offset + diff) { 172 fTestVecs[0].offset, fVecs[index].offset + diff); 184 int32 index = _IndexFor(offset); local 185 if (index < 0) 188 _Verbose(" GetFileMap(): offset: %lld, length: %lld, index %ld", offset, 189 length, index); [all...] |
/haiku/src/kits/interface/ |
H A D | OutlineListView.cpp | 173 int32 index = IndexOf(where); local 175 if (index != -1) { 176 BListItem* item = ItemAt(index); 179 && LatchRect(ItemFrame(index), item->fLevel).Contains(where)) { 268 int32 index = BListView::IndexOf(superItem); local 270 BListView::AddItem(item, index + 1); 271 Invalidate(LatchRect(ItemFrame(index), superItem->OutlineLevel())); 391 int32 index = BListView::IndexOf(where); local 393 if (index > 0) 394 index 481 int32 index = FullListIndexOf((BListItem*)item); local 515 ResolveSpecifier(BMessage* message, int32 index, BMessage* specifier, int32 what, const char* property) argument 819 int32 index = IndexOf(item) + 1; local 860 const int32 index = IndexOf(item); local 1066 int32 index = 0; local [all...] |
/haiku/src/tests/system/kernel/util/ |
H A D | VectorTest.cpp | 237 void Insert(const Value &value, int32 index) argument 239 if (index >= 0 && index <= Count()) { 240 CHK(fMyVector.Insert(value, index) == B_OK); 242 for (int32 i = 0; i < index; i++) 247 CHK(fMyVector.Insert(value, index) == B_BAD_VALUE); 279 Iterator Erase(int32 index) argument 281 bool outOfRange = (index < 0 || index >= Count()); 282 MyIterator myIt = fMyVector.Erase(index); 371 IteratorForIndex(int32 index) argument 406 ElementAt(int32 index) argument 513 operator [](int32 index) argument 659 int32 index = rand() % (i + 1); local 673 int32 index = rand() % (i + 1); local 708 int32 index = rand() % (i + 1); local 725 int32 index = rand() % (v.Count()); local 764 int32 index = rand() % (i + 1); local 779 int32 index = rand() % (i + 1); local 877 int32 index = 0; local [all...] |
/haiku/src/apps/mediaplayer/playlist/ |
H A D | ListViews.cpp | 219 DragSortableListView::InitiateDrag( BPoint point, int32 index, bool ) argument 229 Select( index ); 230 item = ItemAt( index ); 260 int32 index = CurrentSelection( i ); local 261 BListItem* item = ItemAt( index ); 265 DrawListItem( v, index, itemBounds ); 334 int32 index; local 335 for (int32 i = 0; message->FindInt32("index", i, &index) == B_OK; i++) 336 indices.AddItem((void*)(addr_t)index); 543 SetItemFocused(int32 index) argument 578 int32 index = IndexOf(where); local 615 ScrollTo(int32 index) argument 635 MoveItems(const BList& indices, int32 index) argument 677 int32 index = (int32)(addr_t)indices.ItemAtFast(i); local 701 int32 index = (int32)(addr_t)indices.ItemAtFast(i) - i; local 711 int32 index = CurrentSelection(i); local 725 int32 index = CurrentSelection() - 1; local 774 DeleteItem(int32 index) argument 799 _SetDropIndex(int32 index) argument 905 DrawListItem(BView* owner, int32 index, BRect frame) const argument 923 int32 index; local [all...] |
H A D | ListViews.h | 60 virtual bool InitiateDrag(BPoint point, int32 index, 75 virtual void DoubleClicked(int32 index) {} argument 77 virtual void SetItemFocused(int32 index); 88 void ScrollTo(int32 index); 101 virtual bool DeleteItem(int32 index); 104 virtual void DrawListItem(BView* owner, int32 index, 119 void _SetDropIndex(int32 index); 146 virtual void DrawListItem(BView* owner, int32 index,
|
/haiku/src/add-ons/network_settings/dialup/ |
H A D | IPCPAddon.cpp | 101 int32 index = 0; local 102 if(!FindMessageParameter(IPCP_IP_ADDRESS_KEY, local, ¶meter, &index) 110 local.ReplaceMessage(MDSU_PARAMETERS, index, ¶meter); 113 index = 0; 114 if(!FindMessageParameter(IPCP_PRIMARY_DNS_KEY, local, ¶meter, &index) 122 local.ReplaceMessage(MDSU_PARAMETERS, index, ¶meter); 125 index = 0; 126 if(!FindMessageParameter(IPCP_SECONDARY_DNS_KEY, local, ¶meter, &index) 134 local.ReplaceMessage(MDSU_PARAMETERS, index, ¶meter); 255 for(int32 index [all...] |
/haiku/src/kits/support/ |
H A D | StringList.cpp | 58 BStringList::Add(const BString& _string, int32 index) argument 66 if (!fStrings.AddItem(privateData, index)) 92 BStringList::Add(const BStringList& list, int32 index) argument 94 if (!fStrings.AddList(&list.fStrings, index)) 155 BStringList::Remove(int32 index) argument 157 if (index < 0 || index >= fStrings.CountItems()) 160 char* privateData = (char*)fStrings.RemoveItem(index); 168 BStringList::Remove(int32 index, int32 count) argument 171 if (index < 184 Replace(int32 index, const BString& string) argument [all...] |
/haiku/src/add-ons/kernel/drivers/audio/usb/ |
H A D | AudioControlInterface.cpp | 461 int index = inChannel * outCluster->ChannelsCount()+ outChannel; local 462 result = (fControlsBitmap[index >> 3] & (0x80 >> (index & 7))) != 0; 1286 int32& index, int32 parentIndex, multi_mix_control_info* Info, 1289 int32 startIndex = index; 1322 Controls[index].id = masterIndex; 1323 Controls[index].flags = flags; 1324 Controls[index].parent = parentIndex; 1325 Controls[index].string = string; 1327 strlcpy(Controls[index] 1285 _ListFeatureUnitOption(uint32 controlType, int32& index, int32 parentIndex, multi_mix_control_info* Info, FeatureUnit* unit, uint32 channel, uint32 channels) argument 1352 _ListFeatureUnitControl(int32& index, int32 parentIndex, multi_mix_control_info* Info, _AudioControl* control) argument 1479 _ListSelectorUnitControl(int32& index, int32 parentGroup, multi_mix_control_info* Info, _AudioControl* control) argument 1589 _ListMixerUnitControls(int32& index, multi_mix_control_info* Info, Vector<multi_mix_control>& controls) argument 1625 _ListMixControlsForMixerUnit(int32& index, multi_mix_control_info* Info, _AudioControl* control) argument 1787 _ListMixControlsPage(int32& index, multi_mix_control_info* Info, AudioControlsMap& Map, const char* Name) argument 1865 int32 index = 0; local [all...] |
/haiku/src/kits/network/libnetapi/ |
H A D | NetworkSettings.cpp | 48 const char* name, int32 index, uint32 type, 51 const char* name, int32 index, 272 const driver_parameter& parameter, const char* name, int32 index, 281 const char* name, int32 index, uint32 type, BString& value) 327 int32 index; local 328 return _GetItem(fInterfaces, "interface", "device", name, index, interface); 401 int32 index; local 402 return _GetItem(fNetworks, "network", "name", name, index, network); 453 int32 index; local 454 return _GetItem(fServices, "service", "name", name, index, servic 271 ConvertFromDriverSettings( const driver_parameter& parameter, const char* name, int32 index, uint32 type, BMessage& target) argument 280 ConvertToDriverSettings(const BMessage& source, const char* name, int32 index, uint32 type, BString& value) argument 816 int32 index = 0; local 864 int32 index = 0; local 885 int32 index; local 1200 AddressAt(int32 index) argument 1227 RemoveAddress(int32 index) argument 1251 int32 index = interface.FindFirstAddress(family); local 1259 int32 index = FindFirstAddress(family); local 1653 RemoveArgument(int32 index) argument 1682 RemoveAddress(int32 index) argument [all...] |
/haiku/src/add-ons/accelerants/skeleton/engine/ |
H A D | agp.c | 17 uint8 index; local 43 for (index = 0; index < 8; index++) 46 nai.index = index; 59 /* exit if we didn't get device info for this index */ 62 if (index != 0) 69 LOG(4,("AGP: AGP capable device #%d:\n", (index + 1)));
|
/haiku/src/add-ons/media/media-add-ons/mixer/ |
H A D | RtList.h | 45 value* ItemAt(int index) argument 47 return &items[index];
|
/haiku/src/add-ons/media/media-add-ons/radeon/ |
H A D | I2CPort.h | 42 int Register(int address, int index); 44 void SetRegister(int address, int index, int value);
|
/haiku/src/add-ons/translators/wonderbrush/ |
H A D | Canvas.cpp | 61 Canvas::AddLayer(Layer* layer, int32 index) argument 63 return layer && AddItem((void*)layer, index); 68 Canvas::RemoveLayer(int32 index) argument 70 return (Layer*)RemoveItem(index); 82 Canvas::LayerAt(int32 index) const 84 return (Layer*)ItemAt(index); 89 Canvas::LayerAtFast(int32 index) const 91 return (Layer*)ItemAtFast(index);
|
/haiku/src/apps/cortex/support/ |
H A D | MultiInvoker.cpp | 132 void MultiInvoker::RemoveTarget(int32 index) argument 135 (m_messengers.RemoveItem(index)); 156 BHandler* MultiInvoker::TargetAt(int32 index, BLooper** looper) const argument 158 BMessenger* msgr = MessengerAt(index); 167 BMessenger* MultiInvoker::MessengerAt(int32 index) const 170 (m_messengers.ItemAt(index)); 173 bool MultiInvoker::IsTargetLocal(int32 index) const 175 BMessenger* msgr = MessengerAt(index);
|
/haiku/src/servers/app/ |
H A D | WindowList.h | 21 WindowList(int32 index = 0); 24 void SetIndex(int32 index);
|
H A D | WorkspacePrivate.h | 43 const display_info* DisplayAt(int32 index) const 44 { return fDisplays.ItemAt(index); }
|
/haiku/src/tests/add-ons/kernel/file_systems/consistency_check/ |
H A D | AdaptiveBuffering.cpp | 127 int32 index = fReadIndex; local 129 TRACE("%ld. read index %lu, buffer size %lu\n", fReadCount, index, 132 fReadBytes[index] = fCurrentBufferSize; 133 status_t status = Read(fBuffers[index], &fReadBytes[index]); 137 TRACE("%ld. read -> %lu bytes\n", fReadCount, fReadBytes[index]); 140 fReadIndex = (index + 1) % fBufferCount; 141 if (fReadBytes[index] == 0) 200 TRACE("%ld. write index [all...] |
/haiku/headers/os/app/ |
H A D | MessageQueue.h | 25 BMessage* FindMessage(int32 index) const; 26 BMessage* FindMessage(uint32 what, int32 index = 0) const;
|
/haiku/src/add-ons/accelerants/nvidia/engine/ |
H A D | nv_agp.c | 19 uint8 index; local 47 for (index = 0; index < 8; index++) { 49 nai.index = index; 61 /* exit if we didn't get device info for this index */ 63 if (index != 0) 70 LOG(4,("AGP: AGP capable device #%d:\n", (index + 1)));
|