Lines Matching defs:array
351 // DecayArray<T>::type turns an array type U[N] to const U* and preserves
391 // native array, class StlContainerView<RawContainer> has the
420 // This specialization is used when RawContainer is a native array type.
426 // NativeArray<T> can represent a native array either by value or by
428 // can be used to reference a const native array. We cannot
433 static const_reference ConstReference(const Element (&array)[N]) {
449 // conversion of it doesn't help - only the conversion of the array).
450 return type(const_cast<Element*>(&array[0]), N,
453 return type(array, N, RelationToSourceReference());
456 static type Copy(const Element (&array)[N]) {
458 return type(const_cast<Element*>(&array[0]), N, RelationToSourceCopy());
460 return type(array, N, RelationToSourceCopy());
465 // This specialization is used when RawContainer is a native array
476 const ::testing::tuple<ElementPointer, Size>& array) {
477 return type(get<0>(array), get<1>(array), RelationToSourceReference());
479 static type Copy(const ::testing::tuple<ElementPointer, Size>& array) {
480 return type(get<0>(array), get<1>(array), RelationToSourceCopy());