Searched refs:lst (Results 1 – 3 of 3) sorted by relevance
532 PetscInt rN, lst, len; in PetscSFCreateFromLayouts() local550 PetscCall(PetscLayoutGetRange(lmap, &lst, &len)); in PetscSFCreateFromLayouts()551 PetscCall(PetscMalloc1(len - lst, &remote)); in PetscSFCreateFromLayouts()552 for (i = lst; i < len && i < rN; i++) { in PetscSFCreateFromLayouts()
389 IS *lst = *list; in MatNestDestroyISList() local393 if (!lst) PetscFunctionReturn(PETSC_SUCCESS); in MatNestDestroyISList()395 if (lst[i]) PetscCall(ISDestroy(&lst[i])); in MatNestDestroyISList()396 PetscCall(PetscFree(lst)); in MatNestDestroyISList()
17 def any(lst): argument18 return reduce(lambda x,y:x or y,lst,False)