Home
last modified time | relevance | path

Searched refs:part2 (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/androidfw/
DLocale.cpp96 const std::string& part2 = parts[1]; in InitFromFilterString() local
97 if ((part2.length() == 2 && is_alpha(part2)) || in InitFromFilterString()
98 (part2.length() == 3 && is_number(part2))) { in InitFromFilterString()
99 set_region(part2.c_str()); in InitFromFilterString()
100 } else if (part2.length() == 4 && is_alpha(part2)) { in InitFromFilterString()
101 set_script(part2.c_str()); in InitFromFilterString()
102 } else if (part2.length() >= 4 && part2.length() <= 8) { in InitFromFilterString()
103 set_variant(part2.c_str()); in InitFromFilterString()
/frameworks/wilhelm/tools/hashgen/
DMakefile12 IID_to_MPH.c : part1.c part2.c part3.c part4.c part5.c part6.c part7.c part8.c
14 cat part1.c part2.c part3.c part4.c part5.c part6.c part7.c part8.c >> $@
18 part2.c : part23in.c
69 $(RM) part2.c part3.c part5.c part7.c
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dcoded_stream.cc388 uint32 part0 = 0, part1 = 0, part2 = 0; in ReadVarint64FromArray() local
406 b = *(ptr++); part2 = b ; if (!(b & 0x80)) goto done; in ReadVarint64FromArray()
407 part2 -= 0x80; in ReadVarint64FromArray()
408 b = *(ptr++); part2 += b << 7; if (!(b & 0x80)) goto done; in ReadVarint64FromArray()
418 (static_cast<uint64>(part2) << 56); in ReadVarint64FromArray()
797 uint32 part2 = static_cast<uint32>(value >> 56); in WriteVarint64ToArrayInline() local
808 if (part2 == 0) { in WriteVarint64ToArrayInline()
839 if (part2 < (1 << 7)) { in WriteVarint64ToArrayInline()
848 size10: target[9] = static_cast<uint8>((part2 >> 7) | 0x80); in WriteVarint64ToArrayInline()
849 size9 : target[8] = static_cast<uint8>((part2 ) | 0x80); in WriteVarint64ToArrayInline()
/frameworks/base/tools/aapt/
DAaptAssets.cpp232 const String8& part2 = parts[1]; in initFromFilterString() local
233 if ((part2.length() == 2 && isAlpha(part2)) || in initFromFilterString()
234 (part2.length() == 3 && isNumber(part2))) { in initFromFilterString()
235 setRegion(part2.string()); in initFromFilterString()
236 } else if (part2.length() == 4 && isAlpha(part2)) { in initFromFilterString()
237 setScript(part2.string()); in initFromFilterString()
238 } else if (part2.length() >= 4 && part2.length() <= 8) { in initFromFilterString()
239 setVariant(part2.string()); in initFromFilterString()
/frameworks/base/core/tests/coretests/src/android/util/
DPatternsTest.java469 String part2 = "roid"; in testAutoLinkWebUrl_doesNotMatchUnicodeSpaces() local
490 String url = part1 + emptySpace + part2; in testAutoLinkWebUrl_doesNotMatchUnicodeSpaces()