Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/util/
DUtil_test.cpp45 auto tokenizer = util::Tokenize(StringPiece("this| is|the|end"), '|'); in TEST() local
46 auto iter = tokenizer.begin(); in TEST()
55 ASSERT_THAT(iter, Eq(tokenizer.end())); in TEST()
59 auto tokenizer = util::Tokenize(StringPiece(""), '|'); in TEST() local
60 auto iter = tokenizer.begin(); in TEST()
61 ASSERT_THAT(iter, Ne(tokenizer.end())); in TEST()
64 ASSERT_THAT(iter, Eq(tokenizer.end())); in TEST()
68 auto tokenizer = util::Tokenize(StringPiece("one."), '.'); in TEST() local
69 auto iter = tokenizer.begin(); in TEST()
72 ASSERT_THAT(iter, Ne(tokenizer.end())); in TEST()
/frameworks/native/libs/input/
DVirtualKeyMap.cpp52 std::unique_ptr<Tokenizer> tokenizer(t); in load() local
60 Parser parser(map.get(), tokenizer.get()); in load()
72 VirtualKeyMap::Parser::Parser(VirtualKeyMap* map, Tokenizer* tokenizer) : in Parser() argument
73 mMap(map), mTokenizer(tokenizer) { in Parser()
DKeyLayoutMap.cpp55 Tokenizer* tokenizer; in load() local
56 status_t status = Tokenizer::open(String8(filename.c_str()), &tokenizer); in load()
68 Parser parser(map.get(), tokenizer); in load()
73 tokenizer->getFilename().string(), tokenizer->getLineNumber(), in load()
80 delete tokenizer; in load()
192 KeyLayoutMap::Parser::Parser(KeyLayoutMap* map, Tokenizer* tokenizer) : in Parser() argument
193 mMap(map), mTokenizer(tokenizer) { in Parser()
DKeyCharacterMap.cpp113 Tokenizer* tokenizer; in load() local
114 status_t status = Tokenizer::open(String8(filename.c_str()), &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(String8(filename.c_str()), 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/native/include/input/
DVirtualKeyMap.h65 Parser(VirtualKeyMap* map, Tokenizer* tokenizer);
DKeyCharacterMap.h212 Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format);
245 static status_t load(Tokenizer* tokenizer, Format format, sp<KeyCharacterMap>* outMap);
DKeyLayoutMap.h104 Parser(KeyLayoutMap* map, Tokenizer* tokenizer);
/frameworks/base/core/java/android/net/
DUrlQuerySanitizer.java621 StringTokenizer tokenizer = new StringTokenizer(query, "&"); in parseQuery() local
622 while(tokenizer.hasMoreElements()) { in parseQuery()
623 String attributeValuePair = tokenizer.nextToken(); in parseQuery()
/frameworks/multidex/library/src/androidx/multidex/
DMultiDex.java336 StringTokenizer tokenizer = new StringTokenizer(versionString, "."); in isVMMultidexCapable() local
337 String majorToken = tokenizer.hasMoreTokens() ? tokenizer.nextToken() : null; in isVMMultidexCapable()
338 String minorToken = tokenizer.hasMoreTokens() ? tokenizer.nextToken() : null; in isVMMultidexCapable()
/frameworks/native/cmds/atrace/
Datrace.cpp761 Tokenizer* tokenizer = nullptr; in setCategoriesEnableFromFile() local
762 if (Tokenizer::open(String8(categories_file), &tokenizer) != NO_ERROR) { in setCategoriesEnableFromFile()
766 while (!tokenizer->isEol()) { in setCategoriesEnableFromFile()
767 String8 token = tokenizer->nextToken(" "); in setCategoriesEnableFromFile()
769 tokenizer->skipDelimiters(" "); in setCategoriesEnableFromFile()
774 delete tokenizer; in setCategoriesEnableFromFile()
/frameworks/base/core/java/android/util/jar/
DStrictJarVerifier.java399 StringTokenizer tokenizer = new StringTokenizer(apkSignatureSchemeIdList, ","); in verifyCertificate() local
400 while (tokenizer.hasMoreTokens()) { in verifyCertificate()
401 String idText = tokenizer.nextToken().trim(); in verifyCertificate()
/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java270 Rfc822Tokenizer tokenizer = new Rfc822Tokenizer(); in testRfc822FindToken() local
274 assertEquals(0, tokenizer.findTokenStart(address, 21)); in testRfc822FindToken()
275 assertEquals(22, tokenizer.findTokenEnd(address, 21)); in testRfc822FindToken()
276 assertEquals(24, tokenizer.findTokenStart(address, 25)); in testRfc822FindToken()
277 assertEquals(46, tokenizer.findTokenEnd(address, 25)); in testRfc822FindToken()
/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.java1560 public void setTokenizer(Tokenizer tokenizer) { in setTokenizer() argument
1561 mTokenizer = tokenizer; in setTokenizer()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt28025 Landroid/icu/text/DateTimePatternGenerator$FormatParser;->tokenizer:Landroid/icu/impl/PatternTokeni…