Lines Matching refs:lIndex

319   long lIndex = 1;  in is_well_formed_ipv6_reference()  local
331 lIndex = scanHexSequence(addr, lIndex, lEnd, lCounter); in is_well_formed_ipv6_reference()
332 if ( lIndex == -1) in is_well_formed_ipv6_reference()
338 else if (lIndex == lEnd) in is_well_formed_ipv6_reference()
343 if (lIndex+1 < lEnd && addr[lIndex] == ':') in is_well_formed_ipv6_reference()
345 if (addr[lIndex+1] == ':') in is_well_formed_ipv6_reference()
353 lIndex += 2; in is_well_formed_ipv6_reference()
356 if (lIndex == lEnd) in is_well_formed_ipv6_reference()
369 return is_well_formed_ipv4_address(addr + lIndex+1, lEnd - lIndex - 1); in is_well_formed_ipv6_reference()
385 lIndex = scanHexSequence(addr, lIndex, lEnd, lCounter); in is_well_formed_ipv6_reference()
386 if (lIndex == -1) in is_well_formed_ipv6_reference()
393 else if (lIndex == lEnd) in is_well_formed_ipv6_reference()
400 int shiftCount = (lCounter > prevCount) ? lIndex+1 : lIndex; in is_well_formed_ipv6_reference()
585 ulong lIndex = 0; in initialize() local
631 lIndex = (ulong)theScheme.size() + 1; in initialize()
638 if ( (lTrimmedURI.compare(lIndex, 2, "//") == 0) || in initialize()
640 (ZSTREQ(theScheme, "file") && (lTrimmedURI.compare(lIndex, 1, "/") == 0))) in initialize()
642 if ((lTrimmedURI.compare(lIndex, 2, "//") == 0)) { in initialize()
643 lIndex += 2; in initialize()
645 if (lIndex >= lTrimmedURILength) in initialize()
653 ulong lStartPos = lIndex; in initialize()
659 while (lIndex < lTrimmedURILength) in initialize()
661 c = lTrimmedURI[lIndex]; in initialize()
666 ++lIndex; in initialize()
671 if (lIndex > lStartPos) in initialize()
673 zstring lAuthUri = lTrimmedURI.substr(lStartPos, lIndex - lStartPos); in initialize()
711 if (lIndex > lTrimmedURILength) in initialize()
717 zstring lPathUri = lTrimmedURI.substr(lIndex, lTrimmedURILength - lIndex); in initialize()
763 zstring::size_type lIndex = 0; in initializeAuthority() local
771 lIndex = uri.find("@"); in initializeAuthority()
773 if ( lIndex != zstring::npos ) in initializeAuthority()
775 lUserInfo = uri.substr(0, lIndex); in initializeAuthority()
776 ++lIndex; in initializeAuthority()
777 lStart += lIndex; in initializeAuthority()
797 lIndex = lTmp.find("]"); in initializeAuthority()
799 if ( lIndex != zstring::npos ) in initializeAuthority()
801 lIndex = ((lStart + lIndex + 1) < lEnd && uri[lStart + lIndex + 1] == ':' ? in initializeAuthority()
802 lIndex + 1 : zstring::npos); in initializeAuthority()
807 lIndex = lTmp.find(":"); in initializeAuthority()
810 if ( lIndex != zstring::npos ) in initializeAuthority()
812 lHost = lTmp.substr(0, lIndex); in initializeAuthority()
814 ++lIndex; // skip the colon in initializeAuthority()
815 lStart += lIndex; in initializeAuthority()
826 if ( ( ! lHost.empty() ) && ( lIndex != zstring::npos ) && ( lStart < lEnd ) ) in initializeAuthority()
835 else if ( lStart >= lEnd && lIndex != zstring::npos ) in initializeAuthority()
917 ulong lIndex = 0; in initializePath() local
938 while ( lIndex < lEnd ) in initializePath()
940 lCp = lCodepoints[lIndex]; in initializePath()
946 if ( lIndex + 2 >= lEnd ) in initializePath()
952 unicode::code_point lHex1 = lCodepoints[++lIndex]; in initializePath()
957 unicode::code_point lHex2 = lCodepoints[++lIndex]; in initializePath()
969 ++lIndex; in initializePath()
981 while ( lIndex < lEnd ) in initializePath()
983 lCp = lCodepoints[lIndex]; in initializePath()
997 ++lIndex; in initializePath()
1006 lCodepoints.begin() + lIndex, in initializePath()
1014 ++lIndex; in initializePath()
1015 lStart = lIndex; in initializePath()
1016 while ( lIndex < lEnd ) in initializePath()
1018 lCp = lCodepoints[lIndex]; in initializePath()
1023 ++lIndex; in initializePath()
1028 lCodepoints.begin() + lIndex, in initializePath()
1037 ++lIndex; in initializePath()
1038 lStart = lIndex; in initializePath()
1039 while ( lIndex < lEnd ) in initializePath()
1041 lCp = lCodepoints[lIndex]; in initializePath()
1044 ++lIndex; in initializePath()
1047 if ( lIndex > lStart) in initializePath()
1051 lCodepoints.begin() + lIndex, in initializePath()
1235 zstring::size_type lIndex = 0; in resolve() local
1394 while ((lIndex = tmp_path.find("/../")) != zstring::npos) in resolve()
1397 lIndex += offset; in resolve()
1400 tmp1.wrap_memory(path.c_str(), lIndex - 1); in resolve()
1408 segIndex + 3 != lIndex)) in resolve()
1411 tmp2.wrap_memory(path.c_str() + lIndex + 3, path.size() - lIndex - 3); in resolve()
1435 lIndex = path.size() - 3; in resolve()
1436 tmp1.wrap_memory(path.c_str(), lIndex - 1); in resolve()
1442 segIndex + 3 != lIndex)) in resolve()