Home
last modified time | relevance | path

Searched refs:OptionsBase (Results 1 – 25 of 26) sorted by relevance

12

/external/desugar/java/com/google/devtools/common/options/
DIsolatedOptionsData.java56 private static final Map<Class<? extends OptionsBase>, ImmutableList<OptionDefinition>>
61 Class<? extends OptionsBase> optionsClass) { in getAllOptionDefinitionsForClass()
85 private final ImmutableMap<Class<? extends OptionsBase>, Constructor<?>> optionsClasses;
110 private final ImmutableMap<Class<? extends OptionsBase>, Boolean> usesOnlyCoreTypes;
113 Map<Class<? extends OptionsBase>, Constructor<?>> optionsClasses,
117 Map<Class<? extends OptionsBase>, Boolean> usesOnlyCoreTypes) {
138 public Collection<Class<? extends OptionsBase>> getOptionsClasses() {
143 public <T extends OptionsBase> Constructor<T> getConstructor(Class<T> clazz) {
168 public boolean getUsesOnlyCoreTypes(Class<? extends OptionsBase> optionsClass) {
227 static IsolatedOptionsData from(Collection<Class<? extends OptionsBase>> classes) {
[all …]
DOptionsParser.java102 private static final Map<ImmutableList<Class<? extends OptionsBase>>, OptionsData> optionsData =
114 List<Class<? extends OptionsBase>> optionsClasses) throws ConstructionException { in getOptionsData()
122 List<Class<? extends OptionsBase>> optionsClasses) throws ConstructionException { in getOptionsDataInternal()
123 ImmutableList<Class<? extends OptionsBase>> immutableOptionsClasses = in getOptionsDataInternal()
141 static OptionsData getOptionsDataInternal(Class<? extends OptionsBase> optionsClass) in getOptionsDataInternal()
149 public static OptionsParser newOptionsParser(Class<? extends OptionsBase> class1) in newOptionsParser()
151 return newOptionsParser(ImmutableList.<Class<? extends OptionsBase>>of(class1)); in newOptionsParser()
156 Class<? extends OptionsBase> class1, Class<? extends OptionsBase> class2) in newOptionsParser()
163 Iterable<? extends Class<? extends OptionsBase>> optionsClasses) in newOptionsParser()
332 for (Class<? extends OptionsBase> optionsClass : data.getOptionsClasses()) { in getOptionsSortedByCategory()
[all …]
DOptions.java45 public class Options<O extends OptionsBase> {
51 public static <O extends OptionsBase> Options<O> parse(Class<O> optionsClass, String... args) in parse()
64 public static <O extends OptionsBase> Options<O> parseAndExitUponError( in parseAndExitUponError()
83 public static <O extends OptionsBase> O getDefaults(Class<O> optionsClass) { in getDefaults()
96 public static String getUsage(Class<? extends OptionsBase> optionsClass) { in getUsage()
DOptionsBase.java47 public abstract class OptionsBase { class
55 protected OptionsBase() { in OptionsBase() method in OptionsBase
66 public final <O extends OptionsBase> Map<String, Object> asMap() { in asMap()
121 this.asMap().equals(((OptionsBase) that).asMap()); in equals()
DOptionsClassProvider.java25 public <O extends OptionsBase> O getOptions(Class<O> optionsClass) {
37 @Nullable <O extends OptionsBase> O getOptions(Class<O> optionsClass); in getOptions()
DOptionsData.java62 static OptionsData from(Collection<Class<? extends OptionsBase>> classes) { in from()
DOptionsUsage.java43 static void getUsage(Class<? extends OptionsBase> optionsClass, StringBuilder usage) { in getUsage()
DOptionsParserImpl.java536 <O extends OptionsBase> O getParsedOptions(Class<O> optionsClass) { in getParsedOptions()
/external/desugar/java/com/google/devtools/common/options/testing/
DOptionsTester.java23 import com.google.devtools.common.options.OptionsBase;
34 private final Class<? extends OptionsBase> optionsClass;
36 public OptionsTester(Class<? extends OptionsBase> optionsClass) { in OptionsTester()
40 private static ImmutableList<Field> getAllFields(Class<? extends OptionsBase> optionsClass) { in getAllFields()
42 Class<? extends OptionsBase> current = optionsClass; in getAllFields()
43 while (!OptionsBase.class.equals(current)) { in getAllFields()
48 Class<? extends OptionsBase> superclass = in getAllFields()
49 (Class<? extends OptionsBase>) current.getSuperclass(); in getAllFields()
/external/tensorflow/tensorflow/python/data/util/
Doptions.py26 class OptionsBase(object): class
123 if not isinstance(options_list[0], OptionsBase):
138 elif isinstance(this, OptionsBase):
Doptions_test.py25 class _TestOptions(options.OptionsBase):
35 class _NestedTestOptions(options.OptionsBase):
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dthreading_options.py26 class ThreadingOptions(options.OptionsBase):
Dstats_options.py28 class StatsOptions(options.OptionsBase):
Doptimization_options.py26 class OptimizationOptions(options.OptionsBase):
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.data.experimental.-threading-options.pbtxt4 is_instance: "<class \'tensorflow.python.data.util.options.OptionsBase\'>"
Dtensorflow.data.experimental.-stats-options.pbtxt4 is_instance: "<class \'tensorflow.python.data.util.options.OptionsBase\'>"
Dtensorflow.data.-options.pbtxt4 is_instance: "<class \'tensorflow.python.data.util.options.OptionsBase\'>"
Dtensorflow.data.experimental.-optimization-options.pbtxt4 is_instance: "<class \'tensorflow.python.data.util.options.OptionsBase\'>"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.data.experimental.-threading-options.pbtxt4 is_instance: "<class \'tensorflow.python.data.util.options.OptionsBase\'>"
Dtensorflow.data.experimental.-stats-options.pbtxt4 is_instance: "<class \'tensorflow.python.data.util.options.OptionsBase\'>"
Dtensorflow.data.-options.pbtxt4 is_instance: "<class \'tensorflow.python.data.util.options.OptionsBase\'>"
Dtensorflow.data.experimental.-optimization-options.pbtxt4 is_instance: "<class \'tensorflow.python.data.util.options.OptionsBase\'>"
/external/desugar/java/com/google/devtools/build/android/desugar/scan/
DKeepScanner.java36 import com.google.devtools.common.options.OptionsBase;
57 public static class KeepScannerOptions extends OptionsBase {
/external/desugar/java/com/google/devtools/build/android/desugar/
DDesugar.java40 import com.google.devtools.common.options.OptionsBase;
73 public static class DesugarOptions extends OptionsBase {
/external/desugar/java/com/google/devtools/common/options/processor/
DOptionProcessor.java25 import com.google.devtools.common.options.OptionsBase;

12