Home | History | Annotate | Download | only in hidl

Lines Matching refs:Array

21 #include <array>
155 // Reference an external char array. Ownership is _not_ transferred.
384 // Reference an existing array, optionally taking ownership. It is the
509 // Define std interator interface for walking the array contents
560 // copy from an array-like object, assuming my resources are freed.
561 template <typename Array>
562 void copyFrom(const Array &data, size_t size) {
595 using type = std::array<typename std_array<T, SIZES...>::type, SIZE1>;
600 using type = std::array<T, SIZE1>;
667 std_array_type array;
669 array[i] = (*this)[i];
671 return array;
692 std_array_type array;
694 array[i] = (*this)[i];
696 return array;
707 // A multidimensional array of T's. Assumes that T::operator=(const T &) is defined.
722 // Copies the data from the given std::array, using T::operator=(const T &).
723 hidl_array(const std_array_type &array) {
725 modifier = array;
773 // An array of T's. Assumes that T::operator=(const T &) is defined.
788 // Copies the data from the given std::array, using T::operator=(const T &).
789 hidl_array(const std_array_type &array) : hidl_array(array.data()) {}
819 // Copies the data to an std::array, using T::operator=(T).
821 std_array_type array;
823 array[i] = mBuffer[i];
825 return array;
901 template<typename Array>
902 std::string arrayToString(const Array &a, size_t size);
919 template<typename Array>
920 std::string arrayToString(const Array &a, size_t size) {