Lines Matching refs:c
200 inline void back( sal_Unicode c ) SAL_THROW( () ) in back() argument
201 { m_back = c; } in back()
203 inline bool isWhiteSpace( sal_Unicode c ) SAL_THROW( () ) in isWhiteSpace() argument
204 { return (' ' == c || '\t' == c || '\n' == c || '\r' == c); } in isWhiteSpace()
208 inline bool isCharToken( sal_Unicode c ) SAL_THROW( () ) in isCharToken() argument
209 { return (';' == c || ',' == c || '{' == c || '}' == c); } in isCharToken()
236 sal_Unicode c = get(); in assureToken() local
237 if (c == token) in assureToken()
241 buf.append( c ); in assureToken()
260 sal_Unicode c = get(); in getQuotedToken() local
261 if ('\"' != c) in getQuotedToken()
263 c = get(); in getQuotedToken()
264 while ('\0' != c && '\"' != c) in getQuotedToken()
266 buf.append( c ); in getQuotedToken()
267 c = get(); in getQuotedToken()
285 sal_Unicode c = get(); in getToken() local
286 if (isCharToken( c )) in getToken()
287 return OUString( &c, 1 ); in getToken()
289 while ('\0' != c && !isCharToken( c ) && !isWhiteSpace( c )) in getToken()
291 buf.append( c ); in getToken()
292 c = get(); in getToken()
294 back( c ); in getToken()
301 sal_Unicode c; in skipWhiteSpace() local
304 c = get(); in skipWhiteSpace()
306 while (isWhiteSpace( c )); // seeking next non-whitespace char in skipWhiteSpace()
308 if ('/' == c) // C/C++ like comment in skipWhiteSpace()
310 c = get(); in skipWhiteSpace()
311 if ('/' == c) // C++ like comment in skipWhiteSpace()
315 c = get(); in skipWhiteSpace()
317 while ('\n' != c && '\0' != c); // seek eol/eof in skipWhiteSpace()
320 else if ('*' == c) // C like comment in skipWhiteSpace()
325 c = get(); in skipWhiteSpace()
326 if ('*' == c) in skipWhiteSpace()
328 c = get(); in skipWhiteSpace()
329 fini = ('/' == c || '\0' == c); in skipWhiteSpace()
333 fini = ('\0' == c); in skipWhiteSpace()
344 else if ('#' == c) // script like comment in skipWhiteSpace()
348 c = get(); in skipWhiteSpace()
350 while ('\n' != c && '\0' != c); // seek eol/eof in skipWhiteSpace()
356 back( c ); in skipWhiteSpace()
365 sal_Unicode c = m_back; in get() local
367 return c; in get()