Lines Matching refs:text
18 bool LooksLikeNetwarePermissionsListing(const base::string16& text) {
19 if (text.length() != 10)
22 if (text[0] != '[' || text[9] != ']')
24 return (text[1] == 'R' || text[1] == '-') &&
25 (text[2] == 'W' || text[2] == '-') &&
26 (text[3] == 'C' || text[3] == '-') &&
27 (text[4] == 'E' || text[4] == '-') &&
28 (text[5] == 'A' || text[5] == '-') &&
29 (text[6] == 'F' || text[6] == '-') &&
30 (text[7] == 'M' || text[7] == '-') &&
31 (text[8] == 'S' || text[8] == '-');