Lines Matching refs:unionArray
878 TConstUnionArray() : unionArray(nullptr) { } in POOL_ALLOCATOR_NEW_DELETE()
884 unionArray = nullptr; in TConstUnionArray()
886 unionArray = new TConstUnionVector(size); in TConstUnionArray()
888 TConstUnionArray(const TConstUnionArray& a) : unionArray(a.unionArray) { } in TConstUnionArray()
891 unionArray = new TConstUnionVector(size); in TConstUnionArray()
893 (*unionArray)[i] = a[start + i]; in TConstUnionArray()
899 unionArray = new TConstUnionVector(size, val); in TConstUnionArray()
902 int size() const { return unionArray ? (int)unionArray->size() : 0; } in size()
903 TConstUnion& operator[](size_t index) { return (*unionArray)[index]; }
904 const TConstUnion& operator[](size_t index) const { return (*unionArray)[index]; }
908 if (unionArray == rhs.unionArray)
911 if (! unionArray || ! rhs.unionArray)
914 return *unionArray == *rhs.unionArray;
920 assert(rhs.unionArray->size() == unionArray->size()); in dot()
923 for (size_t comp = 0; comp < unionArray->size(); ++comp) in dot()
929 bool empty() const { return unionArray == nullptr; } in empty()
933 TConstUnionVector* unionArray; variable