Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/
Dreprlib.py12 def decorating_function(user_function): argument
21 result = user_function(self)
27 wrapper.__module__ = getattr(user_function, '__module__')
28 wrapper.__doc__ = getattr(user_function, '__doc__')
29 wrapper.__name__ = getattr(user_function, '__name__')
30 wrapper.__qualname__ = getattr(user_function, '__qualname__')
31 wrapper.__annotations__ = getattr(user_function, '__annotations__', {})
Dfunctools.py509 user_function, maxsize = maxsize, 128
510 wrapper = _lru_cache_wrapper(user_function, maxsize, typed, _CacheInfo)
512 return update_wrapper(wrapper, user_function)
517 def decorating_function(user_function): argument
518 wrapper = _lru_cache_wrapper(user_function, maxsize, typed, _CacheInfo)
520 return update_wrapper(wrapper, user_function)
524 def _lru_cache_wrapper(user_function, maxsize, typed, _CacheInfo): argument
545 result = user_function(*args, **kwds)
559 result = user_function(*args, **kwds)
583 result = user_function(*args, **kwds)
[all …]
Ddataclasses.py358 def _recursive_repr(user_function): argument
363 @functools.wraps(user_function)
370 result = user_function(self)
Dssl.py656 return inner.user_function
694 inner.user_function = callback
/external/yapf/yapf/yapflib/
Dpy3compat.py57 def fake_wrapper(user_function): argument
58 return user_function
/external/llvm-project/clang/test/Index/
Dretain-comments-from-system-headers.c9 int user_function(int a);
/external/clang/test/Index/
Dretain-comments-from-system-headers.c9 int user_function(int a);
/external/python/cpython3/Doc/library/
Dfunctools.rst29 .. decorator:: cache(user_function)
126 .. decorator:: lru_cache(user_function)
141 If *user_function* is specified, it must be a callable. This allows the
230 Added the *user_function* option.
/external/llvm/test/Bindings/OCaml/
Dcore.ml604 let fn = define_function "user_function" ty m in
/external/llvm-project/llvm/test/Bindings/OCaml/
Dcore.ml658 let fn = define_function "user_function" ty m in