Home
last modified time | relevance | path

Searched refs:tokenizer (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/libs/input/
DVirtualKeyMap.cpp52 Tokenizer* tokenizer; in load() local
53 status_t status = Tokenizer::open(filename, &tokenizer); in load()
65 Parser parser(map, tokenizer); in load()
70 tokenizer->getFilename().string(), tokenizer->getLineNumber(), in load()
79 delete tokenizer; in load()
87 VirtualKeyMap::Parser::Parser(VirtualKeyMap* map, Tokenizer* tokenizer) : in Parser() argument
88 mMap(map), mTokenizer(tokenizer) { in Parser()
DKeyLayoutMap.cpp55 Tokenizer* tokenizer; in load() local
56 status_t status = Tokenizer::open(filename, &tokenizer); in load()
68 Parser parser(map.get(), tokenizer); in load()
73 tokenizer->getFilename().string(), tokenizer->getLineNumber(), in load()
80 delete tokenizer; in load()
191 KeyLayoutMap::Parser::Parser(KeyLayoutMap* map, Tokenizer* tokenizer) : in Parser() argument
192 mMap(map), mTokenizer(tokenizer) { in Parser()
DKeyCharacterMap.cpp113 Tokenizer* tokenizer; in load() local
114 status_t status = Tokenizer::open(filename, &tokenizer); in load()
118 status = load(tokenizer, format, outMap); in load()
119 delete tokenizer; in load()
128 Tokenizer* tokenizer; in loadContents() local
129 status_t status = Tokenizer::fromContents(filename, contents, &tokenizer); in loadContents()
133 status = load(tokenizer, format, outMap); in loadContents()
134 delete tokenizer; in loadContents()
139 status_t KeyCharacterMap::load(Tokenizer* tokenizer, in load() argument
150 Parser parser(map.get(), tokenizer, format); in load()
[all …]
/frameworks/base/tools/aapt2/util/
DUtil_test.cpp91 auto tokenizer = util::tokenize(StringPiece16(u"this| is|the|end"), u'|'); in TEST() local
92 auto iter = tokenizer.begin(); in TEST()
101 ASSERT_EQ(tokenizer.end(), iter); in TEST()
105 auto tokenizer = util::tokenize(StringPiece16(u""), u'|'); in TEST() local
106 auto iter = tokenizer.begin(); in TEST()
107 ASSERT_NE(tokenizer.end(), iter); in TEST()
110 ASSERT_EQ(tokenizer.end(), iter); in TEST()
114 auto tokenizer = util::tokenize(StringPiece16(u"one."), u'.'); in TEST() local
115 auto iter = tokenizer.begin(); in TEST()
118 ASSERT_NE(iter, tokenizer.end()); in TEST()
/frameworks/base/test-runner/src/junit/runner/
DClassPathTestCollector.java60 StringTokenizer tokenizer= new StringTokenizer(classPath, separator); in splitClassPath() local
61 while (tokenizer.hasMoreTokens()) in splitClassPath()
62 result.addElement(tokenizer.nextToken()); in splitClassPath()
/frameworks/native/cmds/atrace/
Datrace.cpp699 Tokenizer* tokenizer = NULL; in setCategoriesEnableFromFile() local
700 if (Tokenizer::open(String8(categories_file), &tokenizer) != NO_ERROR) { in setCategoriesEnableFromFile()
704 while (!tokenizer->isEol()) { in setCategoriesEnableFromFile()
705 String8 token = tokenizer->nextToken(" "); in setCategoriesEnableFromFile()
707 tokenizer->skipDelimiters(" "); in setCategoriesEnableFromFile()
712 delete tokenizer; in setCategoriesEnableFromFile()
/frameworks/base/core/java/android/net/
DUrlQuerySanitizer.java619 StringTokenizer tokenizer = new StringTokenizer(query, "&"); in parseQuery() local
620 while(tokenizer.hasMoreElements()) { in parseQuery()
621 String attributeValuePair = tokenizer.nextToken(); in parseQuery()
/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java255 Rfc822Tokenizer tokenizer = new Rfc822Tokenizer(); in testRfc822FindToken() local
259 assertEquals(0, tokenizer.findTokenStart(address, 21)); in testRfc822FindToken()
260 assertEquals(22, tokenizer.findTokenEnd(address, 21)); in testRfc822FindToken()
261 assertEquals(24, tokenizer.findTokenStart(address, 25)); in testRfc822FindToken()
262 assertEquals(46, tokenizer.findTokenEnd(address, 25)); in testRfc822FindToken()
/frameworks/native/include/input/
DVirtualKeyMap.h65 Parser(VirtualKeyMap* map, Tokenizer* tokenizer);
DKeyCharacterMap.h210 Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format);
243 static status_t load(Tokenizer* tokenizer, Format format, sp<KeyCharacterMap>* outMap);
DKeyLayoutMap.h104 Parser(KeyLayoutMap* map, Tokenizer* tokenizer);
/frameworks/base/core/java/android/util/jar/
DStrictJarVerifier.java391 StringTokenizer tokenizer = new StringTokenizer(apkSignatureSchemeIdList, ","); in verifyCertificate() local
392 while (tokenizer.hasMoreTokens()) { in verifyCertificate()
393 String idText = tokenizer.nextToken().trim(); in verifyCertificate()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraAgentImpl.java1039 StringTokenizer tokenizer = new StringTokenizer(flattened, ";"); in dumpDeviceSettings() local
1041 while (tokenizer.hasMoreElements()) { in dumpDeviceSettings()
1042 dumpedSettings += tokenizer.nextToken() + '\n'; in dumpDeviceSettings()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1408 public void setTokenizer(Tokenizer tokenizer) { in setTokenizer() argument
1409 mTokenizer = tokenizer; in setTokenizer()