/dalvik/libcore/luni/src/main/java/java/util/ |
StringTokenizer.java | 27 * either at creation time or on a per-token basis. 34 * tokens. A token is a maximal sequence of consecutive code points that are not 37 * considered to be tokens. In this case a token will be received for each 41 * A token is thus either one delimiter code point, or a maximal sequence of 48 * A token is returned by taking a substring of the string that was used to 154 * {@code true} to return each delimiter as a token. 216 // it is a delimiter it is a token 227 * Returns the next token in the string as an {@code Object}. This method is 230 * @return next token in the string as an {@code Object} 239 * Returns the next token in the string as a {@code String} [all...] |
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/parsers/ |
DocumentBuilderImpl.java | 177 * @param endToken The token that will end this recursive call. Either 186 int token = parser.getEventType(); local 190 * token to be processed. This holds for each iteration of the loop, so 194 while (token != endToken && token != XmlPullParser.END_DOCUMENT) { 195 if (token == XmlPullParser.PROCESSING_INSTRUCTION) { 197 * Found a processing instructions. We need to split the token 209 } else if (token == XmlPullParser.DOCDECL) { 250 } else if (token == XmlPullParser.COMMENT) { 252 * Found a comment. We simply take the token text, but we onl [all...] |
/external/libpcap/ |
grammar.y | 169 %token DST SRC HOST GATEWAY 170 %token NET NETMASK PORT PORTRANGE LESS GREATER PROTO PROTOCHAIN CBYTE 171 %token ARP RARP IP SCTP TCP UDP ICMP IGMP IGRP PIM VRRP 172 %token ATALK AARP DECNET LAT SCA MOPRC MOPDL 173 %token TK_BROADCAST TK_MULTICAST 174 %token NUM INBOUND OUTBOUND 175 %token PF_IFNAME PF_RSET PF_RNR PF_SRNR PF_REASON PF_ACTION 176 %token LINK 177 %token GEQ LEQ NEQ 178 %token ID EID HID HID6 AI [all...] |
/packages/apps/IM/libwbxml/src/ |
wbxml_parser.cpp | 50 return ((TokenData *)t1)->token - ((TokenData *)t2)->token; 55 return ((AttrData *)t1)->token - ((AttrData *)t2)->token; 58 static bool isTagStart(int token) 60 if (token == TOKEN_SWITCH_PAGE) 63 token &= 0x3f; 64 return (token >= TOKEN_LITERAL && token < TOKEN_EXT_I_0); 67 static bool isAttrStart(int token) [all...] |
/external/bluetooth/glib/docs/reference/glib/tmpl/ |
scanner.sgml | 53 @token: token parsed by the last g_scanner_get_next_token() 54 @value: value of the last token from g_scanner_get_next_token() 55 @line: line number of the last token from g_scanner_get_next_token() 56 @position: char number of the last token from g_scanner_get_next_token() 57 @next_token: token parsed by the last g_scanner_peek_next_token() 58 @next_value: value of the last token from g_scanner_peek_next_token() 59 @next_line: line number of the last token from g_scanner_peek_next_token() 60 @next_position: char number of the last token from g_scanner_peek_next_token() 72 the parsing phase and will affect the lexical parsing of the next unpeeked token [all...] |
/external/srec/srec/crec/ |
srec_tokens.c | 66 /*allocates the token and sets it up for a given arc*/ 71 fsmarc_token *token; local 93 token = &(rec->fsmarc_token_array[token_to_return]); 95 token->FSMarc_index = fsm_arc_index; 97 token->num_hmm_states = rec->context->hmm_info_for_ilabel[arc->ilabel].num_states; 99 for (i = 0;i < token->num_hmm_states;i++) 101 token->cost[i] = MAXcostdata; 102 token->word[i] = MAXwordID; 103 token->word_backtrace[i] = MAXwtokenID; 104 token->duration[i] = MAXframeID [all...] |
/external/v8/src/ |
ast.cc | 95 Token::Value Assignment::binary_op() const { 97 case Token::ASSIGN_BIT_OR: return Token::BIT_OR; 98 case Token::ASSIGN_BIT_XOR: return Token::BIT_XOR; 99 case Token::ASSIGN_BIT_AND: return Token::BIT_AND; 100 case Token::ASSIGN_SHL: return Token::SHL; 101 case Token::ASSIGN_SAR: return Token::SAR [all...] |
/frameworks/base/core/java/android/app/ |
IBackupAgent.aidl | 44 * @param token Opaque token identifying this transaction. This must 54 int token, IBackupManager callbackBinder); 71 * @param token Opaque token identifying this transaction. This must 80 in ParcelFileDescriptor newState, int token, IBackupManager callbackBinder);
|
/hardware/libhardware_legacy/gps/ |
gps_qemu.c | 38 } Token; 44 Token tokens[ MAX_NMEA_TOKENS ]; 93 static Token 96 Token tok; 227 nmea_reader_update_time( NmeaReader* r, Token tok ) 264 nmea_reader_update_date( NmeaReader* r, Token date, Token time ) 266 Token tok = date; 291 convert_from_hhmm( Token tok ) 303 Token latitude [all...] |
/external/expat/lib/ |
xmltok.h | 12 /* The following token may be returned by XmlContentTok */ 22 #define XML_TOK_PARTIAL -1 /* only part of a token */ 75 /* The following token is returned only by XmlAttributeValueTok */ 78 /* The following token is returned only by XmlCdataSectionTok */ 177 token, but do not scan past eptr. Return an integer giving the 178 type of token. 183 token; nextTokPtr will not be set. 186 token; nextTokPtr will be set to point to the character which made 187 the token invalid. 189 Otherwise the string starts with a valid token; nextTokPtr will b [all...] |
/frameworks/base/tools/aidl/ |
aidl_language_y.y | 15 %token IMPORT 16 %token PACKAGE 17 %token IDENTIFIER 18 %token GENERIC 19 %token ARRAY 20 %token PARCELABLE 21 %token INTERFACE 22 %token IN 23 %token OUT 24 %token INOU [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
NotifyingAsyncQueryHandler.java | 42 void onQueryComplete(int token, Object cookie, Cursor cursor); 60 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { 63 listener.onQueryComplete(token, cookie, cursor);
|
/external/icu4c/tools/genrb/ |
parse.c | 63 /* keep in sync with token defines in read.h */ 66 "string", /* A string token, such as "MonthNames" */ 96 MAX_LOOKAHEAD lookahead tokens and a slot for the current token and value. 98 old slot is filled with the next token from the reader by calling getNextToken. 99 The token values are stored in the slot, which means that token values don't 219 enum ETokenType token = getToken(tokenValue, comment, &line, status); local 231 if (token != expectedToken) 234 error(line, "expecting %s, got %s", tokenNames[expectedToken], tokenNames[token]); 631 enum ETokenType token; local 814 enum ETokenType token; local 934 enum ETokenType token; local 1045 enum ETokenType token; local 1136 enum ETokenType token; local 1699 enum ETokenType token; local 1829 enum ETokenType token; local [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
ContextMenuBuilder.java | 72 * @param token Optional, the window token that should be set on the context 77 public MenuDialogHelper show(View originalView, IBinder token) { 88 helper.show(token);
|
/external/freetype/src/psaux/ |
psobjs.c | 508 /* the first character which isn't part of the just handled token. */ 595 " current token is `%c' which is self-delimiting\n" 615 /* `token' here means either something between balanced delimiters */ 616 /* or the next token; the delimiters are not removed. */ 620 T1_Token token ) 627 token->type = T1_TOKEN_TYPE_NONE; 628 token->start = 0; 629 token->limit = 0; 644 token->type = T1_TOKEN_TYPE_STRING; 645 token->start = cur 749 T1_TokenRec token; local 1030 T1_TokenRec token; local 1246 T1_Token token; local [all...] |
/external/webkit/WebKitTools/Scripts/ |
extract-localizable-strings | 141 my $token = $1; 143 if ($token eq "\"") { 149 if (s-^(([^\\$token]|\\.)*?)$token--) { 201 last if !defined $token; 204 $previousToken = $token; 206 if ($token =~ /^NSLocalized/ && $token !~ /NSLocalizedDescriptionKey/ && $token !~ /NSLocalizedStringFromTableInBundle/) { 211 } elsif ($token eq "/*") [all...] |
/external/icu4c/test/intltest/ |
wbnf.cpp | 797 token.append(0); // close buffer 813 Buffer_char token; member in class:Scanner 817 token.reset(); 847 token.append(c); 848 token.append(0); 853 case '$' : state = IN_VAR_FIRST; token.append(c); break; 858 } else if (isDigit(c)){ state = IN_NUM; token.append(c); 859 } else if (isAlphabet(c)){ state = IN_STRING; token.append(c); 865 token.append(c); 872 token.append(c) 946 TokenType & token; member in class:Parser [all...] |
/external/webkit/WebCore/html/ |
HTMLViewSourceDocument.cpp | 102 void HTMLViewSourceDocument::addViewSourceToken(Token* token) 107 if (token->tagName == textAtom) 108 addText(token->text.get(), ""); 109 else if (token->tagName == commentAtom) { 110 if (token->beginTag) { 112 addText(String("<!--") + token->text.get() + "-->", "webkit-html-comment"); 120 if (!token->beginTag) 122 text += token->tagName; 123 Vector<UChar>* guide = token->m_sourceInfo.get() [all...] |
/external/e2fsprogs/misc/ |
util.c | 179 char *buf, *token, *next, *p, *arg; local 191 for (token = buf; token && *token; token = next) { 192 p = strchr(token, ','); 198 arg = strchr(token, '='); 204 printf("Journal option=%s, argument=%s\n", token, 207 if (strcmp(token, "device") == 0) { 213 } else if (strcmp(token, "size") == 0) [all...] |
/external/icu4c/i18n/ |
plurrule.cpp | 285 UnicodeString token; local 298 mParser->getNextToken(ruleData, &ruleIndex, token, type, status); 340 curAndConstraint->opNum=getNumberValue(token); 344 curAndConstraint->rangeLow=getNumberValue(token); 347 curAndConstraint->rangeHigh=getNumberValue(token); 366 ruleChain->keyword = token; 376 PluralRules::getNumberValue(const UnicodeString& token) const { 380 i = token.extract(0, token.length(), digits, ARRAY_SIZE(digits), US_INV); 963 UnicodeString& token, [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
AsyncQueryHandlerTest.java | 385 private void startQuery(int token, Object cookie, Uri uri, String[] projection, 390 mAsyncHandler.startQuery(token, cookie, uri, projection, 394 private void startInsert(int token, Object cookie, Uri uri, 399 mAsyncHandler.startInsert(token, cookie, uri, initialValues); 402 private void startUpdate(int token, Object cookie, Uri uri, ContentValues values, 407 mAsyncHandler.startUpdate(token, cookie, uri, values, selection, selectionArgs); 410 private void startDelete(int token, Object cookie, Uri uri, String selection, 415 mAsyncHandler.startDelete(token, cookie, uri, selection, selectionArgs); 448 protected void onDeleteComplete(int token, Object cookie, int result) { 449 super.onDeleteComplete(token, cookie, result) [all...] |
/external/webkit/WebCore/css/ |
CSSGrammar.y | 106 %token WHITESPACE SGML_CD 107 %token TOKEN_EOF 0 109 %token INCLUDES 110 %token DASHMATCH 111 %token BEGINSWITH 112 %token ENDSWITH 113 %token CONTAINS 115 %token <string> STRING 117 %token <string> NTH 128 %token IMPORT_SY [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
TokenWatcherTest.java | 159 IBinder token = mEmptyService.getToken(); local 166 mMockTokenWatcher.acquire(token, TAG); 171 mMockTokenWatcher.acquire(token, TAG); 177 mMockTokenWatcher.release(token); 183 mMockTokenWatcher.release(token); 201 IBinder token = mEmptyService.getToken(); local 208 mMockTokenWatcher.acquire(token, TAG); 213 mMockTokenWatcher.cleanup(token, true);
|
/external/v8/test/cctest/ |
test-lock.cc | 19 CHECK_EQ(0, mutex->Lock()); // acquire the lock with the right token 20 CHECK_EQ(0, mutex->Unlock()); // can unlock with the right token
|
/packages/apps/IM/libwbxml/include/ |
wbxml_tabledef.h | 27 int token; member in struct:tagTokenData 33 int token; member in struct:tagAttrData
|