Lines Matching refs:m_array
30 FX_Free(m_array); in ~pod_array()
32 pod_array() : m_size(0), m_capacity(0), m_array(0) {} in pod_array()
43 void zero() { memset(m_array, 0, sizeof(T) * m_size); } in zero()
46 m_array[m_size++] = v; in add()
62 return m_array[i];
66 return m_array[i];
70 return m_array[i]; in at()
74 return m_array[i]; in at()
78 return m_array[i]; in value_at()
82 return m_array; in data()
86 return m_array; in data()
101 T* m_array; variable
109 FX_Free(m_array); in capacity()
110 m_array = 0; in capacity()
113 FX_Free(m_array); in capacity()
114 m_array = FX_Alloc(T, full_cap); in capacity()
130 memcpy(data, m_array, m_size * sizeof(T)); in resize()
131 FX_Free(m_array); in resize()
132 m_array = data; in resize()
139 m_size(0), m_capacity(cap + extra_tail), m_array(FX_Alloc(T, m_capacity)) {} in pod_array()
143 m_array(v.m_capacity ? FX_Alloc(T, v.m_capacity) : 0) in pod_array()
145 memcpy(m_array, v.m_array, sizeof(T) * v.m_size); in pod_array()
152 memcpy(m_array, v.m_array, sizeof(T) * v.m_size);