/haiku/src/bin/bfs_tools/lib/ |
H A D | Hashtable.cpp | 63 for(int32 index = fCapacity;--index >= 0;) 67 for(entry = table[index];entry;entry = next) 113 int index; local 122 index = hash % fCapacity; 124 fTable[index] = new Entry(fTable[index], key, value); 135 int32 index; local 139 index = hash % fCapacity; 141 for(entry = table[index],pre 261 int index; local [all...] |
/haiku/src/system/kernel/arch/generic/ |
H A D | generic_vm_physical_page_mapper.cpp | 59 int index; local 66 index = pa / sIOSpaceChunkSize; 67 if (paddr_desc[index].va != 0) { 68 if (paddr_desc[index].ref_count++ == 0) { 70 queue_remove_item(&mapped_paddr_lru, &paddr_desc[index]); 72 *va = paddr_desc[index].va + pa % sIOSpaceChunkSize; 80 paddr_desc[index].va = first_free_vmapping * sIOSpaceChunkSize 82 *va = paddr_desc[index].va + pa % sIOSpaceChunkSize; 83 virtual_pmappings[first_free_vmapping] = &paddr_desc[index]; 84 paddr_desc[index] [all...] |
/haiku/src/servers/launch/ |
H A D | SettingsParser.cpp | 28 status_t AddSubMessage(const driver_parameter& parameter, int32 index, argument 31 const char* condition = parameter.values[index]; 33 for (index++; index < parameter.value_count; index++) { 35 parameter.values[index]); 49 const char* name, int32 index, uint32 type, BMessage& target) 55 if (index != 0) 63 index++; 66 status_t status = AddSubMessage(parameter, index, *ad 48 ConvertFromDriverSettings(const driver_parameter& parameter, const char* name, int32 index, uint32 type, BMessage& target) argument 92 ConvertFromDriverSettings(const driver_parameter& parameter, const char* name, int32 index, uint32 type, BMessage& target) argument 117 ConvertFromDriverSettings(const driver_parameter& parameter, const char* name, int32 index, uint32 type, BMessage& target) argument [all...] |
/haiku/src/add-ons/kernel/drivers/input/hid_shared/ |
H A D | HIDCollection.cpp | 84 HIDCollection::ChildAt(uint32 index) argument 87 if (count < 0 || index >= (uint32)count) 90 return fChildren[index]; 114 HIDCollection::ChildAtFlat(uint8 type, uint32 index) argument 116 return _ChildAtFlat(type, index); 131 HIDCollection::ItemAt(uint32 index) argument 134 if (count < 0 || index >= (uint32)count) 137 return fItems[index]; 157 HIDCollection::ItemAtFlat(uint32 index) argument 159 return _ItemAtFlat(index); 218 _ChildAtFlat(uint8 type, uint32 &index) argument 242 _ItemAtFlat(uint32 &index) argument [all...] |
/haiku/src/kits/support/ |
H A D | PointerList.cpp | 44 Returns the index of the item that matches key or 45 a negative number. Then -(index+1) is the insert position 80 int32 &index); 116 int32 index; local 118 BinarySearch(key, items, list->CountItems(), index); 119 return index; 126 int32 index; local 128 return BinarySearch(key, items, list->CountItems(), index); 156 int32 numItems, int32 &index) 160 index 155 BinarySearch(const void *key, const void **items, int32 numItems, int32 &index) argument 364 ReplaceItem(int32 index, void *newItem) argument [all...] |
/haiku/src/add-ons/kernel/bus_managers/virtio/ |
H A D | VirtioDevice.cpp | 21 return "ring event index"; 193 for (size_t index = 0; index < count; index++) { 194 uint16 size = fController->get_queue_ring_size(fCookie, index); 195 fQueues[index] = new(std::nothrow) VirtioQueue(this, index, size); 196 queues[index] = fQueues[index]; 198 if (fQueues[index] ! [all...] |
/haiku/headers/private/storage/ |
H A D | DiskSystemAddOnManager.h | 32 BDiskSystemAddOn* AddOnAt(int32 index) const; 47 AddOn* _AddOnAt(int32 index) const; 48 void _PutAddOn(int32 index);
|
H A D | PartitioningInfo.h | 27 status_t GetPartitionableSpaceAt(int32 index, 33 status_t _InsertSpaces(int32 index, int32 count); 34 void _RemoveSpaces(int32 index, int32 count);
|
/haiku/src/add-ons/accelerants/intel_810/ |
H A D | i810_regs.h | 126 ReadCrtcReg(uint8 index) argument 128 OUTREG8(CRTC_INDEX, index); 134 WriteCrtcReg(uint8 index, uint8 value) argument 136 OUTREG8(CRTC_INDEX, index); 142 ReadGraphReg(uint8 index) argument 144 OUTREG8(GRAPH_INDEX, index); 150 WriteGraphReg(uint8 index, uint8 value) argument 152 OUTREG8(GRAPH_INDEX, index); 158 ReadSeqReg(uint8 index) argument 160 OUTREG8(SEQ_INDEX, index); 166 WriteSeqReg(uint8 index, uint8 value) argument [all...] |
/haiku/src/apps/cortex/RouteApp/ |
H A D | NodeSetIOContext.h | 79 uint32 index); 85 uint32 index) const; 88 uint32 index) const;
|
/haiku/src/bin/ |
H A D | message.cpp | 18 printf("usage: %s <flattened message file> [index]\n", argv[0]); 35 int index = argc > 2 ? atoi(argv[2]) : 0; local 44 if (index == 0 || i == index)
|
/haiku/src/kits/textencoding/ |
H A D | CharacterSet.cpp | 77 BCharacterSet::AliasAt(uint32 index) const 79 if (index >= aliases_count) { 82 return aliases[index];
|
/haiku/src/tests/kits/app/bmessage/ |
H A D | MessageRefItemTest.h | 31 static status_t Find(BMessage& msg, const char* name, int32 index, argument 34 return msg.FindRef(name, index, val); 40 static entry_ref QuickFind(BMessage& msg, const char* name, int32 index); 41 static bool Has(BMessage& msg, const char* name, int32 index) argument 43 return msg.HasRef(name, index); 45 static status_t Replace(BMessage& msg, const char* name, int32 index, argument 48 return msg.ReplaceRef(name, index, &val); 51 int32 index, const void** data, ssize_t* size); 76 entry_ref TRefFuncPolicy::QuickFind(BMessage &msg, const char *name, int32 index) argument 83 msg.FindRef(name, index, 87 FindData(BMessage& msg, const char* name, type_code type, int32 index, const void** data, ssize_t* size) argument [all...] |
/haiku/headers/build/os/app/ |
H A D | Message.h | 59 status_t GetInfo(type_code typeRequested, int32 index, 92 status_t AddSpecifier(const char *property, int32 index); 93 status_t AddSpecifier(const char *property, int32 index, int32 range); 97 status_t SetCurrentSpecifier(int32 index); 98 status_t GetCurrentSpecifier(int32 *index, 132 status_t RemoveData(const char *name, int32 index = 0); 138 status_t FindRect(const char *name, int32 index, BRect *rect) const; 140 status_t FindPoint(const char *name, int32 index, BPoint *point) const; 142 status_t FindString(const char *name, int32 index, const char **string) const; 144 status_t FindString(const char *name, int32 index, BStrin [all...] |
/haiku/src/add-ons/kernel/bus_managers/firewire/ |
H A D | timer.cpp | 61 int index; local 71 index = -1; 76 index = i; 82 ASSERT(index >= 0 && index < sTimerCount); 83 func = sTimerData[index].func; 84 cookie = sTimerData[index].cookie; 85 if (sTimerData[index].periodic) { 87 sTimerData[index].next_event += sTimerData[index] [all...] |
/haiku/src/kits/debugger/debug_info/ |
H A D | SpecificImageDebugInfo.cpp | 38 int32 index = functions.CountItems() - 1; local 39 for (; functionsAdded >= 0; functionsAdded--, index--) { 40 function = functions.RemoveItemAt(index);
|
/haiku/src/kits/debugger/dwarf/ |
H A D | CfaRuleSet.cpp | 62 CfaRuleSet::RegisterRule(uint32 index) const 64 return index < fRegisterCount ? fRegisterRules + index : NULL;
|
/haiku/src/add-ons/kernel/file_systems/websearchfs/ |
H A D | ringbuff.c | 20 size_t current; /* index of next byte to read */ 58 size_t index, towrite, written; local 61 index = (rb->current + rb->avail) % rb->size; 66 len = rb->size - index; 68 memcpy(((char *)rb->data)+index, data, len); 74 index = 0; 75 memcpy(((char *)rb->data)+index, ((char *)data)+written, len); 85 size_t index, toread, got; local 88 index = rb->current; 93 len = rb->size - index; [all...] |
/haiku/headers/os/app/ |
H A D | Message.h | 68 status_t GetInfo(type_code typeRequested, int32 index, 123 status_t AddSpecifier(const char* property, int32 index); 124 status_t AddSpecifier(const char* property, int32 index, 130 status_t SetCurrentSpecifier(int32 index); 131 status_t GetCurrentSpecifier(int32* index, 181 status_t RemoveData(const char* name, int32 index = 0); 188 status_t FindAlignment(const char* name, int32 index, 192 status_t FindRect(const char* name, int32 index, 196 status_t FindPoint(const char* name, int32 index, 200 status_t FindSize(const char* name, int32 index, [all...] |
/haiku/src/add-ons/media/media-add-ons/opensound/ |
H A D | OpenSoundDeviceMixer.cpp | 64 status_t OpenSoundDeviceMixer::GetExtInfo(int index, oss_mixext *info) argument 74 info->ctrl = index; 76 PRINT(("OpenSoundDeviceMixer::%s: SNDCTL_MIX_EXTINFO(%d): %s\n", __FUNCTION__, index, strerror(errno))); 93 //value->ctrl = index; 113 //value->ctrl = index; 124 status_t OpenSoundDeviceMixer::GetEnumInfo(int index, oss_mixer_enuminfo *info) argument 132 info->ctrl = index; 134 PRINT(("OpenSoundDeviceMixer::%s: SNDCTL_MIX_ENUMINFO(%d): %s\n", __FUNCTION__, index, strerror(errno)));
|
/haiku/src/kits/package/solver/ |
H A D | SolverProblem.cpp | 118 BSolverProblem::SolutionAt(int32 index) const 120 return fSolutions.ItemAt(index); 134 size_t index = fType; local 135 if (index >= sizeof(kToStringTexts) / sizeof(kToStringTexts[0])) 136 index = 0; 138 return BString(B_TRANSLATE_NOCOLLECT(kToStringTexts[index]))
|
H A D | SolverProblemSolution.cpp | 101 size_t index = fType; local 102 if (index >= sizeof(kToStringTexts) / sizeof(kToStringTexts[0])) 103 index = 0; 105 return BString(B_TRANSLATE_NOCOLLECT(kToStringTexts[index])) 145 BSolverProblemSolution::ElementAt(int32 index) const 147 return fElements.ItemAt(index);
|
/haiku/src/add-ons/kernel/network/ppp/modem/ |
H A D | ModemDevice.cpp | 35 for (uint32 index = 0; index < packet->m_len; index++) { 36 buffer[bufferIndex++] = sDigits[data[index] >> 4]; 37 buffer[bufferIndex++] = sDigits[data[index] & 0x0F]; 38 if (bufferIndex == 32 || index == packet->m_len - 1) { 143 for (int32 index = 0; index < length; ) { 149 length = length - index - 1; 152 position = index [all...] |
/haiku/src/apps/terminal/ |
H A D | SmartTabView.h | 51 virtual BTab* RemoveTab(int32 index); 52 void MoveTab(int32 index, int32 newIndex); 76 virtual void TabSelected(SmartTabView* tabView, int32 index); 78 BPoint point, int32 index); 80 BPoint point, int32 index); 82 BPoint point, int32 index);
|
/haiku/src/apps/webpositive/tabview/ |
H A D | TabContainerView.h | 19 virtual void UpdateSelection(int32 index) = 0; 45 void AddTab(const char* label, int32 index = -1); 46 void AddTab(TabView* tab, int32 index = -1); 47 TabView* RemoveTab(int32 index); 48 TabView* TabAt(int32 index) const; 67 void SetFirstVisibleTabIndex(int32 index);
|