Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/net/
DInetAddressesTest.java108 InetAddresses.forString(bogusInputs[i]); in testForStringBogusInput()
119 InetAddresses.forString("3ffe:::1"); in test3ff31()
132 assertEquals(ipv4Addr, InetAddresses.forString(ipStr)); in testForStringIPv4Input()
141 assertEquals(ipv6Addr, InetAddresses.forString(ipStr)); in testForStringIPv6Input()
157 assertEquals(ipv6Addr, InetAddresses.forString(eightColons[i])); in testForStringIPv6EightColons()
169 assertEquals(ipv6Addr, InetAddresses.forString(ipString)); in testConvertDottedQuadToHex()
178 InetAddresses.forString("1.2.3.4"))); in testToAddrStringIPv4()
184 InetAddresses.forString("1:2:3:4:5:6:7:8"))); in testToAddrStringIPv6()
187 InetAddresses.forString("2001:0:0:4:0:0:0:8"))); in testToAddrStringIPv6()
190 InetAddresses.forString("2001:0:0:4:5:6:7: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.java165 idUsage = idUsageLookup.forString(Column.ID_USAGE.getItem(items)); in Info()
166 rtl = trinaryLookup.forString(Column.RTL.getItem(items)); in Info()
167 lbLetters = trinaryLookup.forString(Column.LB_LETTERS.getItem(items)); in Info()
168 shapingReq = shapingLookup.forString(Column.SHAPING_REQ.getItem(items)); in Info()
169 ime = trinaryLookup.forString(Column.IME.getItem(items)); in Info()
170 hasCase = trinaryLookup.forString(Column.HAS_CASE.getItem(items)); in Info()
DKeyboard.java240 public static TransformType forString(String string) { in forString() method in Keyboard.TransformType
407 public static Fallback forString(String string) { in forString() method in Keyboard.Fallback
498 … TransformType type = TransformType.forString(parts.getAttributeValue(1, "type")); in handlePathValue()
527 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.java128 DraftStatus draftStatus = DraftStatus.forString(parts.findFirstAttributeValue("draft")); in handleCheck()
DCheckCLDR.java155 public static Phase forString(String value) { in forString() method in CheckCLDR.Phase
1270 setPhase(Phase.forString(options.get(Options.Option.phase))); in setCldrFileToCheck()
DConsoleCheckCLDR.java333 phase = Phase.forString(phaseVal); in main()
/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/guava/guava/src/com/google/common/net/
DInetAddresses.java117 private static final Inet4Address LOOPBACK4 = (Inet4Address) forString("127.0.0.1");
118 private static final Inet4Address ANY4 = (Inet4Address) forString("0.0.0.0");
148 public static InetAddress forString(String ipString) { in forString() method in InetAddresses
DHostSpecifier.java88 addr = InetAddresses.forString(host); in fromValid()
/external/cldr/tools/java/org/unicode/cldr/util/
DEnumNames.java28 public T forString(String name) { in forString() method in EnumNames
DPathHeader.java96 public static SectionId forString(String name) { in forString() method in PathHeader.SectionId
97 return SectionIdNames.forString(name); in forString()
255 public static PageId forString(String name) {
257 return PageIdNames.forString(name);
663 SectionId.forString(fix(data.section, 0)),
664 PageId.forString(fix(data.page, 0)),
835 this(SectionId.forString(section), PageId.forString(page), file); in FilteredIterable()
1684 PageId pageId2 = PageId.forString(major);
DDtdData.java73 public static Mode forString(String mode) { in forString() method in DtdData.Mode
278 …Attribute a = new Attribute(dtdType, nameToElement.get(eName), aName, Mode.forString(mode), FILLER… in addAttribute()
DCLDRFile.java138 public static DraftStatus forString(String string) { in forString() method in CLDRFile.DraftStatus
/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/protobuf/java/core/src/test/java/com/google/protobuf/
DNioByteStringTest.java424 ByteString unicode = forString(testString); in testToString()
431 ByteString unicode = forString(testString); in testCharsetToString()
617 private static ByteString forString(String str) { in forString() method in NioByteStringTest
/external/cldr/tools/java/org/unicode/cldr/icu/
DCollationMapper.java137 DraftStatus status = DraftStatus.forString(attr.getValue("draft")); in startElement()
/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()
/external/cldr/tools/java/org/unicode/cldr/tool/
DChartCollation.java169 DraftStatus status = DraftStatus.forString(xpp.findFirstAttributeValue("draft")); in writeSubcharts()