Lines Matching refs:len
55 size_t len, blen; in PetscDLLibraryRetrieve() local
62 PetscCall(PetscStrlen(libname, &len)); in PetscDLLibraryRetrieve()
63 blen = PetscMax(4 * len, PETSC_MAX_PATH_LEN); in PetscDLLibraryRetrieve()
71 PetscCall(PetscStrlen(gz, &len)); in PetscDLLibraryRetrieve()
72 if (len != 3) gz = NULL; /* do not end (exactly) with .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()
317 size_t len; in PetscDLLibraryAppend() local
332 PetscCall(PetscStrlen(program, &len)); in PetscDLLibraryAppend()
333 if (program[len - 1] == '/') { in PetscDLLibraryAppend()
400 size_t len; in PetscDLLibraryPrepend() local
415 PetscCall(PetscStrlen(program, &len)); in PetscDLLibraryPrepend()
416 if (program[len - 1] == '/') { in PetscDLLibraryPrepend()