Searched refs:ctypes (Results 1 – 6 of 6) sorted by relevance
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/ |
| H A D | _clang.py | 11 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.py | 13 import ctypes.util 165 llvm_lib_dir = ctypes.util.find_library('clang')
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/ |
| H A D | _cursor.py | 9 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 D | Object.pyx | 583 # --- ctypes support --- 586 """Handle for ctypes support."""
|
| /petsc/src/binding/petsc4py/ |
| H A D | CHANGES.rst | 200 be used with ``ctypes`` to pass a PETSc handle.
|
| /petsc/src/dm/impls/plex/ |
| H A D | plex.c | 88 const PetscInt *ctypes; in DMPlexGetSimplexOrBoxCells() local 96 PetscCall(ISGetIndices(valueIS, &ctypes)); in DMPlexGetSimplexOrBoxCells() 98 const DMPolytopeType ct = (DMPolytopeType)ctypes[t]; in DMPlexGetSimplexOrBoxCells()
|