Home
last modified time | relevance | path

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

/petsc/src/sys/objects/
H A Doptions.c71 int Nalloc; /* number of allocated options */ member
1150 options->Nalloc = 0; in PetscOptionsClear()
1325 if (options->N == options->Nalloc) { in PetscOptionsSetValue_Private()
1330 options->Nalloc = PetscMax(10, options->Nalloc * 2); in PetscOptionsSetValue_Private()
1331 names = (char **)malloc(options->Nalloc * sizeof(char *)); in PetscOptionsSetValue_Private()
1332 values = (char **)malloc(options->Nalloc * sizeof(char *)); in PetscOptionsSetValue_Private()
1333 used = (PetscBool *)malloc(options->Nalloc * sizeof(PetscBool)); in PetscOptionsSetValue_Private()
1334 source = (PetscOptionSource *)malloc(options->Nalloc * sizeof(PetscOptionSource)); in PetscOptionsSetValue_Private()