Lines Matching refs:end
87 Iterator end, in ConsumeSubStringImpl() argument
93 if (*current == end || converter(**current) != *substring) { in ConsumeSubStringImpl()
105 Iterator end, in ConsumeSubString() argument
109 return ConsumeSubStringImpl(current, end, substring, ToLower); in ConsumeSubString()
111 return ConsumeSubStringImpl(current, end, substring, Pass); in ConsumeSubString()
160 static inline bool AdvanceToNonspace(Iterator* current, Iterator end) { in AdvanceToNonspace() argument
161 while (*current != end) { in AdvanceToNonspace()
211 static bool Advance (Iterator* it, uc16 separator, int base, Iterator& end) { in Advance() argument
214 return *it == end; in Advance()
218 return *it == end; in Advance()
221 if (*it == end) return true; in Advance()
222 if (*it + 1 == end) return false; in Advance()
226 return *it == end; in Advance()
238 Iterator end, in IsHexFloatString() argument
241 DOUBLE_CONVERSION_ASSERT(start != end); in IsHexFloatString()
248 if (Advance(¤t, separator, 16, end)) return false; in IsHexFloatString()
251 if (Advance(¤t, separator, 16, end)) return false; in IsHexFloatString()
254 if (Advance(¤t, separator, 16, end)) return false; in IsHexFloatString()
259 if (Advance(¤t, separator, 16, end)) return false; in IsHexFloatString()
261 if (Advance(¤t, separator, 16, end)) return false; in IsHexFloatString()
264 if (Advance(¤t, separator, 16, end)) return true; in IsHexFloatString()
266 if (Advance(¤t, separator, 16, end)) return true; in IsHexFloatString()
268 return allow_trailing_junk || !AdvanceToNonspace(¤t, end); in IsHexFloatString()
278 Iterator end, in RadixStringToIeee() argument
286 DOUBLE_CONVERSION_ASSERT(*current != end); in RadixStringToIeee()
288 IsHexFloatString(*current, end, separator, allow_trailing_junk)); in RadixStringToIeee()
305 if (Advance(current, separator, radix, end)) { in RadixStringToIeee()
324 Advance(current, separator, radix, end); in RadixStringToIeee()
325 DOUBLE_CONVERSION_ASSERT(*current != end); in RadixStringToIeee()
330 if (allow_trailing_junk || !AdvanceToNonspace(current, end)) { in RadixStringToIeee()
355 if (Advance(current, separator, radix, end)) break; in RadixStringToIeee()
359 Advance(current, separator, radix, end); in RadixStringToIeee()
360 DOUBLE_CONVERSION_ASSERT(*current != end); in RadixStringToIeee()
370 AdvanceToNonspace(current, end)) { in RadixStringToIeee()
392 if (Advance(current, separator, radix, end)) break; in RadixStringToIeee()
402 Advance(current, separator, radix, end); in RadixStringToIeee()
403 DOUBLE_CONVERSION_ASSERT(*current != end); in RadixStringToIeee()
406 Advance(current, separator, radix, end); in RadixStringToIeee()
407 DOUBLE_CONVERSION_ASSERT(*current != end); in RadixStringToIeee()
410 Advance(current, separator, radix, end); in RadixStringToIeee()
411 DOUBLE_CONVERSION_ASSERT(*current != end); in RadixStringToIeee()
420 if (Advance(current, separator, radix, end)) break; in RadixStringToIeee()
446 Iterator end = input + length; in StringToIeee() local
464 if (current == end) return empty_string_value_; in StringToIeee()
467 if (!AdvanceToNonspace(¤t, end)) { in StringToIeee()
491 if (!AdvanceToNonspace(&next_non_space, end)) return junk_string_value_; in StringToIeee()
500 if (!ConsumeSubString(¤t, end, infinity_symbol_, allow_case_insensitivity)) { in StringToIeee()
504 if (!(allow_trailing_spaces || allow_trailing_junk) && (current != end)) { in StringToIeee()
507 if (!allow_trailing_junk && AdvanceToNonspace(¤t, end)) { in StringToIeee()
518 if (!ConsumeSubString(¤t, end, nan_symbol_, allow_case_insensitivity)) { in StringToIeee()
522 if (!(allow_trailing_spaces || allow_trailing_junk) && (current != end)) { in StringToIeee()
525 if (!allow_trailing_junk && AdvanceToNonspace(¤t, end)) { in StringToIeee()
536 if (Advance(¤t, separator_, 10, end)) { in StringToIeee()
548 if (current == end) return junk_string_value_; // "0x" in StringToIeee()
551 IsHexFloatString(current, end, separator_, allow_trailing_junk); in StringToIeee()
559 end, in StringToIeee()
568 if (allow_trailing_spaces) AdvanceToNonspace(¤t, end); in StringToIeee()
576 if (Advance(¤t, separator_, 10, end)) { in StringToIeee()
603 if (Advance(¤t, separator_, 10, end)) goto parsing_done; in StringToIeee()
614 if (Advance(¤t, separator_, 10, end)) { in StringToIeee()
627 if (Advance(¤t, separator_, 10, end)) { in StringToIeee()
647 if (Advance(¤t, separator_, 10, end)) goto parsing_done; in StringToIeee()
665 if (current == end) { in StringToIeee()
677 if (current == end) { in StringToIeee()
687 if (current == end || *current < '0' || *current > '9') { in StringToIeee()
709 } while (current != end && *current >= '0' && *current <= '9'); in StringToIeee()
714 if (!(allow_trailing_spaces || allow_trailing_junk) && (current != end)) { in StringToIeee()
717 if (!allow_trailing_junk && AdvanceToNonspace(¤t, end)) { in StringToIeee()
721 AdvanceToNonspace(¤t, end); in StringToIeee()