Lines Matching refs:Storage

2032 StringRef ScalarNode::getValue(SmallVectorImpl<char> &Storage) const {  in getValue()
2034 return getDoubleQuotedValue(Value, Storage); in getValue()
2036 return getSingleQuotedValue(Value, Storage); in getValue()
2037 return getPlainValue(Value, Storage); in getValue()
2055 parseScalarValue(StringRef UnquotedValue, SmallVectorImpl<char> &Storage, in parseScalarValue() argument
2063 Storage.clear(); in parseScalarValue()
2064 Storage.reserve(UnquotedValue.size()); in parseScalarValue()
2068 llvm::append_range(Storage, UnquotedValue.take_front(I)); in parseScalarValue()
2069 UnquotedValue = UnescapeCallback(UnquotedValue.drop_front(I), Storage); in parseScalarValue()
2075 llvm::append_range(Storage, UnquotedValue.take_front(LastNonSWhite + 1)); in parseScalarValue()
2076 Storage.push_back(' '); in parseScalarValue()
2085 assert(!Storage.empty() && Storage.back() == ' '); in parseScalarValue()
2086 Storage.back() = '\n'; in parseScalarValue()
2090 assert(!Storage.empty() && Storage.back() == '\n'); in parseScalarValue()
2091 Storage.push_back('\n'); in parseScalarValue()
2094 Storage.push_back(' '); in parseScalarValue()
2104 llvm::append_range(Storage, UnquotedValue); in parseScalarValue()
2105 return StringRef(Storage.begin(), Storage.size()); in parseScalarValue()
2110 SmallVectorImpl<char> &Storage) const { in getDoubleQuotedValue()
2116 SmallVectorImpl<char> &Storage) { in getDoubleQuotedValue() argument
2122 Storage.clear(); in getDoubleQuotedValue()
2131 Storage.clear(); in getDoubleQuotedValue()
2142 Storage.push_back(0x00); in getDoubleQuotedValue()
2145 Storage.push_back(0x07); in getDoubleQuotedValue()
2148 Storage.push_back(0x08); in getDoubleQuotedValue()
2152 Storage.push_back(0x09); in getDoubleQuotedValue()
2155 Storage.push_back(0x0A); in getDoubleQuotedValue()
2158 Storage.push_back(0x0B); in getDoubleQuotedValue()
2161 Storage.push_back(0x0C); in getDoubleQuotedValue()
2164 Storage.push_back(0x0D); in getDoubleQuotedValue()
2167 Storage.push_back(0x1B); in getDoubleQuotedValue()
2170 Storage.push_back(0x20); in getDoubleQuotedValue()
2173 Storage.push_back(0x22); in getDoubleQuotedValue()
2176 Storage.push_back(0x2F); in getDoubleQuotedValue()
2179 Storage.push_back(0x5C); in getDoubleQuotedValue()
2182 encodeUTF8(0x85, Storage); in getDoubleQuotedValue()
2185 encodeUTF8(0xA0, Storage); in getDoubleQuotedValue()
2188 encodeUTF8(0x2028, Storage); in getDoubleQuotedValue()
2191 encodeUTF8(0x2029, Storage); in getDoubleQuotedValue()
2201 encodeUTF8(UnicodeScalarValue, Storage); in getDoubleQuotedValue()
2212 encodeUTF8(UnicodeScalarValue, Storage); in getDoubleQuotedValue()
2223 encodeUTF8(UnicodeScalarValue, Storage); in getDoubleQuotedValue()
2230 return parseScalarValue(UnquotedValue, Storage, "\\\r\n", UnescapeFunc); in getDoubleQuotedValue()
2234 SmallVectorImpl<char> &Storage) { in getSingleQuotedValue() argument
2240 SmallVectorImpl<char> &Storage) { in getSingleQuotedValue() argument
2242 Storage.push_back('\''); in getSingleQuotedValue()
2246 return parseScalarValue(UnquotedValue, Storage, "'\r\n", UnescapeFunc); in getSingleQuotedValue()
2250 SmallVectorImpl<char> &Storage) { in getPlainValue() argument
2255 return parseScalarValue(RawValue, Storage, "\r\n", nullptr); in getPlainValue()