Lines Matching refs:Array
21 #include <array>
155 // Reference an external char array. Ownership is _not_ transferred.
326 // Reference an existing array, optionally taking ownership. It is the
450 // Define std interator interface for walking the array contents
501 // copy from an array-like object, assuming my resources are freed.
502 template <typename Array>
503 void copyFrom(const Array &data, size_t size) {
536 using type = std::array<typename std_array<T, SIZES...>::type, SIZE1>;
541 using type = std::array<T, SIZE1>;
608 std_array_type array;
610 array[i] = (*this)[i];
612 return array;
633 std_array_type array;
635 array[i] = (*this)[i];
637 return array;
648 // A multidimensional array of T's. Assumes that T::operator=(const T &) is defined.
663 // Copies the data from the given std::array, using T::operator=(const T &).
664 hidl_array(const std_array_type &array) {
666 modifier = array;
714 // An array of T's. Assumes that T::operator=(const T &) is defined.
729 // Copies the data from the given std::array, using T::operator=(const T &).
730 hidl_array(const std_array_type &array) : hidl_array(array.data()) {}
760 // Copies the data to an std::array, using T::operator=(T).
762 std_array_type array;
764 array[i] = mBuffer[i];
766 return array;
842 template<typename Array>
843 std::string arrayToString(const Array &a, size_t size);
860 template<typename Array>
861 std::string arrayToString(const Array &a, size_t size) {