Home
last modified time | relevance | path

Searched refs:_U (Results 1 – 3 of 3) sorted by relevance

/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/
H A D_clang.py124 _U = TypeVar('_U', covariant=True) variable
126 class CTypesCallable(Protocol[_T, _U]):
134 def __call__(*args: _T) -> _U: ...
136 class ClangFunction(Generic[_T, _U]):
144 _function: CTypesCallable[_T, _U]
146 def __init__(self, function: CTypesCallable[_T, _U]) -> None: argument
169 def __call__(self, *args, check: bool = True) -> _U:
210 …ng_function(name: str, arg_types: Sequence[type[_T]], ret_type: type[_U]) -> ClangFunction[_T, _U]: argument
213 … str, arg_types: Sequence[type[_T]], ret_type: Optional[type[_U]] = None) -> ClangFunction[_T, _U]: argument
238 ret_type = TYPE_CAST(type[_U], ctypes.c_uint)
[all …]
/petsc/include/petsc/private/kernels/
H A Dpetscaxpy.h202 PetscScalar *PETSC_RESTRICT _U = U; \
204 for (PetscInt __i = 0; __i < _n; __i++) _U[__i] += _a1 * _p1[__i]; \
213 PetscScalar *PETSC_RESTRICT _U = U; \
215 for (PetscInt __i = 0; __i < _n; __i++) _U[__i] += _a1 * _p1[__i] + _a2 * _p2[__i]; \
226 PetscScalar *PETSC_RESTRICT _U = U; \
228 …for (PetscInt __i = 0; __i < _n; __i++) _U[__i] += _a1 * _p1[__i] + _a2 * _p2[__i] + _a3 * _p3[__i…
241 PetscScalar *PETSC_RESTRICT _U = U; \
243 …for (PetscInt __i = 0; __i < _n; __i++) _U[__i] += _a1 * _p1[__i] + _a2 * _p2[__i] + _a3 * _p3[__i…
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/checks/
H A D_register.py13 _U = TypeVar('_U') variable
41 def __register_base(key: _T, value: _U, target_map: dict[_T, _U], exist_ok: bool) -> None: argument