Home
last modified time | relevance | path

Searched refs:default_action (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython3/Python/
D_warnings.c125 PyObject *default_action; in get_default_action() local
128 default_action = get_warnings_attr(&PyId_defaultaction, 0); in get_default_action()
129 if (default_action == NULL) { in get_default_action()
133 assert(_PyRuntime.warnings.default_action); in get_default_action()
134 return _PyRuntime.warnings.default_action; in get_default_action()
136 if (!PyUnicode_Check(default_action)) { in get_default_action()
140 Py_TYPE(default_action)->tp_name); in get_default_action()
141 Py_DECREF(default_action); in get_default_action()
144 Py_SETREF(_PyRuntime.warnings.default_action, default_action); in get_default_action()
145 return default_action; in get_default_action()
[all …]
/external/minijail/tools/
Dcompile_seccomp_policy.py74 if opts.default_action:
76 parser_state.set_line(opts.default_action)
Dparser_unittest.py504 default_action=bpf.KillProcess(),
533 default_action=bpf.KillProcess(),
560 default_action=bpf.KillThread(),
593 default_action=bpf.KillProcess(),
621 default_action=bpf.KillProcess(),
646 default_action=bpf.KillProcess(),
719 default_action=bpf.KillProcess(),
Dparser.py731 default_action = self._override_default_action or self._default_action
750 Filter(expression=None, action=default_action))
751 return ParsedPolicy(default_action, filter_statements)
Dcompiler.py286 reject_action = parsed_policy.default_action
/external/python/cpython3/Include/internal/
Dwarnings.h14 PyObject *default_action; /* String */ member
/external/python/cpython2/Python/
D_warnings.c90 PyObject *default_action; in get_default_action() local
92 default_action = get_warnings_attr("defaultaction"); in get_default_action()
93 if (default_action == NULL) { in get_default_action()
101 _default_action = default_action; in get_default_action()
102 return default_action; in get_default_action()
/external/python/cpython2/Lib/
Dwarnings.py397 from _warnings import (filters, default_action, once_registry,
399 defaultaction = default_action
/external/tensorflow/tensorflow/python/ops/
Dcontrol_flow_ops.py3779 def default_action(): function
3792 return default_action, other_predicates, other_actions