• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/contrib/src/applet/

Lines Matching defs:str

52     const wxString &str,
55 wxASSERT( str.GetStringData()->IsValid() );
58 int p = tstr.Len()-str.Len()-1;
59 int p2 = start-str.Len();
64 if ( wxStrncmp(tstr.c_str() + p, str.c_str(), str.Len()) == 0 )
120 str - text of #if statement
132 wxString &str)
138 while ((b = str.Find('(')) != -1) {
144 nextbeg = str.find('(', min);
145 nextend = str.find(')', min);
169 tag = str.Mid(b+1, e-b-1);
172 if (val) str = str.Mid(0, b) + " 1" + str.Mid(e+1);
173 else str = str.Mid(0, b) + " 0" + str.Mid(e+1);
177 str.Trim(false);
178 str.Trim(true);
182 str.Replace(" AND ", "&&");
183 str.Replace(" OR ", "||");
184 str.Replace(" EQUALS ", "==");
189 equ = str.find("==");
197 while (end < str.Length() && str.GetChar(end) == ' ')
199 while (begin >= 0 && str.GetChar(begin) == ' ')
203 if (str.GetChar(end2) == '\'' || str.GetChar(end2) == '\"') {
205 while (end2 < str.Length() && str.GetChar(end2) != '\'' && str.GetChar(end2) != '\"' )
210 while (end2 < str.Length() && IsLetter(str.GetChar(end2)))
213 while (begin >= 0 && IsLetter(str.GetChar(begin)))
218 if (end2 >= str.Length()) end2 = str.Length();
220 wxString tmpeq = GetEquals(str.Mid(begin, begin2-begin+1), str.Mid(end, end2-end));
221 str = str.Mid(0, begin) + wxString(" ") + tmpeq + wxString(" ") +
222 str.Mid(end2);
223 equ = str.find("==");
226 str.Trim(false);
227 str.Trim(true);
234 and = ReverseFind(str, "&&");
235 or = ReverseFind(str, "||");
241 ParseIfStatementValue(tag2 = str.Mid(and+2)) &&
242 ParseIfStatementValue(tag1 = str.Mid(0, and)) );
246 ParseIfStatementValue(tag2 = str.Mid(or+2)) ||
247 ParseIfStatementValue(tag1 = str.Mid(0, or)) );
256 if (str.Mid(0, 1) == "!") {
257 str.Remove(0, 1);
258 str.Trim(false); // trim spaces from left
261 else if (str.Mid(0,4).CmpNoCase("NOT ") == 0) {
262 str.Remove(0, 4);
263 str.Trim(false); // trim any extra spaces from left
268 if (str == "") {
277 if (str == "0") return notval;
278 if (str == "1") return !notval;
281 bool value = wxIfElseVariable::GetValue(str);