/external/chromium_org/components/cloud_devices/common/ |
H A D | 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 [all...] |
H A D | description_items.h | 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> 175 // Traits specifie [all...] |
/external/chromium_org/sync/internal_api/public/base/ |
H A D | 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> CreateOrdinalBetwee [all...] |
/external/chromium_org/sync/internal_api/public/util/ |
H A D | immutable.h | 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); 96 return Traits::Unwrap(wrapper_); 101 Traits::DestroyWrapper(&wrapper_); 103 friend class base::RefCountedThreadSafe<ImmutableCore<T, Traits> >; [all...] |
/external/chromium_org/v8/src/compiler/ |
H A D | generic-algorithm.h | 34 // Control Pre(Traits::Node* current); 35 // Control Post(Traits::Node* current); 36 // void PreEdge(Traits::Node* from, int index, Traits::Node* to); 37 // void PostEdge(Traits::Node* from, int index, Traits::Node* to); 39 template <class Visitor, class Traits, class RootIterator> 43 typedef typename Traits::Node Node; 44 typedef typename Traits::Iterator Iterator; 48 BoolVector visited(Traits [all...] |
/external/chromium_org/base/win/ |
H A D | 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 [all...] |
/external/chromium_org/v8/include/ |
H A D | v8-util.h | 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 held 191 return Release(Traits [all...] |
/external/chromium_org/base/ |
H A D | scoped_generic.h | 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; 110 swap(static_cast<Traits&>(data_), static_cast<Traits&>(other.data_)); 136 Traits& get_traits() { return data_; } 137 const Traits& get_traits() const { return data_; } 158 template<class T, class Traits> [all...] |
H A D | lazy_instance.h | 5 // The LazyInstance<Type, Traits> class manages a single instance of Type, 123 template <typename Type, typename Traits = DefaultLazyInstanceTraits<Type> > 144 if (!Traits::kAllowedToAccessOnNonjoinableThread) 164 Traits::New(private_buf_.void_data())); 166 Traits::kRegisterOnExit ? OnExit : NULL); 199 LazyInstance<Type, Traits>* me = 200 reinterpret_cast<LazyInstance<Type, Traits>*>(lazy_instance); 201 Traits::Delete(me->instance());
|
/external/chromium_org/base/mac/ |
H A D | 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/ |
H A D | singleton_objc.h | 55 typename Traits = DefaultSingletonObjCTraits<Type>, 57 class SingletonObjC : public Singleton<Type, Traits, DifferentiatingType> {
|
H A D | singleton.h | 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) 251 Type* newval = Traits::New(); 261 if (newval != NULL && Traits::kRegisterAtExit) 281 Traits::Delete( 288 template <typename Type, typename Traits, typenam [all...] |
/external/clang/include/clang/AST/ |
H A D | CommentBriefParser.h | 33 const CommandTraits &Traits; member in class:clang::comments::BriefParser 45 BriefParser(Lexer &L, const CommandTraits &Traits);
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | win32toolhelp.h | 30 // Traits: Traits type that adapts the enumerator to the corresponding 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_, ¤t_); 72 incr_ok = Traits::Next(snapshot_, ¤t_); 83 const typename Traits::Type& current() const { 89 Traits::CloseHandle(snapshot_); 100 static void Zero(typename Traits [all...] |
/external/chromium_org/mojo/public/cpp/bindings/ |
H A D | array.h | 26 Traits; typedef in class:mojo::Array 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_); 76 ConstRefType at(size_t offset) const { return Traits::at(&vec_, offset); } 79 RefType at(size_t offset) { return Traits [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | 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, KeyTrait [all...] |
/external/chromium_org/v8/src/ |
H A D | preparser.h | 20 // Common base class shared between parser and pre-parser. Traits encapsulate 39 // struct Traits { 61 template <typename Traits> 62 class ParserBase : public Traits { 64 // Shorten type names defined by Traits. 65 typedef typename Traits::Type::Expression ExpressionT; 66 typedef typename Traits::Type::Identifier IdentifierT; 67 typedef typename Traits::Type::FunctionLiteral FunctionLiteralT; 68 typedef typename Traits::Type::Literal LiteralT; 69 typedef typename Traits [all...] |
/external/chromium_org/third_party/skia/tests/ |
H A D | 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/ |
H A D | scoped_gdi_object.h | 23 template<class T, class Traits> 30 Traits::Close(handle_); 39 Traits::Close(handle_);
|
/external/skia/tests/ |
H A D | 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/ |
H A D | CommentParser.cpp | 42 Traits(Allocator, CommentOptions()) { 51 CommandTraits Traits; member in class:clang::comments::__anon19530::CommentParserTest 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); local 161 const CommandTraits &Traits, 170 StringRef ActualName = BCC->getCommandName(Traits); 183 const CommandTraits &Traits, 195 StringRef ActualCommandName = PCC->getCommandName(Traits); 160 HasBlockCommandAt(const Comment *C, const CommandTraits &Traits, size_t Idx, BlockCommandComment *&BCC, StringRef Name, ParagraphComment *&Paragraph) argument 181 HasParamCommandAt( const Comment *C, const CommandTraits &Traits, size_t Idx, ParamCommandComment *&PCC, StringRef CommandName, ParamCommandComment::PassDirection Direction, bool IsDirectionExplicit, StringRef ParamName, ParagraphComment *&Paragraph) argument 229 HasTParamCommandAt( const Comment *C, const CommandTraits &Traits, size_t Idx, TParamCommandComment *&TPCC, StringRef CommandName, StringRef ParamName, ParagraphComment *&Paragraph) argument 263 HasInlineCommandAt(const Comment *C, const CommandTraits &Traits, size_t Idx, InlineCommandComment *&ICC, StringRef Name) argument 283 HasInlineCommandAt(const Comment *C, const CommandTraits &Traits, size_t Idx, InlineCommandComment *&ICC, StringRef Name, NoArgs) argument 301 HasInlineCommandAt(const Comment *C, const CommandTraits &Traits, size_t Idx, InlineCommandComment *&ICC, StringRef Name, StringRef Arg) argument 461 HasVerbatimBlockAt(const Comment *C, const CommandTraits &Traits, size_t Idx, VerbatimBlockComment *&VBC, StringRef Name, StringRef CloseName) argument 490 HasVerbatimBlockAt(const Comment *C, const CommandTraits &Traits, size_t Idx, VerbatimBlockComment *&VBC, StringRef Name, StringRef CloseName, NoLines) argument 510 HasVerbatimBlockAt(const Comment *C, const CommandTraits &Traits, size_t Idx, VerbatimBlockComment *&VBC, StringRef Name, StringRef CloseName, Lines, StringRef Line0) argument 537 HasVerbatimBlockAt(const Comment *C, const CommandTraits &Traits, size_t Idx, VerbatimBlockComment *&VBC, StringRef Name, StringRef CloseName, Lines, StringRef Line0, StringRef Line1) argument 571 HasVerbatimLineAt(const Comment *C, const CommandTraits &Traits, size_t Idx, VerbatimLineComment *&VLC, StringRef Name, StringRef Text) argument [all...] |
/external/libcxx/test/strings/basic.string/ |
H A D | types.pass.cpp | 43 template <class Traits, class Allocator> 47 typedef std::basic_string<typename Traits::char_type, Traits, Allocator> S; 49 static_assert((std::is_same<typename S::traits_type, Traits>::value), ""); 50 static_assert((std::is_same<typename S::value_type, typename Traits::char_type>::value), "");
|
/external/chromium_org/ppapi/utility/ |
H A D | completion_callback_factory.h | 615 typedef internal::CallbackOutputTraits<Output> Traits; typedef in class:pp::CompletionCallbackFactory::DispatcherWithOutput0 620 Traits::Initialize(&output_); 625 Traits::Initialize(&output_); 628 // We must call Traits::StorageToPluginArg() even if we don't need to call 631 (object->*method_)(result, Traits::StorageToPluginArg(output_)); 633 Traits::StorageToPluginArg(output_); 635 typename Traits::StorageType* output() { 641 typename Traits::StorageType output_; 668 typedef internal::CallbackOutputTraits<Output> Traits; typedef in class:pp::CompletionCallbackFactory::DispatcherWithOutput1 674 Traits 727 typedef internal::CallbackOutputTraits<Output> Traits; typedef in class:pp::CompletionCallbackFactory::DispatcherWithOutput2 793 typedef internal::CallbackOutputTraits<Output> Traits; typedef in class:pp::CompletionCallbackFactory::DispatcherWithOutput3 [all...] |
/external/llvm/include/llvm/Transforms/Utils/ |
H A D | SSAUpdaterImpl.h | 37 typedef SSAUpdaterTraits<UpdaterT> Traits; typedef in class:llvm::SSAUpdaterImpl 38 typedef typename Traits::BlkT BlkT; 39 typedef typename Traits::ValT ValT; 40 typedef typename Traits::PhiT PhiT; 86 ValT V = Traits::GetUndefVal(BB, Updater); 117 Traits::FindPredecessorBlocks(Info->BB, &Preds); 184 for (typename Traits::BlkSucc_iterator SI = 185 Traits::BlkSucc_begin(Info->BB), 186 E = Traits::BlkSucc_end(Info->BB); SI != E; ++SI) { 244 Pred->AvailableVal = Traits [all...] |
/external/llvm/include/llvm/ADT/ |
H A D | 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> 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> 577 assert((i == 0 || Traits::stopLess(stop(i - 1), x)) && 579 while (i != Size && Traits [all...] |