Searched refs:par2 (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/sys/dll/ |
| H A D | dl.c | 54 char *buf, *par2, *gz = NULL, *so = NULL; in PetscDLLibraryRetrieve() local 65 par2 = buf; in PetscDLLibraryRetrieve() 66 PetscCall(PetscStrreplace(comm, libname, par2, blen)); in PetscDLLibraryRetrieve() 69 PetscCall(PetscStrrstr(par2, ".gz", &gz)); in PetscDLLibraryRetrieve() 76 PetscCall(PetscStrlen(par2, &len)); in PetscDLLibraryRetrieve() 77 if (par2[len - 1] == 'a' && par2[len - 2] == '.') par2[len - 2] = 0; in PetscDLLibraryRetrieve() 79 PetscCall(PetscFileRetrieve(comm, par2, lname, llen, found)); in PetscDLLibraryRetrieve() 84 PetscCall(PetscStrrstr(par2, suffix, &so)); in PetscDLLibraryRetrieve() 86 if (!so) PetscCall(PetscStrlcat(par2, suffix, blen)); in PetscDLLibraryRetrieve() 89 if (gz) PetscCall(PetscStrlcat(par2, ".gz", blen)); in PetscDLLibraryRetrieve() [all …]
|