| /petsc/src/sys/logging/utils/ |
| H A D | stack.c | 15 PetscErrorCode PetscIntStackDestroy(PetscIntStack stack) in PetscIntStackDestroy() argument 18 PetscAssertPointer(stack, 1); in PetscIntStackDestroy() 19 PetscCall(PetscFree(stack->stack)); in PetscIntStackDestroy() 20 PetscCall(PetscFree(stack)); in PetscIntStackDestroy() 39 PetscErrorCode PetscIntStackEmpty(PetscIntStack stack, PetscBool *empty) in PetscIntStackEmpty() argument 42 PetscAssertPointer(stack, 1); in PetscIntStackEmpty() 44 *empty = stack->top == -1 ? PETSC_TRUE : PETSC_FALSE; in PetscIntStackEmpty() 63 PetscErrorCode PetscIntStackTop(PetscIntStack stack, int *top) in PetscIntStackTop() argument 66 PetscAssertPointer(stack, 1); in PetscIntStackTop() 68 *top = stack->stack[stack->top]; in PetscIntStackTop() [all …]
|
| /petsc/src/sys/tests/output/ |
| H A D | ex33_1.out | 1 Checking for stack 2 Invalid stack size 0, pop foo 3 Invalid stack size 0, pop foo 4 Invalid stack size 0, pop foo 5 Invalid stack size 0, pop foo 6 Invalid stack size 0, pop foo 7 Invalid stack size 0, pop foo 8 Invalid stack size 0, pop foo 9 Invalid stack size 0, pop foo 10 Invalid stack size 0, pop foo [all …]
|
| H A D | ex72_0.out | 1 …erNestedEventEnd(): Log event Event-2 wasn't ended, ending it to maintain stack property for neste… 2 …erNestedEventEnd(): Log event Event-1 wasn't ended, ending it to maintain stack property for neste… 3 …erNestedEventEnd(): Log event Event-2 wasn't ended, ending it to maintain stack property for neste…
|
| H A D | ex33_1_alt.out | 1 Not checking for stack
|
| /petsc/src/ts/trajectory/impls/memory/ |
| H A D | trajmemory.c | 125 Stack stack; member 161 static PetscErrorCode ElementCreate(TS ts, CheckpointType cptype, Stack *stack, StackElement *e) in ElementCreate() argument 167 if (stack->top < stack->stacksize - 1 && stack->container[stack->top + 1]) { in ElementCreate() 168 *e = stack->container[stack->top + 1]; in ElementCreate() 175 PetscCall(TSGetStages(ts, &stack->numY, &Y)); in ElementCreate() 176 if (stack->numY) PetscCall(VecDuplicateVecs(Y[0], stack->numY, &(*e)->Y)); in ElementCreate() 178 if (cptype == 0 && (*e)->Y) PetscCall(VecDestroyVecs(stack->numY, &(*e)->Y)); in ElementCreate() 182 if (stack->use_dram) PetscCall(PetscMallocSetDRAM()); in ElementCreate() 189 PetscCall(TSGetStages(ts, &stack->numY, &Y)); in ElementCreate() 190 if (stack->numY) PetscCall(VecDuplicateVecs(Y[0], stack->numY, &(*e)->Y)); in ElementCreate() [all …]
|
| /petsc/src/sys/utils/ |
| H A D | sortso.c | 570 … CompFunc cmp, PetscCtx ctx, PetscTimSortBuffer *buff, PetscTimSortStack *stack, PetscInt stacksiz… in PetscTimSortForceCollapse_Private() argument 575 …if ((*cmp)(arr + (stack[stacksize].start - 1) * size, arr + (stack[stacksize].start) * size, ctx) … in PetscTimSortForceCollapse_Private() 576 PetscInt l, m = stack[stacksize].start, r; in PetscTimSortForceCollapse_Private() 578 …pSearchLeft_Private(arr, size, cmp, ctx, stack[stacksize - 1].start, stack[stacksize].start - 1, (… in PetscTimSortForceCollapse_Private() 580 …t_Private(arr, size, cmp, ctx, stack[stacksize].start, stack[stacksize].start + stack[stacksize].s… in PetscTimSortForceCollapse_Private() 590 stack[stacksize - 1].size += stack[stacksize].size; in PetscTimSortForceCollapse_Private() 595 … PetscTimSortBuffer *abuff, PetscTimSortBuffer *bbuff, PetscTimSortStack *stack, PetscInt stacksiz… in PetscTimSortForceCollapseWithArray_Private() argument 600 …if ((*cmp)(arr + (stack[stacksize].start - 1) * asize, arr + (stack[stacksize].start) * asize, ctx… in PetscTimSortForceCollapseWithArray_Private() 601 PetscInt l, m = stack[stacksize].start, r; in PetscTimSortForceCollapseWithArray_Private() 603 …SearchLeft_Private(arr, asize, cmp, ctx, stack[stacksize - 1].start, stack[stacksize].start - 1, (… in PetscTimSortForceCollapseWithArray_Private() [all …]
|
| /petsc/src/sys/yaml/src/ |
| H A D | yaml_private.h | 423 #define STACK_INIT(context,stack,type) \ argument 424 (((stack).start = (type)yaml_malloc(INITIAL_STACK_SIZE*sizeof(*(stack).start))) ? \ 425 ((stack).top = (stack).start, \ 426 (stack).end = (stack).start+INITIAL_STACK_SIZE, \ 431 #define STACK_DEL(context,stack) \ argument 432 (yaml_free((stack).start), \ 433 (stack).start = (stack).top = (stack).end = NULL) 435 #define STACK_EMPTY(context,stack) \ argument 436 ((stack).start == (stack).top) 438 #define STACK_LIMIT(context,stack,size) \ argument [all …]
|
| /petsc/src/sys/objects/ |
| H A D | inherit.c | 354 PetscStack *stack = NULL; in PetscObjectsDump() local 358 PetscCall(PetscMallocGetStack(h, &stack)); in PetscObjectsDump() 359 if (stack) { in PetscObjectsDump() 360 k = stack->currentsize - 2; in PetscObjectsDump() 363 while (!stack->petscroutine[k]) k++; in PetscObjectsDump() 364 PetscCall(PetscStrstr(stack->function[k], "Create", &create)); in PetscObjectsDump() 365 if (!create) PetscCall(PetscStrstr(stack->function[k], "Get", &create)); in PetscObjectsDump() 366 PetscCall(PetscStrstr(stack->function[k], h->class_name, &rclass)); in PetscObjectsDump() 374 PetscCall(PetscMallocGetStack(h, &stack)); in PetscObjectsDump() 375 if (stack) { in PetscObjectsDump() [all …]
|
| /petsc/src/sys/memory/ |
| H A D | mtr.c | 29 PetscStack stack; member 204 PetscCall(PetscStackCopy(&petscstack, &head->stack)); in PetscTrMallocDefault() 206 head->stack.line[PetscMax(head->stack.currentsize - 2, 0)] = lineno; in PetscTrMallocDefault() 207 head->stack.currentsize--; in PetscTrMallocDefault() 412 PetscCall(PetscStackCopy(&petscstack, &head->stack)); in PetscTrReallocDefault() 414 head->stack.line[PetscMax(head->stack.currentsize - 2, 0)] = lineno; in PetscTrReallocDefault() 642 PetscErrorCode PetscMallocGetStack(void *ptr, PetscStack **stack) in PetscMallocGetStack() argument 649 *stack = &head->stack; in PetscMallocGetStack() 652 *stack = NULL; in PetscMallocGetStack() 713 PetscCall(PetscStackPrint(&head->stack, fp)); in PetscMallocDump()
|
| /petsc/include/ |
| H A D | petsclogdeprecated.h | 78 PetscIntStack stack; member
|
| /petsc/src/sys/objects/device/impls/cupm/ |
| H A D | cupmevent.hpp | 32 std::stack<cupmEvent_t> pool_;
|
| /petsc/lib/petsc/bin/maint/abi-compliance-checker/ |
| H A D | README.md | 17 …reak binary compatibility and/or source compatibility: changes in calling stack, v-table changes, …
|
| /petsc/include/petsc/private/ |
| H A D | logimpl.h | 182 int *stack; /* The storage */ member
|
| H A D | petscimpl.h | 24 #define PetscStackPrint(stack, file) PETSC_SUCCESS argument
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Log.pyx | 298 """Push a stage on the logging stack. 310 """Pop a stage from the logging stack.
|
| H A D | Viewer.pyx | 1160 """Pop the current group from the stack.
|
| /petsc/src/sys/logging/ |
| H A D | plog.c | 287 PetscLogStage stage = orig_stack->stack[s]; in PetscLogHandlerStart() 339 PetscLogStage stage = orig_stack->stack[s]; in PetscLogHandlerStop()
|
| /petsc/doc/changes/ |
| H A D | 2028.md | 248 BOPT=g\*) will print the entire stack for each malloc, allow one to
|
| /petsc/doc/manual/ |
| H A D | other.md | 373 - `-stack_view saws` - allows monitoring the current stack frame that 441 checks a stack of error handlers and calls the one on the top. If the 442 stack is empty, it selects `PetscTraceBackErrorHandler()`, which tries 443 to print a traceback. A new error handler can be put on the stack with 508 Some Fortran compilers/loaders cause, by default, a traceback of the Fortran call stack when a 906 (global-set-key (kbd "C-c ,") 'gtags-pop-stack))
|
| H A D | performance.md | 344 application and the software and hardware stack. 395 provides handy debugging facilities such as accurate stack traces,
|
| /petsc/doc/developers/ |
| H A D | buildsystem.md | 65 `BuildSystem` maintains an explicit language stack, so that the current language 351 The language used for these operation is managed with a stack, similar
|
| H A D | kernel.md | 120 - `PetscReturnErrorHandler()`, which returns up the stack without printing error messages;
|
| /petsc/src/sys/logging/handler/impls/nested/ |
| H A D | lognested.c | 94 if (nested->orig_stack->stack[i] == orig_id) break; in PetscLogNestedFindNestedId()
|
| /petsc/config/BuildSystem/ |
| H A D | RDict.py | 502 operation = inspect.stack()[1][3]
|
| /petsc/config/PETSc/ |
| H A D | Configure.py | 1057 calling_func_stack = inspect.stack()[1]
|