Home
last modified time | relevance | path

Searched refs:option_strings (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython2/Lib/
Dargparse.py312 if action.option_strings:
431 elif not action.option_strings:
444 option_string = action.option_strings[0]
539 if not action.option_strings:
549 parts.extend(action.option_strings)
556 for option_string in action.option_strings:
667 if action.option_strings or action.nargs in defaulting_nargs:
679 elif argument.option_strings:
680 return '/'.join(argument.option_strings)
770 option_strings, argument
[all …]
Doptparse.py221 self.option_strings = {}
306 opts = self.option_strings[option]
330 self.option_strings[opt] = strings
336 self.option_strings[opt] = strings
Ddoctest.py753 option_strings = m.group(1).replace(',', ' ').split()
754 for option in option_strings:
/external/python/cpython3/Lib/
Dargparse.py314 if action.option_strings:
442 elif not action.option_strings:
456 option_string = action.option_strings[0]
552 if not action.option_strings:
563 parts.extend(action.option_strings)
570 for option_string in action.option_strings:
700 if action.option_strings or action.nargs in defaulting_nargs:
728 elif argument.option_strings:
729 return '/'.join(argument.option_strings)
821 option_strings, argument
[all …]
Doptparse.py227 self.option_strings = {}
312 opts = self.option_strings[option]
336 self.option_strings[opt] = strings
342 self.option_strings[opt] = strings
Ddoctest.py758 option_strings = m.group(1).replace(',', ' ').split()
759 for option in option_strings:
/external/python/absl-py/absl/flags/
Dargparse_flags.py241 option_strings, argument
261 option_strings=option_strings,
277 option_strings, argument
301 option_strings=option_strings,
327 def __init__(self, option_strings, dest, default, help): # pylint: disable=redefined-builtin argument
338 option_strings=option_strings,
/external/cronet/build/android/pylib/utils/
Dargparse_utils.py31 option_strings, argument
36 super().__init__(option_strings=option_strings,
/external/angle/build/android/pylib/utils/
Dargparse_utils.py31 option_strings, argument
36 super().__init__(option_strings=option_strings,
/external/chromium-trace/catapult/devil/devil/utils/
Dmarkdown.py116 option_strings, argument
121 option_strings=option_strings,
/external/perfetto/python/tools/
Dheap_profile.py141 for opt in action.option_strings:
144 return result, action.option_strings[0].strip('-')
151 opts = ', '.join('`' + x + '`' for x in action.option_strings)
/external/perfetto/tools/
Dheap_profile404 for opt in action.option_strings:
407 return result, action.option_strings[0].strip('-')
414 opts = ', '.join('`' + x + '`' for x in action.option_strings)
/external/tensorflow/tensorflow/lite/python/
Dtflite_convert.py75 def __init__(self, option_strings, dest, nargs=None, **kwargs): argument
82 option_strings, dest, nargs=nargs, **kwargs)
/external/autotest/utils/frozen_chromite/lib/
Dcommandline.py408 def __init__(self, option_strings, dest, **kwargs): argument
412 option_strings, dest, nargs=0, **kwargs)
/external/python/cpython3/Doc/library/
Dargparse.rst668 …_StoreAction(option_strings=['--integers'], dest='integers', nargs=None, const=None, default=None,…
866 ... def __init__(self, option_strings, dest, nargs=None, **kwargs):
869 ... super().__init__(option_strings, dest, **kwargs)
1356 .. class:: Action(option_strings, dest, nargs=None, const=None, default=None, \
1367 parameter) should have attributes "dest", "option_strings", "default", "type",
/external/python/cpython2/Doc/library/
Dargparse.rst762 ... def __init__(self, option_strings, dest, nargs=None, **kwargs):
765 ... super(FooAction, self).__init__(option_strings, dest, **kwargs)
1233 .. class:: Action(option_strings, dest, nargs=None, const=None, default=None, \
1243 parameter) should have attributes "dest", "option_strings", "default", "type",
/external/python/cpython2/Lib/test/
Dtest_argparse.py4197 option_strings, argument
4390 option_strings=['--foo', '-a', '-b'],
4406 option_strings=[],
/external/python/cpython3/Lib/test/
Dtest_argparse.py4687 option_strings, argument
4870 option_strings=['--foo', '-a', '-b'],
4886 option_strings=[],