Home
last modified time | relevance | path

Searched refs:fromString (Results 1 – 25 of 82) sorted by relevance

1234

/external/guava/guava-tests/test/com/google/common/net/
DHostAndPortTest.java103 hp = HostAndPort.fromString(hpString); in checkFromStringCase()
191 assertEquals(80, HostAndPort.fromString("host:80").getPortOrDefault(123)); in testGetPortOrDefault()
192 assertEquals(123, HostAndPort.fromString("host").getPortOrDefault(123)); in testGetPortOrDefault()
196 HostAndPort hp1 = HostAndPort.fromString("foo::123"); in testHashCodeAndEquals()
197 HostAndPort hp2 = HostAndPort.fromString("foo::123"); in testHashCodeAndEquals()
198 HostAndPort hp3 = HostAndPort.fromString("[foo::123]"); in testHashCodeAndEquals()
200 HostAndPort hp5 = HostAndPort.fromString("[foo::123]:80"); in testHashCodeAndEquals()
217 assertEquals("::1", HostAndPort.fromString("[::1]").requireBracketsForIPv6().getHostText()); in testRequireBracketsForIPv6()
218 assertEquals("::1", HostAndPort.fromString("[::1]:80").requireBracketsForIPv6().getHostText()); in testRequireBracketsForIPv6()
220 assertEquals("x", HostAndPort.fromString("x").requireBracketsForIPv6().getHostText()); in testRequireBracketsForIPv6()
[all …]
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/
DFieldMaskUtilTest.java56 NestedTestAllTypes.class, FieldMaskUtil.fromString("payload"))); in testIsValid()
58 NestedTestAllTypes.class, FieldMaskUtil.fromString("nonexist"))); in testIsValid()
60 NestedTestAllTypes.class, FieldMaskUtil.fromString("payload,nonexist"))); in testIsValid()
66 NestedTestAllTypes.getDescriptor(), FieldMaskUtil.fromString("payload"))); in testIsValid()
68 NestedTestAllTypes.getDescriptor(), FieldMaskUtil.fromString("nonexist"))); in testIsValid()
94 FieldMask mask = FieldMaskUtil.fromString(""); in testFromString()
96 mask = FieldMaskUtil.fromString("foo"); in testFromString()
99 mask = FieldMaskUtil.fromString("foo,bar.baz"); in testFromString()
105 mask = FieldMaskUtil.fromString(",foo,,bar,"); in testFromString()
111 mask = FieldMaskUtil.fromString(NestedTestAllTypes.class, ",payload"); in testFromString()
[all …]
DFieldMaskTreeTest.java66 FieldMaskTree tree = new FieldMaskTree(FieldMaskUtil.fromString("foo,bar.baz,bar.quz")); in testMergeFromFieldMask()
68 tree.mergeFromFieldMask(FieldMaskUtil.fromString("foo.bar,bar")); in testMergeFromFieldMask()
73 FieldMaskTree tree = new FieldMaskTree(FieldMaskUtil.fromString("foo,bar.baz,bar.quz")); in testIntersectFieldPath()
/external/guava/guava-tests/test/com/google/common/hash/
DHashCodeTest.java207 HashCode hash2 = HashCode.fromString(hash1.toString()); in testRoundTripHashCodeUsingFromString()
224 HashCode.fromString("7f8005ff0z"); in testFromStringFailsWithInvalidHexChar()
233 HashCode.fromString(string); in testFromStringFailsWithUpperCaseString()
241 HashCode.fromString(""); in testFromStringFailsWithShortInputs()
246 HashCode.fromString("7"); in testFromStringFailsWithShortInputs()
250 HashCode.fromString("7f"); in testFromStringFailsWithShortInputs()
255 HashCode.fromString("7f8"); in testFromStringFailsWithOddLengthInput()
/external/curl/tests/python_dependencies/impacket/
Dspnego.py88 self.fromString(data)
106 def fromString(self, data = None): member in GSSAPI
166 self.fromString(data)
184 def fromString(self, data = 0): member in SPNEGO_NegTokenResp
296 def fromString(self, data = 0): member in SPNEGO_NegTokenInit
297 GSSAPI.fromString(self, data)
Dntlm.py206 self.fromString(data)
225 def fromString(self, data): member in AV_PAIRS
314 def fromString(self,data): member in NTLMAuthNegotiate
315 Structure.fromString(self,data)
362 def fromString(self,data): member in NTLMAuthChallenge
363 Structure.fromString(self,data)
463 def fromString(self,data): member in NTLMAuthChallengeResponse
464 Structure.fromString(self,data)
944 instance.fromString(msg)
953 def fromString(self,data): member in NTLM_HTTP_AuthRequired
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
DJreDeflateParametersTest.java72 JreDeflateParameters fromString = JreDeflateParameters.parseString(asString); in testParseString() local
73 Assert.assertEquals(params, fromString); in testParseString()
/external/icu/icu4c/source/i18n/
Dstandardplural.h68 static Form fromString(const char *keyword, UErrorCode &errorCode) { in fromString() function
78 static Form fromString(const UnicodeString &keyword, UErrorCode &errorCode) { in fromString() function
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralRangesTest.java52 final StandardPlural start = StandardPlural.fromString(test[1]); in TestLocaleData()
53 final StandardPlural end = StandardPlural.fromString(test[2]); in TestLocaleData()
54 final StandardPlural expected = StandardPlural.fromString(test[3]); in TestLocaleData()
DDataDrivenNumberFormatTestData.java241 private static <T> T fromString(Map<String, T> map, String key) { in fromString() method in DataDrivenNumberFormatTestData
345 roundingMode = fromString(roundingModeMap, value); in setRoundingMode()
349 currencyUsage = fromString(currencyUsageMap, value); in setCurrencyUsage()
365 padPosition = fromString(padPositionMap, value); in setPadPosition()
397 style = fromString(formatStyleMap, value); in setStyle()
/external/guava/guava/src/com/google/common/net/
DHostAndPort.java135 HostAndPort parsedHost = fromString(host); in fromParts()
152 HostAndPort parsedHost = fromString(host); in fromHost()
167 public static HostAndPort fromString(String hostPortString) { in fromString() method in HostAndPort
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDataDrivenNumberFormatTestData.java238 private static <T> T fromString(Map<String, T> map, String key) { in fromString() method in DataDrivenNumberFormatTestData
342 roundingMode = fromString(roundingModeMap, value); in setRoundingMode()
346 currencyUsage = fromString(currencyUsageMap, value); in setCurrencyUsage()
362 padPosition = fromString(padPositionMap, value); in setPadPosition()
394 style = fromString(formatStyleMap, value); in setStyle()
DPluralRangesTest.java49 final StandardPlural start = StandardPlural.fromString(test[1]); in TestLocaleData()
50 final StandardPlural end = StandardPlural.fromString(test[2]); in TestLocaleData()
51 final StandardPlural expected = StandardPlural.fromString(test[3]); in TestLocaleData()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/cenc/
DProtectionSystemSpecificHeaderBox.java37 …public static byte[] OMA2_SYSTEM_ID = UUIDConverter.convert(UUID.fromString("A2B55680-6F43-11E0-9A…
38 …public static byte[] PLAYREADY_SYSTEM_ID = UUIDConverter.convert(UUID.fromString("9A04F079-9840-42…
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DGattClientFacade.java162 .invoke(gatt, UUID.fromString(uuid)); in gattClientDiscoverServiceByUuid()
428 UUID cUuid = UUID.fromString(characteristicUuid); in gattClientReadCharacteristic()
454 UUID cUuid = UUID.fromString(uuid); in gattClientReadUsingCharacteristicUuid()
703 UUID.fromString("aa7edd5a-4d1d-4f0e-883a-d145616a1630"), 0x08, 0x10); in gattClientWriteInvalidCharacteristicByInstanceId()
787 UUID.fromString("aa7edd5a-4d1d-4f0e-883a-d145616a1630"), 0x02, 0x01); in gattClientReadInvalidCharacteristicByInstanceId()
875 UUID.fromString("aa7edd5a-4d1d-4f0e-883a-d145616a1630"), 0x10); in gattClientWriteInvalidDescriptorByInstanceId()
962 UUID.fromString("aa7edd5a-4d1d-4f0e-883a-d145616a1630"), 0x01); in gattClientReadInvalidDescriptorByInstanceId()
1043 UUID.fromString(characteristicUuid), 0x02, 0x01); in gattClientReadInvalidCharacteristicByUuidAndInstanceId()
1085 UUID cUuid = UUID.fromString(characteristicUuid); in gattClientReadDescriptor()
1090 UUID dUuid = UUID.fromString(descriptorUuid); in gattClientReadDescriptor()
[all …]
DBluetoothLeScanFacade.java276 serviceUuids[i] = UUID.fromString(serviceUuidList[i]); in bleStartClassicBleScanWithServiceUuids()
784 ParcelUuid.fromString(serviceUuid), in bleSetScanFilterServiceData()
787 mScanFilterBuilder.setServiceData(ParcelUuid.fromString(serviceUuid), in bleSetScanFilterServiceData()
809 .setServiceUuid(ParcelUuid.fromString(serviceUuid), in bleSetScanFilterServiceUuid()
810 ParcelUuid.fromString(serviceMask)); in bleSetScanFilterServiceUuid()
812 mScanFilterBuilder.setServiceUuid(ParcelUuid.fromString(serviceUuid)); in bleSetScanFilterServiceUuid()
/external/autotest/frontend/client/src/autotest/common/
DCustomHistory.java26 public static HistoryToken fromString(String tokenString) { in fromString() method in CustomHistory.HistoryToken
64 token = HistoryToken.fromString(historyTokenString); in processHistoryTokenString()
/external/protobuf/js/binary/
Darith.js289 jspb.arith.UInt64.fromString = function(s) { function in jspb.arith.UInt64
400 jspb.arith.Int64.fromString = function(s) { function in jspb.arith.Int64
405 var num = jspb.arith.UInt64.fromString(s);
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioEffects.java39 UUID.fromString("bb392ec0-8d4d-11e0-a896-0002a5d5c51b");
41 UUID.fromString("aa8130e0-66fc-11e0-bad0-0002a5d5c51b");
43 UUID.fromString("c06c8400-8e06-11e0-9cb6-0002a5d5c51b");
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DPluralRulesLoader.java492 StandardPlural.fromString(row[0]), in StandardPlural.fromString()
493 StandardPlural.fromString(row[1]), in StandardPlural.fromString()
494 StandardPlural.fromString(row[2])); in StandardPlural.fromString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DPluralRulesLoader.java490 StandardPlural.fromString(row[0]), in StandardPlural.fromString()
491 StandardPlural.fromString(row[1]), in StandardPlural.fromString()
492 StandardPlural.fromString(row[2])); in StandardPlural.fromString()
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskUtil.java79 public static FieldMask fromString(String value) { in fromString() method in FieldMaskUtil
90 public static FieldMask fromString(Class<? extends Message> type, String value) { in fromString() method in FieldMaskUtil
/external/parameter-framework/upstream/test/test-subsystem/
DTESTSubsystemBinary.h45 virtual void fromString(const std::string &strValue, void *pvValue, size_t size);
DTESTSubsystemString.h45 virtual void fromString(const std::string &strValue, void *pvValue, size_t size);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x500/
DX500NameStyle.java38 RDN[] fromString(String dirName); in fromString() method

1234