/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ |
charptr.c | 47 zzcr_attr(Attrib *a,int token,char *text)
49 zzcr_attr(a,token,text)
51 int token;
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
UnwantedTokenException.java | 30 /** An extra token while parsing a TokenStream */ 39 public Token getUnexpectedToken() { 40 return token; 45 if ( expecting==Token.INVALID_TOKEN_TYPE ) { 48 if ( token==null ) { 51 return "UnwantedTokenException(found="+token.getText()+exp+")";
|
/frameworks/base/core/java/android/app/servertransaction/ |
BaseClientRequest.java | 34 * @param token Target activity token. 36 default void preExecute(ClientTransactionHandler client, IBinder token) { 42 * @param token Target activity token. 45 void execute(ClientTransactionHandler client, IBinder token, 51 * @param token Target activity token. 54 default void postExecute(ClientTransactionHandler client, IBinder token,
|
/frameworks/base/core/java/android/content/pm/ |
KeySet.java | 31 private IBinder token; field in class:KeySet 34 public KeySet(IBinder token) { 35 if (token == null) { 36 throw new NullPointerException("null value for KeySet IBinder token"); 38 this.token = token; 43 return token; 51 return token == ks.token; 59 return token.hashCode() 90 IBinder token = in.readStrongBinder(); local [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
LockSettingsInternal.java | 28 * Create an escrow token for the current user, which can later be used to unlock FBE 32 * confirm credential operation in order to activate the token for future use. If the user 33 * has no secure lockscreen, then the token is activated immediately. 35 * @return a unique 64-bit token handle which is needed to refer to this token later. 37 public abstract long addEscrowToken(byte[] token, int userId); 40 * Remove an escrow token. 41 * @return true if the given handle refers to a valid token previously returned from 47 * Check if the given escrow token is active or not. Only active token can be used to cal [all...] |
/frameworks/compile/mclinker/lib/Script/ |
ScriptScanner.ll | 19 typedef mcld::ScriptParser::token token; 22 #define yyterminate() return token::END 68 return token::LINKER_SCRIPT; 79 <LDSCRIPT>"ENTRY" { return token::ENTRY; } 81 <LDSCRIPT>"INCLUDE" { return token::INCLUDE; } 82 <LDSCRIPT>"INPUT" { return token::INPUT; } 83 <LDSCRIPT>"GROUP" { return token::GROUP; } 84 <LDSCRIPT>"AS_NEEDED" { return token::AS_NEEDED; } 85 <LDSCRIPT>"OUTPUT" { return token::OUTPUT; [all...] |
/external/doclava/src/com/google/doclava/apicheck/ |
ApiFile.java | 74 String token = tokenizer.getToken(); local 75 if (token == null) { 78 if ("package".equals(token)) { 81 throw new ApiParseException("expected package got " + token, tokenizer.getLine()); 93 String token; local 97 token = tokenizer.requireToken(); 98 assertIdent(tokenizer, token); 99 name = token; 101 token = tokenizer.requireToken(); 102 if (!"{".equals(token)) { 509 String token; local 585 String token = tokenizer.requireToken(); local 674 final String token = getToken(parenIsSep); local [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/ |
HtmlLexer.java | 78 * Makes sure that this.token contains a token if one is available. 84 HtmlToken token = readToken(); local 85 if (token == null) { return null; } 87 switch (token.type) { 94 if (state == State.SAW_EQ && HtmlTokenType.TAGEND == token.type) { 97 pushbackToken(token); 100 token.start, token.start, HtmlTokenType.ATTRVALUE); 115 if (HtmlTokenType.TEXT == token.typ 295 HtmlToken token = parseToken(); local [all...] |
/system/core/libpixelflinger/codeflinger/ |
Arm64Disassembler.cpp | 95 static void get_token(const char *instr, uint32_t index, char *token) 102 token[j++] = instr[i]; 111 token[j++] = instr[i]; 114 token[j] = '\0'; 134 static void decode_token(uint32_t code, char *token, char *instr_part) 136 if(strcmp(token, "<imm1>") == 0) 138 else if(strcmp(token, "<imm2>") == 0) 140 else if(strcmp(token, "<shift1>") == 0) 142 else if(strcmp(token, "<shift2>") == 0) 147 else if(strcmp(token, "<shift3>") == 0 273 char token[256]; local [all...] |
/packages/services/Car/service/src/com/android/car/ |
CarTestService.java | 68 public void stopCarService(IBinder token) throws RemoteException { 69 Log.d(TAG, "stopCarService, token: " + token); 73 if (mTokens.containsKey(token)) { 74 Log.w(TAG, "Calling stopCarService twice with the same token."); 78 TokenDeathRecipient deathRecipient = new TokenDeathRecipient(token); 79 mTokens.put(token, deathRecipient); 80 token.linkToDeath(deathRecipient, 0); 89 public void startCarService(IBinder token) throws RemoteException { 90 Log.d(TAG, "startCarService, token: " + token) [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
MissingTokenException.pm | 23 if (defined (my $inserted = $self->inserted) && defined (my $token = $self->token)) { 24 return "MissingTokenException(inserted $inserted at " . $token->get_text() . ")"; 26 if (defined $self->token) { 27 return "MissingTokenException(at " . $self->token->get_text() . ")";
|
/frameworks/native/services/sensorservice/hidl/ |
DirectReportChannel.cpp | 36 int token = mManager.configureDirectChannel(mId, local 38 _hidl_cb(token <= 0 ? 0 : token, 39 token <= 0 ? convertResult(token) : Result::OK);
|
/external/nist-sip/java/gov/nist/javax/sip/header/ims/ |
PMediaAuthorization.java | 51 * P-Media-Authorization-Token 52 * *(COMMA P-Media-Authorization-Token) 53 * P-Media-Authorization-Token = 1*HEXDIG 70 * P-Media-Authorization Token 72 private String token; field in class:PMediaAuthorization 85 * Get the media authorization token. 87 * @return token 91 return token; 96 * Set the media authorization token. 98 * @param token - media authorization token to se [all...] |
/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/hlsl/ |
hlslTokenStream.cpp | 69 // already pre-processed token stream. 71 // This interrupts current token processing which must be restored 81 currentTokenStack.push_back(token); 83 // set up new token stream 86 // start position at first token: 87 token = (*tokens)[0]; 96 token = currentTokenStack.back(); 100 // Load 'token' with the next token in the stream of tokens. 103 pushTokenBuffer(token); [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarSpelunker.java | 49 protected String token; field in class:GrammarSpelunker 65 void consume() throws IOException { token = scanner.nextToken(); } 68 //System.out.println("match "+expecting+"; is "+token); 69 if ( token.equals(expecting) ) consume(); 70 else throw new Error("Error parsing "+grammarFileName+": '"+token+ 82 while ( token!=null && !token.equals("@") && !token.equals(":") && 83 !token.equals("import") && !token.equals("options") [all...] |
/frameworks/base/media/lib/tvremote/java/com/android/media/tv/remoteprovider/ |
TvRemoteProvider.java | 97 * @param token Identifier for the connection. Null, if failed. 99 public void onInputBridgeConnected(IBinder token) { 113 * Clients should pass in a token that can be used to match this request with a token that 114 * will be returned by {@link TvRemoteProvider#onInputBridgeConnected(IBinder token)} 116 * The token should be used for subsequent calls. 120 * @param token Identifier for this connection 126 public void openRemoteInputBridge(IBinder token, String name, int width, int height, 129 mRemoteServiceInput.openInputBridge(token, name, width, height, maxPointers); 138 * @param token identifier for this connectio [all...] |
/prebuilts/go/darwin-x86/src/go/scanner/ |
scanner_test.go | 8 "go/token" 16 var fset = token.NewFileSet() 25 func tokenclass(tok token.Token) int { 38 tok token.Token 45 {token.COMMENT, "/* a comment */", special}, 46 {token.COMMENT, "// a comment \n", special}, 47 {token.COMMENT, "/*\r*/", special}, 48 {token.COMMENT, "//\r\n", special} [all...] |
/prebuilts/go/linux-x86/src/go/scanner/ |
scanner_test.go | 8 "go/token" 16 var fset = token.NewFileSet() 25 func tokenclass(tok token.Token) int { 38 tok token.Token 45 {token.COMMENT, "/* a comment */", special}, 46 {token.COMMENT, "// a comment \n", special}, 47 {token.COMMENT, "/*\r*/", special}, 48 {token.COMMENT, "//\r\n", special} [all...] |
/external/autotest/frontend/client/src/autotest/common/ |
CustomHistory.java | 27 HistoryToken token = new HistoryToken(); local 28 Utils.decodeUrlArguments(tokenString, token); 29 return token; 48 public static void simulateHistoryToken(HistoryToken token) { 49 theInstance.processHistoryTokenString(token.toString()); 62 HistoryToken token; local 64 token = HistoryToken.fromString(historyTokenString); 69 if (token.equals(lastHistoryToken)) { 73 lastHistoryToken = token; 76 listener.onHistoryChanged(token); [all...] |
/external/libchrome/base/strings/ |
string_tokenizer_unittest.cc | 20 EXPECT_EQ(string("this"), t.token()); 23 EXPECT_EQ(string("is"), t.token()); 26 EXPECT_EQ(string("a"), t.token()); 29 EXPECT_EQ(string("test"), t.token()); 40 EXPECT_EQ(string("this"), t.token()); 43 EXPECT_EQ(string("is"), t.token()); 46 EXPECT_EQ(string("a"), t.token()); 49 EXPECT_EQ(string("test"), t.token()); 62 EXPECT_EQ(string("this"), t.token()); 65 EXPECT_EQ(string(" "), t.token()); [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
HanziToPinyin.java | 40 public static class Token { 50 public Token() { 53 public Token(int type, String source, String target) { 60 * Type of this token, ASCII, PINYIN or UNKNOWN. 98 private void tokenize(char character, Token token) { 99 token.source = Character.toString(character); 103 token.type = Token.LATIN; 104 token.target = token.source 147 Token token = new Token(); local [all...] |
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3commontoken.h | 2 * \brief Defines the interface for a common token. 4 * All token streams should provide their tokens using an instance 5 * of this common token. A custom pointer is provided, wher you may attach 6 * a further structure to enhance the common token if you feel the need 7 * to do so. The C runtime will assume that a token provides implementations 45 /** How many tokens to allocate at once in the token factory 49 /* Base token types, which all lexer/parser tokens come after in sequence. 52 /** Indicator of an invalid token 58 /** Imaginary token type to cause a traversal of child nodes in a tree parser 62 /** Imaginary token type to signal the end of a stream of child nodes [all...] |
/frameworks/base/core/java/android/os/ |
TokenWatcher.java | 65 * Record that this token has been acquired. When acquire is called, and 69 * Note that the same {@code token} can only be acquired once. If this 70 * {@code token} has already been acquired, no action is taken. The first 71 * subsequent call to {@link #release} will release this {@code token} 74 * @param token An IBinder object. 78 public void acquire(IBinder token, String tag) 81 if (mTokens.containsKey(token)) { 89 Death d = new Death(token, tag); 91 token.linkToDeath(d, 0); 95 mTokens.put(token, d) 196 IBinder token; field in class:TokenWatcher.Death [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
SessionToken2Test.java | 51 SessionToken2 token = new SessionToken2(mContext, mContext.getPackageName(), local 53 assertEquals(MockMediaSessionService2.ID, token.getId()); 54 assertEquals(mContext.getPackageName(), token.getPackageName()); 55 assertEquals(Process.myUid(), token.getUid()); 56 assertEquals(SessionToken2.TYPE_SESSION_SERVICE, token.getType()); 61 SessionToken2 token = new SessionToken2(mContext, mContext.getPackageName(), local 63 assertEquals(MockMediaLibraryService2.ID, token.getId()); 64 assertEquals(mContext.getPackageName(), token.getPackageName()); 65 assertEquals(Process.myUid(), token.getUid()); 66 assertEquals(SessionToken2.TYPE_LIBRARY_SERVICE, token.getType()) [all...] |
/external/deqp/framework/randomshaders/ |
rsgPrettyPrinter.cpp | 123 inline const char* PrettyPrinter::getSimpleTokenStr (Token::Type token) 125 DE_ASSERT(de::inBounds<int>(token, 0, (int)DE_LENGTH_OF_ARRAY(s_tokenStr))); 126 return s_tokenStr[token]; 140 void PrettyPrinter::processToken (const Token& token) 144 switch (token.getType()) 146 case Token::IDENTIFIER: 149 m_line += token.getIdentifier(); 152 case Token::FLOAT_LITERAL [all...] |