/external/guava/guava-testlib/test/com/google/common/collect/testing/features/ |
D | FeatureUtilTest.java | 47 enum ExampleBaseFeature implements Feature<ExampleBaseInterface> { 52 public Set<Feature<? super ExampleBaseInterface>> getImpliedFeatures() { in getImpliedFeatures() 65 enum ExampleDerivedFeature implements Feature<ExampleDerivedInterface>{ 75 private Set<Feature<? super ExampleDerivedInterface>> implied; 78 Feature<? super ExampleDerivedInterface> ... implied) { in ExampleDerivedFeature() 83 public Set<Feature<? super ExampleDerivedInterface>> getImpliedFeatures() { in getImpliedFeatures() 152 Set<Feature<?>> features = Sets.<Feature<?>>newHashSet( in testAddImpliedFeatures_returnsSameSetInstance() 158 Set<Feature<?>> features; in testAddImpliedFeatures_addsImpliedFeatures() 160 features = Sets.<Feature<?>>newHashSet( in testAddImpliedFeatures_addsImpliedFeatures() 165 features = Sets.<Feature<?>>newHashSet( in testAddImpliedFeatures_addsImpliedFeatures() [all …]
|
/external/llvm/lib/MC/ |
D | SubtargetFeature.cpp | 32 static inline bool hasFlag(StringRef Feature) { in hasFlag() argument 33 assert(!Feature.empty() && "Empty string"); in hasFlag() 35 char Ch = Feature[0]; in hasFlag() 42 static inline std::string StripFlag(StringRef Feature) { in StripFlag() argument 43 return hasFlag(Feature) ? Feature.substr(1) : Feature; in StripFlag() 48 static inline bool isEnabled(StringRef Feature) { in isEnabled() argument 49 assert(!Feature.empty() && "Empty string"); in isEnabled() 51 char Ch = Feature[0]; in isEnabled() 109 for (auto &Feature : FeatTable) in Help() local 110 errs() << format(" %-*s - %s.\n", MaxFeatLen, Feature.Key, Feature.Desc); in Help() [all …]
|
/external/tensorflow/tensorflow/core/example/ |
D | feature_util.cc | 21 Feature& ExampleFeature(const string& name, Example* example) { in ExampleFeature() 36 (it->second.kind_case() == Feature::KindCase::kInt64List); in HasFeature() 43 (it->second.kind_case() == Feature::KindCase::kFloatList); in HasFeature() 50 (it->second.kind_case() == Feature::KindCase::kBytesList); in HasFeature() 61 const Feature& feature) { in GetFeatureValues() 67 Feature* feature) { in GetFeatureValues() 73 const Feature& feature) { in GetFeatureValues() 78 protobuf::RepeatedField<float>* GetFeatureValues<float>(Feature* feature) { in GetFeatureValues() 84 const Feature& feature) { in GetFeatureValues() 89 protobuf::RepeatedPtrField<string>* GetFeatureValues<string>(Feature* feature) { in GetFeatureValues() [all …]
|
D | feature_util.h | 120 Feature& ExampleFeature(const string& name, Example* example); 197 GetFeatureValues(const Feature& feature); 210 Feature* feature); 217 ::tensorflow::Feature& feature = 225 Feature* GetFeature(const string& key, ProtoType* proto) { 230 const protobuf::RepeatedPtrField<Feature>& GetFeatureList( 235 protobuf::RepeatedPtrField<Feature>* GetFeatureList( 240 Feature* feature) { 250 Feature* feature) { 255 void AppendFeatureValues(const ContainerType& container, Feature* feature) {
|
D | feature.proto | 4 // There are three base Feature types: 9 // A Feature contains Lists which may hold zero or more values. These 13 // contains the mapping from name to Feature. 76 message Feature { message 87 map<string, Feature> feature = 1; 93 // Feature values. 99 repeated Feature feature = 1;
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/features/ |
D | FeatureUtil.java | 54 public static Set<Feature<?>> addImpliedFeatures(Set<Feature<?>> features) { in addImpliedFeatures() 69 public static Set<Feature<?>> impliedFeatures(Set<Feature<?>> features) { in impliedFeatures() 70 Set<Feature<?>> implied = new LinkedHashSet<Feature<?>>(); in impliedFeatures() 71 for (Feature<?> feature : features) { in impliedFeatures() 218 final Feature<?>[] presentFeatures; in buildTesterRequirements() 219 final Feature<?>[] absentFeatures; in buildTesterRequirements() 221 presentFeatures = (Feature[]) annotationClass.getMethod("value") in buildTesterRequirements() 223 absentFeatures = (Feature[]) annotationClass.getMethod("absent") in buildTesterRequirements() 229 Set<Feature<?>> allPresentFeatures = in buildTesterRequirements() 230 addImpliedFeatures(Helpers.<Feature<?>>copyToSet(presentFeatures)); in buildTesterRequirements() [all …]
|
D | TesterRequirements.java | 33 private final Set<Feature<?>> presentFeatures; 34 private final Set<Feature<?>> absentFeatures; 37 Set<Feature<?>> presentFeatures, Set<Feature<?>> absentFeatures) { in TesterRequirements() 47 this(Collections.<Feature<?>>emptySet(), in TesterRequirements() 48 Collections.<Feature<?>>emptySet()); in TesterRequirements() 51 public final Set<Feature<?>> getPresentFeatures() { in getPresentFeatures() 55 public final Set<Feature<?>> getAbsentFeatures() { in getAbsentFeatures()
|
D | SetFeature.java | 35 public enum SetFeature implements Feature<Set> { 40 private final Set<Feature<? super Set>> implied; 42 SetFeature(Feature<? super Set> ... implied) { in SetFeature() 47 public Set<Feature<? super Set>> getImpliedFeatures() { in getImpliedFeatures()
|
/external/swiftshader/third_party/LLVM/lib/MC/ |
D | SubtargetFeature.cpp | 30 static inline bool hasFlag(const StringRef Feature) { in hasFlag() argument 31 assert(!Feature.empty() && "Empty string"); in hasFlag() 33 char Ch = Feature[0]; in hasFlag() 40 static inline std::string StripFlag(const StringRef Feature) { in StripFlag() argument 41 return hasFlag(Feature) ? Feature.substr(1) : Feature; in StripFlag() 46 static inline bool isEnabled(const StringRef Feature) { in isEnabled() argument 47 assert(!Feature.empty() && "Empty string"); in isEnabled() 49 char Ch = Feature[0]; in isEnabled() 56 static inline std::string PrependFlag(const StringRef Feature, in PrependFlag() argument 58 assert(!Feature.empty() && "Empty string"); in PrependFlag() [all …]
|
/external/tcpdump/tests/ |
D | aoe_1-v.out | 10 AFlags: [none], Err/Feature: 0, Sector Count: 1, Cmd/Status: 236 15 AFlags: [none], Err/Feature: 0, Sector Count: 0, Cmd/Status: 64 20 AFlags: [Ext48], Err/Feature: 0, Sector Count: 2, Cmd/Status: 36 25 AFlags: [Ext48], Err/Feature: 0, Sector Count: 2, Cmd/Status: 36 30 AFlags: [Ext48], Err/Feature: 0, Sector Count: 2, Cmd/Status: 36 35 AFlags: [Ext48], Err/Feature: 0, Sector Count: 2, Cmd/Status: 36 40 AFlags: [Ext48], Err/Feature: 0, Sector Count: 0, Cmd/Status: 64 45 AFlags: [Ext48], Err/Feature: 0, Sector Count: 0, Cmd/Status: 64 50 AFlags: [Ext48], Err/Feature: 0, Sector Count: 0, Cmd/Status: 64 55 AFlags: [Ext48], Err/Feature: 0, Sector Count: 0, Cmd/Status: 64 [all …]
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | MapTestSuiteBuilder.java | 25 import com.google.common.collect.testing.features.Feature; 149 private static Set<Feature<?>> computeReserializedMapFeatures( in computeReserializedMapFeatures() 150 Set<Feature<?>> mapFeatures) { in computeReserializedMapFeatures() 151 Set<Feature<?>> derivedFeatures = Helpers.copyToSet(mapFeatures); in computeReserializedMapFeatures() 157 private static Set<Feature<?>> computeEntrySetFeatures( in computeEntrySetFeatures() 158 Set<Feature<?>> mapFeatures) { in computeEntrySetFeatures() 159 Set<Feature<?>> entrySetFeatures = in computeEntrySetFeatures() 167 private static Set<Feature<?>> computeKeySetFeatures( in computeKeySetFeatures() 168 Set<Feature<?>> mapFeatures) { in computeKeySetFeatures() 169 Set<Feature<?>> keySetFeatures = in computeKeySetFeatures() [all …]
|
D | FeatureSpecificTestSuiteBuilder.java | 23 import com.google.common.collect.testing.features.Feature; 103 private Set<Feature<?>> features = new LinkedHashSet<Feature<?>>(); 110 public B withFeatures(Feature<?>... features) { in withFeatures() 114 public B withFeatures(Iterable<? extends Feature<?>> features) { in withFeatures() 115 for (Feature<?> feature : features) { in withFeatures() 121 public Set<Feature<?>> getFeatures() { in getFeatures() 247 Set<Feature<?>> missingFeatures = in matches() 258 Set<Feature<?>> unwantedFeatures = in matches() 317 protected static String formatFeatureSet(Set<? extends Feature<?>> features) { in formatFeatureSet() 319 for (Feature<?> feature : features) { in formatFeatureSet()
|
D | PerCollectionSizeTestSuiteBuilder.java | 20 import com.google.common.collect.testing.features.Feature; 67 Set<Feature<?>> features = Helpers.copyToSet(getFeatures()); in createTestSuite() 73 Set<Feature<?>> sizesToTest = in createTestSuite() 74 Helpers.<Feature<?>>copyToSet(CollectionSize.values()); in createTestSuite() 91 for (Feature<?> collectionSize : sizesToTest) { in createTestSuite() 96 Set<Feature<?>> oneSizeFeatures = Helpers.copyToSet(features); in createTestSuite()
|
D | CollectionTestSuiteBuilder.java | 20 import com.google.common.collect.testing.features.Feature; 95 private static Set<Feature<?>> computeReserializedCollectionFeatures(Set<Feature<?>> features) { in computeReserializedCollectionFeatures() 96 Set<Feature<?>> derivedFeatures = new HashSet<Feature<?>>(); in computeReserializedCollectionFeatures()
|
D | SortedMapTestSuiteBuilder.java | 22 import com.google.common.collect.testing.features.Feature; 54 List<Feature<?>> features = Helpers.copyToList(getFeatures()); in createTestSuite() 86 enum NoRecurse implements Feature<Void> { 91 public Set<Feature<? super Void>> getImpliedFeatures() { in getImpliedFeatures() 109 List<Feature<?>> features = new ArrayList<Feature<?>>(); in createSubmapSuite()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | BiMapTestSuiteBuilder.java | 27 import com.google.common.collect.testing.features.Feature; 68 enum NoRecurse implements Feature<Void> { 72 public Set<Feature<? super Void>> getImpliedFeatures() { in getImpliedFeatures() 118 private static Set<Feature<?>> computeInverseFeatures(Set<Feature<?>> mapFeatures) { in computeInverseFeatures() 119 Set<Feature<?>> inverseFeatures = new HashSet<Feature<?>>(mapFeatures); in computeInverseFeatures() 140 private static Set<Feature<?>> computeValuesSetFeatures( in computeValuesSetFeatures() 141 Set<Feature<?>> mapFeatures) { in computeValuesSetFeatures() 142 Set<Feature<?>> valuesCollectionFeatures = in computeValuesSetFeatures() 155 private static Set<Feature<?>> computeCommonDerivedCollectionFeatures( in computeCommonDerivedCollectionFeatures() 156 Set<Feature<?>> mapFeatures) { in computeCommonDerivedCollectionFeatures()
|
D | MultisetTestSuiteBuilder.java | 33 import com.google.common.collect.testing.features.Feature; 63 public enum NoRecurse implements Feature<Void> { 67 public Set<Feature<? super Void>> getImpliedFeatures() { in getImpliedFeatures() 91 private static Set<Feature<?>> computeEntrySetFeatures( in computeEntrySetFeatures() 92 Set<Feature<?>> features) { in computeEntrySetFeatures() 93 Set<Feature<?>> derivedFeatures = new HashSet<Feature<?>>(); in computeEntrySetFeatures() 105 static Set<Feature<?>> computeElementSetFeatures( in computeElementSetFeatures() 106 Set<Feature<?>> features) { in computeElementSetFeatures() 107 Set<Feature<?>> derivedFeatures = new HashSet<Feature<?>>(); in computeElementSetFeatures() 117 private static Set<Feature<?>> computeReserializedMultisetFeatures( in computeReserializedMultisetFeatures() [all …]
|
D | MultimapTestSuiteBuilder.java | 40 import com.google.common.collect.testing.features.Feature; 175 Set<Feature<?>> features = computeMultimapAsMapGetFeatures(parentBuilder.getFeatures()); in computeMultimapAsMapGetTestSuite() 199 static Set<Feature<?>> computeDerivedCollectionFeatures(Set<Feature<?>> multimapFeatures) { in computeDerivedCollectionFeatures() 200 Set<Feature<?>> derivedFeatures = Helpers.copyToSet(multimapFeatures); in computeDerivedCollectionFeatures() 210 static Set<Feature<?>> computeEntriesFeatures( in computeEntriesFeatures() 211 Set<Feature<?>> multimapFeatures) { in computeEntriesFeatures() 212 Set<Feature<?>> result = computeDerivedCollectionFeatures(multimapFeatures); in computeEntriesFeatures() 219 static Set<Feature<?>> computeValuesFeatures( in computeValuesFeatures() 220 Set<Feature<?>> multimapFeatures) { in computeValuesFeatures() 221 Set<Feature<?>> result = computeDerivedCollectionFeatures(multimapFeatures); in computeValuesFeatures() [all …]
|
D | MultimapFeature.java | 22 import com.google.common.collect.testing.features.Feature; 38 public enum MultimapFeature implements Feature<Multimap> { 41 private final Set<Feature<? super Multimap>> implied; 43 MultimapFeature(Feature<? super Multimap> ... implied) { in MultimapFeature() 48 public Set<Feature<? super Multimap>> getImpliedFeatures() { in getImpliedFeatures()
|
/external/libchrome/base/ |
D | feature_list.h | 34 struct BASE_EXPORT Feature { struct 35 constexpr Feature(const char* name, FeatureState default_state) in Feature() function 153 static bool IsEnabled(const Feature& feature); 157 static FieldTrial* GetFieldTrial(const Feature& feature); 231 bool IsFeatureEnabled(const Feature& feature); 237 base::FieldTrial* GetAssociatedFieldTrial(const Feature& feature); 262 bool CheckFeatureIdentity(const Feature& feature); 272 std::map<std::string, const Feature*> feature_identity_tracker_;
|
/external/libchrome/base/test/ |
D | scoped_feature_list.cc | 15 const std::initializer_list<base::Feature>& features) { in GetFeatureString() 17 for (const base::Feature& feature : features) { in GetFeatureString() 44 const std::initializer_list<base::Feature>& enabled_features, in InitWithFeatures() 45 const std::initializer_list<base::Feature>& disabled_features) { in InitWithFeatures() 65 void ScopedFeatureList::InitAndEnableFeature(const base::Feature& feature) { in InitAndEnableFeature() 69 void ScopedFeatureList::InitAndDisableFeature(const base::Feature& feature) { in InitAndDisableFeature()
|
D | scoped_feature_list.h | 34 const std::initializer_list<base::Feature>& enabled_features, 35 const std::initializer_list<base::Feature>& disabled_features); 44 void InitAndEnableFeature(const base::Feature& feature); 48 void InitAndDisableFeature(const base::Feature& feature);
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
D | FeatureList.java | 19 private Feature[] features; 24 features = new Feature[10]; in FeatureList() 28 public void addFeature(Feature feature) in addFeature() 31 Feature[] newFeatures = new Feature[features.length + 5]; in addFeature()
|
/external/clang/lib/Basic/ |
D | Targets.cpp | 979 bool hasFeature(StringRef Feature) const override; 1130 for (const auto &Feature : Features) { in handleTargetFeatures() local 1131 if (Feature == "+vsx") { in handleTargetFeatures() 1133 } else if (Feature == "+bpermd") { in handleTargetFeatures() 1135 } else if (Feature == "+extdiv") { in handleTargetFeatures() 1137 } else if (Feature == "+power8-vector") { in handleTargetFeatures() 1139 } else if (Feature == "+crypto") { in handleTargetFeatures() 1141 } else if (Feature == "+direct-move") { in handleTargetFeatures() 1143 } else if (Feature == "+qpx") { in handleTargetFeatures() 1145 } else if (Feature == "+htm") { in handleTargetFeatures() [all …]
|
/external/caliper/caliper/src/main/java/com/google/caliper/memory/ |
D | ObjectExplorer.java | 68 return exploreObject(rootObject, visitor, EnumSet.noneOf(Feature.class)); in exploreObject() 99 ObjectVisitor<T> visitor, EnumSet<Feature> features) { in exploreObject() 125 if (features.contains(Feature.VISIT_PRIMITIVES)) { in exploreObject() 129 if (features.contains(Feature.VISIT_NULL)) { in exploreObject() 152 if (features.contains(Feature.VISIT_NULL)) { in exploreObject() 159 if (features.contains(Feature.VISIT_PRIMITIVES)) { in exploreObject() 249 public enum Feature { enum in ObjectExplorer
|