Lines Matching refs:HT
499 PetscInt h1, key, size = baij->ht_size, bs = mat->rmap->bs, *HT = baij->ht, idx; in MatSetValues_MPIBAIJ_HT() local
524 if (HT[idx] != key) { in MatSetValues_MPIBAIJ_HT()
525 for (idx = h1; (idx < size) && (HT[idx] != key); idx++, total_ct++); in MatSetValues_MPIBAIJ_HT()
527 for (idx = 0; (idx < h1) && (HT[idx] != key); idx++, total_ct++); in MatSetValues_MPIBAIJ_HT()
531 } else if (HT[idx] != key) { in MatSetValues_MPIBAIJ_HT()
532 for (idx = h1; (idx < size) && (HT[idx] != key); idx++); in MatSetValues_MPIBAIJ_HT()
534 for (idx = 0; (idx < h1) && (HT[idx] != key); idx++); in MatSetValues_MPIBAIJ_HT()
564 PetscInt h1, key, size = baij->ht_size, idx, *HT = baij->ht, Nbs = baij->Nbs; in MatSetValuesBlocked_MPIBAIJ_HT() local
593 if (HT[idx] != key) { in MatSetValuesBlocked_MPIBAIJ_HT()
594 for (idx = h1; (idx < size) && (HT[idx] != key); idx++, total_ct++); in MatSetValuesBlocked_MPIBAIJ_HT()
596 for (idx = 0; (idx < h1) && (HT[idx] != key); idx++, total_ct++); in MatSetValuesBlocked_MPIBAIJ_HT()
600 } else if (HT[idx] != key) { in MatSetValuesBlocked_MPIBAIJ_HT()
601 for (idx = h1; (idx < size) && (HT[idx] != key); idx++); in MatSetValuesBlocked_MPIBAIJ_HT()
603 for (idx = 0; (idx < h1) && (HT[idx] != key); idx++); in MatSetValuesBlocked_MPIBAIJ_HT()
807 PetscInt *HT, key; in MatCreateHashTable_MPIBAIJ_Private() local
823 HT = baij->ht; in MatCreateHashTable_MPIBAIJ_Private()
834 if (!HT[(h1 + k) % ht_size]) { in MatCreateHashTable_MPIBAIJ_Private()
835 HT[(h1 + k) % ht_size] = key; in MatCreateHashTable_MPIBAIJ_Private()
857 if (!HT[(h1 + k) % ht_size]) { in MatCreateHashTable_MPIBAIJ_Private()
858 HT[(h1 + k) % ht_size] = key; in MatCreateHashTable_MPIBAIJ_Private()
876 if (HT[i]) j++; in MatCreateHashTable_MPIBAIJ_Private()