Lines Matching defs:m_indices
36 : m_values(0), m_indices(0), m_size(0), m_allocatedSize(0)
40 : m_values(0), m_indices(0), m_size(0), m_allocatedSize(0)
46 : m_values(0), m_indices(0), m_size(0), m_allocatedSize(0)
55 memcpy(m_indices, other.m_indices, m_size * sizeof(Index));
62 std::swap(m_indices, other.m_indices);
70 delete[] m_indices;
98 m_indices[id] = i;
108 inline Index& index(size_t i) { return m_indices[i]; }
109 inline const Index& index(size_t i) const { return m_indices[i]; }
114 res.m_indices = indices;
132 if (m_indices[mid]<key)
146 else if (key==m_indices[m_size-1])
151 return ((id<m_size) && (m_indices[id]==key)) ? m_values[id] : defaultValue;
159 else if (end>start && key==m_indices[end-1])
164 return ((id<end) && (m_indices[id]==key)) ? m_values[id] : defaultValue;
173 if (id>=m_size || m_indices[id]!=key)
178 m_indices[j] = m_indices[j-1];
181 m_indices[id] = key;
212 internal::smart_copy(m_indices, m_indices+copySize, newIndices);
215 delete[] m_indices;
217 m_indices = newIndices;
223 Index* m_indices;