Lines Matching defs:str
112 inline bool isValidLength(const wxString& str)
114 return ((str == wxT("hh")) || (str == wxT("h")) ||
115 (str == wxT("l")) || (str == wxT("ll")) ||
116 (str == wxT("L")) || (str == wxT("z")) ||
117 (str == wxT("j")) || (str == wxT("t")) ||
118 (str == wxT("q")));
182 void CFormat::Init(const wxString& str)
184 m_formatString = str;
191 for (size_t pos = 0; pos < str.length(); ++pos) {
192 if (str[pos] == wxT('%')) {
194 } else if (isTypeChar(str[pos])) {
201 wxFAIL_MSG(wxT("Invalid format specifier: ") + str.Mid(formatStart, pos - formatStart + 1));
210 fs.result = str.Mid(formatStart, pos - formatStart + 1);
217 wxASSERT_MSG((state == esFormatEnd) || (state == esNonFormat), wxT("Incomplete format specifier: ") + str.Mid(formatStart));