Lines Matching full:auto
134 constexpr auto dtype = PETSC_DEVICE_IMPL(); in PetscOptionDevice()
135 const auto implname = PetscDeviceTypes[dtype]; in PetscOptionDevice()
136 auto buf = std::array<char, 128>{}; in PetscOptionDevice()
137 constexpr auto buflen = buf.size() - 1; in PetscOptionDevice()
141 const auto len = std::strlen(optstub) + std::strlen(implname); in PetscOptionDevice()
162 auto type = static_cast<PetscInt>(util::to_underlying(*inittype)); in PetscOptionDeviceInitialize()
218 constexpr auto dtype = PETSC_DEVICE_IMPL(); in PetscOptionDeviceAll()
219 const auto implname = PetscDeviceTypes[dtype]; in PetscOptionDeviceAll()
220 auto buf = std::array<char, 128>{}; in PetscOptionDeviceAll()
221 constexpr auto buflen = buf.size() - 1; // -1 to leave room for null in PetscOptionDeviceAll()
226 const auto len = std::strlen(implname) + PETSC_STATIC_ARRAY_LENGTH(optname) - 3; in PetscOptionDeviceAll()