Lines Matching refs:lItem
53 int name::Index(T lItem, bool bFromEnd) const \
59 if ( (*this)[--n] == lItem ) \
67 if( (*this)[n] == lItem ) \
76 size_t name::Add(T lItem, CMPFUNC fnCompare) \
78 size_t idx = IndexForInsert(lItem, fnCompare); \
79 Insert(lItem, idx); \
86 size_t name::IndexForInsert(T lItem, CMPFUNC fnCompare) const \
89 const_iterator it = std::lower_bound(begin(), end(), lItem, p); \
93 int name::Index(T lItem, CMPFUNC fnCompare) const \
96 const_iterator it = std::lower_bound(begin(), end(), lItem, p); \
97 return (it != end() && !p(lItem, *it)) ? \
269 void name::Add(T lItem, size_t nInsert) \
275 m_pItems[m_nCount++] = lItem; \
279 void name::Insert(T lItem, size_t nIndex, size_t nInsert) \
292 m_pItems[nIndex + i] = lItem; \
297 size_t name::IndexForInsert(T lItem, CMPFUNC fnCompare) const \
307 res = (*fnCompare)((const void *)(wxUIntPtr)lItem, \
323 int name::Index(T lItem, CMPFUNC fnCompare) const \
325 size_t n = IndexForInsert(lItem, fnCompare); \
328 (*fnCompare)((const void *)(wxUIntPtr)lItem, \
347 void name::Remove(T lItem) \
349 int iIndex = Index(lItem); \