Home
last modified time | relevance | path

Searched refs:autoescape (Results 1 - 25 of 34) sorted by relevance

12

/third_party/jinja2/
H A Druntime.py369 if self._context.eval_ctx.autoescape:
381 if self._context.eval_ctx.autoescape:
680 if callable(environment.autoescape):
681 default_autoescape = environment.autoescape(None)
683 default_autoescape = environment.autoescape
705 # time autoescape flag.
707 autoescape = args[0].autoescape
710 autoescape = self._default_autoescape
763 return self._invoke(arguments, autoescape)
[all...]
H A Dasyncsupport.py82 if self._context.eval_ctx.autoescape:
97 async def async_invoke(self, arguments, autoescape):
99 if autoescape:
104 def _invoke(self, arguments, autoescape):
106 return original_invoke(self, arguments, autoescape)
107 return async_invoke(self, arguments, autoescape)
H A Dnodes.py78 if callable(environment.autoescape):
79 self.autoescape = environment.autoescape(template_name)
81 self.autoescape = environment.autoescape
616 if eval_ctx.autoescape:
1109 if eval_ctx.autoescape:
1179 Example to change the `autoescape` setting::
1181 EvalContextModifier(options=[Keyword('autoescape', Const(True))])
H A Denvironment.py220 `autoescape`
225 return ``True`` or ``False`` depending on autoescape should be
229 `autoescape` can now be a function
310 autoescape: t.Union[bool, t.Callable[[t.Optional[str]], bool]] = False,
346 self.autoescape = autoescape
402 autoescape: t.Union[bool, t.Callable[[t.Optional[str]], bool]] = missing,
1180 autoescape: t.Union[bool, t.Callable[[t.Optional[str]], bool]] = False,
1201 autoescape,
H A Dext.py174 if __context.eval_ctx.autoescape:
195 if __context.eval_ctx.autoescape:
211 if __context.eval_ctx.autoescape:
236 if __context.eval_ctx.autoescape:
561 # enough to handle the variable expansion and autoescape
/third_party/node/deps/v8/third_party/jinja2/
H A Dasyncsupport.py82 if self._context.eval_ctx.autoescape:
97 async def async_invoke(self, arguments, autoescape):
99 if autoescape:
104 def _invoke(self, arguments, autoescape):
106 return original_invoke(self, arguments, autoescape)
107 return async_invoke(self, arguments, autoescape)
H A Druntime.py373 if self._context.eval_ctx.autoescape:
594 default_autoescape = environment.autoescape
615 # time autoescape flag.
617 autoescape = args[0].autoescape
620 autoescape = self._default_autoescape
675 return self._invoke(arguments, autoescape)
677 def _invoke(self, arguments, autoescape):
680 if autoescape:
H A Dnodes.py68 if callable(environment.autoescape):
69 self.autoescape = environment.autoescape(template_name)
71 self.autoescape = environment.autoescape
547 if eval_ctx.autoescape:
998 if eval_ctx.autoescape:
1065 Example to change the `autoescape` setting::
1067 EvalContextModifier(options=[Keyword('autoescape', Const(True))])
H A Denvironment.py219 `autoescape`
224 return ``True`` or ``False`` depending on autoescape should be
228 `autoescape` can now be a function
306 autoescape=False,
342 self.autoescape = autoescape
401 autoescape=missing,
1003 autoescape=False,
1024 autoescape,
H A Dfilters.py185 if not eval_ctx.autoescape:
239 if _eval_ctx.autoescape:
478 if not eval_ctx.autoescape:
615 if eval_ctx.autoescape:
H A Dext.py151 if __context.eval_ctx.autoescape:
166 if __context.eval_ctx.autoescape:
409 # enough to handle the variable expansion and autoescape
703 autoescape = AutoEscapeExtension variable
/third_party/node/tools/inspector_protocol/jinja2/
H A Dasyncsupport.py86 if self._context.eval_ctx.autoescape:
101 async def async_invoke(self, arguments, autoescape):
103 if autoescape:
108 def _invoke(self, arguments, autoescape):
110 return original_invoke(self, arguments, autoescape)
111 return async_invoke(self, arguments, autoescape)
H A Druntime.py346 if self._context.eval_ctx.autoescape:
498 default_autoescape = environment.autoescape
520 # time autoescape flag.
522 autoescape = args[0].autoescape
525 autoescape = self._default_autoescape
575 return self._invoke(arguments, autoescape)
577 def _invoke(self, arguments, autoescape):
580 if autoescape:
H A Dnodes.py83 if callable(environment.autoescape):
84 self.autoescape = environment.autoescape(template_name)
86 self.autoescape = environment.autoescape
523 if eval_ctx.autoescape:
930 if eval_ctx.autoescape:
981 Example to change the `autoescape` setting::
983 EvalContextModifier(options=[Keyword('autoescape', Const(True))])
H A Denvironment.py191 `autoescape`
196 return ``True`` or ``False`` depending on autoescape should be
200 `autoescape` can now be a function
281 autoescape=False,
316 self.autoescape = autoescape
362 undefined=missing, finalize=missing, autoescape=missing,
936 autoescape=False,
943 frozenset(extensions), optimized, undefined, finalize, autoescape,
H A Dfilters.py133 if not eval_ctx.autoescape:
184 if _eval_ctx.autoescape:
404 if not eval_ctx.autoescape:
531 if eval_ctx.autoescape:
H A Dext.py141 if __context.eval_ctx.autoescape:
152 if __context.eval_ctx.autoescape:
383 # enough to handle the variable expansion and autoescape
627 autoescape = AutoEscapeExtension variable
H A Dnativetypes.py90 if frame.eval_ctx.autoescape:
/third_party/skia/third_party/externals/jinja2/
H A Dasyncsupport.py82 if self._context.eval_ctx.autoescape:
97 async def async_invoke(self, arguments, autoescape):
99 if autoescape:
104 def _invoke(self, arguments, autoescape):
106 return original_invoke(self, arguments, autoescape)
107 return async_invoke(self, arguments, autoescape)
H A Druntime.py373 if self._context.eval_ctx.autoescape:
594 default_autoescape = environment.autoescape
615 # time autoescape flag.
617 autoescape = args[0].autoescape
620 autoescape = self._default_autoescape
675 return self._invoke(arguments, autoescape)
677 def _invoke(self, arguments, autoescape):
680 if autoescape:
H A Dnodes.py68 if callable(environment.autoescape):
69 self.autoescape = environment.autoescape(template_name)
71 self.autoescape = environment.autoescape
547 if eval_ctx.autoescape:
998 if eval_ctx.autoescape:
1065 Example to change the `autoescape` setting::
1067 EvalContextModifier(options=[Keyword('autoescape', Const(True))])
H A Denvironment.py219 `autoescape`
224 return ``True`` or ``False`` depending on autoescape should be
228 `autoescape` can now be a function
306 autoescape=False,
342 self.autoescape = autoescape
401 autoescape=missing,
1003 autoescape=False,
1024 autoescape,
H A Dfilters.py185 if not eval_ctx.autoescape:
239 if _eval_ctx.autoescape:
478 if not eval_ctx.autoescape:
615 if eval_ctx.autoescape:
H A Dext.py151 if __context.eval_ctx.autoescape:
166 if __context.eval_ctx.autoescape:
409 # enough to handle the variable expansion and autoescape
703 autoescape = AutoEscapeExtension variable
/third_party/json/tools/generate_natvis/
H A Dgenerate_natvis.py35 env = jinja2.Environment(loader=jinja2.FileSystemLoader(searchpath=sys.path[0]), autoescape=True, trim_blocks=True,

Completed in 31 milliseconds

12