Home
last modified time | relevance | path

Searched refs:ValueType (Results 1 – 7 of 7) sorted by relevance

/system/nvram/messages/include/nvram/messages/
Doptional.h24 template <typename ValueType> class Optional {
27 explicit Optional(ValueType value) : value_(value), valid_(true) {} in Optional()
30 const ValueType& value() const { return value_; } in value()
33 ValueType& Activate() { in Activate()
35 value_ = ValueType{}; in Activate()
45 ValueType value_{};
Dproto.hpp225 template <typename ValueType>
226 struct Codec<Optional<ValueType>> {
227 using ValueCodec = Codec<ValueType>;
230 static bool Encode(const Optional<ValueType>& value, ProtoWriter* writer) { in Encode()
234 static bool Decode(Optional<ValueType>& value, ProtoReader* reader) { in Decode()
/system/chre/util/include/chre/util/
Darray_queue.h166 template<typename ValueType>
169 typedef ValueType value_type;
170 typedef ValueType& reference;
171 typedef ValueType* pointer;
177 ValueType *pointer, ValueType *base, size_t tail) in ArrayQueueIterator()
188 ValueType& operator*() {
192 ValueType *operator->() {
217 ValueType *mPointer;
220 ValueType *mBase;
/system/keymaster/ng/include/
Dauthorization_set.h222 template <typename TagType, typename... ValueType>
223 AuthorizationSetBuilder& Authorization(TagType ttag, ValueType&&... value) { in Authorization()
224 push_back(ttag, std::forward<ValueType>(value)...); in Authorization()
/system/extras/libjsonpb/verify/
Dverify.cpp107 if (json_value.type() != Json::ValueType::arrayValue) { in AllFieldsAreKnown()
/system/keymaster/include/keymaster/
Dauthorization_set.h492 template <typename TagType, typename ValueType>
493 AuthorizationSetBuilder& Authorization(TagType tag, ValueType value) { in Authorization()
/system/extras/simpleperf/scripts/
Dprofile_pb2.py545 ValueType = _reflection.GeneratedProtocolMessageType('ValueType', (_message.Message,), dict( variable
550 _sym_db.RegisterMessage(ValueType)