HomeSort by relevance Sort by last modified time
    Searched refs:Traits (Results 1 - 25 of 113) sorted by null

1 2 3 4 5

  /external/chromium_org/components/cloud_devices/common/
description_items_inl.h 19 template <class Option, class Traits>
20 ListCapability<Option, Traits>::ListCapability() {
24 template <class Option, class Traits>
25 ListCapability<Option, Traits>::~ListCapability() {
28 template <class Option, class Traits>
29 bool ListCapability<Option, Traits>::IsValid() const {
33 if (!Traits::IsValid(options_[i]))
39 template <class Option, class Traits>
40 bool ListCapability<Option, Traits>::LoadFrom(
44 description.GetListItem(Traits::GetCapabilityPath())
    [all...]
description_items.h 23 // All traits below specify how to serialize and validate capabilities and
25 // Traits should have following methods:
41 // Traits specifies how <VALUE> is stored in JSON and semantic validation.
42 template <class Option, class Traits>
79 // Traits specifies how <VALUE> is stored in JSON and semantic validation.
80 template <class Option, class Traits>
134 // Traits specifies how <VALUE> is stored in JSON and semantic validation.
135 template <class Traits>
158 // Traits specifies how <VALUE> is stored in JSON and semantic validation.
159 template <class Traits>
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/numeric/conversion/detail/
converter.hpp 96 template<class Traits>
99 typedef typename Traits::target_type T ;
100 typedef typename Traits::source_type S ;
101 typedef typename Traits::argument_type argument_type ;
111 template<class Traits>
114 typedef typename Traits::source_type S ;
115 typedef typename Traits::argument_type argument_type ;
125 template<class Traits>
128 typedef typename Traits::target_type T ;
129 typedef typename Traits::source_type S
458 typedef Traits traits ; typedef in struct:boost::numeric::convdetail::trivial_converter_impl
485 typedef Traits traits ; typedef in struct:boost::numeric::convdetail::rounding_converter
513 typedef Traits traits ; typedef in struct:boost::numeric::convdetail::non_rounding_converter
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/numeric/conversion/
converter.hpp 23 class Traits = conversion_traits<T,S>,
25 class Float2IntRounder = Trunc< BOOST_DEDUCED_TYPENAME Traits::source_type> ,
26 class RawConverter = raw_converter<Traits>,
29 struct converter : convdetail::get_converter_impl<Traits,
36 typedef Traits traits ; typedef in struct:boost::numeric::converter
38 typedef typename Traits::argument_type argument_type ;
39 typedef typename Traits::result_type result_type ;
54 class Traits = conversion_traits<T,S>,
55 class RawConverter = raw_converter<Traits>
    [all...]
  /external/chromium_org/sync/internal_api/public/base/
ordinal.h 35 // The Traits class should look like the following:
57 template <typename Traits>
65 bool operator()(const Ordinal<Traits>& lhs,
66 const Ordinal<Traits>& rhs) const;
73 bool operator()(const Ordinal<Traits>& lhs,
74 const Ordinal<Traits>& rhs) const;
135 static const uint8 kZeroDigit = Traits::kZeroDigit;
136 static const uint8 kMaxDigit = Traits::kMaxDigit;
137 static const size_t kMinLength = Traits::kMinLength;
191 static Ordinal<Traits> CreateOrdinalBetween(const Ordinal<Traits>& start
    [all...]
  /external/chromium_org/sync/internal_api/public/util/
immutable.h 57 // used by providing your own traits class or using one of the
58 // pre-defined ones below. See comments on traits below for details.
61 // with forward-declared types. See comments on traits below for
79 template <typename T, typename Traits>
81 : public base::RefCountedThreadSafe<ImmutableCore<T, Traits> > {
84 // primitive types and the case where Traits::Wrapper == T.
87 Traits::InitializeWrapper(&wrapper_);
91 Traits::InitializeWrapper(&wrapper_);
92 Traits::Swap(Traits::UnwrapMutable(&wrapper_), t)
    [all...]
  /external/chromium_org/base/
scoped_generic.h 35 // standard copyable semantics and have a specific "invalid" value. The traits
42 // // for stateful traits.
54 template<typename T, typename Traits>
65 struct Data : public Traits {
67 Data(const T& in, const Traits& other) : Traits(other), generic(in) {}
73 typedef Traits traits_type;
81 // Constructor. Allows initialization of a stateful traits object.
82 ScopedGeneric(const element_type& value, const traits_type& traits)
83 : data_(value, traits) {
    [all...]
lazy_instance.h 5 // The LazyInstance<Type, Traits> class manages a single instance of Type,
89 // Only use this internal::-qualified verbose form to extend this traits class
124 template <typename Type, typename Traits = DefaultLazyInstanceTraits<Type> >
145 if (!Traits::kAllowedToAccessOnNonjoinableThread)
165 Traits::New(private_buf_.void_data()));
167 Traits::kRegisterOnExit ? OnExit : NULL);
172 // We suggest dynamic race detection tool that "Traits::New" above
207 LazyInstance<Type, Traits>* me =
208 reinterpret_cast<LazyInstance<Type, Traits>*>(lazy_instance);
209 Traits::Delete(me->instance())
    [all...]
  /external/clang/include/clang/AST/
CommentBriefParser.h 33 const CommandTraits &Traits;
45 BriefParser(Lexer &L, const CommandTraits &Traits);
  /external/chromium_org/third_party/libjingle/source/talk/base/
win32toolhelp.h 24 // Traits: Traits type that adapts the enumerator to the corresponding
25 // win32 toolhelp api. Each traits class need to:
36 template<typename Traits>
42 // Clear out the Traits::Type structure instance.
60 current_.dwSize = sizeof(typename Traits::Type);
63 incr_ok = Traits::First(snapshot_, &current_);
66 incr_ok = Traits::Next(snapshot_, &current_);
77 const typename Traits::Type& current() const {
83 Traits::CloseHandle(snapshot_)
    [all...]
  /external/chromium_org/third_party/webrtc/base/
win32toolhelp.h 30 // Traits: Traits type that adapts the enumerator to the corresponding
31 // win32 toolhelp api. Each traits class need to:
42 template<typename Traits>
48 // Clear out the Traits::Type structure instance.
66 current_.dwSize = sizeof(typename Traits::Type);
69 incr_ok = Traits::First(snapshot_, &current_);
72 incr_ok = Traits::Next(snapshot_, &current_);
83 const typename Traits::Type& current() const {
89 Traits::CloseHandle(snapshot_)
    [all...]
  /external/chromium_org/base/win/
scoped_handle.h 33 template <class Traits, class Verifier>
38 typedef typename Traits::Handle Handle;
40 GenericScopedHandle() : handle_(Traits::NullHandle()) {}
42 explicit GenericScopedHandle(Handle handle) : handle_(Traits::NullHandle()) {
47 GenericScopedHandle(RValue other) : handle_(Traits::NullHandle()) {
56 return Traits::IsHandleValid(handle_);
71 if (Traits::IsHandleValid(handle)) {
90 handle_ = Traits::NullHandle();
91 if (Traits::IsHandleValid(temp)) {
100 if (Traits::IsHandleValid(handle_))
    [all...]
  /external/chromium_org/v8/include/
v8-util.h 33 * Users will have to implement their own weak callbacks & dispose traits.
114 * by the Traits class. The backing map will handle values of type
118 template<typename K, typename V, typename Traits>
130 size_t Size() { return Traits::Size(&impl_); }
135 bool IsWeak() { return Traits::kCallbackType != kNotWeak; }
141 return Local<V>::New(isolate_, FromVal(Traits::Get(&impl_, key)));
148 return Traits::Get(&impl_, key) != kPersistentContainerNotFound;
157 return SetReturnValueFromVal(&returnValue, Traits::Get(&impl_, key));
167 reinterpret_cast<internal::Object**>(FromVal(Traits::Get(&impl_, key))));
171 * Put value into map. Depending on Traits::kIsWeak, the value will be hel
    [all...]
  /external/chromium_org/base/mac/
scoped_typeref.h 18 // The Traits structure must provide the Retain and Release methods for type T.
48 template<typename T, typename Traits = ScopedTypeRefTraits<T>>
58 Traits::Retain(object_);
61 ScopedTypeRef(const ScopedTypeRef<T, Traits>& that)
64 Traits::Retain(object_);
69 Traits::Release(object_);
72 ScopedTypeRef& operator=(const ScopedTypeRef<T, Traits>& that) {
89 Traits::Retain(object);
91 Traits::Release(object_);
  /external/chromium_org/base/memory/
singleton_objc.h 6 // SingletonObjC is the same as a Singleton, except the default traits are
36 // Singleton traits usable to manage traditional Objective-C objects, which
55 typename Traits = DefaultSingletonObjCTraits<Type>,
57 class SingletonObjC : public Singleton<Type, Traits, DifferentiatingType> {
singleton.h 45 // Default traits for Singleton<Type>. Calls operator new and operator delete on
75 // Alternate traits for use with the Singleton<Type>. Identical to
87 // Alternate traits for use with the Singleton<Type>. Allocates memory
111 // this is traits for returning NULL.
144 // The Singleton<Type, Traits, DifferentiatingType> class manages a single
193 // On every platform, if Traits::RAE is true, the singleton will be destroyed at
199 // If Traits::RAE is false, the singleton will not be freed at process exit,
200 // thus the singleton will be leaked if it is ever accessed. Traits::RAE
214 typename Traits = DefaultSingletonTraits<Type>,
232 if (!Traits::kAllowedToAccessOnNonjoinableThread
    [all...]
  /external/chromium_org/mojo/public/cpp/bindings/
array.h 26 Traits;
27 typedef typename Traits::ConstRefType ConstRefType;
28 typedef typename Traits::RefType RefType;
29 typedef typename Traits::StorageType StorageType;
30 typedef typename Traits::ForwardType ForwardType;
37 Traits::Initialize(&vec_);
39 ~Array() { Traits::Finalize(&vec_); }
63 Traits::Finalize(&vec_);
73 ConstRefType at(size_t offset) const { return Traits::at(&vec_, offset); }
76 RefType at(size_t offset) { return Traits::at(&vec_, offset);
    [all...]
  /external/chromium_org/v8/src/
preparser.h 18 // Common base class shared between parser and pre-parser. Traits encapsulate
36 // The traits are expected to contain the following typedefs:
37 // struct Traits {
58 template <typename Traits>
59 class ParserBase : public Traits {
61 // Shorten type names defined by Traits.
62 typedef typename Traits::Type::Expression ExpressionT;
63 typedef typename Traits::Type::Identifier IdentifierT;
68 typename Traits::Type::Zone* zone,
69 typename Traits::Type::Parser this_object
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/
HashTable.h 92 template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits, typename Allocator>
94 template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits, typename Allocator>
96 template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits, typename Allocator>
105 template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits, typename Allocator>
108 typedef HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits, Allocator> HashTableType;
109 typedef HashTableIterator<Key, Value, Extractor, HashFunctions, Traits, KeyTraits, Allocator> iterator;
110 typedef HashTableConstIterator<Key, Value, Extractor, HashFunctions, Traits, KeyTraits, Allocator> const_iterator;
112 typedef typename Traits::IteratorConstGetType GetType;
115 friend class HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits, Allocator>;
116 friend class HashTableIterator<Key, Value, Extractor, HashFunctions, Traits, KeyTraits, Allocator>
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/range/
iterator_range_io.hpp 54 template< typename IteratorT, typename Elem, typename Traits >
55 inline std::basic_ostream<Elem,Traits>& operator<<(
56 std::basic_ostream<Elem, Traits>& Os,
62 Elem, Traits>(Os) );
  /external/llvm/include/llvm/ADT/
IntervalMap.h 23 // A Traits class specifies how keys are compared. It also allows IntervalMap to
38 // template <typename KeyT, typename ValT, unsigned N, typename Traits>
66 // template <typename KeyT, typename ValT, unsigned N, typename Traits>
90 // template <typename KeyT, typename ValT, unsigned N, typename Traits>
112 //--- Key traits ---//
118 // The IntervalMapInfo traits class is used to determine if a key is contained
549 // - Traits::stopLess(start(i), stop(i)) - Non-empty, sane intervals.
551 // - Traits::stopLess(stop(i), start(i + 1) - Sorted.
553 // - value(i) != value(i + 1) || !Traits::adjacent(stop(i), start(i + 1))
558 template <typename KeyT, typename ValT, unsigned N, typename Traits>
    [all...]
  /external/chromium_org/third_party/skia/tests/
FlatDataTest.cpp 41 template <typename Traits, typename T>
45 SkFlatData* data1 = SkFlatData::Create<Traits>(&controller, obj, 0);
46 SkFlatData* data2 = SkFlatData::Create<Traits>(&controller, obj, 1);
  /external/chromium_org/third_party/webrtc/modules/desktop_capture/win/
scoped_gdi_object.h 23 template<class T, class Traits>
30 Traits::Close(handle_);
39 Traits::Close(handle_);
62 // The traits class that uses DeleteObject() to close a handle.
76 // The traits class that uses DestroyCursor() to close a handle.
  /external/skia/tests/
FlatDataTest.cpp 41 template <typename Traits, typename T>
45 SkFlatData* data1 = SkFlatData::Create<Traits>(&controller, obj, 0);
46 SkFlatData* data2 = SkFlatData::Create<Traits>(&controller, obj, 1);
  /external/clang/unittests/AST/
CommentParser.cpp 42 Traits(Allocator, CommentOptions()) {
51 CommandTraits Traits;
61 Lexer L(Allocator, Diags, Traits, Begin, Source, Source + strlen(Source));
63 Sema S(Allocator, SourceMgr, Diags, Traits, /*PP=*/ nullptr);
64 Parser P(L, S, Allocator, SourceMgr, Diags, Traits);
69 FC->dump(llvm::errs(), &Traits, &SourceMgr);
161 const CommandTraits &Traits,
170 StringRef ActualName = BCC->getCommandName(Traits);
183 const CommandTraits &Traits,
195 StringRef ActualCommandName = PCC->getCommandName(Traits);
    [all...]

Completed in 663 milliseconds

1 2 3 4 5