Home
last modified time | relevance | path

Searched refs:lastElem (Results 1 – 4 of 4) sorted by relevance

/external/mdnsresponder/mDNSShared/
DGenLinkedList.c74 void *iElem, *lastElem; in RemoveFromList() local
76 for ( iElem = pList->Head, lastElem = NULL; iElem; iElem = GETLINK( iElem, pList->LinkOffset)) { in RemoveFromList()
78 if ( lastElem) { // somewhere past the head in RemoveFromList()
79 ASSIGNLINK( lastElem, GETLINK( elem, pList->LinkOffset), pList->LinkOffset); in RemoveFromList()
84 pList->Tail = lastElem ? lastElem : NULL; in RemoveFromList()
88 lastElem = iElem; in RemoveFromList()
98 void *iElem, *lastElem; in ReplaceElem() local
103 for ( iElem = pList->Head, lastElem = NULL; iElem; iElem = GETLINK( iElem, pList->LinkOffset)) in ReplaceElem()
108 if ( lastElem) // somewhere past the head in ReplaceElem()
110 ASSIGNLINK( lastElem, newElem, pList->LinkOffset); in ReplaceElem()
[all …]
/external/Microsoft-GSL/include/gsl/
Dspan388 constexpr span(pointer firstElem, pointer lastElem)
389 : storage_(firstElem, std::distance(firstElem, lastElem))
734 constexpr span<ElementType> make_span(ElementType* firstElem, ElementType* lastElem)
736 return span<ElementType>(firstElem, lastElem);
Dstring_span199 constexpr basic_string_span(pointer firstElem, pointer lastElem) : span_(firstElem, lastElem) {}
/external/libcxx/include/
Dspan56 constexpr span(pointer firstElem, pointer lastElem);