/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/ |
H A D | KPPPLCP.cpp | 89 //! Returns the option handler at the given \a index. 91 KPPPLCP::OptionHandlerAt(int32 index) const 94 KPPPOptionHandler *optionHandler = fOptionHandlers.ItemAt(index); 111 int32 index = start ? *start : 0; local 113 if (index < 0) 116 KPPPOptionHandler *current = OptionHandlerAt(index); 118 for (; current; current = OptionHandlerAt(++index)) { 121 *start = index; 163 //! Returns the LCP extension at the given \a index. 165 KPPPLCP::LCPExtensionAt(int32 index) cons 185 int32 index = start ? *start : 0; local 308 int32 index = 0; local [all...] |
/haiku/src/system/kernel/fs/ |
H A D | EntryCache.cpp | 120 if (entry->index >= 0) { 121 fGenerations[entry->generation].entries[entry->index] = NULL; 136 entry->index = kEntryNotInArray; 160 if (entry->index >= 0) { 162 fGenerations[entry->generation].entries[entry->index] = NULL; 168 entry->index = kEntryRemoved; 189 if (oldGeneration == fCurrentGeneration || entry->index < 0) { 198 fGenerations[oldGeneration].entries[entry->index] = NULL; 199 entry->index = kEntryNotInArray; 202 const int32 index local 252 int32 index = fGenerations[fCurrentGeneration].next_index++; local [all...] |
/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | Directory.cpp | 36 inline uint64 BlockIndexAt(int32 index) const; 37 const char* NameAt(int32 index, size_t& _nameLength) const; 42 int32 FindSplitIndex(int32 index, 45 void InsertEntry(int32 index, const char* name, 47 void ReplaceEntryName(int32 index, const char* name, 49 void RemoveEntry(int32 index); 87 int32 index; member in struct:DirEntryTree::LevelInfo 199 DirEntryBlock::BlockIndexAt(int32 index) const 203 return blockIndices[-index]; 208 DirEntryBlock::NameAt(int32 index, size_ argument 233 int32 index = 0; local 257 FindSplitIndex(int32 index, size_t bytesNeeded) const argument 276 InsertEntry(int32 index, const char* name, size_t nameLength, uint64 blockIndex) argument 320 ReplaceEntryName(int32 index, const char* name, size_t nameLength) argument 356 RemoveEntry(int32 index) argument 573 int32 index = entryBlock.FindInsertionIndex(name, nameLength, local [all...] |
/haiku/src/apps/icon-o-matic/shape/ |
H A D | PathManipulator.h | 71 virtual void PointAdded(int32 index); 72 virtual void PointRemoved(int32 index); 73 virtual void PointChanged(int32 index); 103 void _InsertPoint(BPoint where, int32 index); 104 void _SetInOutConnected(int32 index, 106 void _SetSharp(int32 index); 109 void _RemovePoint(int32 index); 110 void _RemovePointIn(int32 index); 111 void _RemovePointOut(int32 index); 116 void _Select(int32 index, boo [all...] |
/haiku/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)) { 104 index, GetIndex(), fNode->GetNumber(), location, 112 if (index == 0) 115 maxLength = EntryAt(index -1)->GetLocation() 124 status_t GetEntryNameAt(int32 index, cha argument [all...] |
/haiku/src/kits/tracker/ |
H A D | MimeTypeList.cpp | 142 for (int32 index = 0; index < count; index++) { 143 if ((func)(fCommonMimeList.ItemAt(index), state)) 144 return fCommonMimeList.ItemAt(index); 163 for (int32 index = 0; index < count; index++) { 165 if (message.FindString("types", index, &str) != B_OK)
|
H A D | PoseViewScripting.cpp | 64 // Specifying an index/entry_ref that no longer exists will be handled well. 113 "delete Entry {path|index} # deletes specified entries in a PoseView", 123 "get Entry [next|previous|index] # returns specified entries", 132 "execute Entry {path|index} # opens specified entries", 169 "create selection of ... to {entry|index} " 179 "delete selection {path|index} of ... " 220 int32 index = 0; local 223 status_t result = message->GetCurrentSpecifier(&index, &specifier, 226 if (result != B_OK || index == -1) 280 for (int32 index 574 int32 index; local 693 ResolveSpecifier(BMessage* message, int32 index, BMessage* specifier, int32 form, const char* property) argument [all...] |
/haiku/headers/os/interface/ |
H A D | GroupLayout.h | 23 float ItemWeight(int32 index) const; 24 void SetItemWeight(int32 index, float weight); 27 virtual BLayoutItem* AddView(int32 index, BView* child); 29 virtual BLayoutItem* AddView(int32 index, BView* child, 33 virtual bool AddItem(int32 index, BLayoutItem* item); 35 virtual bool AddItem(int32 index, BLayoutItem* item, 47 int32 index) const; 49 BLayoutItem* item, int32 index); 60 int32 index,
|
H A D | ListView.h | 85 virtual BListItem* RemoveItem(int32 index); 86 virtual bool RemoveItems(int32 index, int32 count); 99 BListItem* ItemAt(int32 index) const; 112 void InvalidateItem(int32 index); 113 void ScrollTo(int32 index); 116 void Select(int32 index, bool extend = false); 119 bool IsItemSelected(int32 index) const; 120 int32 CurrentSelection(int32 index = 0) const; 126 void Deselect(int32 index); 130 virtual bool InitiateDrag(BPoint where, int32 index, 161 struct Replace { int32 index; BListItem *item; } replace; member in struct:BListView::MiscData::Replace [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/wb840/ |
H A D | driver.c | 48 int index = 0; local 69 while (gPci->get_nth_pci_info(index, item) == B_OK) { 81 index++; 92 for (index = 0; index < card_found; index++) { 93 sprintf(devName, DEVICE_NAME "/%d", index); 95 gDevNameList[index] = strdup(devName); 98 gDevNameList[index] = NULL;
|
/haiku/headers/private/package/hpkg/ |
H A D | PackageFileHeapAccessorBase.h | 136 the caller is responsible for ensuring a valid index. 137 - The first (index 0) chunk offset is omitted, since it is always 0. 164 uint64 operator[](size_t index) const; 183 PackageFileHeapAccessorBase::OffsetArray::operator[](size_t index) const 185 if (index == 0) 188 if (fOffsets[0] == 0 || index < fOffsets[0]) 189 return fOffsets[index]; 191 index += index - fOffsets[0]; 192 return fOffsets[index] | ((uint6 [all...] |
/haiku/src/apps/deskbar/ |
H A D | StatusViewShelf.cpp | 68 int32 index = 0; local 78 // note: if specified by index its the index not the id! 80 while (message->FindMessage("specifiers", index++, &repspec) 86 int32 index; local 87 if (repspec.FindInt32("index", &index) == B_OK) { 90 if (fParent->ItemInfo(index, &name, &id) == B_OK)
|
/haiku/src/apps/mediaplayer/supplier/ |
H A D | MediaFileTrackSupplier.h | 36 virtual status_t GetAudioMetaData(int32 index, 38 virtual status_t GetVideoMetaData(int32 index, 41 virtual AudioTrackSupplier* CreateAudioTrackForIndex(int32 index); 42 virtual VideoTrackSupplier* CreateVideoTrackForIndex(int32 index); 43 virtual const SubTitles* SubTitleTrackForIndex(int32 index);
|
/haiku/src/build/libroot/ |
H A D | fs_attr_extattr.h | 39 int index = *buffer; local 42 while (index < bytesRead - 1) { 43 int len = buffer[index]; 44 buffer[index] = '\0'; 45 index += len + 1;
|
/haiku/src/kits/device/ |
H A D | USBConfiguration.cpp | 16 BUSBConfiguration::BUSBConfiguration(BUSBDevice *device, uint32 index, int rawFD) argument 18 fIndex(index), 100 BUSBConfiguration::InterfaceAt(uint32 index) const 102 if (index >= fDescriptor.number_interfaces || fInterfaces == NULL) 105 return fInterfaces[index];
|
/haiku/src/apps/text_search/ |
H A D | GrepListView.cpp | 49 int32 index; local 50 ResultItem* item = FindItem(ref, &index); 56 BListItem* subItem = FullListItemAt(index + 1); 58 delete RemoveItem(index + 1); 65 delete RemoveItem(index);
|
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | IndexDirectory.h | 25 AttributeIndex **index = NULL); 27 bool DeleteIndex(Index *index); 34 bool IsSpecialIndex(Index *index) const; 40 Index *IndexAt(int32 index) const { return fIndices.ItemAt(index); }
|
/haiku/src/tests/kits/app/bmessagequeue/ |
H A D | FindMessageTest1.cpp | 89 int index = 0; local 91 index)) != NULL) { 92 listMessage = FindMessage(whatCode, index); 94 index++; 96 listMessage = FindMessage(whatCode, index);
|
/haiku/src/kits/storage/disk_device/ |
H A D | PartitioningInfo.cpp | 192 BPartitioningInfo::GetPartitionableSpaceAt(int32 index, off_t* offset, argument 199 if (index < 0 || index >= fCount) 201 *offset = fSpaces[index].offset; 202 *size = fSpaces[index].size; 236 BPartitioningInfo::_InsertSpaces(int32 index, int32 count) argument 238 if (index <= 0 || index > fCount || count <= 0) 244 memmove(fSpaces + index + count, fSpaces + index, 275 _RemoveSpaces(int32 index, int32 count) argument [all...] |
/haiku/src/add-ons/media/plugins/ffmpeg/ |
H A D | CodecTable.cpp | 34 int32 index = 0; 38 if (index >= sMaxFormatCount) { 74 gAVCodecFormats[index] = format; 76 index++; 80 *_count = index;
|
/haiku/src/kits/shared/ |
H A D | StringForSize.cpp | 39 size_t index = 0; local 40 while (index < B_COUNT_OF(kFormats) - 1 && size >= 1024.0) { 42 index++; 47 gSystemCatalog.GetString(kFormats[index], B_TRANSLATION_CONTEXT, "size unit")); 52 numberFormat.SetPrecision(index == 0 ? 0 : 2);
|
/haiku/src/servers/app/ |
H A D | DelayedMessage.cpp | 134 int32 index); 329 for (int32 index = 0; index < fTargets.CountItems(); ++index) { 330 if (port == *fTargets.ItemAt(index)) 345 for (int32 index = 0; index < fTargets.CountItems(); ++index) { 346 port_id* target = fTargets.ItemAt(index); 367 for (int32 index 482 Compare(Attachment* one, Attachment* two, int32 index) argument [all...] |
/haiku/src/apps/haikudepot/textview/ |
H A D | TextDocument.cpp | 169 int32 index; local 172 for (index = 0; index < count; index++) { 173 const TextSpan& span = paragraph.TextSpanAtIndex(index); 190 int32 index; local 193 for (index = 0; index < count; index++) { 194 const TextSpan& span = paragraph.TextSpanAtIndex(index); 211 int32 index; local 275 int32 index = ParagraphIndexFor(textOffset, paragraphOffset); local 522 _Insert(int32 textOffset, TextDocumentRef document, int32& index, int32& paragraphCount) argument 676 _Remove(int32 textOffset, int32 length, int32& index, int32& paragraphCount) argument [all...] |
/haiku/headers/private/kernel/util/ |
H A D | KMessage.h | 86 int32 index, const void** data, 89 inline status_t FindBool(const char* name, int32 index, 92 inline status_t FindInt8(const char* name, int32 index, 95 inline status_t FindInt16(const char* name, int32 index, 98 inline status_t FindInt32(const char* name, int32 index, 101 inline status_t FindInt64(const char* name, int32 index, 105 inline status_t FindPointer(const char* name, int32 index, 109 inline status_t FindString(const char* name, int32 index, 114 inline bool GetBool(const char* name, int32 index, 118 inline int8 GetInt8(const char* name, int32 index, 348 _FindType(const char* name, type_code type, int32 index, T* value) const argument 374 FindBool(const char* name, int32 index, bool* value) const argument 388 FindInt8(const char* name, int32 index, int8* value) const argument 402 FindInt16(const char* name, int32 index, int16* value) const argument 416 FindInt32(const char* name, int32 index, int32* value) const argument 430 FindInt64(const char* name, int32 index, int64* value) const argument 444 FindPointer(const char* name, int32 index, void** value) const argument 458 FindString(const char* name, int32 index, const char** value) const argument 467 _GetType(const char* name, type_code type, int32 index, const T& defaultValue) const argument 485 GetBool(const char* name, int32 index, bool defaultValue) const argument 499 GetInt8(const char* name, int32 index, int8 defaultValue) const argument 513 GetInt16(const char* name, int32 index, int16 defaultValue) const argument 527 GetInt32(const char* name, int32 index, int32 defaultValue) const argument 541 GetInt64(const char* name, int32 index, int64 defaultValue) const argument 555 GetPointer(const char* name, int32 index, const void* defaultValue) const argument 564 GetString(const char* name, int32 index, const char* defaultValue) const argument [all...] |
/haiku/src/tools/fs_shell/ |
H A D | hash.cpp | 156 uint32_t index = iterator->bucket; local 162 for (element = table->table[index]; index < table->table_size; index++) { 173 table->table[index] = (struct hash_element *)NEXT(table, 190 uint32_t index; local 192 for (index = _cookie ? *_cookie : 0; index < table->table_size; index++) { 193 void *element = table->table[index]; 272 uint32_t index; local [all...] |