Searched refs:HasFeature (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/core/example/ |
D | feature_util_test.cc | 71 ASSERT_FALSE(HasFeature("tag", example)); in TEST() 75 EXPECT_TRUE(HasFeature("tag", example)); in TEST() 82 ASSERT_FALSE(HasFeature<protobuf_int64>("tag", example)); in TEST() 86 EXPECT_TRUE(HasFeature<protobuf_int64>("tag", example)); in TEST() 154 ASSERT_FALSE(HasFeature<float>("tag", example)); in TEST() 158 EXPECT_TRUE(HasFeature<float>("tag", example)); in TEST() 224 ASSERT_FALSE(HasFeature<string>("tag", example)); in TEST() 228 EXPECT_TRUE(HasFeature<string>("tag", example)); in TEST() 379 ASSERT_FALSE(HasFeature<protobuf_int64>("tag", se.context())); in TEST() 383 EXPECT_TRUE(HasFeature<protobuf_int64>("tag", se.context())); in TEST()
|
D | feature_util.cc | 28 bool HasFeature<>(const string& key, const Features& features) { in HasFeature() function 33 bool HasFeature<protobuf_int64>(const string& key, const Features& features) { in HasFeature() function 40 bool HasFeature<float>(const string& key, const Features& features) { in HasFeature() function 47 bool HasFeature<string>(const string& key, const Features& features) { in HasFeature() function 54 bool HasFeature<tstring>(const string& key, const Features& features) { in HasFeature() function
|
D | feature_util.h | 399 bool HasFeature(const string& key, const Features& features); 405 bool HasFeature(const string& key, const Example& example) { 406 return HasFeature<FeatureType...>(key, GetFeatures(example)); 413 return HasFeature<FeatureType...>(key, example);
|
/external/clang/lib/Basic/ |
D | Module.cpp | 62 bool HasFeature = llvm::StringSwitch<bool>(Feature) in hasFeature() local 73 if (!HasFeature) in hasFeature() 74 HasFeature = std::find(LangOpts.ModuleFeatures.begin(), in hasFeature() 77 return HasFeature; in hasFeature()
|
/external/cpu_features/src/utils/ |
D | list_cpu_features.c | 128 #define DEFINE_PRINT_FLAGS(HasFeature, FeatureName, FeatureType, LastEnum) \ argument 134 if (HasFeature(features, i)) { \
|
/external/clang/lib/Lex/ |
D | PPMacroExpansion.cpp | 1049 static bool HasFeature(const Preprocessor &PP, StringRef Feature) { in HasFeature() function 1229 if (HasFeature(PP, Extension)) in HasExtension() 1676 return II && HasFeature(*this, II->getName()); in ExpandBuiltinMacro()
|