Home
last modified time | relevance | path

Searched refs:SecurityError (Results 1 – 10 of 10) sorted by relevance

/external/python/jinja/tests/
Dtest_security.py5 from jinja2.exceptions import SecurityError
41 SecurityError, env.from_string("{{ foo.foo() }}").render, foo=PrivateStuff()
46 SecurityError, env.from_string("{{ foo._foo() }}").render, foo=PublicStuff()
53 SecurityError,
60 pytest.raises(SecurityError, env.from_string("{{ [].append(23) }}").render)
61 pytest.raises(SecurityError, env.from_string("{{ {1:2}.clear() }}").render)
97 pytest.raises(SecurityError, tmpl.render, cls=int)
/external/python/jinja/src/jinja2/
Dsandbox.py15 from .exceptions import SecurityError
345 exc=SecurityError,
379 raise SecurityError(f"{__obj!r} is not safely callable")
Dexceptions.py138 class SecurityError(TemplateRuntimeError): class
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DCommonBugCategories.cpp23 const char *const SecurityError = "Security error"; variable
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DCommonBugCategories.h22 extern const char *const SecurityError;
/external/libchrome/third_party/jinja2/
Dsandbox.py19 from jinja2.exceptions import SecurityError
403 ), name=attribute, obj=obj, exc=SecurityError)
426 raise SecurityError('%r is not safely callable' % (__obj,))
Dexceptions.py137 class SecurityError(TemplateRuntimeError): class
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/cert/
DPutenvWithAutoChecker.cpp31 categories::SecurityError};
/external/python/jinja/docs/
Dsandbox.rst15 SecurityError: access to attribute 'func_code' of 'function' object is unsafe.
29 .. autoexception:: SecurityError
Dapi.rst301 is usually one of :exc:`UndefinedError` or :exc:`SecurityError`.