• Home
  • Raw
  • Download

Lines Matching refs:m_data

87 		m_vector.m_data[m_index[i]] = v.m_data[i];  in operator =()
102 T m_data[Size]; member in tcu::Vector
113 const T* getPtr (void) const { return &m_data[0]; } in getPtr()
114 T* getPtr (void) { return &m_data[0]; } in getPtr()
117 T x (void) const { return m_data[0]; } in x()
118 T y (void) const { DE_STATIC_ASSERT(Size >= 2); return m_data[1]; } in y()
119 T z (void) const { DE_STATIC_ASSERT(Size >= 3); return m_data[2]; } in z()
120 T w (void) const { DE_STATIC_ASSERT(Size >= 4); return m_data[3]; } in w()
123 T& x (void) { return m_data[0]; } in x()
124 T& y (void) { DE_STATIC_ASSERT(Size >= 2); return m_data[1]; } in y()
125 T& z (void) { DE_STATIC_ASSERT(Size >= 3); return m_data[2]; } in z()
126 T& w (void) { DE_STATIC_ASSERT(Size >= 4); return m_data[3]; } in w()
144 …Vector<T, 1> swizzle (int a) const { DE_ASSERT(a >= 0 && a < Size); return Vector<T, 1>(m_data[… in swizzle()
145 …RT(a >= 0 && a < Size); DE_ASSERT(b >= 0 && b < Size); return Vector<T, 2>(m_data[a], m_data[b]); } in swizzle()
146 …& b < Size); DE_ASSERT(c >= 0 && c < Size); return Vector<T, 3>(m_data[a], m_data[b], m_data[c]); } in swizzle()
147 …ize); DE_ASSERT(d >= 0 && d < Size); return Vector<T, 4>(m_data[a], m_data[b], m_data[c], m_data[d… in swizzle()
159 …const T& operator[] (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Size)); return m_data[ndx… in operator []()
160 T& operator[] (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Size)); return m_data[ndx]; } in operator []()
162 …st Vector<T, Size>& v) const { for (int i = 0; i < Size; i++) if (m_data[i] != v.m_data[i]) return… in operator ==()
177 m_data[i] = T(); in Vector()
184 m_data[i] = s; in Vector()
191 m_data[0] = x_; in Vector()
192 m_data[1] = y_; in Vector()
199 m_data[0] = x_; in Vector()
200 m_data[1] = y_; in Vector()
201 m_data[2] = z_; in Vector()
208 m_data[0] = x_; in Vector()
209 m_data[1] = y_; in Vector()
210 m_data[2] = z_; in Vector()
211 m_data[3] = w_; in Vector()
218 m_data[i] = v.m_data[i]; in Vector()
225 m_data[i] = v.m_data[i]; in operator =()
233 m_data[i] = v[i]; in Vector()
242 vec.m_data[i] = m_vector.m_data[m_index[i]]; in operator Vector<T,Size>()
253 res.m_data[i] = NewT(m_data[i]); in cast()
265 res.m_data[i] = m_data[i]; in toWidth()
267 res.m_data[i] = T(0); in toWidth()
278 res.m_data[i] = -a.m_data[i]; in operator -()
287 res.m_data[i] = a.m_data[i] + b.m_data[i]; in operator +()
296 res.m_data[i] = a.m_data[i] - b.m_data[i]; in operator -()
305 res.m_data[i] = a.m_data[i] * b.m_data[i]; in operator *()
314 res.m_data[i] = a.m_data[i] / b.m_data[i]; in operator /()
323 res.m_data[i] = a.m_data[i] << b.m_data[i]; in operator <<()
332 res.m_data[i] = a.m_data[i] >> b.m_data[i]; in operator >>()
341 res.m_data[i] = s * a.m_data[i]; in operator *()
350 res.m_data[i] = s + a.m_data[i]; in operator +()
359 res.m_data[i] = s - a.m_data[i]; in operator -()
368 res.m_data[i] = a.m_data[i] - s; in operator -()
377 res.m_data[i] = s / a.m_data[i]; in operator /()
392 res.m_data[i] = a.m_data[i] / s; in operator /()
400 m_data[i] += v.m_data[i]; in operator +=()
408 m_data[i] -= v.m_data[i]; in operator -=()
421 stream << vec.m_data[i]; in operator <<()