Home
last modified time | relevance | path

Searched refs:trait (Results 1 – 23 of 23) sorted by relevance

/external/libweave/src/
Ddevice_manager.cc189 auto trait = SplitAtFirst(command_name, ".", true).first; in AddCommandHandler() local
190 std::string component = component_manager_->FindComponentWithTrait(trait); in AddCommandHandler()
238 auto trait = SplitAtFirst(name, ".", true).first; in GetStateProperty() local
239 std::string component = component_manager_->FindComponentWithTrait(trait); in GetStateProperty()
248 auto trait = SplitAtFirst(name, ".", true).first; in SetStateProperty() local
249 std::string component = component_manager_->FindComponentWithTrait(trait); in SetStateProperty()
255 name.c_str(), trait.c_str()); in SetStateProperty()
Dcomponent_manager_impl.cc58 for (const std::string& trait : traits) { in AddComponent() local
59 if (!FindTraitDefinition(trait)) { in AddComponent()
62 "Trait '%s' is undefined", trait.c_str()); in AddComponent()
269 std::string trait; in ParseCommandInstance() local
270 CHECK(value->GetAsString(&trait)); in ParseCommandInstance()
271 if (trait == pair.first) { in ParseCommandInstance()
329 const base::DictionaryValue* trait = nullptr; in FindTraitDefinition() local
330 traits_.GetDictionaryWithoutPathExpansion(name, &trait); in FindTraitDefinition()
331 return trait; in FindTraitDefinition()
489 const std::string& trait) const { in FindComponentWithTrait()
[all …]
Dbase_api_handler_unittest.cc104 const base::DictionaryValue* trait = nullptr; in TEST_F() local
105 ASSERT_TRUE(component_manager_.GetTraits().GetDictionary("base", &trait)); in TEST_F()
178 EXPECT_JSON_EQ(expected, *trait); in TEST_F()
Daccess_api_handler_unittest.cc111 const base::DictionaryValue* trait = nullptr; in TEST_F() local
113 "_accessControlBlackList", &trait)); in TEST_F()
175 EXPECT_JSON_EQ(expected, *trait); in TEST_F()
Dcomponent_manager_impl.h175 std::string FindComponentWithTrait(const std::string& trait) const override;
200 void AddTraitToLegacyComponent(const std::string& trait);
Dcomponent_manager_unittest.cc26 bool HasTrait(const base::DictionaryValue& comp, const std::string& trait) { in HasTrait() argument
32 if (item->GetAsString(&value) && value == trait) in HasTrait()
327 const base::DictionaryValue* trait = manager_.FindTraitDefinition("trait1"); in TEST_F() local
328 ASSERT_NE(nullptr, trait); in TEST_F()
340 EXPECT_JSON_EQ(kExpected1, *trait); in TEST_F()
342 trait = manager_.FindTraitDefinition("trait2"); in TEST_F()
343 ASSERT_NE(nullptr, trait); in TEST_F()
349 EXPECT_JSON_EQ(kExpected2, *trait); in TEST_F()
Dcomponent_manager.h210 const std::string& trait) const = 0;
Dmock_component_manager.h97 std::string(const std::string& trait));
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_doc.cpp583 CTFontSymbolicTraits trait = 0; in AddMacFont() local
584 CFNumberGetValue(sybolicTrait, kCFNumberSInt32Type, &trait); in AddMacFont()
585 if (trait & kCTFontItalicTrait) { in AddMacFont()
588 if (trait & kCTFontMonoSpaceTrait) { in AddMacFont()
591 if (trait & kCTFontModernSerifsClass) { in AddMacFont()
594 if (trait & kCTFontScriptsClass) { in AddMacFont()
667 if (weight > 0.0 && trait & kCTFontItalicTrait) { in AddMacFont()
671 } else if (trait & kCTFontItalicTrait) { in AddMacFont()
/external/clang/test/SemaObjCXX/
Darc-type-traits.mm4 // Check the results of the various type-trait query functions on
/external/clang/docs/
DLanguageExtensions.rst949 Type trait primitives are special builtin constant expressions that can be used
970 For type trait ``__X``, ``__has_extension(X)`` indicates the presence of the
971 type trait primitive in the compiler. A simplistic usage example as might be
982 // Emulate type trait for compatibility with other compilers.
985 The following type trait primitives are supported by Clang:
1009 ``enum`` type. This trait is required to implement the C++11 standard
1014 trait is required to implement the C++11 standard library.
1018 that initialization. This trait is required to implement the C++11 standard
DUsersManual.rst466 template<typename T> struct trait { typedef const T& type; };
468 template<typename T> void set(typename trait<T>::type value) {}
/external/llvm/docs/
DYamlIO.rst254 Given that YAML I/O is trait based, the selection of how to convert your data
392 bitset trait against the flags field, and each that matches will
879 trait for you document list type. The trait has the same methods as
DCodingStandards.rst187 you hit a type trait which doesn't work we can then add support to LLVM's
/external/opencv3/doc/tutorials/core/how_to_scan_images/
Dhow_to_scan_images.markdown213 the safety trait of iterators.
/external/clang/include/clang/Basic/
DTokenKinds.def376 // type trait.
DDiagnosticParseKinds.td805 "type trait requires %0%select{| or more}1 argument%select{|s}2; have "
DDiagnosticSemaKinds.td6529 "incomplete type %0 used in type trait expression">;
/external/llvm/test/Transforms/InstCombine/
Dshift.ll769 ; propagate "exact" trait
/external/bison/po/
Dfr.po721 msgstr "« , » superflue traitée comme un blanc"
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/textana/fr-FR/
Dfr-FR_lexpos.utf2807 N_M_PL^V_PART "traités" :G2P
3161 N_M_SG "traité" :G2P
3313 N_M_SG^V_PART "trait" :G2P
/external/libexif/po/
Dfr.po3112 "l'image. Quand ce champ est vide, il est traité en tant qu'inconnu."
3126 "équipement ayant généré l'image. Quand ce champ est vide, il est traité en "
3266 "dessous soit suivi. Lorsque le champ est vide, il est traité comme inconnu."
/external/libcxx/include/
Dtype_traits3684 static_assert(_Support, "The underyling_type trait requires compiler "