Home
last modified time | relevance | path

Searched refs:InputLength (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DBase64.cpp43 const uint64_t InputLength = Input.size(); in decodeBase64() local
44 if (InputLength == 0) in decodeBase64()
48 if ((InputLength % 4) != 0) in decodeBase64()
52 const uint64_t FirstValidEqualIdx = InputLength - 2; in decodeBase64()
54 for (uint64_t Idx = 0; Idx < InputLength; Idx += 4) { in decodeBase64()
88 if (Input[InputLength - 2] == '=') in decodeBase64()
H A DTextEncoding.cpp144 size_t InputLength = Source.size(); in convertString() local
145 const char *In = InputLength ? const_cast<char *>(Source.data()) : ""; in convertString()
164 Output = InputLength ? static_cast<char *>(Result.data()) : nullptr; in convertString()
166 In + InputLength, /*pivotStart=*/NULL, in convertString()
273 size_t InputLength = Source.size(); in convertString() local
274 char *Input = const_cast<char *>(InputLength ? Source.data() : ""); in convertString()
275 Ret = iconv(ConvDesc, &Input, &InputLength, &Output, &OutputLength); in convertString()