Lines Matching refs:index

95     unsigned index = start;
96 for (; index < src.length(); ++index) {
97 if (!isASCIIDigit(src[index]))
100 return index - start;
284 unsigned index = start;
285 if (src[index] == 'Z') {
286 end = index + 1;
291 if (src[index] == '+')
293 else if (src[index] == '-')
297 ++index;
301 if (!toInt(src, index, 2, hour) || hour < 0 || hour > 23)
303 index += 2;
305 if (index >= src.length() || src[index] != ':')
307 ++index;
309 if (!toInt(src, index, 2, minute) || minute < 0 || minute > 59)
311 index += 2;
321 end = index;
327 unsigned index;
328 if (!parseYear(src, start, index))
330 if (index >= src.length() || src[index] != '-')
332 ++index;
335 if (!toInt(src, index, 2, month) || month < 1 || month > 12)
341 end = index + 2;
348 unsigned index;
349 if (!parseMonth(src, start, index))
352 if (index + 2 >= src.length())
354 if (src[index] != '-')
356 ++index;
359 if (!toInt(src, index, 2, day) || day < 1 || day > maxDayOfMonth(m_year, m_month))
364 end = index + 2;
371 unsigned index;
372 if (!parseYear(src, start, index))
376 if (index + 3 >= src.length())
378 if (src[index] != '-')
380 ++index;
381 if (src[index] != 'W')
383 ++index;
386 if (!toInt(src, index, 2, week) || week < minimumWeekNumber || week > maxWeekNumberInYear())
391 end = index + 2;
401 unsigned index = start + 2;
402 if (index >= src.length())
404 if (src[index] != ':')
406 ++index;
409 if (!toInt(src, index, 2, minute) || minute < 0 || minute > 59)
411 index += 2;
417 if (index + 2 < src.length() && src[index] == ':') {
418 if (toInt(src, index + 1, 2, second) && second >= 0 && second <= 59) {
419 index += 3;
422 if (index < src.length() && src[index] == '.') {
423 unsigned digitsLength = countDigits(src, index + 1);
425 ++index;
428 ok = toInt(src, index, 1, millisecond);
431 ok = toInt(src, index, 2, millisecond);
434 ok = toInt(src, index, 3, millisecond);
437 index += digitsLength;
446 end = index;
453 unsigned index;
454 if (!parseDate(src, start, index))
456 if (index >= src.length())
458 if (src[index] != 'T')
460 ++index;
461 if (!parseTime(src, index, end))
471 unsigned index;
472 if (!parseDate(src, start, index))
474 if (index >= src.length())
476 if (src[index] != 'T')
478 ++index;
479 if (!parseTime(src, index, index))
481 if (!parseTimeZone(src, index, end))