Home | History | Annotate | Download | only in Support

Lines Matching refs:UnquotedValue

1629     StringRef UnquotedValue = Value.substr(1, Value.size() - 2);
1631 StringRef::size_type i = UnquotedValue.find_first_of("\\\r\n");
1633 return unescapeDoubleQuoted(UnquotedValue, i, Storage);
1634 return UnquotedValue;
1637 StringRef UnquotedValue = Value.substr(1, Value.size() - 2);
1638 StringRef::size_type i = UnquotedValue.find('\'');
1642 Storage.reserve(UnquotedValue.size());
1643 for (; i != StringRef::npos; i = UnquotedValue.find('\'')) {
1644 StringRef Valid(UnquotedValue.begin(), i);
1647 UnquotedValue = UnquotedValue.substr(i + 2);
1649 Storage.insert(Storage.end(), UnquotedValue.begin(), UnquotedValue.end());
1652 return UnquotedValue;
1658 StringRef ScalarNode::unescapeDoubleQuoted( StringRef UnquotedValue
1664 Storage.reserve(UnquotedValue.size());
1665 for (; i != StringRef::npos; i = UnquotedValue.find_first_of("\\\r\n")) {
1667 StringRef Valid(UnquotedValue.begin(), i);
1670 UnquotedValue = UnquotedValue.substr(i);
1672 assert(!UnquotedValue.empty() && "Can't be empty!");
1675 switch (UnquotedValue[0]) {
1679 if ( UnquotedValue.size() > 1
1680 && (UnquotedValue[1] == '\r' || UnquotedValue[1] == '\n'))
1681 UnquotedValue = UnquotedValue.substr(1);
1682 UnquotedValue = UnquotedValue.substr(1);
1685 if (UnquotedValue.size() == 1)
1688 UnquotedValue = UnquotedValue.substr(1);
1689 switch (UnquotedValue[0]) {
1692 T.Range = StringRef(UnquotedValue.begin(), 1);
1699 if ( UnquotedValue.size() > 1
1700 && (UnquotedValue[1] == '\r' || UnquotedValue[1] == '\n'))
1701 UnquotedValue = UnquotedValue.substr(1);
1758 if (UnquotedValue.size() < 3)
1762 if (UnquotedValue.substr(1, 2).getAsInteger(16, UnicodeScalarValue))
1766 UnquotedValue = UnquotedValue.substr(2);
1770 if (UnquotedValue.size() < 5)
1774 if (UnquotedValue.substr(1, 4).getAsInteger(16, UnicodeScalarValue))
1778 UnquotedValue = UnquotedValue.substr(4);
1782 if (UnquotedValue.size() < 9)
1786 if (UnquotedValue.substr(1, 8).getAsInteger(16, UnicodeScalarValue))
1790 UnquotedValue = UnquotedValue.substr(8);
1794 UnquotedValue = UnquotedValue.substr(1);
1797 Storage.insert(Storage.end(), UnquotedValue.begin(), UnquotedValue.end());