/frameworks/base/core/jni/ |
android_util_XmlBlock.cpp | 72 jint token) 74 ResXMLTree* osb = (ResXMLTree*)token; 84 jint token) 86 ResXMLTree* osb = (ResXMLTree*)token; 104 jint token) 106 ResXMLParser* st = (ResXMLParser*)token; 136 jint token) 138 ResXMLParser* st = (ResXMLParser*)token; 147 jint token) 149 ResXMLParser* st = (ResXMLParser*)token; [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
HanziToPinyinTest.java | 28 import com.android.internal.util.HanziToPinyin.Token; 44 ArrayList<Token> tokens = HanziToPinyin.getInstance().get(ONE_HANZI); 46 assertEquals(tokens.get(0).type, Token.PINYIN); 51 assertEquals(tokens.get(0).type, Token.PINYIN); 52 assertEquals(tokens.get(1).type, Token.PINYIN); 58 assertEquals(tokens.get(0).type, Token.LATIN); 62 assertEquals(tokens.get(0).type, Token.UNKNOWN); 66 assertEquals(tokens.get(0).type, Token.LATIN); 67 assertEquals(tokens.get(1).type, Token.PINYIN); 68 assertEquals(tokens.get(2).type, Token.LATIN) [all...] |
/frameworks/base/core/java/com/google/android/util/ |
SmileyParser.java | 64 ArrayList<Token> tokens = part.getTokens(); 67 Token token = tokens.get(i); local 69 builder.append(token.getRawText()); 70 if (token.getType() == AbstractMessageParser.Token.Type.SMILEY) { 71 int resid = mRes.getSmileyRes(token.getRawText());
|
/packages/apps/Mms/src/com/android/mms/util/ |
SendingProgressTokenManager.java | 38 Long token = TOKEN_POOL.get(key); local 40 Log.v(TAG, "TokenManager.get(" + key + ") -> " + token); 42 return token != null ? token : NO_TOKEN; 45 synchronized public static void put(Object key, long token) { 47 Log.v(TAG, "TokenManager.put(" + key + ", " + token + ")"); 49 TOKEN_POOL.put(key, token);
|
/frameworks/base/core/java/android/os/ |
TokenWatcher.java | 57 * Record that this token has been acquired. When acquire is called, and 61 * @param token An IBinder object. If this token has already been acquired, 66 public void acquire(IBinder token, String tag) 73 Death d = new Death(token, tag); 75 token.linkToDeath(d, 0); 79 mTokens.put(token, d); 88 public void cleanup(IBinder token, boolean unlink) 91 Death d = mTokens.remove(token); 93 d.token.unlinkToDeath(d, 0) 164 IBinder token; field in class:TokenWatcher.Death [all...] |
IVibratorService.aidl | 22 void vibrate(long milliseconds, IBinder token); 23 void vibratePattern(in long[] pattern, int repeat, IBinder token); 24 void cancelVibrate(IBinder token);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactLocaleUtils.java | 27 import com.android.internal.util.HanziToPinyin.Token; 64 ArrayList<Token> tokens = HanziToPinyin.getInstance().get(displayName); 67 for (Token token : tokens) { 70 if (Token.PINYIN == token.type) { 74 sb.append(token.target); 76 sb.append(token.source); 81 sb.append(token.source); 93 ArrayList<Token> tokens = HanziToPinyin.getInstance().get(name) 102 final Token token = tokens.get(i); local [all...] |
/external/emma/core/java12/com/vladium/util/args/ |
OptsParser.java | 439 // if the current optdef calls for more values, consume the next token 1334 final Token token = (Token) KEYWORDS.get (value.toString ()); local [all...] |
/external/srec/srec/EventLog/src/ |
EventLog.c | 36 ESR_ReturnCode SR_EventLogToken(SR_EventLog* self, const LCHAR* token, const LCHAR *value) 43 return self->token(self, token, value); 46 ESR_ReturnCode SR_EventLogTokenInt(SR_EventLog* self, const LCHAR* token, int value) 53 return self->tokenInt(self, token, value); 56 ESR_ReturnCode SR_EventLogTokenUint16_t(SR_EventLog* self, const LCHAR* token, asr_uint16_t value) 63 return self->tokenUint16_t(self, token, value); 66 ESR_ReturnCode SR_EventLogTokenSize_t(SR_EventLog* self, const LCHAR* token, size_t value) 73 return self->tokenSize_t(self, token, value); 76 ESR_ReturnCode SR_EventLogTokenBool(SR_EventLog* self, const LCHAR* token, ESR_BOOL value [all...] |
/external/webkit/WebCore/xml/ |
XPathParser.h | 47 struct Token { 54 Token(int t) : type(t) {} 55 Token(int t, const String& v): type(t), str(v) {} 56 Token(int t, Step::Axis v): type(t), axis(v) {} 57 Token(int t, NumericOp::Opcode v): type(t), numop(v) {} 58 Token(int t, EqTestOp::Opcode v): type(t), eqop(v) {} 96 Token makeTokenAndAdvance(int type, int advance = 1); 97 Token makeTokenAndAdvance(int type, NumericOp::Opcode, int advance = 1); 98 Token makeTokenAndAdvance(int type, EqTestOp::Opcode, int advance = 1); 102 Token lexString() [all...] |
/external/icu4c/tools/genrb/ |
read.c | 41 struct UString *token, 44 static UChar32 getNextChar (UCHARBUF *buf, UBool skipwhite, struct UString *token, UErrorCode *status); 45 static void seekUntilNewline (UCHARBUF *buf, struct UString *token, UErrorCode *status); 46 static void seekUntilEndOfComment (UCHARBUF *buf, struct UString *token, UErrorCode *status); 54 /* Read and return the next token from the stream. If the token is of 55 type eString, fill in the token parameter with the token. If the 56 token is eError, then the status parameter will contain the 63 struct UString *token, [all...] |
/packages/apps/IM/libwbxml/include/ |
csp13_hash.h | 27 * @return integer value with code page in bit 8-15 and tag token in bit 0-7; -1 if not a CSP 1.3 tag 38 * @param str Value token string 39 * @param len Length of the value token 40 * @return token value ; -1 if not a valid CSP 1.3 value token
|
/frameworks/base/media/libdrm/mobile2/src/rights/ |
Ro.cpp | 176 const DOMString *token = NULL; local 177 token = static_cast<const XMLElementImpl*>(node)->getSoloText(STR_RO_CONTEXT_ID); 179 if (token) 181 LOGI(*token); 182 mRoID = *token; 185 token = static_cast<const XMLElementImpl*>(node)->getSoloText(STR_RO_CONTEXT_VERSION); 186 if (token) 188 LOGI(*token); 189 mRoVersion = *token; 275 const string *token = NULL local 368 const string *token = NULL; local 484 const string *token = NULL; local [all...] |
/external/v8/src/ |
scanner.h | 31 #include "token.h" 151 KeywordMatcher() : state_(INITIAL), token_(Token::IDENTIFIER) {} 153 Token::Value token() { return token_; } function in class:v8::internal::KeywordMatcher 162 token_ = Token::IDENTIFIER; 192 Token::Value token; member in struct:v8::internal::KeywordMatcher::FirstState 205 // Token for currently added characters. 206 Token::Value token_; 212 Token::Value keyword_token_ 375 Token::Value token; member in struct:v8::internal::Scanner::TokenDesc [all...] |
/external/e2fsprogs/lib/blkid/ |
resolve.c | 56 * Locate a device name from a token (NAME=value string), or (name, value) 57 * pair. In the case of a token, value is ignored. If the "token" is not 61 char *blkid_get_devname(blkid_cache cache, const char *token, 69 if (!token) 78 printf("looking for %s%s%s %s\n", token, value ? "=" : "", 82 if (!strchr(token, '=')) { 83 ret = blkid_strdup(token); 86 blkid_parse_tag_string(token, &t, &v); 89 token = t [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/ |
DateTimeParser.java | 38 private static int parseDigits(Token token) { 39 return Integer.parseInt(token.image, 10); 198 {if (true) return token.image;} 212 Token t; 277 Token t; 303 Token t; 310 Token t; 317 Token t; 324 Token t, u; int z 411 public Token token, jj_nt; field in class:DateTimeParser [all...] |
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/CLI/ |
console.c | 158 Description: Add token 161 name - token name 163 p_func - token handler 195 /* Initialize token structure */ 206 p_token->sel = Token; 207 p_token->u.token.f_tokenFunc = p_func; 217 ConParm_t *p_token_parm = &p_token->u.token.parm[i]; 249 p_token_parm->name = (const char *)p_token->u.token.name[i]; 250 strncpy( p_token->u.token.name[i], p_parms->name, MAX_NAME_LEN ); 261 /* Add token to the directory * [all...] |
/cts/tools/dasm/src/java_cup/runtime/ |
char_token.java | 4 /** This subclass of token represents symbols that need to maintain one 13 public class char_token extends token {
|
double_token.java | 4 /** This subclass of token represents symbols that need to maintain one 13 public class double_token extends token {
|
float_token.java | 4 /** This subclass of token represents symbols that need to maintain one 13 public class float_token extends token {
|
int_token.java | 4 /** This subclass of token represents symbols that need to maintain one 13 public class int_token extends token {
|
long_token.java | 4 /** This subclass of token represents symbols that need to maintain one 13 public class long_token extends token {
|
str_token.java | 4 /** This subclass of token represents symbols that need to maintain one 13 public class str_token extends token {
|
token.java | 13 public class token extends symbol { class in inherits:symbol 16 public token(int term_num) method in class:token
|
/external/srec/srec/crec/ |
priority_q.c | 77 word_token *token; local 87 token = &(word_token_array[*ptoken_index]); 88 if (token->end_node != end_node) 91 *ptoken_index = token->next_token_index; 98 if ((pq->max_cost_in_q == MAXcostdata) || (token->cost > pq->max_cost_in_q)) 100 pq->max_cost_in_q = token->cost; 102 ptoken_index = &(token->next_token_index); 164 word_token* token; local 169 token = &(word_token_array[token_index]); 170 token_index = token->next_token_index 189 word_token *token; local [all...] |