Lines Matching refs:StyleString
144 SmallString<64> StyleString; in getFileStyleFromOptions() local
146 StyleString = StyleNames[I]; in getFileStyleFromOptions()
147 size_t StyleSize = StyleString.size(); in getFileStyleFromOptions()
148 StyleString.append("IgnoredRegexp"); in getFileStyleFromOptions()
149 std::string IgnoredRegexpStr = Options.get(StyleString, ""); in getFileStyleFromOptions()
150 StyleString.resize(StyleSize); in getFileStyleFromOptions()
151 StyleString.append("Prefix"); in getFileStyleFromOptions()
152 std::string Prefix(Options.get(StyleString, "")); in getFileStyleFromOptions()
154 memcpy(&StyleString[StyleSize], "Suf", 3); in getFileStyleFromOptions()
155 std::string Postfix(Options.get(StyleString, "")); in getFileStyleFromOptions()
156 memcpy(&StyleString[StyleSize], "Case", 4); in getFileStyleFromOptions()
157 StyleString.pop_back(); in getFileStyleFromOptions()
158 StyleString.pop_back(); in getFileStyleFromOptions()
160 Options.getOptional<IdentifierNamingCheck::CaseType>(StyleString); in getFileStyleFromOptions()
190 SmallString<64> StyleString; in storeOptions() local
195 StyleString = StyleNames[I]; in storeOptions()
196 size_t StyleSize = StyleString.size(); in storeOptions()
197 StyleString.append("IgnoredRegexp"); in storeOptions()
198 Options.store(Opts, StyleString, Styles[I]->IgnoredRegexpStr); in storeOptions()
199 StyleString.resize(StyleSize); in storeOptions()
200 StyleString.append("Prefix"); in storeOptions()
201 Options.store(Opts, StyleString, Styles[I]->Prefix); in storeOptions()
203 memcpy(&StyleString[StyleSize], "Suf", 3); in storeOptions()
204 Options.store(Opts, StyleString, Styles[I]->Suffix); in storeOptions()
206 memcpy(&StyleString[StyleSize], "Case", 4); in storeOptions()
207 StyleString.pop_back(); in storeOptions()
208 StyleString.pop_back(); in storeOptions()
209 Options.store(Opts, StyleString, *Styles[I]->Case); in storeOptions()