Home
last modified time | relevance | path

Searched refs:ctypes (Results 1 – 6 of 6) sorted by relevance

/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/
H A D_clang.py11 import ctypes
206 def get_clang_function(name: str, arg_types: Sequence[type[_T]]) -> ClangFunction[_T, ctypes.c_uint…
238 ret_type = TYPE_CAST(type[_U], ctypes.c_uint)
H A D_utility.py13 import ctypes.util
165 llvm_lib_dir = ctypes.util.find_library('clang')
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/
H A D_cursor.py9 import ctypes
48 CXCursorAndRangeVisitorCallBackProto = ctypes.CFUNCTYPE(
49 ctypes.c_uint, ctypes.py_object, clx.Cursor, clx.SourceRange
52 class PetscCXCursorAndRangeVisitor(ctypes.Structure):
63 ('context', ctypes.py_object),
111 ctypes.py_object(cursor),
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DObject.pyx583 # --- ctypes support ---
586 """Handle for ctypes support."""
/petsc/src/binding/petsc4py/
H A DCHANGES.rst200 be used with ``ctypes`` to pass a PETSc handle.
/petsc/src/dm/impls/plex/
H A Dplex.c88 const PetscInt *ctypes; in DMPlexGetSimplexOrBoxCells() local
96 PetscCall(ISGetIndices(valueIS, &ctypes)); in DMPlexGetSimplexOrBoxCells()
98 const DMPolytopeType ct = (DMPolytopeType)ctypes[t]; in DMPlexGetSimplexOrBoxCells()