/haiku/headers/private/userlandfs/shared/ |
H A D | Vector.h | 44 status_t Insert(const Value &value, int32 index); 48 Iterator Erase(int32 index); 61 inline Iterator IteratorForIndex(int32 index); 62 inline ConstIterator IteratorForIndex(int32 index) const; 64 inline const Value &ElementAt(int32 index) const; 65 inline Value &ElementAt(int32 index); 73 inline Value &operator[](int32 index); 74 inline const Value &operator[](int32 index) const; 279 \param offset The index to which the elements shall be moved. May be 293 /*! \brief Inserts a copy of the the supplied value at the given index 304 Insert(const Value &value, int32 index) argument 329 int32 index = _IteratorIndex(iterator); local 363 Erase(int32 index) argument 386 int32 index = _IteratorIndex(iterator); local 532 IteratorForIndex(int32 index) argument 579 ElementAt(int32 index) argument 637 int32 index = IndexOf(value, _IteratorIndex(start)); local 672 int32 index = IndexOf(value, _IteratorIndex(start)); local 684 operator [](int32 index) argument 749 int32 index = iterator.Element() - fItems; local 768 int32 index = iterator.Element() - fItems; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/ |
H A D | ar9300_timer.c | 75 /* Find the first availabe timer index */ 104 ar9300_free_generic_timer(struct ath_hal *ah, int index) argument 108 ar9300_stop_generic_timer(ah, index); 109 ahp->ah_avail_gen_timers |= AR_GENTMR_BIT(index); 115 int index, 119 if ((index < AR_FIRST_NDP_TIMER) || (index >= AR_NUM_GEN_TIMERS)) { 126 OS_REG_WRITE(ah, gen_timer_configuration[index].next_addr, timer_next); 127 OS_REG_WRITE(ah, gen_timer_configuration[index].period_addr, timer_period); 129 gen_timer_configuration[index] 113 ar9300_start_generic_timer( struct ath_hal *ah, int index, u_int32_t timer_next, u_int32_t timer_period) argument 153 ar9300_stop_generic_timer(struct ath_hal *ah, int index) argument [all...] |
/haiku/src/add-ons/kernel/drivers/audio/emuxki/ |
H A D | multi.c | 203 emuxki_create_group_control(multi_dev *multi, uint32 *index, int32 parent, argument 205 int32 i = *index; 206 (*index)++; 219 emuxki_create_gpr_control(multi_dev *multi, uint32 *index, int32 parent, int32 string, argument 221 int32 i = *index, id; 258 *index = i; 264 uint32 i = 0, index = 0, count, id, parent, parent2, parent3; local 268 parent = emuxki_create_group_control(multi, &index, 0, 0, "Playback"); 275 parent2 = emuxki_create_group_control(multi, &index, parent, 0, gpr->name); 277 emuxki_create_gpr_control(multi, &index, parent 703 uint32 index, i, designations, nchannels; local [all...] |
/haiku/src/add-ons/kernel/network/ppp/shared/libppp/ |
H A D | MessageDriverSettingsUtils.cpp | 26 int32 index = startIndex ? *startIndex : 0; local 27 for (; message.FindMessage(MDSU_PARAMETERS, index, save) == B_OK; index++) { 31 *startIndex = index; 45 for (int32 index = 0; message.FindString(MDSU_VALUES, index, &value) == B_OK; 46 index++) 73 for (int32 index = 0; message.FindMessage(MDSU_PARAMETERS, index, 74 ¤t) == B_OK; index [all...] |
/haiku/headers/os/support/ |
H A D | ObjectList.h | 151 bool ReplaceItem(int32 index, T*); 153 // at <index> first 154 T* SwapWithItem(int32 index, T* newItem); 156 // delete old item at <index>, returns it 244 // returns either the index into which a new 245 // item should be inserted or index of an 264 for (int32 index = 0; index < count; index++) { 265 if ((result = (list->ItemAt(index) 486 AddItem(T* item, int32 index) argument 502 AddList(BObjectList<T>* list, int32 index) argument 523 RemoveItemAt(int32 index) argument 539 ReplaceItem(int32 index, T* item) argument 550 SwapWithItem(int32 index, T* item) argument 569 _SetItem(int32 index, T* newItem) argument 784 int32 index = _PointerList_::BinarySearchIndex(item, local 800 int32 index = _PointerList_::BinarySearchIndex(item, local 815 int32 index = _PointerList_::BinarySearchIndex(item, local 829 int32 index = _PointerList_::BinarySearchIndex(item, local 842 int32 index = _PointerList_::BinarySearchIndex(©This, local 861 int32 index = _PointerList_::BinarySearchIndex(©This, local 879 int32 index = _PointerList_::BinarySearchIndex(©This, local 896 int32 index = _PointerList_::BinarySearchIndex(©This, local 913 int32 index = _PointerList_::BinarySearchIndexByPredicate(&pred, local 939 int32 index = FindBinaryInsertionIndex(pred, &alreadyInList); local [all...] |
/haiku/src/add-ons/network_settings/dialup/ |
H A D | MessageDriverSettingsUtils.cpp | 28 int32 index = startIndex ? *startIndex : 0; local 29 for(; message.FindMessage(MDSU_PARAMETERS, index, save) == B_OK; index++) { 33 *startIndex = index; 47 for(int32 index = 0; message.FindString(MDSU_VALUES, index, &value) == B_OK; 48 index++) 75 for(int32 index = 0; message.FindMessage(MDSU_PARAMETERS, index, 76 ¤t) == B_OK; index [all...] |
/haiku/src/tests/system/network/tcptester/ |
H A D | tcptester.cpp | 29 int index; member in struct:context 40 while (isdigit(ctx->buffer[ctx->index])) { 42 result += ctx->buffer[ctx->index] - '0'; 43 ctx->index++; 53 if (ctx->buffer[ctx->index] == '[') { 54 ctx->index++; 56 if (ctx->buffer[ctx->index] == ',') { 57 ctx->index++; 76 max = saved = ctx->index; 78 ctx->index 155 int index = 0; local [all...] |
/haiku/src/apps/activitymonitor/ |
H A D | CircularBuffer.h | 68 Type* ItemAt(int32 index) const 70 if (index >= (int32)fIn || index < 0 || fBuffer == NULL) 73 return &fBuffer[(fFirst + index) % fSize]; 78 uint32 index; local 80 index = fFirst + fIn++; 82 index = fFirst++; 85 fBuffer[index % fSize] = item;
|
/haiku/src/add-ons/translators/gif/ |
H A D | LoadPalette.h | 29 uint32 ColorForIndex(int index); 30 void SetColor(int index, uint8 red, uint8 green, uint8 blue);
|
/haiku/src/apps/powerstatus/ |
H A D | APMDriverInterface.h | 20 virtual status_t GetBatteryInfo(int32 index, battery_info* info); 21 virtual status_t GetExtendedBatteryInfo(int32 index,
|
/haiku/src/add-ons/accelerants/via/engine/ |
H A D | agp.c | 16 uint8 index; local 25 for (index = 0; index < 8; index++) { 27 nai.index = index; 39 /* exit if we didn't get device info for this index */ 41 if (index != 0) 48 LOG(4,("AGP: AGP capable device #%d:\n", (index + 1)));
|
/haiku/headers/private/debugger/model/ |
H A D | LineDataSource.h | 17 virtual const char* LineAt(int32 index) const = 0; 18 virtual int32 LineLengthAt(int32 index) const = 0;
|
H A D | TypeComponentPath.h | 27 uint64 index; member in struct:TypeComponent 41 index(other.index), 54 void SetToBaseType(type_kind typeKind, uint64 index = 0, 59 this->index = index; 63 void SetToDataMember(type_kind typeKind, uint64 index, argument 68 this->index = index; 76 this->index [all...] |
/haiku/headers/private/debugger/types/ |
H A D | ArrayIndexPath.h | 29 inline int64 IndexAt(int32 index) const; 30 inline bool AddIndex(int64 index); 51 ArrayIndexPath::IndexAt(int32 index) const 53 return index >= 0 && index < fIndices.Count() 54 ? fIndices.ElementAt(index) : -1; 59 ArrayIndexPath::AddIndex(int64 index) argument 61 return fIndices.Add(index);
|
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | Misc.h | 27 int index = 0; local 41 index += range; 51 index += 16; 56 index += 8; 61 index += 4; 66 index += 2; 71 index++; 73 return index;
|
/haiku/src/kits/debugger/debug_info/ |
H A D | ImageDebugInfoLoadingState.cpp | 58 ImageDebugInfoLoadingState::SetSpecificInfoIndex(int32 index) argument 60 fSpecificInfoIndex = index;
|
/haiku/src/apps/mediaplayer/supplier/ |
H A D | TrackSupplier.h | 37 virtual status_t GetAudioMetaData(int32 index, 39 virtual status_t GetVideoMetaData(int32 index, 42 virtual AudioTrackSupplier* CreateAudioTrackForIndex(int32 index) = 0; 43 virtual VideoTrackSupplier* CreateVideoTrackForIndex(int32 index) = 0; 44 virtual const SubTitles* SubTitleTrackForIndex(int32 index) = 0;
|
/haiku/src/kits/shared/ |
H A D | StringForRate.cpp | 38 size_t index = 0; local 39 while (index < B_COUNT_OF(kFormats) - 1 && rate >= 1024.0) { 41 index++; 46 gSystemCatalog.GetString(kFormats[index], B_TRANSLATION_CONTEXT, "units per second")); 51 numberFormat.SetPrecision(index == 0 ? 0 : 2);
|
/haiku/headers/private/shared/ |
H A D | RangeArray.h | 58 inline bool RemoveRanges(int32 index, int32 count = 1); 69 inline const RangeType& RangeAt(int32 index) const 70 { return fRanges.ElementAt(index); } 72 inline const RangeType& operator[](int32 index) const 73 { return fRanges[index]; } 78 inline RangeType& _RangeAt(int32 index) argument 79 { return fRanges.ElementAt(index); } 124 int32 index = InsertionIndex(offset); 128 int32 endIndex = index; 129 // index afte 235 RemoveRanges(int32 index, int32 count) argument 253 int32 index = InsertionIndex(offset); local [all...] |
/haiku/src/apps/soundrecorder/ |
H A D | DrawingTidbits.cpp | 61 for (int32 index = 0; index < bitsLength; index++) 62 if (bits[index] == fromIndex) 63 bits[index] = toIndex; 77 for (int32 index = 0; index < bitsLength; index++) 78 if (bits[index] == B_TRANSPARENT_8_BIT) 79 bits[index] [all...] |
/haiku/src/tests/kits/app/bmessage/ |
H A D | MessagePointerItemTest.h | 29 static status_t Find(BMessage& msg, const char* name, int32 index, argument 31 { return msg.FindPointer(name, index, (void**)val); } 34 static const void* QuickFind(BMessage& msg, const char* name, int32 index) argument 37 msg.FindPointer(name, index, (void**)&ptr); 40 static bool Has(BMessage& msg, const char* name, int32 index) argument 41 { return msg.HasPointer(name, index); } 42 static status_t Replace(BMessage& msg, const char* name, int32 index, argument 44 { return msg.ReplacePointer(name, index, val); } 46 int32 index, const void** data, ssize_t* size) 47 { return msg.FindData(name, type, index, dat 45 FindData(BMessage& msg, const char* name, type_code type, int32 index, const void** data, ssize_t* size) argument [all...] |
/haiku/src/servers/launch/ |
H A D | Conditions.cpp | 187 for (int32 index = 0; args.GetInfo(B_MESSAGE_TYPE, index, &name, &type, 188 &count) == B_OK; index++) { 220 for (int32 index = 0; index < fConditions.CountItems(); index++) { 221 const Condition* condition = fConditions.ItemAt(index); 237 for (int32 index = 0; index < fConditions.CountItems(); index [all...] |
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/ |
H A D | IMAPMailbox.cpp | 28 IMAPMailbox::AddMessageEntry(uint32 index, uint32 uid, uint32 flags, argument 34 fUIDs.reserve(index + 1); 35 fUIDs[index] = uid; 40 IMAPMailbox::RemoveMessageEntry(uint32 index) argument 42 if (index >= fUIDs.size()) 45 uint32 uid = fUIDs[index]; 48 fUIDs.erase(fUIDs.begin() + index); 53 IMAPMailbox::UIDForIndex(uint32 index) const 55 if (index >= fUIDs.size()) 58 return fUIDs[index]; [all...] |
/haiku/headers/private/media/ |
H A D | TList.h | 57 bool Get(int32 index, value **v) const argument 59 if (index < 0 || index >= item_count) 61 *v = items[index]; 65 bool Remove(int32 index) argument 67 if (index < 0 || index >= item_count) 69 delete items[index]; 71 items[index] = items[item_count]; 72 if (index [all...] |
/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/ |
H A D | geode_multi.cpp | 318 create_group_control(geode_multi *multi, uint32 *index, uint32 parent, argument 320 int32 i = *index; 321 (*index)++; 337 uint32 i = 0, index = 0, count, id, parent, parent2, parent3; local 341 parent = create_group_control(multi, &index, 0, S_null, "AC97 mixer"); 350 parent2 = create_group_control(multi, &index, parent, S_null, info->name); 354 multi->controls[index].mix_control.id = MULTI_CONTROL_FIRSTID + index; 355 multi->controls[index].mix_control.flags = B_MULTI_MIX_ENABLE; 356 multi->controls[index] [all...] |