| /petsc/src/sys/tests/linter/ |
| H A D | testDuplicates.c | 54 PetscErrorCode testNoDuplicatesSwitch(PetscInt *a, PetscScalar *b, PetscBool cond) in testNoDuplicatesSwitch() 71 PetscErrorCode testDuplicatesNoChangesSwitch(PetscInt *a, PetscScalar *b, PetscBool cond) in testDuplicatesNoChangesSwitch() 91 PetscErrorCode testNoDuplicatesIfElse(PetscInt *a, PetscScalar *b, PetscBool cond) in testNoDuplicatesIfElse() 105 PetscErrorCode testDuplicatesIfElse(PetscInt *a, PetscScalar *b, PetscBool cond) in testDuplicatesIfElse() 122 PetscErrorCode testNoDuplicatesIfElseIfElse(PetscInt *a, PetscScalar *b, PetscBool cond) in testNoDuplicatesIfElseIfElse()
|
| H A D | testValidFunctionDocStrings.c | 77 …Code testIllFormedFunctionDocString(PetscViewer viewer, PetscInt x, PetscScalar *y, PetscBool cond) in testIllFormedFunctionDocString()
|
| /petsc/include/petsc/private/ |
| H A D | petscadvancedmacros.h | 40 #define PetscIf(cond, result_if_true, ...) PetscConcat_(PETSC_IF_INTERNAL_, cond)(result_if_true, _… argument 69 #define PetscIfPetscDefined(cond, result_if_true, ...) PetscIf(PetscDefined(cond), result_if_true, … argument
|
| /petsc/include/ |
| H A D | petscerror.h | 191 #define PetscCheck(cond, comm, ierr, ...) \ argument 219 #define PetscCheckReturnMPI(cond, comm, ierr, ...) \ argument 249 #define PetscCheckAbort(cond, comm, ierr, ...) \ argument 281 #define PetscAssert(cond, comm, ierr, ...) PetscCheck(cond, comm, ierr, __VA_ARGS__) argument 283 #define PetscAssert(cond, ...) PetscAssume(cond) argument 309 #define PetscAssertAbort(cond, comm, ierr, ...) PetscCheckAbort(cond, comm, ierr, __VA_ARGS__) argument 311 #define PetscAssertAbort(cond, comm, ierr, ...) PetscAssume(cond) argument
|
| H A D | petscmacros.h | 594 #define PetscUnlikely(cond) __builtin_expect(!!(cond), 0) argument 595 #define PetscLikely(cond) __builtin_expect(!!(cond), 1) argument 597 #define PetscUnlikely(cond) (cond) argument 598 #define PetscLikely(cond) (cond) argument 1028 #define PetscUnlikelyDebug(cond) (PetscDefined(USE_DEBUG) && PetscUnlikely(cond)) argument
|
| /petsc/src/dm/dt/tests/ |
| H A D | ex13.c | 45 … PetscErrorCode test(PetscInt dim, PetscInt deg, PetscInt form, PetscInt jetDegree, PetscBool cond) in test() 95 PetscReal cond = S[0] / S[Nbpt - 1]; in test() local 291 PetscBool cond = PETSC_FALSE; in main() local
|
| /petsc/src/sys/objects/device/interface/ |
| H A D | memory.cxx | 180 static PetscErrorCode PetscDeviceCheckCapable_Private(PetscDeviceContext dctx, bool cond, const cha… in PetscDeviceCheckCapable_Private()
|
| /petsc/src/sys/objects/device/tests/ |
| H A D | ex11.cxx | 74 PETSC_ATTRIBUTE_FORMAT(10, 11) static PetscErrorCode CheckMarkedObjectMap_Private(PetscBool cond, c… in CheckMarkedObjectMap_Private()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plex.c | 9941 PetscReal frobJ = 0., frobInvJ = 0., cond2, cond, detJ; in DMPlexCheckCellShape() local
|