Home
last modified time | relevance | path

Searched defs:kwargs (Results 1 – 25 of 34) sorted by relevance

12

/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/
H A D_util.py14 def verbose_print(*args, **kwargs) -> bool:
18 def no_system_includes(cursor: CursorLike, level: IndentLevel, **kwargs) -> bool:
26 def only_files(cursor: CursorLike, level: IndentLevel, **kwargs) -> bool:
72 …] = verbose_print, level: IndentLevel = IndentLevel(), max_depth: int = -1, **kwargs) -> list[str]:
95 def read_file_lines_cached(*args, **kwargs) -> list[str]:
129 def get_raw_source_from_cursor(cursor: CursorLike, **kwargs) -> str:
177 def get_formatted_source_from_cursor(cursor: CursorLike, **kwargs) -> str:
180 def view_cursor_full(cursor: CursorLike, **kwargs) -> list[str]:
H A D_cursor.py480 def get_raw_source_from_cursor(cursor: CursorLike, **kwargs) -> str:
497 def raw(self, **kwargs) -> str:
502 def get_formatted_source_from_cursor(cls, cursor: CursorLike, **kwargs) -> str:
528 def formatted(self, **kwargs) -> str:
532 def view(self, **kwargs) -> None:
569 def get_formatted_blurb_from_cursor(cls, cursor: CursorLike, **kwargs) -> str:
589 def get_formatted_blurb(self, **kwargs) -> str:
H A D_src_pos.py164 def _get_src(self, func: Callable[..., str], *args, **kwargs) -> str:
170 def raw(self, *args, **kwargs) -> str:
187 def formatted(self, *args, **kwargs) -> str:
566 def raw(self, *args, **kwargs) -> str:
584 def formatted(self, *args, **kwargs) -> str:
601 def view(self, *args, **kwargs) -> None:
H A D_attr_cache.py41 def _get_cached(self, attr: str, func: Callable[..., _T], *args, **kwargs) -> _T:
H A D_diag.py110 def update(self, obj: Any, other: Iterable[str], **kwargs) -> None:
468 …attable(message: str, crange: Optional[Formattable] = None, num_context: int = 2, **kwargs) -> str:
493 … str, msg: str, src_range: SourceRangeLike, patch: Optional[Patch] = None, **kwargs) -> Diagnostic:
H A D_pool.py68 def _vprint(self: PoolImpl, *args, **kwargs) -> None:
242 def lock_sync_print(*args, **kwargs) -> None:
H A D_patch.py122 def from_cursor(cls, cursor: CursorLike, value: str, **kwargs) -> Patch:
/petsc/lib/petsc/bin/
H A DgetAPI.py54 def __init__(self, name, mansec, includefile, value, *args, **kwargs):
67 def __init__(self, name, *args, **kwargs):
92 …it__(self, name = None, typename = None, stars = 0, array = False, const = False, *args, **kwargs):
121 def __init__(self, name, mansec, includefile, opaque, records, *args, **kwargs):
139 def __init__(self, rawrecord, *args, **kwargs):
150 def __init__(self, name, mansec, includefile, values, *args, **kwargs):
165 def __init__(self, name, mansec, includefile, values, *args, **kwargs):
180 def __init__(self, mansec, includefile, included, *args, **kwargs):
193 def __init__(self, name, *args, **kwargs):
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/checks/
H A D_util.py68 …lectiveXXX(linter: Linter, obj: Cursor, obj_type: clx.Type, func_cursor: Cursor, **kwargs) -> bool:
155 def check_is_PetscScalar_and_not_PetscReal(*args, **kwargs) -> bool:
172 def check_is_PetscReal_and_not_PetscScalar(*args, **kwargs) -> bool:
214 def check_int_is_not_PetscBool(linter: Linter, obj: Cursor, *args, **kwargs) -> bool:
235 def check_MPIInt_is_not_PetscInt(linter: Linter, obj: Cursor, *args, **kwargs) -> bool:
646 permissive: bool = False, pointer_depth: int = 1, **kwargs
H A D_code.py111 … Linter, func: Cursor, parent: Cursor, expected_types: Collection[clx.TypeKind], **kwargs) -> None:
/petsc/lib/petsc/bin/maint/
H A Dgcov.py24 def __init__(self, *args, **kwargs):
44 def __log(stream, *args, **kwargs):
49 def log(self, *args, **kwargs):
54 def log_error(self, *args, **kwargs):
190 def call_subprocess(func, *args, error_ok=False, **kwargs):
217 def subprocess_run(*args, **kwargs):
225 def subprocess_check_output(*args, **kwargs):
687 def main(*args, **kwargs):
H A Dgenerateetags.py19 def check_output(*popenargs, **kwargs):
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/
H A Dmain.py185 def root_sync_print(*args, **kwargs) -> None:
325 def add_argument(self, *args, **kwargs) -> argparse.Action: ...
327 def add_advanced_argument(prsr: ParserLike, *args, **kwargs) -> argparse.Action:
332 …def add_bool_argument(prsr: ParserLike, *args, advanced: bool = False, **kwargs) -> argparse.Actio…
422 …space: argparse.Namespace, values: Union[str, bool, Sequence[Any], None], *args, **kwargs) -> None:
H A Dqueue_main.py27 def __init__(self, filename: str, *args, **kwargs) -> None:
111 def __call__(self, *args, flush: bool = True, **kwargs) -> None:
H A Dtest_main.py33 def __exit__(self, *args, **kwargs) -> None:
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/docs/
H A D_doc_section.py35 def __init__(self, *args, **kwargs) -> None:
414 def __init__(self, *args, **kwargs) -> None:
860 def __init__(self, *args, **kwargs) -> None:
911 def __init__(self, *args, **kwargs) -> None:
933 def __init__(self, *args, **kwargs) -> None:
954 def __init__(self, *args, **kwargs) -> None:
976 def __init__(self, *args, **kwargs) -> None:
999 def __init__(self, *args, **kwargs) -> None:
1029 def __init__(self, *args, **kwargs) -> None:
1199 def __init__(self, *args, **kwargs) -> None:
H A D_doc_str.py153 def _print(self, *args, verbosity = 1, **kwargs) -> None:
379 …def fuzzy_find_section(self, line: str, strict: bool = False, **kwargs) -> tuple[str, str, Section…
693 …ange: Optional[Union[SourceRange, Cursor]], patch: Optional[Patch] = None, **kwargs) -> Diagnostic:
721 …elf, kind: DiagnosticKind, diag_flag: str, msg: str, src_range: SourceRangeLike, **kwargs) -> None:
765 def guess_heading(self, line: str, **kwargs) -> tuple[str, str, SectionBase]:
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/
H A D_utility.py77 def subprocess_capture_output(*args, **kwargs) -> subprocess.CompletedProcess[str]:
327 def __exit__(self, *args, **kwargs) -> None:
372 def verbose_print(*args, **kwargs) -> None:
H A D_timeout.py50 def wrapper(*args: _P.args, **kwargs: _P.kwargs) ->_T:
/petsc/src/binding/petsc4py/docs/source/
H A Dconf.py245 def __init__(self, *args, **kwargs):
284 def wrapper(*args, **kwargs):
302 def wrapper(*args, **kwargs):
/petsc/config/BuildSystem/
H A Dlogger.py41 …ld_multiline_message(sup_title, text, divider_char = None, length = None, prefix = None, **kwargs):
83 def build_multiline_error_message(sup_title, text, **kwargs):
329 def logPrintDivider(self, single = False, length = None, **kwargs):
339 def logPrintWarning(self, msg, title = None, **kwargs):
/petsc/config/BuildSystem/config/
H A Dutil.py8 def classify(items, functional, args=(), kwargs=dict()): argument
/petsc/config/PETSc/
H A DConfigure.py1066 def __call__(self, msg, *args, **kwargs):
1149 def can_cross_link(**kwargs):
1187 def log_print(msg, *args, **kwargs):
/petsc/src/binding/petsc4py/test/
H A Dtest_dmplex.py428 def wrapper(self, *args, **kwargs):
437 def wrapper(self, *args, **kwargs):
450 def wrapper(self, *args, **kwargs):
/petsc/share/petsc/
H A Dchkerrconvert.py211 def subprocess_run(*args,**kwargs):

12