Lines Matching defs:strLen
35 std::vector<uint8_t> &oct, Span<T> &sp, int32_t strLen)
41 uint16_t codeUnit = GetCodeUnit<T>(sp, k, strLen);
50 uint16_t frontChart = GetCodeUnit<T>(sp, k + 1, strLen);
51 uint16_t behindChart = GetCodeUnit<T>(sp, k + 2, strLen); // 2: means plus 2
93 int32_t strLen, std::u16string &sStr, Span<T> &sp)
97 // ii. If k + 2 is greater than or equal to strLen, throw a URIError exception.
100 if ((k + 2) >= strLen) { // 2: means plus 2
104 uint16_t frontChar = GetCodeUnit<T>(sp, k + 1, strLen);
105 uint16_t behindChar = GetCodeUnit<T>(sp, k + 2, strLen); // 2: means plus 2
152 // 5. If k + (3 × (n – 1)) is greater than or equal to strLen, throw a URIError exception.
153 if (k + (3 * (n - 1)) >= strLen) { // 3: means multiply by 3
157 DecodePercentEncoding<T>(thread, n, k, str, bb, oct, sp, strLen);
169 // 1. Let strLen be the number of code units in string.
172 int32_t strLen = static_cast<int32_t>(stringAcc.GetLength());
177 tmpVec.resize(strLen);
178 if (LIKELY(strLen != 0)) {
179 if (memcpy_s(tmpVec.data(), sizeof(T) * strLen, data, sizeof(T) * strLen) != EOK) {
184 Span<T> sp(tmpVec.data(), strLen);
189 if (k == strLen) {
190 // a. If k equals strLen, return R.
209 uint16_t cc = GetCodeUnit<T>(sp, k, strLen);
212 if (cc == 0 && strLen == 1) {
218 DecodePercentEncoding<T>(thread, string, k, strLen, sStr, sp);