/external/guava/guava-tests/test/com/google/common/net/ |
D | HostAndPortTest.java | 103 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/ |
D | FieldMaskUtilTest.java | 56 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 …]
|
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/test/ |
D | KeyboardIdTest.java | 15 KeyboardId id = KeyboardId.fromString("de-CH-t-k0-windows-extended-var"); in testKeyboardId() 23 KeyboardId keyboardLocale = KeyboardId.fromString("bn-t-k0-windows"); in testFromStringForSimple() 28 KeyboardId keyboardLocale = KeyboardId.fromString("es-US-t-k0-android-768dpi.xml"); in testFromStringForComplex() 34 KeyboardId.fromString("en-US-android"); in testFromStringForInvalid() 42 KeyboardId id1 = KeyboardId.fromString("de-CH-t-k0-windows-extended-var"); in testEqualsTrue() 43 KeyboardId id2 = KeyboardId.fromString("de-CH-t-k0-windows-extended-var"); in testEqualsTrue() 49 KeyboardId id1 = KeyboardId.fromString("de-CH-t-k0-windows-extended-var"); in testEqualsFalse() 50 KeyboardId id2 = KeyboardId.fromString("es-US-t-k0-android-768dpi.xml"); in testEqualsFalse()
|
D | ModifierKeyTest.java | 11 ModifierKey key = ModifierKey.fromString("shiftL"); in testFromString() 17 ModifierKey.fromString("bla"); in testFromStringInvalid()
|
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/ |
D | TestCasesTest.java | 19 import static io.grpc.testing.integration.TestCases.fromString; 36 fromString("does_not_exist_1234"); in unknownStringThrowsException() 80 testCaseSet.add(TestCases.fromString(testCase)); in testCaseNamesShouldMapToEnums() 83 testCaseSet.add(TestCases.fromString(testCase)); in testCaseNamesShouldMapToEnums()
|
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/ |
D | ModifierKey.java | 44 public static ModifierKey fromString(String string) { in fromString() method in ModifierKey 68 return fromString(keyType + variant.opposite()); in sibling() 79 return fromString(keyType); in parent() 90 … return ImmutableList.of(fromString(keyType + Variant.LEFT), fromString(keyType + Variant.RIGHT)); in children()
|
D | KeyboardId.java | 54 public static KeyboardId fromString(String keyboardLocale) { in fromString() method in KeyboardId 61 Platform platform = Platform.fromString(attributeStrings[0]); in fromString() 148 private static Platform fromString(String platform) { in fromString() method in KeyboardId.Platform
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashCodeTest.java | 207 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/ |
D | spnego.py | 88 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)
|
D | ntlm.py | 206 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/icu/android_icu4j/src/main/java/android/icu/impl/number/range/ |
D | StandardPluralRanges.java | 42 StandardPlural first = StandardPlural.fromString(value.getString()); in put() 44 StandardPlural second = StandardPlural.fromString(value.getString()); in put() 46 StandardPlural result = StandardPlural.fromString(value.getString()); in put()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/range/ |
D | StandardPluralRanges.java | 40 StandardPlural first = StandardPlural.fromString(value.getString()); in put() 42 StandardPlural second = StandardPlural.fromString(value.getString()); in put() 44 StandardPlural result = StandardPlural.fromString(value.getString()); in put()
|
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
D | JreDeflateParametersTest.java | 72 JreDeflateParameters fromString = JreDeflateParameters.parseString(asString); in testParseString() local 73 Assert.assertEquals(params, fromString); in testParseString()
|
/external/icu/icu4c/source/i18n/ |
D | standardplural.h | 68 static Form fromString(const char *keyword, UErrorCode &errorCode) { in fromString() function 78 static Form fromString(const UnicodeString &keyword, UErrorCode &errorCode) { in fromString() function
|
/external/guava/guava/src/com/google/common/net/ |
D | HostAndPort.java | 135 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/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/cenc/ |
D | ProtectionSystemSpecificHeaderBox.java | 37 …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/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DataDrivenNumberFormatTestData.java | 243 private static <T> T fromString(Map<String, T> map, String key) { in fromString() method in DataDrivenNumberFormatTestData 347 roundingMode = fromString(roundingModeMap, value); in setRoundingMode() 351 currencyUsage = fromString(currencyUsageMap, value); in setCurrencyUsage() 367 padPosition = fromString(padPositionMap, value); in setPadPosition() 403 style = fromString(formatStyleMap, value); in setStyle()
|
D | PluralRangesTest.java | 53 final StandardPlural start = StandardPlural.fromString(test[1]); in TestLocaleData() 54 final StandardPlural end = StandardPlural.fromString(test[2]); in TestLocaleData() 55 final StandardPlural expected = StandardPlural.fromString(test[3]); in TestLocaleData()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DataDrivenNumberFormatTestData.java | 240 private static <T> T fromString(Map<String, T> map, String key) { in fromString() method in DataDrivenNumberFormatTestData 344 roundingMode = fromString(roundingModeMap, value); in setRoundingMode() 348 currencyUsage = fromString(currencyUsageMap, value); in setCurrencyUsage() 364 padPosition = fromString(padPositionMap, value); in setPadPosition() 400 style = fromString(formatStyleMap, value); in setStyle()
|
D | PluralRangesTest.java | 50 final StandardPlural start = StandardPlural.fromString(test[1]); in TestLocaleData() 51 final StandardPlural end = StandardPlural.fromString(test[2]); in TestLocaleData() 52 final StandardPlural expected = StandardPlural.fromString(test[3]); in TestLocaleData()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
D | GattClientFacade.java | 162 .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 …]
|
/external/autotest/frontend/client/src/autotest/common/ |
D | CustomHistory.java | 26 public static HistoryToken fromString(String tokenString) { in fromString() method in CustomHistory.HistoryToken 64 token = HistoryToken.fromString(historyTokenString); in processHistoryTokenString()
|
/external/protobuf/js/binary/ |
D | arith.js | 289 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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowBluetoothDeviceTest.java | 37 ParcelUuid.fromString("00000000-1111-2222-3333-000000000011"), in canSetAndGetUuids() 38 ParcelUuid.fromString("00000000-1111-2222-3333-0000000000aa") in canSetAndGetUuids()
|
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
D | WebRtcAudioEffects.java | 39 UUID.fromString("bb392ec0-8d4d-11e0-a896-0002a5d5c51b"); 41 UUID.fromString("aa8130e0-66fc-11e0-bad0-0002a5d5c51b"); 43 UUID.fromString("c06c8400-8e06-11e0-9cb6-0002a5d5c51b");
|