/external/chromium_org/sandbox/win/src/ |
acl.cc | 15 HANDLE token, 17 if (token == NULL) 23 ::GetTokenInformation(token, TokenDefaultDacl, NULL, 0, &length); 33 if (!::GetTokenInformation(token, TokenDefaultDacl, default_dacl->get(), 59 bool AddSidToDefaultDacl(HANDLE token, const Sid& sid, ACCESS_MASK access) { 60 if (token == NULL) 64 if (!GetDefaultDacl(token, &default_dacl)) 75 BOOL ret = ::SetTokenInformation(token, TokenDefaultDacl, &new_token_dacl, 81 bool AddUserSidToDefaultDacl(HANDLE token, ACCESS_MASK access) { 87 if (!::GetTokenInformation(token, TokenUser, token_user, size, &size) [all...] |
acl.h | 16 // Returns the default dacl from the token passed in. 18 HANDLE token, 28 // in the token. 29 bool AddSidToDefaultDacl(HANDLE token, const Sid& sid, ACCESS_MASK access); 32 // present in the token. 33 bool AddUserSidToDefaultDacl(HANDLE token, ACCESS_MASK access);
|
policy_target.cc | 84 HANDLE token; local 85 if (sizeof(token) > thread_information_bytes) 88 NTSTATUS ret = CopyData(&token, thread_information, sizeof(token)); 89 if (!NT_SUCCESS(ret) || NULL != token) 102 // FALSE if we are still running with the impersonation token. open_as_self set 103 // to TRUE means that the token will be open using the process token instead of 104 // the impersonation token. This is bad because the process token does not hav [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/checks/ |
AstUtil.java | 3 import com.google.javascript.rhino.head.Token; 29 case Token.COLON: 31 case Token.ASSIGN: 34 assignment.getLeft().getType() == Token.NAME) { 39 case Token.VAR: 59 if (typeNameNode.getType() != Token.GETPROP && typeNameNode.getType() != Token.NAME) { 66 if (node.getType() == Token.FUNCTION) { 83 case Token.COLON: 85 case Token.ASSIGN [all...] |
/external/smali/smali/src/main/java/org/jf/smali/ |
SemanticException.java | 34 import org.antlr.runtime.Token; 54 this.token = tree.getToken(); 56 this.line = token.getLine(); 57 this.charPositionInLine = token.getCharPositionInLine(); 61 SemanticException(IntStream input, Token token, String errorMessage, Object... messageArguments) { 64 this.token = token; 65 this.index = ((CommonToken)token).getStartIndex(); 66 this.line = token.getLine() [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
ParserRuleReturnScope.as | 21 private var _startToken:Token; 22 private var _stopToken:Token; 30 public function set start(token:Object):void { 31 _startToken = Token(token); 38 public function set stop(token:Object):void { 39 _stopToken = Token(token);
|
RuleReturnScope.as | 5 /** Return the start token or tree */ 7 /** Return the stop token or tree */
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
t001lexer.html | 28 token; 30 token = lexer.nextToken(); 31 assertEquals(token.getType(), lexer.ZERO); 33 token = lexer.nextToken(); 34 assertEquals(token.getType(), lexer.EOF); 40 token; 43 token = lexer.nextToken(); 44 fail("nextToken should have thrown a noviableatl on bad token.");
|
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
ParserRuleReturnScope.pm | 9 does => 'ANTLR::Runtime::Token', 14 does => 'ANTLR::Runtime::Token',
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t019lexer.py | 17 token = lexer.nextToken() 18 if token.type == antlr3.EOF:
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
conflict_resolver.h | 45 virtual void RunPreflight(scoped_ptr<SyncTaskToken> token) OVERRIDE; 46 void RunExclusive(scoped_ptr<SyncTaskToken> token); 51 void DetachFromNonPrimaryParents(scoped_ptr<SyncTaskToken> token); 52 void DidDetachFromParent(scoped_ptr<SyncTaskToken> token, 56 void RemoveNonPrimaryFiles(scoped_ptr<SyncTaskToken> token); 57 void DidRemoveFile(scoped_ptr<SyncTaskToken> token, 62 scoped_ptr<SyncTaskToken> token); 64 scoped_ptr<SyncTaskToken> token,
|
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
ExpressionParser.y | 47 #include "Token.h" 65 pp::Token* token; 81 %token TOK_CONST_INT 156 context->token->location, 169 context->token->location, 202 pp::Token *token = context->token; 203 switch (token->type [all...] |
Tokenizer.l | 29 #include "Token.h" 109 return yyextra->lineStart ? pp::Token::PP_HASH : pp::Token::PP_OTHER; 114 return pp::Token::IDENTIFIER; 119 return pp::Token::CONST_INT; 124 return pp::Token::CONST_FLOAT; 131 return pp::Token::PP_NUMBER; 136 return pp::Token::OP_INC; 140 return pp::Token::OP_DEC; 144 return pp::Token::OP_LEFT [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/ |
parser.h | 26 Token *token; member in union:__anon20287
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/tree/ |
ANTLRCommonTreeTest.m | 32 STAssertEquals([tree getType], (NSInteger)ANTLRTokenTypeInvalid, @"Tree should have an invalid token type, because it has no token"); 40 ANTLRCommonToken *token = [ANTLRCommonToken newToken:stream Type:555 Channel:ANTLRTokenChannelDefault Start:4 Stop:5]; 41 token.line = 1; 42 token.charPositionInLine = 4; 43 ANTLRCommonTree *tree = [ANTLRCommonTree newTreeWithToken:token]; 46 STAssertNotNil(tree.token, @"Tree with token was nil"); 47 if (tree != nil && tree.token != nil) { 48 STAssertEquals((NSUInteger) tree.token.line, (NSUInteger)1, [NSString stringWithFormat:@"Tree should be at line 1, but was at %d", tree.t (…) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
RecognizerSharedState.cs | 51 * Track the set of token types that can follow any rule invocation. 63 * matched a token. Prevents generation of more than one error message 72 * but no token is consumed during recovery...another error is found, 74 * one token/tree node is consumed for two errors. 80 * In lieu of a return value, this indicates that a rule or token 81 * has failed to match. Reset to false upon valid token match. 98 * the stop token index for each rule. ruleMemo[ruleIndex] is 100 * get back the stop token for associated rule or MEMO_RULE_FAILED. 113 * The goal of all lexer rules/methods is to create a token object. 115 * create a single token. nextToken will return this object afte 122 public IToken token; field in class:Antlr.Runtime.RecognizerSharedState [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
RecognizerSharedState.cs | 53 * Track the set of token types that can follow any rule invocation. 65 * matched a token. Prevents generation of more than one error message 74 * but no token is consumed during recovery...another error is found, 76 * one token/tree node is consumed for two errors. 82 * In lieu of a return value, this indicates that a rule or token 83 * has failed to match. Reset to false upon valid token match. 100 * the stop token index for each rule. ruleMemo[ruleIndex] is 102 * get back the stop token for associated rule or MEMO_RULE_FAILED. 115 * The goal of all lexer rules/methods is to create a token object. 117 * create a single token. nextToken will return this object afte 124 public IToken token; field in class:Antlr.Runtime.RecognizerSharedState [all...] |
/external/chromium_org/google_apis/drive/ |
dummy_auth_service.h | 14 // access token. 19 // Clear{Access, Refresh}Token methods. 22 void set_access_token(const std::string& token) { access_token_ = token; } 23 void set_refresh_token(const std::string& token) { refresh_token_ = token; }
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
AtomicHTMLToken.h | 112 explicit AtomicHTMLToken(HTMLToken& token) 113 : m_type(token.type()) 120 m_name = AtomicString(token.name()); 121 m_doctypeData = token.releaseDoctypeData(); 127 m_selfClosing = token.selfClosing(); 128 if (StringImpl* tagName = lookupHTMLTag(token.name().data(), token.name().size())) 131 m_name = AtomicString(token.name()); 132 initializeAttributes(token.attributes()); 137 if (token.isAll8BitData() [all...] |
/frameworks/compile/slang/ |
slang_pragma_recorder.h | 27 class Token; 39 static bool GetPragmaNameFromToken(const clang::Token &Token, 42 static bool GetPragmaValueFromToken(const clang::Token &Token, 50 clang::Token &FirstToken);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
ContentTypeParserConstants.java | 45 "<token of kind 9>", 47 "<token of kind 11>", 48 "<token of kind 12>", 51 "<token of kind 15>", 53 "<token of kind 17>", 54 "<token of kind 18>",
|
/system/core/adb/ |
adb_auth.h | 34 int adb_auth_sign(void *key, void *token, size_t token_size, void *sig); 38 static inline int adb_auth_generate_token(void *token, size_t token_size) { return 0; } 39 static inline int adb_auth_verify(void *token, void *sig, int siglen) { return 0; } 44 static inline int adb_auth_sign(void* key, void *token, size_t token_size, void *sig) { return 0; } 48 int adb_auth_generate_token(void *token, size_t token_size); 49 int adb_auth_verify(void *token, void *sig, int siglen);
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
statetracker.py | 37 flag_token: The flag token. 38 type_start_token: The first token specifying the flag type, 40 type_end_token: The last token specifying the flag type, 43 name_token: The token specifying the flag name. 45 description_start_token: The first token in the description. 46 description_end_token: The end token in the description. 148 """Creates the DocFlag object and attaches it to the given start token. 151 flag_token: The starting token of the flag. 180 # Handle bad case, name could be immediately after flag token. 183 # Handle good case, if found token is after type start, look fo [all...] |
/external/chromium_org/third_party/closure_linter/closure_linter/ |
statetracker.py | 37 flag_token: The flag token. 38 type_start_token: The first token specifying the flag type, 40 type_end_token: The last token specifying the flag type, 43 name_token: The token specifying the flag name. 45 description_start_token: The first token in the description. 46 description_end_token: The end token in the description. 148 """Creates the DocFlag object and attaches it to the given start token. 151 flag_token: The starting token of the flag. 180 # Handle bad case, name could be immediately after flag token. 183 # Handle good case, if found token is after type start, look fo [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
LegacyCommonTokenStream.java | 32 /** The most common stream of tokens is one where every token is buffered up 37 * TODO: how to access the full token stream? How to track all tokens matched per rule? 42 /** Record every single token pulled from the source so we can reproduce 54 protected int channel = Token.DEFAULT_CHANNEL; 64 /** The index into the tokens list of the current token (next token 83 /** Reset this token stream by setting its token source. */ 88 channel = Token.DEFAULT_CHANNEL; 91 /** Load all tokens from the token source and put in tokens [all...] |