/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | argparse.py | 255 def add_argument(self, action): argument 256 if action.help is not SUPPRESS: 260 invocations = [get_invocation(action)] 261 for subaction in self._iter_indented_subactions(action): 271 self._add_item(self._format_action, [action]) 274 for action in actions: 275 self.add_argument(action) 311 for action in actions: 312 if action.option_strings: 313 optionals.append(action) [all …]
|
D | warnings.py | 49 def filterwarnings(action, message="", category=Warning, module="", lineno=0, argument 62 assert action in ("error", "ignore", "always", "default", "module", 63 "once"), "invalid action: %r" % (action,) 71 item = (action, re.compile(message, re.I), category, 78 def simplefilter(action, category=Warning, lineno=0, append=0): argument 88 assert action in ("error", "ignore", "always", "default", "module", 89 "once"), "invalid action: %r" % (action,) 92 item = (action, None, category, None, lineno) 122 action, message, category, module, lineno = [s.strip() 124 action = _getaction(action) [all …]
|
D | re.py | 314 for phrase, action in lexicon: 333 action = self.lexicon[m.lastindex-1][1] 334 if hasattr(action, '__call__'): 336 action = action(self, m.group()) 337 if action is not None: 338 append(action)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | argparse.py | 253 def add_argument(self, action): argument 254 if action.help is not SUPPRESS: 258 invocations = [get_invocation(action)] 259 for subaction in self._iter_indented_subactions(action): 269 self._add_item(self._format_action, [action]) 272 for action in actions: 273 self.add_argument(action) 309 for action in actions: 310 if action.option_strings: 311 optionals.append(action) [all …]
|
D | warnings.py | 45 def filterwarnings(action, message="", category=Warning, module="", lineno=0, argument 58 assert action in ("error", "ignore", "always", "default", "module", 59 "once"), "invalid action: %r" % (action,) 67 item = (action, re.compile(message, re.I), category, 74 def simplefilter(action, category=Warning, lineno=0, append=0): argument 84 assert action in ("error", "ignore", "always", "default", "module", 85 "once"), "invalid action: %r" % (action,) 88 item = (action, None, category, None, lineno) 118 action, message, category, module, lineno = [s.strip() 120 action = _getaction(action) [all …]
|
D | sched.py | 46 def enterabs(self, time, priority, action, argument): argument 53 event = Event(time, priority, action, argument) 57 def enter(self, delay, priority, action, argument): argument 64 return self.enterabs(time, priority, action, argument) 108 time, priority, action, argument = checked_event = q[0] 117 action(*argument)
|
D | re.py | 300 for phrase, action in lexicon: 319 action = self.lexicon[m.lastindex-1][1] 320 if hasattr(action, '__call__'): 322 action = action(self, m.group()) 323 if action is not None: 324 append(action)
|
D | optparse.py | 630 if self.action is None: 631 self.action = "store" 632 elif self.action not in self.ACTIONS: 633 raise OptionError("invalid action: %r" % self.action, self) 637 if self.action in self.ALWAYS_TYPED_ACTIONS: 661 if self.action not in self.TYPED_ACTIONS: 663 "must not supply a type for action %r" % self.action, self) 681 takes_value = (self.action in self.STORE_ACTIONS or 694 if self.action not in self.CONST_ACTIONS and self.const is not None: 696 "'const' must not be supplied for action %r" % self.action, [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
D | filelist.py | 80 action = words[0] 84 if action in ('include', 'exclude', 88 "'%s' expects <pattern1> <pattern2> ..." % action 92 elif action in ('recursive-include', 'recursive-exclude'): 95 "'%s' expects <dir> <pattern1> <pattern2> ..." % action 100 elif action in ('graft', 'prune'): 103 "'%s' expects a single <dir_pattern>" % action 108 raise DistutilsTemplateError, "unknown action '%s'" % action 110 return (action, patterns, dir, dir_pattern) 118 action, patterns, dir, dir_pattern = self._parse_template_line(line) [all …]
|
/device/google/cuttlefish/guest/monitoring/cuttlefish_service/java/com/android/google/gce/gceservice/ |
D | GceBroadcastReceiver.java | 40 final String action = intent.getAction(); in onReceive() local 41 Log.i(LOG_TAG, "Received broadcast: " + action); in onReceive() 43 if (action.equals(Intent.ACTION_BOOT_COMPLETED)) { in onReceive() 45 } else if (action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) { in onReceive() 47 } else if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) { in onReceive()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/ |
D | main.py | 97 parser.add_option("-d", "--doctests_only", action="store_true", 99 parser.add_option("-f", "--fix", action="append", default=[], 101 parser.add_option("-j", "--processes", action="store", default=1, 103 parser.add_option("-x", "--nofix", action="append", default=[], 105 parser.add_option("-l", "--list-fixes", action="store_true", 107 parser.add_option("-p", "--print-function", action="store_true", 109 parser.add_option("-v", "--verbose", action="store_true", 111 parser.add_option("--no-diffs", action="store_true", 113 parser.add_option("-w", "--write", action="store_true", 115 parser.add_option("-n", "--nobackups", action="store_true", default=False,
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/ |
D | UPT.py | 109 …Parser.add_option("-d", "--debug", action="store", type="int", dest="debug_level", help=ST.HLP_PRI… 111 Parser.add_option("-v", "--verbose", action="store_true", dest="opt_verbose", 114 …Parser.add_option("-s", "--silent", action="store_true", dest="opt_slient", help=ST.HLP_RETURN_NO_… 116 …Parser.add_option("-q", "--quiet", action="store_true", dest="opt_quiet", help=ST.HLP_RETURN_AND_D… 118 …Parser.add_option("-i", "--install", action="store", type="string", dest="Install_Distribution_Pac… 121 …Parser.add_option("-c", "--create", action="store", type="string", dest="Create_Distribution_Packa… 124 …Parser.add_option("-r", "--remove", action="store", type="string", dest="Remove_Distribution_Packa… 127 …Parser.add_option("-t", "--template", action="store", type="string", dest="Package_Information_Dat… 130 …Parser.add_option("-p", "--dec-filename", action="append", type="string", dest="EDK2_DEC_Filename", 133 …Parser.add_option("-m", "--inf-filename", action="append", type="string", dest="EDK2_INF_Filename", [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/BPDG/ |
D | BPDG.py | 99 parser.add_option('-d', '--debug', action='store', type="int", dest='debug_level', 101 parser.add_option('-v', '--verbose', action='store_true', dest='opt_verbose', 103 parser.add_option('-q', '--quiet', action='store_true', dest='opt_quiet', default=False, 105 parser.add_option('-o', '--vpd-filename', action='store', dest='bin_filename', 107 parser.add_option('-m', '--map-filename', action='store', dest='filename', 109 parser.add_option('-f', '--force', action='store_true', dest='opt_force',
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_argparse.py | 279 Sig('-x', action='store_true'), 280 Sig('-yyy', action='store_const', const=42), 378 Sig('--badger', action='store_true'), 396 Sig('--badger', action='store_true'), 415 Sig('-f', action='store_true'), 417 Sig('-baz', action='store_const', const=42), 435 Sig('+f', action='store_true'), 437 Sig('/baz', action='store_const', const=42), 457 Sig('+f', action='store_true'), 459 Sig('/baz', action='store_const', const=42), [all …]
|
D | test_optparse.py | 329 action="store_true", dest="verbose") 331 action="store_false", dest="verbose") 346 self.assertEqual(opt1.action, "store_true") 638 make_option("--foo", action="append")] 718 self.parser.add_option("--foz", action="store", 768 self.parser.add_option("-t", action="store_true") 776 action="store_true", 781 action="store_false", 810 self.parser.add_option("-c", action="store", type="choice", 828 self.assertEqual(opt.action, "store") [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
D | pindent.py | 498 action = None 504 if action: error_both(o, action) 506 action = 'complete' 508 if action: error_both(o, action) 510 action = 'delete' 512 if action: error_both(o, action) 514 action = 'reformat' 523 if not action: 530 action = eval(action + '_filter') 531 action(sys.stdin, sys.stdout, stepsize, tabsize, expandtabs) [all …]
|
D | diff.py | 16 …parser.add_option("-c", action="store_true", default=False, help='Produce a context format diff (d… 17 … parser.add_option("-u", action="store_true", default=False, help='Produce a unified format diff') 18 …parser.add_option("-m", action="store_true", default=False, help='Produce HTML side by side diff (… 19 parser.add_option("-n", action="store_true", default=False, help='Produce a ndiff format diff')
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/PatchPcdValue/ |
D | PatchPcdValue.py | 214 make_option("-f", "--offset", dest="PcdOffset", action="store", type="int", 216 make_option("-u", "--value", dest="PcdValue", action="store", 218 make_option("-t", "--type", dest="PcdTypeName", action="store", 220 make_option("-s", "--maxsize", dest="PcdMaxSize", action="store", type="int", 222 … make_option("-v", "--verbose", dest="LogLevel", action="store_const", const=EdkLogger.VERBOSE, 226 make_option("-q", "--quiet", dest="LogLevel", action="store_const", const=EdkLogger.QUIET, 228 make_option("-?", action="help", help="show this help message and exit"),
|
/device/linaro/bootloader/arm-trusted-firmware/include/drivers/arm/ |
D | tzc400.h | 122 void tzc400_set_action(tzc_action_t action); 140 static inline void tzc_set_action(tzc_action_t action) __deprecated; 168 static inline void tzc_set_action(tzc_action_t action) in tzc_set_action() argument 170 tzc400_set_action(action); in tzc_set_action()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | _warnings.c | 105 PyObject *action; in get_filter() local 127 PyObject *tmp_item, *action, *msg, *cat, *mod, *ln_obj; in get_filter() local 139 action = PyTuple_GET_ITEM(tmp_item, 0); in get_filter() 154 return PyString_AsString(action); in get_filter() 157 action = get_default_action(); in get_filter() 158 if (action != NULL) { in get_filter() 159 return PyString_AsString(action); in get_filter() 295 const char *action; in warn_explicit() local 349 action = get_filter(category, text, lineno, module, &item); in warn_explicit() 350 if (action == NULL) in warn_explicit() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | _warnings.c | 105 PyObject *action; in get_filter() local 127 PyObject *tmp_item, *action, *msg, *cat, *mod, *ln_obj; in get_filter() local 139 action = PyTuple_GET_ITEM(tmp_item, 0); in get_filter() 154 return PyString_AsString(action); in get_filter() 157 action = get_default_action(); in get_filter() 158 if (action != NULL) { in get_filter() 159 return PyString_AsString(action); in get_filter() 295 const char *action; in warn_explicit() local 349 action = get_filter(category, text, lineno, module, &item); in warn_explicit() 350 if (action == NULL) in warn_explicit() [all …]
|
/device/generic/goldfish-opengl/fuchsia/ |
D | releasepackage.py | 16 parser.add_argument("--dry-run", action="store_true") 17 parser.add_argument("--ignore-branch", action="store_true") 18 parser.add_argument("--ignore-rebuild", action="store_true") 19 parser.add_argument("--ignore-buildtype", action="store_true")
|
/device/google/crosshatch/ |
D | init.insmod.sh | 13 while IFS=" " read -r action name 15 case $action in
|
/device/google/bonito/ |
D | init.insmod.sh | 13 while IFS=" " read -r action name 15 case $action in
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/ |
D | FileHook.py | 42 def __init__(self, action, path, mode=-1): argument 43 self.action = action 109 if item.action == _MKFILE and exist: 113 elif item.action == _RMFILE and not exist: 127 elif item.action == _MKDIR and exist: 136 elif item.action == _RMDIR and not exist: 138 elif item.action == _CHMOD and exist:
|