Lines Matching refs:ch
46 FX_WCHAR ch = contents.GetAt(i); in CheckContentValidity() local
47 if ((ch >= (FX_WCHAR)'0' && ch <= (FX_WCHAR)'9') || in CheckContentValidity()
48 (ch >= (FX_WCHAR)'A' && ch <= (FX_WCHAR)'Z') || ch == (FX_WCHAR)'-' || in CheckContentValidity()
49 ch == (FX_WCHAR)'.' || ch == (FX_WCHAR)' ' || ch == (FX_WCHAR)'*' || in CheckContentValidity()
50 ch == (FX_WCHAR)'$' || ch == (FX_WCHAR)'/' || ch == (FX_WCHAR)'+' || in CheckContentValidity()
51 ch == (FX_WCHAR)'%') { in CheckContentValidity()
61 FX_WCHAR ch = contents.GetAt(i); in CheckExtendedContentValidity() local
62 if (ch > 127) { in CheckExtendedContentValidity()
75 FX_WCHAR ch = contents.GetAt(i); in FilterContents() local
76 if (ch == (FX_WCHAR)'*' && (i == 0 || i == contents.GetLength() - 1)) { in FilterContents()
79 if (ch > 175) { in FilterContents()
83 ch = Upper(ch); in FilterContents()
85 if ((ch >= (FX_WCHAR)'0' && ch <= (FX_WCHAR)'9') || in FilterContents()
86 (ch >= (FX_WCHAR)'A' && ch <= (FX_WCHAR)'Z') || ch == (FX_WCHAR)'-' || in FilterContents()
87 ch == (FX_WCHAR)'.' || ch == (FX_WCHAR)' ' || ch == (FX_WCHAR)'*' || in FilterContents()
88 ch == (FX_WCHAR)'$' || ch == (FX_WCHAR)'/' || ch == (FX_WCHAR)'+' || in FilterContents()
89 ch == (FX_WCHAR)'%') { in FilterContents()
90 filtercontents += ch; in FilterContents()
99 FX_WCHAR ch = contents.GetAt(i); in FilterExtendedContents() local
100 if (ch == (FX_WCHAR)'*' && (i == 0 || i == contents.GetLength() - 1)) { in FilterExtendedContents()
103 if (ch > 175) { in FilterExtendedContents()
107 if (ch > 127 && ch < 176) { in FilterExtendedContents()
110 if (ch == 0) { in FilterExtendedContents()
113 } else if (ch >= 1 && ch <= 26) { in FilterExtendedContents()
115 filtercontents += (ch + 64); in FilterExtendedContents()
116 } else if (ch >= 27 && ch <= 31) { in FilterExtendedContents()
118 filtercontents += (ch + 38); in FilterExtendedContents()
119 } else if (ch >= 33 && ch <= 47 && ch != 45 && ch != 46) { in FilterExtendedContents()
121 filtercontents += (ch + 32); in FilterExtendedContents()
122 } else if (ch == 58) { in FilterExtendedContents()
125 } else if (ch >= 59 && ch <= 63) { in FilterExtendedContents()
127 filtercontents += ch + 11; in FilterExtendedContents()
128 } else if (ch == 64) { in FilterExtendedContents()
131 } else if (ch >= 91 && ch <= 95) { in FilterExtendedContents()
133 filtercontents += ch - 16; in FilterExtendedContents()
134 } else if (ch == 96) { in FilterExtendedContents()
137 } else if (ch >= 97 && ch <= 122) { in FilterExtendedContents()
139 filtercontents += ch - 32; in FilterExtendedContents()
140 } else if (ch >= 123 && ch <= 126) { in FilterExtendedContents()
142 filtercontents += ch - 43; in FilterExtendedContents()
143 } else if (ch == 127) { in FilterExtendedContents()
147 filtercontents += ch; in FilterExtendedContents()
159 FX_WCHAR ch = contents.GetAt(i); in RenderTextContents() local
160 if (ch == (FX_WCHAR)'*' && (i == 0 || i == contents.GetLength() - 1)) { in RenderTextContents()
163 if (ch > 175) { in RenderTextContents()
167 if ((ch >= (FX_WCHAR)'0' && ch <= (FX_WCHAR)'9') || in RenderTextContents()
168 (ch >= (FX_WCHAR)'A' && ch <= (FX_WCHAR)'Z') || in RenderTextContents()
169 (ch >= (FX_WCHAR)'a' && ch <= (FX_WCHAR)'z') || ch == (FX_WCHAR)'-' || in RenderTextContents()
170 ch == (FX_WCHAR)'.' || ch == (FX_WCHAR)' ' || ch == (FX_WCHAR)'*' || in RenderTextContents()
171 ch == (FX_WCHAR)'$' || ch == (FX_WCHAR)'/' || ch == (FX_WCHAR)'+' || in RenderTextContents()
172 ch == (FX_WCHAR)'%') { in RenderTextContents()
173 renderContents += ch; in RenderTextContents()
182 FX_WCHAR ch = contents.GetAt(i); in RenderExtendedTextContents() local
183 if (ch == (FX_WCHAR)'*' && (i == 0 || i == contents.GetLength() - 1)) { in RenderExtendedTextContents()
186 if (ch > 175) { in RenderExtendedTextContents()
190 if (ch > 127 && ch < 176) { in RenderExtendedTextContents()
193 renderContents += ch; in RenderExtendedTextContents()