Searched defs:TypedData (Results 1 – 3 of 3) sorted by relevance
164 struct TypedData : public Data { struct165 explicit TypedData(const T& value) : value_(value) {} in TypedData() function167 explicit TypedData(T&& value) : value_(std::move(value)) {} in TypedData() function169 const char* GetTypeTag() const override { return brillo::GetTypeTag<T>(); } in GetTypeTag()172 bool IsConvertibleToInteger() const override { in IsConvertibleToInteger()175 intmax_t GetAsInteger() const override { in GetAsInteger()201 static_cast<const TypedData<T>*>(other_data)->value_); in CompareEqual() argument206 void FastAssign(const T& source) { value_ = source; } in FastAssign()208 void FastAssign(T&& source) { value_ = std::move(source); } in FastAssign()210 T value_;
177 struct TypedData struct179 TypedData() {} in TypedData() argument182 T *object = nullptr;183 ResourceManager11 *manager = nullptr;
73 const T *TypedData = reinterpret_cast<const T *>(TensorData); in writeTensorValues() local