Home
last modified time | relevance | path

Searched refs:HasFeature (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/core/example/
Dfeature_util_test.cc71 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()
Dfeature_util.cc28 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
Dfeature_util.h399 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/
DModule.cpp62 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/
Dlist_cpu_features.c128 #define DEFINE_PRINT_FLAGS(HasFeature, FeatureName, FeatureType, LastEnum) \ argument
134 if (HasFeature(features, i)) { \
/external/clang/lib/Lex/
DPPMacroExpansion.cpp1049 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()