/external/qemu/ |
json-parser.h | 20 QObject *json_parser_parse(QList *tokens, va_list *ap);
|
json-streamer.h | 22 void (*emit)(struct JSONMessageParser *parser, QList *tokens); 26 QList *tokens; member in struct:JSONMessageParser
|
json-streamer.c | 52 qlist_append(parser->tokens, dict); 56 parser->emit(parser, parser->tokens); 57 QDECREF(parser->tokens); 58 parser->tokens = qlist_new(); 68 parser->tokens = qlist_new(); 87 QDECREF(parser->tokens);
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
SplitTest.java | 101 String tokens[]; local 103 tokens = p.split(input, 1); 104 assertEquals(1, tokens.length); 105 assertTrue(tokens[0].equals(input)); 106 tokens = p.split(input, 2); 107 assertEquals(2, tokens.length); 108 assertEquals("poodle", tokens[0]); 109 assertEquals("zoo", tokens[1]); 110 tokens = p.split(input, 5); 111 assertEquals(2, tokens.length) [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
HanziToPinyinTest.java | 44 ArrayList<Token> tokens = HanziToPinyin.getInstance().get(ONE_HANZI); local 45 assertEquals(tokens.size(), 1); 46 assertEquals(tokens.get(0).type, Token.PINYIN); 47 assertTrue(tokens.get(0).target.equalsIgnoreCase("DU")); 49 tokens = HanziToPinyin.getInstance().get(TWO_HANZI); 50 assertEquals(tokens.size(), 2); 51 assertEquals(tokens.get(0).type, Token.PINYIN); 52 assertEquals(tokens.get(1).type, Token.PINYIN); 53 assertTrue(tokens.get(0).target.equalsIgnoreCase("DU")); 54 assertTrue(tokens.get(1).target.equalsIgnoreCase("JUAN")) [all...] |
/external/chromium/net/tools/flip_server/ |
balsa_headers_token_utils.cc | 13 BalsaHeaders::HeaderTokenList* tokens) { 14 CHECK(tokens); 24 ParseTokenList(value_begin, line_end, tokens); 46 BalsaHeaders::HeaderTokenList tokens; local 47 TokenizeHeaderLine(*headers, *header_line, &tokens); 49 if (tokens.empty()) { 53 } else if (tokens.size() == 1) { 57 const base::StringPiece& new_last_token = tokens[tokens.size() - 2]; 84 BalsaHeaders::HeaderTokenList tokens; local [all...] |
balsa_headers_token_utils.h | 5 // Utility class that performs basic operations on header value tokens: parsing 6 // them out, checking for presense of certain tokens, and removing them. 29 // with that key, all of them will be tokenized and tokens will be added to 33 BalsaHeaders::HeaderTokenList* tokens); 42 // in some buffer, populates tokens list with beginning and end indices 43 // of all tokens present in the value string. 46 BalsaHeaders::HeaderTokenList* tokens); 53 BalsaHeaders::HeaderTokenList* tokens);
|
/dalvik/vm/compiler/template/ |
gen-template.py | 49 # Set handler_size_bytes to the value of tokens[1], and handler_size_bits to 53 def setHandlerSize(tokens): 55 if len(tokens) != 2: 61 handler_size_bytes = bytes = int(tokens[1]) 76 def importFile(tokens): 77 if len(tokens) != 2: 79 source = tokens[1] 81 appendSourceFile(tokens[1], getGlobalSubDict(), asm_fp, None) 90 def setAsmStub(tokens): 92 if len(tokens) != 2 384 tokens = line.split(' ') # tokenize variable [all...] |
/external/webkit/WebCore/loader/ |
FTPDirectoryParser.cpp | 119 const char *tokens[16]; /* 16 is more than enough */ local 120 unsigned int toklen[(sizeof(tokens)/sizeof(tokens[0]))]; 130 tokens[0] = state.carryBuffer; 136 while (pos < linelen && numtoks < (sizeof(tokens)/sizeof(tokens[0])) ) 143 tokens[numtoks] = &line[pos]; 147 if (tokens[numtoks] != &line[pos]) 149 toklen[numtoks] = (&line[pos] - tokens[numtoks]); 158 linelen_sans_wsp = &(tokens[numtoks-1][toklen[numtoks-1]]) - tokens[0] [all...] |
/dalvik/vm/mterp/ |
gen-mterp.py | 49 # Set handler_size_bytes to the value of tokens[1], and handler_size_bits to 53 def setHandlerSize(tokens): 55 if len(tokens) != 2: 61 handler_size_bytes = bytes = int(tokens[1]) 76 def importFile(tokens): 77 if len(tokens) != 2: 79 source = tokens[1] 81 appendSourceFile(tokens[1], getGlobalSubDict(), c_fp, None) 83 appendSourceFile(tokens[1], getGlobalSubDict(), asm_fp, None) 92 def setAsmStub(tokens) 438 tokens = line.split(' ') # tokenize variable [all...] |
/cts/tools/dasm/src/dasm/tokens/ |
relative_number_token.java | 17 package dasm.tokens;
|
number_token.java | 17 package dasm.tokens;
|
variant_token.java | 17 package dasm.tokens;
|
/frameworks/ex/common/java/com/android/common/ |
Rfc822Validator.java | 64 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize(text); local 66 return tokens.length == 1 && 68 matcher(tokens[0].getAddress()).matches(); 110 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize(cs); 113 for (int i = 0; i < tokens.length; i++) { 114 String text = tokens[i].getAddress(); 118 tokens[i].setAddress(removeIllegalCharacters(text) + "@" + mDomain); 123 tokens[i].setAddress(fix + "@" + (domain.length() != 0 ? domain : mDomain)); 126 sb.append(tokens[i].toString()); 127 if (i + 1 < tokens.length) [all...] |
/external/chromium/net/ftp/ |
ftp_util.cc | 25 std::vector<std::string> tokens; local 27 tokens.push_back(tokenizer.token()); 32 if (tokens.empty()) { 37 if (tokens.size() == 1) 40 std::string result(tokens[0] + ":["); 41 if (tokens.size() == 2) { 45 result.append(tokens[1]); 46 for (size_t i = 2; i < tokens.size() - 1; i++) 47 result.append("." + tokens[i]); 49 result.append("]" + tokens[tokens.size() - 1]) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
Server.java | 53 /** Product tokens. 62 StringBuffer tokens = new StringBuffer(); local 66 tokens.append((String) it.next()); 68 tokens.append('/'); 72 return tokens.toString();
|
/frameworks/base/opengl/libagl/ |
TokenManager.cpp | 35 status_t TokenManager::getToken(GLsizei n, GLuint *tokens) 39 *tokens++ = mTokenizer.acquire(); 43 void TokenManager::recycleTokens(GLsizei n, const GLuint *tokens) 47 const GLuint token = *tokens++;
|
TokenManager.h | 40 status_t getToken(GLsizei n, GLuint *tokens); 41 void recycleTokens(GLsizei n, const GLuint *tokens);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
NameSplitter.java | 214 // Iterate over tokens, skipping over empty ones and marking tokens that 299 * Parses a full name and returns components as a list of tokens. 301 public int tokenize(String[] tokens, String fullName) { 318 tokens[count++] = tokenizer.mTokens[i]; 363 NameTokenizer tokens = new NameTokenizer(fullName); local 364 parsePrefix(name, tokens); 366 // If the name consists of just one or two tokens, treat them as first/last name, 368 if (tokens.mEndPointer > 2) { 369 parseSuffix(name, tokens); [all...] |
/external/bluetooth/glib/gio/ |
gicon.c | 166 GPtrArray *tokens; local 180 tokens = g_ptr_array_new (); 181 if (!icon_iface->to_tokens (icon, tokens, &version)) 183 g_ptr_array_free (tokens, TRUE); 189 all the tokens are url escaped to ensure they have no spaces in them */ 195 for (i = 0; i < tokens->len; i++) 199 token = g_ptr_array_index (tokens, i); 209 g_ptr_array_free (tokens, TRUE); 301 g_icon_new_from_tokens (char **tokens, 317 num_tokens = g_strv_length (tokens); 458 gchar **tokens; local [all...] |
/frameworks/base/opengl/tools/glgen/src/ |
CFunc.java | 112 String[] tokens = s.split("\\s"); local 116 String ftypeName = tokens[i++]; 119 ftypeName = tokens[i++]; 123 String fname = tokens[i++]; 126 fname = tokens[i++]; 132 while (i < tokens.length) { 133 String tok = tokens[i++]; 149 argTypeName = tokens[i++]; 157 argName = tokens[i++];
|
ParameterChecker.java | 27 String[] tokens = s.split("\\s"); local 28 map.put(tokens[0], tokens);
|
/external/quake/quake/src/QW/gas2masm/ |
gas2masm.c | 39 char tokens[MAX_TOKENS][MAX_TOKEN_LENGTH+1];
variable 109 pt = tokens[tnum];
229 tokens[tnum]);
350 printf (" %s,", tokens[i]);
352 printf (" %s", tokens[tokennum-1]);
359 printf (" %s", tokens[1]);
367 if (tokens[1][0] == '*')
369 printf (" dword ptr[%s]", &tokens[1][1]);
374 len = strlen(tokens[1]);
378 if (tokens[1][i] == '(') [all...] |
/external/quake/quake/src/WinQuake/gas2masm/ |
gas2masm.c | 39 char tokens[MAX_TOKENS][MAX_TOKEN_LENGTH+1];
variable 109 pt = tokens[tnum];
229 tokens[tnum]);
350 printf (" %s,", tokens[i]);
352 printf (" %s", tokens[tokennum-1]);
359 printf (" %s", tokens[1]);
367 if (tokens[1][0] == '*')
369 printf (" dword ptr[%s]", &tokens[1][1]);
374 len = strlen(tokens[1]);
378 if (tokens[1][i] == '(') [all...] |
/external/webkit/WebKit/chromium/src/ |
InspectorClientImpl.cpp | 182 Vector<String> tokens; local 183 it->split(":", tokens); 184 if (tokens.size() < 3) 187 String name = decodeURLEscapeSequences(tokens[0]); 188 String type = tokens[1]; 189 String value = tokens[2]; 190 for (size_t i = 3; i < tokens.size(); ++i) 191 value += ":" + tokens[i];
|