Searched refs:index (Results 226 - 250 of 1857) sorted by path

1234567891011>>

/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DItem.cpp95 Item::SetTo(LeafNode *node, int32 index) argument
100 error = SetTo(node, node->ItemHeaderAt(index));
H A DItem.h68 status_t SetTo(LeafNode *node, int32 index);
H A DList.h60 bool AddItem(const item_t &item, int32 index);
62 // bool AddList(list_t *list, int32 index);
66 bool RemoveItem(int32 index);
72 const item_t &ItemAt(int32 index) const;
73 item_t &ItemAt(int32 index);
147 List<ITEM, DEFAULT_ITEM_SUPPLIER>::AddItem(const item_t &item, int32 index) argument
149 bool result = (index >= 0 && index <= fItemCount
152 _MoveItems(fItems + index, 1, fItemCount - index
218 int32 index = IndexOf(item); local
228 RemoveItem(int32 index) argument
278 ItemAt(int32 index) argument
[all...]
H A DSettings.h42 const char *HiddenEntryAt(int32 index) const;
H A DTree.cpp194 int32 index = 0; local
196 while (iterator.GetPrevious(&dirItem, &index) == B_OK) {
199 = dirItem.EntryNameAt(index, &itemNameLen)) {
204 *entryIndex = index;
219 int32 index = dirItem.IndexOfName(name); local
220 if (index >= 0) {
223 *entryIndex = index;
225 //PRINT((" offset: %lu\n", dirItem.EntryAt(index)->GetOffset()));
/haiku/src/add-ons/kernel/file_systems/shared/
H A DQueryParserUtils.cpp139 for (int32 index = 0; (c = *string++); index++) {
141 return index;
/haiku/src/add-ons/kernel/file_systems/udf/
H A DUdfStructures.h1261 uint32 sparing_table_location(uint8 index) const {
1262 return B_LENDIAN_TO_HOST_INT32(_sparing_table_locations[index]); }
1277 void set_sparing_table_location(uint8 index, uint32 location) { argument
1278 _sparing_table_locations[index] = B_HOST_TO_LENDIAN_INT32(location); }
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/
H A DUserlandFSServer.cpp78 for (int index = 0; index < paths.CountStrings(); index++) {
79 error = addOnPath.SetTo(paths.StringAt(index));
/haiku/src/add-ons/kernel/file_systems/userlandfs/shared/
H A DDriverSettings.cpp239 DriverParameterContainer::GetParameterAt(int32 index, argument
244 if (index >= 0 && index < count) {
246 parameter->SetTo(parameters + index);
443 DriverParameter::ValueAt(int32 index, const char* noValue) const argument
445 if (!fParameter || index < 0 || index >= fParameter->value_count)
447 return fParameter->values[index];
452 DriverParameter::BoolValueAt(int32 index, bool noValue) const argument
454 const char* value = ValueAt(index, NUL
466 Int32ValueAt(int32 index, int32 noValue) const argument
476 Int64ValueAt(int32 index, int64 noValue) const argument
[all...]
/haiku/src/add-ons/kernel/network/datalink_protocols/ethernet_frame/
H A Dethernet_frame.cpp53 source.sdl_index = device->index;
62 destination.sdl_index = device->index;
/haiku/src/add-ons/kernel/network/ppp/ipcp/
H A DProtocol.cpp60 for (uint32 index = 0; index < packet->m_len; index++) {
61 buffer[bufferIndex++] = sDigits[data[index] >> 4];
62 buffer[bufferIndex++] = sDigits[data[index] & 0x0F];
63 if (bufferIndex == 32 || index == packet->m_len - 1) {
390 for (int32 index = 0; index < requests->parameter_count; index++) {
391 if (requests->parameters[index]
[all...]
/haiku/src/add-ons/kernel/network/ppp/modem/
H A DACFCHandler.cpp82 int32 index, KPPPConfigurePacket& nak, KPPPConfigurePacket& reject)
81 ParseRequest(const KPPPConfigurePacket& request, int32 index, KPPPConfigurePacket& nak, KPPPConfigurePacket& reject) argument
H A DACFCHandler.h47 int32 index, KPPPConfigurePacket& nak, KPPPConfigurePacket& reject);
H A DModemDevice.cpp35 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/add-ons/kernel/network/ppp/pap/
H A DProtocol.cpp65 int32 index, KPPPConfigurePacket& nak, KPPPConfigurePacket& reject)
72 authentication_item *item = (authentication_item*) request.ItemAt(index);
64 ParseRequest(const KPPPConfigurePacket& request, int32 index, KPPPConfigurePacket& nak, KPPPConfigurePacket& reject) argument
H A DProtocol.h41 int32 index, KPPPConfigurePacket& nak, KPPPConfigurePacket& reject);
/haiku/src/add-ons/kernel/network/ppp/pppoe/
H A DDiscoveryPacket.cpp61 for(int32 index = 0; index < CountTags(); index++)
62 free(TagAt(index));
67 DiscoveryPacket::AddTag(uint16 type, const void *data, uint16 length, int32 index) argument
75 if(index < 0)
78 status = fTags.AddItem(add, index);
102 DiscoveryPacket::TagAt(int32 index) const
104 pppoe_tag *tag = fTags.ItemAt(index);
118 for(int32 index
[all...]
H A DDiscoveryPacket.h63 bool AddTag(uint16 type, const void *data, uint16 length, int32 index = -1);
67 pppoe_tag *TagAt(int32 index) const;
H A Dpppoe.cpp71 for (int32 index = 0; index < discovery.CountTags(); index++) {
72 tag = discovery.TagAt(index);
207 for (int32 index = 0; index < sDevices->CountItems(); index++) {
208 query = sQueries->ItemAt(index);
234 for (int32 index = 0; index < sDevice
[all...]
/haiku/src/add-ons/kernel/network/ppp/shared/libkernelppp/
H A DKPPPLCP.cpp89 //! 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...]
H A DKPPPOptionHandler.cpp122 yourself (no index is given).
134 yourself (no index is given).
146 yourself (no index is given).
161 \param index Index of item in \a request.
167 int32 index, KPPPConfigurePacket& nak, KPPPConfigurePacket& reject)
166 ParseRequest(const KPPPConfigurePacket& request, int32 index, KPPPConfigurePacket& nak, KPPPConfigurePacket& reject) argument
H A DKPPPReportManager.cpp47 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;
H A D_KPPPAuthenticationHandler.cpp182 int32 index, KPPPConfigurePacket& nak, KPPPConfigurePacket& reject)
187 authentication_item *item = (authentication_item*) request.ItemAt(index);
190 // no authentication requested by peer (index > request.CountItems())
199 return fLocalAuthenticator->OptionHandler()->ParseRequest(request, index,
181 ParseRequest(const KPPPConfigurePacket& request, int32 index, KPPPConfigurePacket& nak, KPPPConfigurePacket& reject) argument
H A D_KPPPAuthenticationHandler.h25 int32 index, KPPPConfigurePacket& nak, KPPPConfigurePacket& reject);
H A D_KPPPMRUHandler.cpp90 int32 index, KPPPConfigurePacket& nak, KPPPConfigurePacket& reject)
92 if (index == reject.CountItems())
95 return ParseRequestedItem((mru_item*) request.ItemAt(index), Interface());
89 ParseRequest(const KPPPConfigurePacket& request, int32 index, KPPPConfigurePacket& nak, KPPPConfigurePacket& reject) argument

Completed in 129 milliseconds

1234567891011>>