/third_party/skia/third_party/externals/jinja2/ |
D | sandbox.py | 452 def call(__self, __context, __obj, *args, **kwargs): # noqa: B902 argument 454 fmt = inspect_format_method(__obj) 456 return __self.format_string(fmt, args, kwargs, __obj) 460 if not __self.is_safe_callable(__obj): 461 raise SecurityError("%r is not safely callable" % (__obj,)) 462 return __context.call(__obj, *args, **kwargs)
|
D | runtime.py | 261 def call(__self, __obj, *args, **kwargs): # noqa: B902 argument 271 if hasattr(__obj, "__call__"): # noqa: B004 272 fn = __obj.__call__ 279 __obj = fn 282 if callable(__obj): 283 if getattr(__obj, "contextfunction", False) is True: 285 elif getattr(__obj, "evalcontextfunction", False) is True: 287 elif getattr(__obj, "environmentfunction", False) is True: 290 return __obj(*args, **kwargs)
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | runtime.py | 235 def call(__self, __obj, *args, **kwargs): argument 245 if hasattr(__obj, '__call__'): 246 fn = __obj.__call__ 251 __obj = fn 254 if isinstance(__obj, _context_function_types): 255 if getattr(__obj, 'contextfunction', 0): 257 elif getattr(__obj, 'evalcontextfunction', 0): 259 elif getattr(__obj, 'environmentfunction', 0): 262 return __obj(*args, **kwargs)
|
D | sandbox.py | 417 def call(__self, __context, __obj, *args, **kwargs): argument 419 fmt = inspect_format_method(__obj) 425 if not __self.is_safe_callable(__obj): 426 raise SecurityError('%r is not safely callable' % (__obj,)) 427 return __context.call(__obj, *args, **kwargs)
|
/third_party/jinja2/ |
D | sandbox.py | 380 __obj: t.Any, 385 fmt = inspect_format_method(__obj) 387 return __self.format_string(fmt, args, kwargs, __obj) 391 if not __self.is_safe_callable(__obj): 393 return __context.call(__obj, *args, **kwargs)
|
D | runtime.py | 262 __self, __obj: t.Callable, *args: t.Any, **kwargs: t.Any # noqa: B902 274 hasattr(__obj, "__call__") # noqa: B004 275 and _PassArg.from_obj(__obj.__call__) is not None # type: ignore 277 __obj = __obj.__call__ # type: ignore 279 pass_arg = _PassArg.from_obj(__obj) 298 return __obj(*args, **kwargs)
|
/third_party/python/Lib/test/ |
D | test_descr.py | 2558 self.__obj = obj 2560 return "Wrapper(%s)" % repr(self.__obj) 2562 return Wrapper(self.__obj[key]) 2564 return len(self.__obj) 2566 return Wrapper(getattr(self.__obj, name)) 4302 self.__obj = obj 4307 return getattr(self.__obj, name) 4341 self.__obj = obj 4346 return getattr(self.__obj, name)
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
D | stylo.hpp | 5405 __exchange(_Tp& __obj, _Up&& __new_val) in __exchange() argument 5407 _Tp __old_val = std::move(__obj); in __exchange() 5408 __obj = std::forward<_Up>(__new_val); in __exchange() 33097 istream_iterator(const istream_iterator& __obj) in istream_iterator() argument 33098 : _M_stream(__obj._M_stream), _M_value(__obj._M_value), in istream_iterator() 33099 _M_ok(__obj._M_ok) in istream_iterator() 33191 ostream_iterator(const ostream_iterator& __obj) in ostream_iterator() argument 33192 : _M_stream(__obj._M_stream), _M_string(__obj._M_string) { } in ostream_iterator() 37078 exchange(_Tp& __obj, _Up&& __new_val) in exchange() argument 37079 { return std::__exchange(__obj, std::forward<_Up>(__new_val)); } in exchange() [all …]
|