• Home
  • Raw
  • Download

Lines Matching refs:iIndex

359   int32_t iIndex = 0;  in PatternStringType()  local
361 while (iIndex < iLength) { in PatternStringType()
362 wchar_t wsPatternChar = pData[iIndex]; in PatternStringType()
365 iIndex++; in PatternStringType()
369 iIndex++; in PatternStringType()
380 iIndex++; in PatternStringType()
382 while (iIndex < iLength) { in PatternStringType()
383 timePatternChar = pData[iIndex]; in PatternStringType()
386 iIndex++; in PatternStringType()
391 iIndex++; in PatternStringType()
403 iIndex++; in PatternStringType()
609 size_t iIndex = 0; in IsIsoTimeFormat() local
610 while (iIndex < iZone) { in IsIsoTimeFormat()
611 if (!std::isdigit(pData[iIndex])) in IsIsoTimeFormat()
614 szBuffer[0] = pData[iIndex]; in IsIsoTimeFormat()
615 if (!std::isdigit(pData[iIndex + 1])) in IsIsoTimeFormat()
618 szBuffer[1] = pData[iIndex + 1]; in IsIsoTimeFormat()
632 iIndex += 3; in IsIsoTimeFormat()
644 iIndex += 2; in IsIsoTimeFormat()
648 if (iIndex < pData.size() && pData[iIndex] == '.') { in IsIsoTimeFormat()
650 if (iIndex + kSubSecondLength >= pData.size()) in IsIsoTimeFormat()
653 ++iIndex; in IsIsoTimeFormat()
656 char c = pData[iIndex + j]; in IsIsoTimeFormat()
668 iIndex += kSubSecondLength; in IsIsoTimeFormat()
671 if (iIndex < pData.size() && FXSYS_towlower(pData[iIndex]) == 'z') in IsIsoTimeFormat()
675 if (iIndex < pData.size()) { in IsIsoTimeFormat()
676 if (pData[iIndex] == '+') { in IsIsoTimeFormat()
677 ++iIndex; in IsIsoTimeFormat()
678 } else if (pData[iIndex] == '-') { in IsIsoTimeFormat()
680 ++iIndex; in IsIsoTimeFormat()
684 while (iIndex < pData.size()) { in IsIsoTimeFormat()
685 if (!std::isdigit(pData[iIndex])) in IsIsoTimeFormat()
688 szBuffer[0] = pData[iIndex]; in IsIsoTimeFormat()
689 if (!std::isdigit(pData[iIndex + 1])) in IsIsoTimeFormat()
692 szBuffer[1] = pData[iIndex + 1]; in IsIsoTimeFormat()
702 iIndex += 3; in IsIsoTimeFormat()
711 iIndex += 2; in IsIsoTimeFormat()
714 if (iIndex < pData.size()) in IsIsoTimeFormat()
751 size_t iIndex = 0; in IsIsoDateTimeFormat() local
752 while (pData[iIndex] != 'T' && pData[iIndex] != 't') { in IsIsoDateTimeFormat()
753 if (iIndex >= pData.size()) in IsIsoDateTimeFormat()
755 ++iIndex; in IsIsoDateTimeFormat()
757 if (iIndex != 8 && iIndex != 10) in IsIsoDateTimeFormat()
761 if (!IsIsoDateFormat(pData.subspan(0, iIndex), &iStyle, &iYear, &iMonth, in IsIsoDateTimeFormat()
765 if (pData[iIndex] != 'T' && pData[iIndex] != 't') in IsIsoDateTimeFormat()
768 return IsIsoTimeFormat(pData.subspan(iIndex + 1), &iHour, &iMinute, &iSecond, in IsIsoDateTimeFormat()
992 int32_t iIndex = ch / 16; in EncodeURL() local
993 szEncode[1] = kStrCode[iIndex]; in EncodeURL()
994 szEncode[2] = kStrCode[ch - iIndex * 16]; in EncodeURL()
1007 int32_t iIndex = ch / 16; in EncodeURL() local
1008 szEncode[1] = kStrCode[iIndex]; in EncodeURL()
1009 szEncode[2] = kStrCode[ch - iIndex * 16]; in EncodeURL()
1031 int32_t iIndex = ch / 16; in EncodeURL() local
1032 szEncode[1] = kStrCode[iIndex]; in EncodeURL()
1033 szEncode[2] = kStrCode[ch - iIndex * 16]; in EncodeURL()
1050 int32_t iIndex = 0; in EncodeURL() local
1054 iIndex = iLen - 2; in EncodeURL()
1058 iIndex = iLen - 3; in EncodeURL()
1061 while (iIndex > 0) { in EncodeURL()
1062 szEncode[1] = wsBuffer[iIndex]; in EncodeURL()
1063 szEncode[2] = wsBuffer[iIndex - 1]; in EncodeURL()
1064 iIndex -= 2; in EncodeURL()
1089 int32_t iIndex = ch / 16; in EncodeHTML() local
1090 szEncode[3] = kStrCode[iIndex]; in EncodeHTML()
1091 szEncode[4] = kStrCode[ch - iIndex * 16]; in EncodeHTML()
1151 int32_t iIndex = ch / 16; in EncodeXML() local
1152 szEncode[3] = kStrCode[iIndex]; in EncodeXML()
1153 szEncode[4] = kStrCode[ch - iIndex * 16]; in EncodeXML()
1210 int32_t iIndex = 0; in TrillionUS() local
1212 if (pData[iIndex] != '0') { in TrillionUS()
1213 strBuf << pCapUnits[pData[iIndex] - '0']; in TrillionUS()
1216 if (pData[iIndex + 1] == '0') { in TrillionUS()
1217 strBuf << pCapUnits[pData[iIndex + 2] - '0']; in TrillionUS()
1219 if (pData[iIndex + 1] > '1') { in TrillionUS()
1220 strBuf << pLastTens[pData[iIndex + 1] - '2']; in TrillionUS()
1222 strBuf << pUnits[pData[iIndex + 2] - '0']; in TrillionUS()
1223 } else if (pData[iIndex + 1] == '1') { in TrillionUS()
1224 strBuf << pTens[pData[iIndex + 2] - '0']; in TrillionUS()
1225 } else if (pData[iIndex + 1] == '0') { in TrillionUS()
1226 strBuf << pCapUnits[pData[iIndex + 2] - '0']; in TrillionUS()
1229 iIndex += 3; in TrillionUS()
1231 if (pData[iIndex] == '0') { in TrillionUS()
1232 strBuf << pCapUnits[pData[iIndex + 1] - '0']; in TrillionUS()
1234 if (pData[iIndex] > '1') { in TrillionUS()
1235 strBuf << pLastTens[pData[iIndex] - '2']; in TrillionUS()
1237 strBuf << pUnits[pData[iIndex + 1] - '0']; in TrillionUS()
1238 } else if (pData[iIndex] == '1') { in TrillionUS()
1239 strBuf << pTens[pData[iIndex + 1] - '0']; in TrillionUS()
1240 } else if (pData[iIndex] == '0') { in TrillionUS()
1241 strBuf << pCapUnits[pData[iIndex + 1] - '0']; in TrillionUS()
1244 iIndex += 2; in TrillionUS()
1246 strBuf << pCapUnits[pData[iIndex] - '0']; in TrillionUS()
1247 ++iIndex; in TrillionUS()
1253 while (iIndex < iLength) { in TrillionUS()
1254 if (pData[iIndex] != '0') { in TrillionUS()
1255 strBuf << pCapUnits[pData[iIndex] - '0']; in TrillionUS()
1258 if (pData[iIndex + 1] == '0') { in TrillionUS()
1259 strBuf << pCapUnits[pData[iIndex + 2] - '0']; in TrillionUS()
1261 if (pData[iIndex + 1] > '1') { in TrillionUS()
1262 strBuf << pLastTens[pData[iIndex + 1] - '2']; in TrillionUS()
1264 strBuf << pUnits[pData[iIndex + 2] - '0']; in TrillionUS()
1265 } else if (pData[iIndex + 1] == '1') { in TrillionUS()
1266 strBuf << pTens[pData[iIndex + 2] - '0']; in TrillionUS()
1267 } else if (pData[iIndex + 1] == '0') { in TrillionUS()
1268 strBuf << pCapUnits[pData[iIndex + 2] - '0']; in TrillionUS()
1271 if (iIndex < iLength - 3) { in TrillionUS()
1275 iIndex += 3; in TrillionUS()
1289 int32_t iIndex = 0; in WordUS() local
1290 while (iIndex < iLength) { in WordUS()
1291 if (pData[iIndex] == '.') in WordUS()
1293 ++iIndex; in WordUS()
1295 int32_t iInteger = iIndex; in WordUS()
1296 iIndex = 0; in WordUS()
1297 while (iIndex < iInteger) { in WordUS()
1298 int32_t iCount = (iInteger - iIndex) % 12; in WordUS()
1299 if (!iCount && iInteger - iIndex > 0) in WordUS()
1302 strBuf << TrillionUS(ByteStringView(pData + iIndex, iCount)); in WordUS()
1303 iIndex += iCount; in WordUS()
1304 if (iIndex < iInteger) in WordUS()
1313 iIndex = iInteger + 1; in WordUS()
1314 while (iIndex < iLength) { in WordUS()
1315 int32_t iCount = (iLength - iIndex) % 12; in WordUS()
1316 if (!iCount && iLength - iIndex > 0) in WordUS()
1319 strBuf << TrillionUS(ByteStringView(pData + iIndex, iCount)); in WordUS()
1320 iIndex += iCount; in WordUS()
1321 if (iIndex < iLength) in WordUS()
2792 int32_t iIndex = 0; in NPV() local
2798 double nNum = data[iIndex++]; in NPV()
3011 int32_t iIndex = (int32_t)ValueToFloat(pThis, argOne.get()); in Choose() local
3012 if (iIndex < 1) { in Choose()
3032 if (iValueIndex >= iIndex) { in Choose()
3038 (iLength - 1) - (iValueIndex - iIndex), jsObjectValue.get()); in Choose()
3051 if (iValueIndex == iIndex) { in Choose()
5797 int32_t iIndex = 2; in DotAccessorCommon() local
5800 values[iIndex]->Assign(resolveValues[i][j].get()); in DotAccessorCommon()
5801 iIndex++; in DotAccessorCommon()