HomeSort by relevance Sort by last modified time
    Searched refs:Feature (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/guava/guava-testlib/src/com/google/common/collect/testing/features/
Feature.java 29 public interface Feature<T> {
30 /** Returns the set of features that are implied by this feature. */
31 Set<Feature<? super T>> getImpliedFeatures();
TesterRequirements.java 33 private final Set<Feature<?>> presentFeatures;
34 private final Set<Feature<?>> absentFeatures;
37 Set<Feature<?>> presentFeatures, Set<Feature<?>> absentFeatures) {
47 this(Collections.<Feature<?>>emptySet(),
48 Collections.<Feature<?>>emptySet());
51 public final Set<Feature<?>> getPresentFeatures() {
55 public final Set<Feature<?>> getAbsentFeatures() {
ConflictingRequirementsException.java 30 private Set<Feature<?>> conflicts;
34 String message, Set<Feature<?>> conflicts, Object source) {
40 public Set<Feature<?>> getConflicts() {
ListFeature.java 36 public enum ListFeature implements Feature<List> {
56 private final Set<Feature<? super List>> implied;
58 ListFeature(Feature<? super List> ... implied) {
63 public Set<Feature<? super List>> getImpliedFeatures() {
MapFeature.java 36 public enum MapFeature implements Feature<Map> {
70 private final Set<Feature<? super Map>> implied;
72 MapFeature(Feature<? super Map> ... implied) {
77 public Set<Feature<? super Map>> getImpliedFeatures() {
SetFeature.java 35 public enum SetFeature implements Feature<Set> {
40 private final Set<Feature<? super Set>> implied;
42 SetFeature(Feature<? super Set> ... implied) {
47 public Set<Feature<? super Set>> getImpliedFeatures() {
FeatureUtil.java 56 public static Set<Feature<?>> addImpliedFeatures(Set<Feature<?>> features) {
71 public static Set<Feature<?>> impliedFeatures(Set<Feature<?>> features) {
72 Set<Feature<?>> implied = new LinkedHashSet<Feature<?>>();
73 for (Feature<?> feature : features) {
74 implied.addAll(feature.getImpliedFeatures());
220 final Feature<?>[] presentFeatures
    [all...]
CollectionFeature.java 38 public enum CollectionFeature implements Feature<Collection> {
64 * tests automatically specify this feature.
116 private final Set<Feature<? super Collection>> implied;
118 CollectionFeature(Feature<? super Collection> ... implied) {
123 public Set<Feature<? super Collection>> getImpliedFeatures() {
CollectionSize.java 31 * com.google.common.collect.testing.FeatureSpecificTestSuiteBuilder#withFeatures(Feature...)}),
50 public enum CollectionSize implements Feature<Collection>,
69 private final Set<Feature<? super Collection>> implied;
77 CollectionSize(Feature<? super Collection> ... implied) {
85 public Set<Feature<? super Collection>> getImpliedFeatures() {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/features/
FeatureSummaryActivity.java 48 * Simple storage class for data about an Android feature.
50 static class Feature {
52 * The name of the feature. Should be one of the PackageManager.FEATURE*
74 public Feature(String name, boolean required) {
84 } else if (o == null || !(o instanceof Feature)) {
87 Feature feature = (Feature) o; local
88 return name.equals(feature.name)
    [all...]
  /external/llvm/lib/MC/
SubtargetFeature.cpp 28 /// hasFlag - Determine if a feature has a flag; '+' or '-'
30 static inline bool hasFlag(const StringRef Feature) {
31 assert(!Feature.empty() && "Empty string");
33 char Ch = Feature[0];
40 static inline std::string StripFlag(const StringRef Feature) {
41 return hasFlag(Feature) ? Feature.substr(1) : Feature;
46 static inline bool isEnabled(const StringRef Feature) {
47 assert(!Feature.empty() && "Empty string")
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xml/
ExpatReader.java 55 private static class Feature {
73 if (name.equals(Feature.VALIDATION)
74 || name.equals(Feature.EXTERNAL_GENERAL_ENTITIES)
75 || name.equals(Feature.EXTERNAL_PARAMETER_ENTITIES)) {
79 if (name.equals(Feature.NAMESPACES)) {
83 if (name.equals(Feature.NAMESPACE_PREFIXES)) {
87 if (name.equals(Feature.STRING_INTERNING)) {
100 if (name.equals(Feature.VALIDATION)
101 || name.equals(Feature.EXTERNAL_GENERAL_ENTITIES)
102 || name.equals(Feature.EXTERNAL_PARAMETER_ENTITIES))
    [all...]
  /external/webkit/Tools/QtTestBrowser/
webpage.h 60 void requestPermission(QWebFrame* frame, QWebPage::Feature feature);
61 void featurePermissionRequestCanceled(QWebFrame* frame, QWebPage::Feature feature);
webpage.cpp 53 connect(this, SIGNAL(featurePermissionRequested(QWebFrame*, QWebPage::Feature)), this, SLOT(requestPermission(QWebFrame*, QWebPage::Feature)));
54 connect(this, SIGNAL(featurePermissionRequestCanceled(QWebFrame*, QWebPage::Feature)), this, SLOT(featurePermissionRequestCanceled(QWebFrame*, QWebPage::Feature)));
176 void WebPage::requestPermission(QWebFrame* frame, QWebPage::Feature feature)
178 setFeaturePermission(frame, feature, PermissionGrantedByUser);
181 void WebPage::featurePermissionRequestCanceled(QWebFrame*, QWebPage::Feature)
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
PerCollectionSizeTestSuiteBuilder.java 20 import com.google.common.collect.testing.features.Feature;
35 * by {@link #withFeatures(Feature...)}.
67 Set<Feature<?>> features = Helpers.copyToSet(getFeatures());
73 Set<Feature<?>> sizesToTest =
74 Helpers.<Feature<?>>copyToSet(CollectionSize.values());
91 for (Feature<?> collectionSize : sizesToTest) {
96 Set<Feature<?>> oneSizeFeatures = Helpers.copyToSet(features);
MapTestSuiteBuilder.java 21 import com.google.common.collect.testing.features.Feature;
121 private static Set<Feature<?>> computeEntrySetFeatures(
122 Set<Feature<?>> mapFeatures) {
123 Set<Feature<?>> entrySetFeatures =
129 private static Set<Feature<?>> computeKeySetFeatures(
130 Set<Feature<?>> mapFeatures) {
131 Set<Feature<?>> keySetFeatures =
143 private static Set<Feature<?>> computeValuesCollectionFeatures(
144 Set<Feature<?>> mapFeatures) {
145 Set<Feature<?>> valuesCollectionFeatures
    [all...]
FeatureSpecificTestSuiteBuilder.java 23 import com.google.common.collect.testing.features.Feature;
104 private Set<Feature<?>> features;
110 public B withFeatures(Feature<?>... features) {
114 public B withFeatures(Iterable<? extends Feature<?>> features) {
119 protected Set<Feature<?>> getFeatures() {
245 Set<Feature<?>> missingFeatures =
256 Set<Feature<?>> unwantedFeatures =
331 protected static String formatFeatureSet(Set<? extends Feature<?>> features) {
333 for (Feature<?> feature : features)
    [all...]
NavigableMapTestSuiteBuilder.java 19 import com.google.common.collect.testing.features.Feature;
83 enum NoRecurse implements Feature<Void> {
88 public Set<Feature<? super Void>> getImpliedFeatures() {
115 List<Feature<?>> features = new ArrayList<Feature<?>>();
213 List<Feature<?>> features = new ArrayList<Feature<?>>();
  /external/clang/lib/Basic/
Module.cpp 52 /// language options has the given feature.
53 static bool hasFeature(StringRef Feature, const LangOptions &LangOpts,
55 return llvm::StringSwitch<bool>(Feature)
64 .Default(Target.hasFeature(Feature));
69 StringRef &Feature) const {
76 Feature = Current->Requires[I];
132 void Module::addRequirement(StringRef Feature, const LangOptions &LangOpts,
134 Requires.push_back(Feature);
136 // If this feature is currently available, we're done.
137 if (hasFeature(Feature, LangOpts, Target)
    [all...]
Targets.cpp 593 virtual bool hasFeature(StringRef Feature) const;
747 bool PPCTargetInfo::hasFeature(StringRef Feature) const {
748 return Feature == "powerpc";
    [all...]
  /external/clang/test/Preprocessor/
feature_tests.c 26 #error Feature name in double underscores does not work
  /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
Constraint.java 26 protected final Feature owner;
28 protected final Feature target;
65 this.target = new Feature(target, targetSpace, targetOMA, blenderContext);
73 this.owner = new Feature(ownerSpace, ownerOMA, blenderContext);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
SortedMultisetTestSuiteBuilder.java 29 import com.google.common.collect.testing.features.Feature;
80 enum NoRecurse implements Feature<Void> {
84 public Set<Feature<? super Void>> getImpliedFeatures() {
132 List<Feature<?>> features = new ArrayList<Feature<?>>();
227 List<Feature<?>> features = new ArrayList<Feature<?>>();
  /external/webkit/Tools/DumpRenderTree/qt/
DumpRenderTreeQt.h 203 void permissionSet(QWebPage::Feature feature);
207 void requestPermission(QWebFrame* frame, QWebPage::Feature feature);
208 void cancelPermission(QWebFrame* frame, QWebPage::Feature feature);
  /external/clang/include/clang/Basic/
Module.h 184 /// \param Feature If this module is unavailable, this parameter
189 StringRef &Feature) const;
246 /// \briaf Add the given feature requirement to the list of features
249 /// \param Feature The feature that is required by this module (and
253 /// evaluate the availability of this feature.
256 /// availability of this feature.
257 void addRequirement(StringRef Feature, const LangOptions &LangOpts,

Completed in 260 milliseconds

1 2 3