Lines Matching refs:UnquotedValue

1890     StringRef UnquotedValue = Value.substr(1, Value.size() - 2);  in getValue()  local
1892 StringRef::size_type i = UnquotedValue.find_first_of("\\\r\n"); in getValue()
1894 return unescapeDoubleQuoted(UnquotedValue, i, Storage); in getValue()
1895 return UnquotedValue; in getValue()
1898 StringRef UnquotedValue = Value.substr(1, Value.size() - 2); in getValue() local
1899 StringRef::size_type i = UnquotedValue.find('\''); in getValue()
1903 Storage.reserve(UnquotedValue.size()); in getValue()
1904 for (; i != StringRef::npos; i = UnquotedValue.find('\'')) { in getValue()
1905 StringRef Valid(UnquotedValue.begin(), i); in getValue()
1908 UnquotedValue = UnquotedValue.substr(i + 2); in getValue()
1910 Storage.insert(Storage.end(), UnquotedValue.begin(), UnquotedValue.end()); in getValue()
1913 return UnquotedValue; in getValue()
1919 StringRef ScalarNode::unescapeDoubleQuoted( StringRef UnquotedValue in unescapeDoubleQuoted() argument
1925 Storage.reserve(UnquotedValue.size()); in unescapeDoubleQuoted()
1926 for (; i != StringRef::npos; i = UnquotedValue.find_first_of("\\\r\n")) { in unescapeDoubleQuoted()
1928 StringRef Valid(UnquotedValue.begin(), i); in unescapeDoubleQuoted()
1931 UnquotedValue = UnquotedValue.substr(i); in unescapeDoubleQuoted()
1933 assert(!UnquotedValue.empty() && "Can't be empty!"); in unescapeDoubleQuoted()
1936 switch (UnquotedValue[0]) { in unescapeDoubleQuoted()
1940 if ( UnquotedValue.size() > 1 in unescapeDoubleQuoted()
1941 && (UnquotedValue[1] == '\r' || UnquotedValue[1] == '\n')) in unescapeDoubleQuoted()
1942 UnquotedValue = UnquotedValue.substr(1); in unescapeDoubleQuoted()
1943 UnquotedValue = UnquotedValue.substr(1); in unescapeDoubleQuoted()
1946 if (UnquotedValue.size() == 1) in unescapeDoubleQuoted()
1949 UnquotedValue = UnquotedValue.substr(1); in unescapeDoubleQuoted()
1950 switch (UnquotedValue[0]) { in unescapeDoubleQuoted()
1953 T.Range = StringRef(UnquotedValue.begin(), 1); in unescapeDoubleQuoted()
1960 if ( UnquotedValue.size() > 1 in unescapeDoubleQuoted()
1961 && (UnquotedValue[1] == '\r' || UnquotedValue[1] == '\n')) in unescapeDoubleQuoted()
1962 UnquotedValue = UnquotedValue.substr(1); in unescapeDoubleQuoted()
2019 if (UnquotedValue.size() < 3) in unescapeDoubleQuoted()
2023 if (UnquotedValue.substr(1, 2).getAsInteger(16, UnicodeScalarValue)) in unescapeDoubleQuoted()
2027 UnquotedValue = UnquotedValue.substr(2); in unescapeDoubleQuoted()
2031 if (UnquotedValue.size() < 5) in unescapeDoubleQuoted()
2035 if (UnquotedValue.substr(1, 4).getAsInteger(16, UnicodeScalarValue)) in unescapeDoubleQuoted()
2039 UnquotedValue = UnquotedValue.substr(4); in unescapeDoubleQuoted()
2043 if (UnquotedValue.size() < 9) in unescapeDoubleQuoted()
2047 if (UnquotedValue.substr(1, 8).getAsInteger(16, UnicodeScalarValue)) in unescapeDoubleQuoted()
2051 UnquotedValue = UnquotedValue.substr(8); in unescapeDoubleQuoted()
2055 UnquotedValue = UnquotedValue.substr(1); in unescapeDoubleQuoted()
2058 Storage.insert(Storage.end(), UnquotedValue.begin(), UnquotedValue.end()); in unescapeDoubleQuoted()