Home
last modified time | relevance | path

Searched refs:forString (Results 1 – 25 of 33) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/net/
DInetAddressesTest.java113 InetAddresses.forString(bogusInput); in testForStringBogusInput()
123 InetAddresses.forString("3ffe:::1"); in test3ff31()
134 assertEquals(ipv4Addr, InetAddresses.forString(ipStr)); in testForStringIPv4Input()
142 assertEquals(ipv6Addr, InetAddresses.forString(ipStr)); in testForStringIPv6Input()
153 assertEquals(ipv6Addr, InetAddresses.forString(ipString)); in testForStringIPv6EightColons()
165 assertEquals(ipv6Addr, InetAddresses.forString(ipString)); in testConvertDottedQuadToHex()
217 assertEquals(InetAddresses.forString(withScopeId), InetAddresses.forString(ipString)); in testIPv6AddressWithScopeId()
224 assertEquals("1.2.3.4", InetAddresses.toAddrString(InetAddresses.forString("1.2.3.4"))); in testToAddrStringIPv4()
229 "1:2:3:4:5:6:7:8", InetAddresses.toAddrString(InetAddresses.forString("1:2:3:4:5:6:7:8"))); in testToAddrStringIPv6()
231 "2001:0:0:4::8", InetAddresses.toAddrString(InetAddresses.forString("2001:0:0:4:0:0:0:8"))); in testToAddrStringIPv6()
[all …]
/external/guava/android/guava-tests/test/com/google/common/net/
DInetAddressesTest.java113 InetAddresses.forString(bogusInput); in testForStringBogusInput()
123 InetAddresses.forString("3ffe:::1"); in test3ff31()
134 assertEquals(ipv4Addr, InetAddresses.forString(ipStr)); in testForStringIPv4Input()
142 assertEquals(ipv6Addr, InetAddresses.forString(ipStr)); in testForStringIPv6Input()
153 assertEquals(ipv6Addr, InetAddresses.forString(ipString)); in testForStringIPv6EightColons()
165 assertEquals(ipv6Addr, InetAddresses.forString(ipString)); in testConvertDottedQuadToHex()
217 assertEquals(InetAddresses.forString(withScopeId), InetAddresses.forString(ipString)); in testIPv6AddressWithScopeId()
224 assertEquals("1.2.3.4", InetAddresses.toAddrString(InetAddresses.forString("1.2.3.4"))); in testToAddrStringIPv4()
229 "1:2:3:4:5:6:7:8", InetAddresses.toAddrString(InetAddresses.forString("1:2:3:4:5:6:7:8"))); in testToAddrStringIPv6()
231 "2001:0:0:4::8", InetAddresses.toAddrString(InetAddresses.forString("2001:0:0:4:0:0:0:8"))); in testToAddrStringIPv6()
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/
DEnumLookup.java72 public T forString(String s) { in forString() method in EnumLookup
73 return forString(s, false); in forString()
76 public T forString(String s, boolean allowNull) { in forString() method in EnumLookup
DScriptMetadata.java166 idUsage = idUsageLookup.forString(Column.ID_USAGE.getItem(items)); in Info()
167 rtl = trinaryLookup.forString(Column.RTL.getItem(items)); in Info()
168 lbLetters = trinaryLookup.forString(Column.LB_LETTERS.getItem(items)); in Info()
169 shapingReq = shapingLookup.forString(Column.SHAPING_REQ.getItem(items)); in Info()
170 ime = trinaryLookup.forString(Column.IME.getItem(items)); in Info()
171 hasCase = trinaryLookup.forString(Column.HAS_CASE.getItem(items)); in Info()
DKeyboard.java240 public static TransformType forString(String string) { in forString() method in Keyboard.TransformType
409 public static Fallback forString(String string) { in forString() method in Keyboard.Fallback
497 … TransformType type = TransformType.forString(parts.getAttributeValue(1, "type")); in handlePathValue()
526 fallback = Fallback.forString(parts.getAttributeValue(1, "fallback")); in handlePathValue()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckCasing.java16 public static Case forString(String input) { in forString() method in CheckCasing.Case
54 caseTest = Case.forString(casingValue); in handleCheck()
DCheckLogicalGroupings.java215 DraftStatus myStatus = DraftStatus.forString(parts.findFirstAttributeValue("draft")); in handleCheck()
232 DraftStatus draftStatus = DraftStatus.forString(parts.findFirstAttributeValue("draft")); in handleCheck()
/external/cldr/tools/java/org/unicode/cldr/tool/resolver/
DResolutionType.java47 public static ResolutionType forString(String str) { in forString() method in ResolutionType
DCldrResolver.java87 resolutionType = ResolutionType.forString(option.getValue()); in main()
125 …DraftStatus minDraftStatus = option.doesOccur() ? DraftStatus.forString(option.getValue()) : Draft… in main()
/external/cldr/tools/java/org/unicode/cldr/api/
DCldrDraftStatus.java44 static /* @Nullable */ CldrDraftStatus forString(/* @Nullable */ String name) { in forString() method in CldrDraftStatus
DCldrPaths.java348 ? CldrDraftStatus.forString(attributes.get("draft")) : null; in processXPath()
/external/cldr/tools/java/org/unicode/cldr/util/
DEnumNames.java28 public T forString(String name) { in forString() method in EnumNames
DPathHeader.java95 public static SectionId forString(String name) { in forString() method in PathHeader.SectionId
96 return SectionIdNames.forString(name); in forString()
312 public static PageId forString(String name) {
314 return PageIdNames.forString(name);
732 SectionId.forString(fix(data.section, 0)),
733 PageId.forString(fix(data.page, 0)),
909 this(SectionId.forString(section), PageId.forString(page), file); in FilteredIterable()
1794 PageId pageId2 = PageId.forString(major);
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DWorkerMain.java44 channel.connect(new InetSocketAddress(InetAddresses.forString("127.0.0.1"), request.port)); in main()
/external/guava/android/guava/src/com/google/common/net/
DHostSpecifier.java83 addr = InetAddresses.forString(host); in fromValid()
DInetAddresses.java107 private static final Inet4Address LOOPBACK4 = (Inet4Address) forString("127.0.0.1");
108 private static final Inet4Address ANY4 = (Inet4Address) forString("0.0.0.0");
141 public static InetAddress forString(String ipString) { in forString() method in InetAddresses
/external/guava/guava/src/com/google/common/net/
DHostSpecifier.java83 addr = InetAddresses.forString(host); in fromValid()
DInetAddresses.java107 private static final Inet4Address LOOPBACK4 = (Inet4Address) forString("127.0.0.1");
108 private static final Inet4Address ANY4 = (Inet4Address) forString("0.0.0.0");
141 public static InetAddress forString(String ipString) { in forString() method in InetAddresses
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DNioByteStringTest.java434 ByteString unicode = forString(testString); in testToString()
441 ByteString unicode = forString(testString); in testCharsetToString()
635 private static ByteString forString(String str) { in forString() method in NioByteStringTest
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/
DXmlUtils.java273 static ReaderSupplier forString(String xml) { in forString() method
DTelephonyLookup.java132 return new TelephonyLookup(ReaderSupplier.forString(xml)); in createInstanceForTests()
DTimeZoneFinder.java151 return new TimeZoneFinder(ReaderSupplier.forString(xml)); in createInstanceForTests()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DLanguageTestFmwk.java682 element = Element.forString(line.substring(1)); in FileTestData()
837 static Element forString(String s) { in forString() method in Element
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
DLanguageTestFmwk.java683 element = Element.forString(line.substring(1)); in FileTestData()
838 static Element forString(String s) { in forString() method in Element
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestScriptMetadata.java47 assertEquals("", IdUsage.LIMITED_USE, temp.forString("limited Use")); in TestLookup()

12