Searched refs:kCharLimit (Results 1 – 3 of 3) sorted by relevance
64 static constexpr size_t kCharLimit = FX_ArraySize(m_CharWidthL); in Load() local66 if (StartChar >= 0 && static_cast<size_t>(StartChar) < kCharLimit) { in Load()69 size_t count = std::min(pWidthArray->GetCount(), kCharLimit); in Load()70 count = std::min(count, kCharLimit - StartChar); in Load()
341 static const size_t kCharLimit = 64; in GetDeviceName() local342 absl::InlinedVector<char, 4> chars(kCharLimit); in GetDeviceName()344 tensorflow::wrap::hipDeviceGetName(chars.begin(), kCharLimit - 1, device); in GetDeviceName()350 chars[kCharLimit - 1] = '\0'; in GetDeviceName()
356 static const size_t kCharLimit = 64; in GetDeviceName() local357 absl::InlinedVector<char, 4> chars(kCharLimit); in GetDeviceName()358 CUresult res = cuDeviceGetName(chars.begin(), kCharLimit - 1, device); in GetDeviceName()364 chars[kCharLimit - 1] = '\0'; in GetDeviceName()