/haiku/src/apps/terminal/ |
H A D | SmartTabView.cpp | 130 SmartTabView::Select(int32 index) argument 132 BTabView::Select(index); 133 BView *view = ViewForTab(index); 142 fListener->TabSelected(this, index); 196 SmartTabView::RemoveTab(int32 index) argument 227 return BTabView::RemoveTab(index); 232 SmartTabView::MoveTab(int32 index, int32 newIndex) argument 236 if (index == newIndex || index < 0 || newIndex < 0 || index > 297 TabSelected(SmartTabView* tabView, int32 index) argument 303 TabDoubleClicked(SmartTabView* tabView, BPoint point, int32 index) argument 310 TabMiddleClicked(SmartTabView* tabView, BPoint point, int32 index) argument 317 TabRightClicked(SmartTabView* tabView, BPoint point, int32 index) argument [all...] |
/haiku/src/add-ons/network_settings/dialup/ |
H A D | DialUpView.cpp | 161 for(int32 index = 0; 162 fAddons.FindPointer(DUN_DELETE_ON_QUIT, index, 164 index++) 236 int32 index; local 237 message->FindInt32("index", &index); 238 SelectInterface(index); 261 int32 index = fInterfaceMenu->IndexOf(item); local 262 if(!item || index >= CountInterfaces()) 265 SelectInterface(index); 738 int32 index = FindNextMenuInsertionIndex(fInterfaceMenu, name); local 750 SelectInterface(int32 index, bool isNew) argument [all...] |
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/ |
H A D | Response.cpp | 221 ArgumentList::StringAt(int32 index) const 223 if (index >= 0 && index < CountItems()) { 225 = dynamic_cast<StringArgument*>(ItemAt(index))) 233 ArgumentList::IsStringAt(int32 index) const 235 if (index >= 0 && index < CountItems()) { 236 if (dynamic_cast<StringArgument*>(ItemAt(index)) != NULL) 244 ArgumentList::EqualsAt(int32 index, const char* string) const argument 246 return StringAt(index) 272 IsListAt(int32 index, char kind) const argument [all...] |
/haiku/src/system/kernel/arch/x86/64/ |
H A D | descriptors.cpp | 76 static void LoadTSS(unsigned index); 120 static InterruptDescriptor Generate(unsigned index); 221 TSSDescriptor::LoadTSS(unsigned index) argument 223 asm volatile("ltr %w0" : : "r" (index << 3)); 272 auto index = kFirstTSS + cpu * 3; local 273 ASSERT(index + 1 < kDescriptorCount); 274 fTable[index] = tss.GetLower(); 275 fTable[index + 1] = tss.GetUpper(); 276 return index; 283 auto index local 336 Generate(unsigned index) argument [all...] |
/haiku/src/system/libroot/os/ |
H A D | parsedate.cpp | 550 int32 index = 0, modify = MODIFY_NONE; local 566 if (index >= MAX_ELEMENTS) 570 elements[index].SetCharType(TYPE_COMMA); 572 elements[index].SetCharType(TYPE_DOT); 575 elements[index].SetCharType(TYPE_DASH); 577 elements[index].SetCharType(TYPE_COLON); 585 elements[index].flags = FLAG_HAS_DASH; 592 elements[index].type = TYPE_UNKNOWN; 593 elements[index].value_type = VALUE_NUMERICAL; 594 elements[index] [all...] |
/haiku/src/kits/interface/ |
H A D | GridLayout.cpp | 77 float Weight(int32 index) const 79 if (Info* info = _InfoAt(index)) 84 void SetWeight(int32 index, float weight) argument 86 if (Info* info = _InfoAt(index, true)) 90 float MinSize(int32 index) const 92 if (Info* info = _InfoAt(index)) 97 void SetMinSize(int32 index, float size) argument 99 if (Info* info = _InfoAt(index, true)) 103 float MaxSize(int32 index) const 105 if (Info* info = _InfoAt(index)) 110 SetMaxSize(int32 index, float size) argument 128 _InfoAt(int32 index, bool resize) argument 399 AddView(int32 index, BView* child) argument 439 AddItem(int32 index, BLayoutItem* item) argument 547 ItemUnarchived(const BMessage* from, BLayoutItem* item, int32 index) argument 677 GetColumnRowConstraints(orientation orientation, int32 index, ColumnRowConstraints* constraints) argument [all...] |
/haiku/src/apps/mediaplayer/playlist/ |
H A D | PlaylistListView.cpp | 283 int32 index; local 285 && message->FindInt32("index", &index) == B_OK) 286 _AddItem(item, index); 291 int32 index; local 292 if (message->FindInt32("index", &index) == B_OK) 293 _RemoveItem(index); 301 int32 index; local 302 if (message->FindInt32("index", 391 int32 index; local 441 int32 index = fPlaylist->CurrentItemIndex() - 1; local 452 int32 index = fPlaylist->CurrentItemIndex() + 1; local 506 DrawListItem(BView* owner, int32 index, BRect frame) const argument 547 int32 index = CurrentSelection(count); local 580 RemoveToTrash(int32 index) argument 635 _AddItem(PlaylistItem* _item, int32 index) argument 647 _RemoveItem(int32 index) argument 654 _SetCurrentPlaylistIndex(int32 index) argument [all...] |
/haiku/src/tools/cppunit/cppunit/ |
H A D | CompilerOutputter.cpp | 68 for ( int index =0; index < m_result->testFailuresTotal(); ++index) 70 printFailureDetail( m_result->failures()[ index ] ); 169 int index =0; local 170 while ( index < (int)line.length() ) 172 string line( line.substr( index, maxLineLength ) ); 174 index += maxLineLength; 175 if ( index < (int)line.length() )
|
/haiku/src/servers/package/ |
H A D | FSUtils.h | 154 int32 index = fPath.FindLast('/'); local 155 if (index < 0 || (index == 0 && fPath.Length() == 1)) 157 else if (index == 0) 160 fPath.Truncate(index); 166 int32 index = fPath.FindLast('/'); local 167 if (index < 0 || (index == 0 && fPath.Length() == 1)) 169 return fPath.String() + index + 1;
|
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/ |
H A D | KPPPReportManager.cpp | 47 for (int32 index = 0; index < fReportRequests.CountItems(); index++) 48 delete fReportRequests.ItemAt(index); 195 for (int32 index = 0; index < fReportRequests.CountItems(); index++) { 196 request = fReportRequests.ItemAt(index); 213 --index;
|
/haiku/src/add-ons/kernel/partitioning_systems/gpt/ |
H A D | utility.cpp | 96 size_t index = 0; local 97 while (from[0] != '\0' && index < maxToLength) { 103 to[index++] = B_HOST_TO_LENDIAN_INT16(c); 105 if (index + 1 >= maxToLength) break; 110 to[index++] = B_HOST_TO_LENDIAN_INT16(w1); 111 to[index++] = B_HOST_TO_LENDIAN_INT16(w2); 115 if (index < maxToLength) 116 to[index++] = '\0'; 118 return index;
|
/haiku/src/add-ons/disk_systems/gpt/ |
H A D | GPTPartitionHandle.cpp | 113 int32 index = *cookie; local 115 child, index); 117 if (index >= int32(B_COUNT_OF(kTypeMap))) 120 type->SetTo(kTypeMap[index].type); 121 *cookie = index + 1; 141 for (size_t index = 0; index < count; index++) { 142 BMutablePartition* child = Partition()->ChildAt(index);
|
/haiku/src/add-ons/kernel/drivers/input/hid_shared/ |
H A D | DeviceList.cpp | 146 DeviceList::DeviceAt(int32 index) argument 150 if (index-- == 0) 169 int32 index = 0; 172 fPublishList[index++] = strdup(current->name); 176 fPublishList[index] = NULL; 187 int32 index = 0; 188 while (fPublishList[index] != NULL) { 189 free(fPublishList[index]); 190 index++;
|
/haiku/src/add-ons/input_server/methods/pen/ |
H A D | DumpMessage.cpp | 70 int32 index; local 122 for (index=0; index < field_count; index++) { 126 sprintf(buffer, "[%ld]", index); 135 if (message->FindMessage(field_name, index, &m) >= B_OK) 143 if (message->FindFlat(field_name, index, &f) >= B_OK) 151 if (message->FindRGBColor(field_name, index, &c) >= B_OK) { 165 if (message->FindBool(field_name, index, &value) >= B_OK) { 175 if (message->FindInt32(field_name, index, [all...] |
/haiku/src/system/kernel/util/ |
H A D | RadixBitmap.cpp | 108 uint32 index = 0; local 120 return index; 135 index = i + radix_bitmap_init(node ? &node[i] : NULL, 139 index = i + radix_bitmap_init(node ? &node[i] : NULL, 149 if (index < i) 150 index = i; 152 return index; 286 uint32 radix, uint32 skip, radix_slot_t index) 293 uint32 i = (slotIndex - index) / radix; 294 index [all...] |
/haiku/src/add-ons/screen_savers/simpleclock/ |
H A D | SimpleClock.cpp | 152 for (int index = 0; index < 4; index++) { 153 blockPoints[index].x = x + size * cos(blockAngles[index]); 154 blockPoints[index].y = y + size * sin(blockAngles[index]); 175 for(int index = 0; index < 4; index [all...] |
/haiku/src/libs/icon/style/ |
H A D | GradientTransformable.cpp | 244 // find the correct index (sorted by offset) 246 int32 index = 0; local 248 for (; index < count; index++) { 249 BGradient::ColorStop* s = ColorAtFast(index); 253 if (!fColors.AddItem((void*)step, index)) { 258 return index; 263 Gradient::AddColor(const BGradient::ColorStop& color, int32 index) argument 266 if (!fColors.AddItem((void*)step, index)) { 276 Gradient::RemoveColor(int32 index) argument 292 SetColor(int32 index, const BGradient::ColorStop& color) argument 307 SetColor(int32 index, const rgb_color& color) argument 321 SetOffset(int32 index, float offset) argument 420 int32 index = (int32)floorf(count * from->offset + 0.5); local [all...] |
/haiku/src/apps/mediaplayer/ |
H A D | ControllerObserver.cpp | 61 ControllerObserver::VideoTrackChanged(int32 index) argument 67 message.AddInt32("index", index); 74 ControllerObserver::AudioTrackChanged(int32 index) argument 80 message.AddInt32("index", index); 87 ControllerObserver::SubTitleTrackChanged(int32 index) argument 93 message.AddInt32("index", index);
|
/haiku/src/preferences/locale/ |
H A D | LanguageListView.cpp | 203 for (int32 index = 0; index < FullListCountItems(); index++) { 205 = static_cast<LanguageListItem*>(FullListItemAt(index)); 209 *_index = index; 221 for (int32 index = 0; index < FullListCountItems(); index++) { 223 = static_cast<LanguageListItem*>(FullListItemAt(index)); 227 *_index = index; 331 int32 index = CurrentSelection(i); local 371 int32 index = message.FindInt32("index", i); local 443 int32 index = IndexOf(where); local [all...] |
/haiku/headers/os/support/ |
H A D | StringList.h | 22 bool Add(const BString& string, int32 index); 24 bool Add(const BStringList& list, int32 index); 31 BString Remove(int32 index); 32 bool Remove(int32 index, int32 count); 33 bool Replace(int32 index, const BString& string); 44 BString StringAt(int32 index) const;
|
/haiku/src/add-ons/tracker/mark_as/ |
H A D | MarkAs.cpp | 41 int32 index; 42 for (index = 0; index < menu->CountItems(); index++) { 43 if (strcmp(menu->ItemAt(index)->Label(), name) > 0) 47 menu->AddItem(new BMenuItem(name, NULL), index); 90 //TODO:This won't work anymore when the menu gets translated! Use index!
|
/haiku/src/kits/debugger/util/ |
H A D | RangeList.cpp | 87 RangeList::RemoveRangeAt(int32 index) argument 89 if (index < 0 || index >= CountItems()) 92 RemoveItem(ItemAt(index)); 119 RangeList::RangeAt(int32 index) const 121 return ItemAt(index);
|
/haiku/src/tests/servers/app/harness/ |
H A D | harness.cpp | 122 int32 index; local 123 if (message->FindInt32("index", &index) == B_OK) 124 SetToTest(index); 146 message->AddInt32("index", fTests.CountItems() - 1); 162 TestWindow::SetToTest(int32 index) argument 164 Test* test = (Test*)fTests.ItemAt(index); 168 fTestSelectionField->Menu()->ItemAt(index)->SetMarked(true);
|
/haiku/src/kits/tracker/ |
H A D | PoseView.h | 192 void CheckPoseSortOrder(BPose*, int32 index); 241 BColumn* ColumnAt(int32 index) const; 253 BPose* PoseAtIndex(int32 index) const; 255 BPose* FindPose(BPoint where, int32* index = NULL) const; 259 BPose* FindPose(const Model*, int32* index = NULL) const; 260 BPose* FindPose(const node_ref*, int32* index = NULL) const; 261 BPose* FindPose(const entry_ref*, int32* index = NULL) const; 263 int32* index) const; 266 BPose* DeepFindPose(const node_ref* node, int32* index = NULL) const; 280 int32* index [all...] |
/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...] |