Home
last modified time | relevance | path

Searched refs:kCharLimit (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/fpdfapi/font/
Dcpdf_type3font.cpp64 static constexpr size_t kCharLimit = FX_ArraySize(m_CharWidthL); in Load() local
66 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()
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_driver.cc341 static const size_t kCharLimit = 64; in GetDeviceName() local
342 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()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_driver.cc356 static const size_t kCharLimit = 64; in GetDeviceName() local
357 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()