Lines Matching refs:token
228 void assureToken( sal_Unicode token )
232 void PolicyReader::assureToken( sal_Unicode token ) in assureToken() argument
237 if (c == token) in assureToken()
249 OUString token( getQuotedToken() ); in assureQuotedToken() local
250 if (! token.getLength()) in assureQuotedToken()
252 return token; in assureQuotedToken()
275 OUString token( getToken() ); in assureToken() local
276 if (! token.getLength()) in assureToken()
278 return token; in assureToken()
470 OUString token( reader.getToken() ); in refresh() local
471 while (token.getLength()) in refresh()
473 if (! token.equals( s_grant )) in refresh()
476 token = reader.assureToken(); in refresh()
477 if (token.equals( s_user )) // next token is user-id in refresh()
480 token = reader.assureToken(); in refresh()
482 if (! token.equals( s_openBrace )) in refresh()
484 token = reader.assureToken(); in refresh()
486 while (! token.equals( s_closingBrace )) in refresh()
488 if (! token.equals( s_permission )) in refresh()
491 token = reader.assureToken(); // permission type in refresh()
493 if (token.equals( s_filePermission )) // FilePermission in refresh()
500 else if (token.equals( s_socketPermission )) // SocketPermission in refresh()
507 else if (token.equals( s_runtimePermission )) // RuntimePermission in refresh()
512 else if (token.equals( s_allPermission )) // AllPermission in refresh()
539 token = reader.assureToken(); // next permissions token in refresh()
543 token = reader.getToken(); // next grant token in refresh()