Home | History | Annotate | Download | only in bindings

Lines Matching refs:input

30 //     take an rvalue ref as input in order to avoid accidental copies.
55 static Type Unwrap(T input) { return input; }
63 static Type Unwrap(Array<T> input) {
64 return Helper<T>::Run(std::move(input));
74 static Type Run(Array<T> input) {
76 output.reserve(input.size());
77 for (size_t i = 0; i < input.size(); ++i)
78 output.push_back(UnwrapTraits<T>::Unwrap(std::move(input[i])));
86 static Type Run(Array<T> input) { return input.PassStorage(); }
96 static Type Unwrap(Map<K, V> input) {
97 return Helper<K, V>::Run(std::move(input));
110 static Type Run(Map<K, V> input) {
111 std::map<K, V> input_storage = input.PassStorage();
125 static Type Run(Map<K, V> input) { return input.PassStorage(); }
134 static std::string Unwrap(const String& input) { return input; }
152 static T Wrap(T input) { return input; }
160 static Type Wrap(std::vector<T> input) {
161 return Helper<T>::Run(std::move(input));
171 static Type Run(std::vector<T> input) {
173 output_storage.reserve(input.size());
174 for (auto& element : input)
183 static Type Run(std::vector<T> input) { return Type(std::move(input)); }
192 static Type Wrap(std::map<K, V> input) {
193 return Helper<K, V>::Run(std::move(input));
206 static Type Run(std::map<K, V> input) {
208 for (auto& pair : input) {
219 static Type Run(std::map<K, V> input) { return Type(std::move(input)); }
228 static String Wrap(const std::string& input) { return input; }
234 typename internal::UnwrapTraits<T>::Type UnwrapToSTLType(T&& input) {
235 return internal::UnwrapTraits<T>::Unwrap(std::move(input));
239 typename internal::WrapTraits<T>::Type WrapSTLType(T&& input) {
240 return internal::WrapTraits<T>::Wrap(std::move(input));