Home
last modified time | relevance | path

Searched refs:enum_values (Results 1 – 2 of 2) sorted by relevance

/external/qemu/android/tools/
Dgen-hw-config.py72 self.enum_values = []
79 self.enum_values = [ s.strip() for s in val.split(',') ]
81 if self.default and not self.default in self.enum_values:
83 print self.enum_values,
87 if val and self.enum_values and not val in self.enum_values:
89 print self.enum_values,
/external/chromium-trace/trace-viewer/third_party/python_gflags/
Dgflags.py2593 def __init__(self, enum_values=None): argument
2595 self.enum_values = enum_values
2598 if self.enum_values and argument not in self.enum_values:
2600 "|".join(self.enum_values))
2610 def __init__(self, name, default, help, enum_values=None, argument
2612 enum_values = enum_values or []
2613 p = EnumParser(enum_values)
2617 self.help = "<%s>: %s" % ("|".join(enum_values), self.help)
2620 for enum_value in self.parser.enum_values:
2624 def DEFINE_enum(name, default, enum_values, help, flag_values=FLAGS, argument
[all …]