Home
last modified time | relevance | path

Searched full:parameters (Results 1 – 25 of 12086) sorted by relevance

12345678910>>...484

/external/cronet/net/http/
Dhttp_auth_challenge_tokenizer_unittest.cc14 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() local
16 EXPECT_TRUE(parameters.valid()); in TEST()
18 EXPECT_TRUE(parameters.GetNext()); in TEST()
19 EXPECT_TRUE(parameters.valid()); in TEST()
20 EXPECT_EQ(std::string("realm"), parameters.name()); in TEST()
21 EXPECT_EQ(std::string("foobar"), parameters.value()); in TEST()
22 EXPECT_FALSE(parameters.GetNext()); in TEST()
30 HttpUtil::NameValuePairsIterator parameters = challenge.param_pairs(); in TEST() local
32 EXPECT_TRUE(parameters.valid()); in TEST()
34 EXPECT_TRUE(parameters.GetNext()); in TEST()
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowCameraParametersTest.java22 private Camera.Parameters parameters; field in ShadowCameraParametersTest
26 parameters = Shadow.newInstanceOf(Camera.Parameters.class); in setUp()
31 assertThat(Shadows.shadowOf(parameters).getPictureHeight()).isNotEqualTo(600); in testPictureSize()
32 assertThat(Shadows.shadowOf(parameters).getPictureWidth()).isNotEqualTo(800); in testPictureSize()
33 parameters.setPictureSize(800, 600); in testPictureSize()
34 Camera.Size pictureSize = parameters.getPictureSize(); in testPictureSize()
37 assertThat(Shadows.shadowOf(parameters).getPictureHeight()).isEqualTo(600); in testPictureSize()
38 assertThat(Shadows.shadowOf(parameters).getPictureWidth()).isEqualTo(800); in testPictureSize()
44 parameters.getPreviewFpsRange(fpsRange); in testPreviewFpsRange()
47 parameters.setPreviewFpsRange(15, 25); in testPreviewFpsRange()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/test/java/com/google/android/exoplayer2/trackselection/
DTrackSelectionParametersTest.java38 TrackSelectionParameters parameters = TrackSelectionParameters.DEFAULT_WITHOUT_CONTEXT; in defaultValue_withoutChange_isAsExpected() local
41 assertThat(parameters.maxVideoWidth).isEqualTo(Integer.MAX_VALUE); in defaultValue_withoutChange_isAsExpected()
42 assertThat(parameters.maxVideoHeight).isEqualTo(Integer.MAX_VALUE); in defaultValue_withoutChange_isAsExpected()
43 assertThat(parameters.maxVideoFrameRate).isEqualTo(Integer.MAX_VALUE); in defaultValue_withoutChange_isAsExpected()
44 assertThat(parameters.maxVideoBitrate).isEqualTo(Integer.MAX_VALUE); in defaultValue_withoutChange_isAsExpected()
45 assertThat(parameters.minVideoWidth).isEqualTo(0); in defaultValue_withoutChange_isAsExpected()
46 assertThat(parameters.minVideoHeight).isEqualTo(0); in defaultValue_withoutChange_isAsExpected()
47 assertThat(parameters.minVideoFrameRate).isEqualTo(0); in defaultValue_withoutChange_isAsExpected()
48 assertThat(parameters.minVideoBitrate).isEqualTo(0); in defaultValue_withoutChange_isAsExpected()
49 assertThat(parameters.viewportWidth).isEqualTo(Integer.MAX_VALUE); in defaultValue_withoutChange_isAsExpected()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCameraParametersTest.java19 private Camera.Parameters parameters; field in ShadowCameraParametersTest
23 parameters = Shadow.newInstanceOf(Camera.Parameters.class); in setUp()
28 assertThat(Shadows.shadowOf(parameters).getPictureHeight()).isNotEqualTo(600); in testPictureSize()
29 assertThat(Shadows.shadowOf(parameters).getPictureWidth()).isNotEqualTo(800); in testPictureSize()
30 parameters.setPictureSize(800, 600); in testPictureSize()
31 Camera.Size pictureSize = parameters.getPictureSize(); in testPictureSize()
34 assertThat(Shadows.shadowOf(parameters).getPictureHeight()).isEqualTo(600); in testPictureSize()
35 assertThat(Shadows.shadowOf(parameters).getPictureWidth()).isEqualTo(800); in testPictureSize()
41 parameters.getPreviewFpsRange(fpsRange); in testPreviewFpsRange()
44 parameters.setPreviewFpsRange(15, 25); in testPreviewFpsRange()
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/test/java/com/google/android/exoplayer2/trackselection/
DTrackSelectionParametersTest.java39 TrackSelectionParameters parameters = TrackSelectionParameters.DEFAULT_WITHOUT_CONTEXT; in defaultValue_withoutChange_isAsExpected() local
42 assertThat(parameters.maxVideoWidth).isEqualTo(Integer.MAX_VALUE); in defaultValue_withoutChange_isAsExpected()
43 assertThat(parameters.maxVideoHeight).isEqualTo(Integer.MAX_VALUE); in defaultValue_withoutChange_isAsExpected()
44 assertThat(parameters.maxVideoFrameRate).isEqualTo(Integer.MAX_VALUE); in defaultValue_withoutChange_isAsExpected()
45 assertThat(parameters.maxVideoBitrate).isEqualTo(Integer.MAX_VALUE); in defaultValue_withoutChange_isAsExpected()
46 assertThat(parameters.minVideoWidth).isEqualTo(0); in defaultValue_withoutChange_isAsExpected()
47 assertThat(parameters.minVideoHeight).isEqualTo(0); in defaultValue_withoutChange_isAsExpected()
48 assertThat(parameters.minVideoFrameRate).isEqualTo(0); in defaultValue_withoutChange_isAsExpected()
49 assertThat(parameters.minVideoBitrate).isEqualTo(0); in defaultValue_withoutChange_isAsExpected()
50 assertThat(parameters.viewportWidth).isEqualTo(Integer.MAX_VALUE); in defaultValue_withoutChange_isAsExpected()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryAddressBindingTests.cpp186 Dependency (const Environment& env, const typename Case::Parameters& params) in Dependency()
248 struct Parameters struct
250 Parameters (void) {} in Parameters() function
255 Resources (const Environment&, const Parameters&) {} in Resources()
258 static Move<VkDevice> create (const Environment& env, const Resources&, const Parameters&) in create()
268 struct Parameters struct
273 Parameters (VkDeviceSize size_, deUint32 memoryTypeIndex_) in Parameters() argument
283 Resources (const Environment&, const Parameters&) {} in Resources()
286 …static Move<VkDeviceMemory> create (const Environment& env, const Resources&, const Parameters& pa… in create()
300 DeviceMemory::Parameters getDeviceMemoryParameters (const VkMemoryRequirements& memReqs) in getDeviceMemoryParameters()
[all …]
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
DCameraConfigurationManager.java31 * A class which deals with reading, parsing, and setting the camera parameters which are used to
52 Camera.Parameters parameters = camera.getParameters(); in initFromCameraParameters() local
67 cameraResolution = findBestPreviewSizeValue(parameters, screenResolution, false); in initFromCameraParameters()
72 Camera.Parameters parameters = camera.getParameters(); in setDesiredCameraParameters() local
74 if (parameters == null) { in setDesiredCameraParameters()
75 … Log.w(TAG, "Device error: no camera parameters are available. Proceeding without configuration."); in setDesiredCameraParameters()
81 initializeTorch(parameters, prefs); in setDesiredCameraParameters()
82 String focusMode = findSettableValue(parameters.getSupportedFocusModes(), in setDesiredCameraParameters()
83 Camera.Parameters.FOCUS_MODE_AUTO, in setDesiredCameraParameters()
84 Camera.Parameters.FOCUS_MODE_MACRO); in setDesiredCameraParameters()
[all …]
/external/cronet/third_party/icu/source/test/intltest/
Ddisplayoptions_test.cpp38 assertEquals(u"Test setting parameters", UDISPOPT_GRAMMATICAL_CASE_UNDEFINED, in testDisplayOptionsDefault()
59 assertEquals(u"Test setting parameters: ", UDISPOPT_GRAMMATICAL_CASE_ABLATIVE, in testDisplayOptionsEachElement()
64 assertEquals(u"Test setting parameters: ", UDISPOPT_NOUN_CLASS_PERSONAL, in testDisplayOptionsEachElement()
69 assertEquals(u"Test setting parameters: ", UDISPOPT_PLURAL_CATEGORY_FEW, in testDisplayOptionsEachElement()
75 assertEquals(u"Test setting parameters: ", UDISPOPT_CAPITALIZATION_BEGINNING_OF_SENTENCE, in testDisplayOptionsEachElement()
81 assertEquals(u"Test setting parameters: ", UDISPOPT_NAME_STYLE_STANDARD_NAMES, in testDisplayOptionsEachElement()
87 assertEquals(u"Test setting parameters: ", UDISPOPT_DISPLAY_LENGTH_FULL, in testDisplayOptionsEachElement()
93 assertEquals(u"Test setting parameters: ", UDISPOPT_SUBSTITUTE_HANDLING_NO_SUBSTITUTE, in testDisplayOptionsEachElement()
101 assertEquals(u"Test updating parameters: ", UDISPOPT_GRAMMATICAL_CASE_ABLATIVE, in testDisplayOptionsUpdating()
103 assertEquals(u"Test updating parameters: ", UDISPOPT_NOUN_CLASS_UNDEFINED, in testDisplayOptionsUpdating()
[all …]
/external/icu/icu4c/source/test/intltest/
Ddisplayoptions_test.cpp38 assertEquals(u"Test setting parameters", UDISPOPT_GRAMMATICAL_CASE_UNDEFINED, in testDisplayOptionsDefault()
59 assertEquals(u"Test setting parameters: ", UDISPOPT_GRAMMATICAL_CASE_ABLATIVE, in testDisplayOptionsEachElement()
64 assertEquals(u"Test setting parameters: ", UDISPOPT_NOUN_CLASS_PERSONAL, in testDisplayOptionsEachElement()
69 assertEquals(u"Test setting parameters: ", UDISPOPT_PLURAL_CATEGORY_FEW, in testDisplayOptionsEachElement()
75 assertEquals(u"Test setting parameters: ", UDISPOPT_CAPITALIZATION_BEGINNING_OF_SENTENCE, in testDisplayOptionsEachElement()
81 assertEquals(u"Test setting parameters: ", UDISPOPT_NAME_STYLE_STANDARD_NAMES, in testDisplayOptionsEachElement()
87 assertEquals(u"Test setting parameters: ", UDISPOPT_DISPLAY_LENGTH_FULL, in testDisplayOptionsEachElement()
93 assertEquals(u"Test setting parameters: ", UDISPOPT_SUBSTITUTE_HANDLING_NO_SUBSTITUTE, in testDisplayOptionsEachElement()
101 assertEquals(u"Test updating parameters: ", UDISPOPT_GRAMMATICAL_CASE_ABLATIVE, in testDisplayOptionsUpdating()
103 assertEquals(u"Test updating parameters: ", UDISPOPT_NOUN_CLASS_UNDEFINED, in testDisplayOptionsUpdating()
[all …]
/external/mockftpserver/tags/1.2/src/main/java/org/mockftpserver/stub/command/
DPortCommandHandler.java36 …EY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4)
74 * Parse a 32-bit IP address from the String[] of FTP command parameters.
76 * @param parameters - the String[] of command parameters. It is the concatenation
80 * representation). Thus, the six parameters for the port command would be:
85 * @return the InetAddres representing the host parsed from the parameters
87 …* @throws AssertFailedException - if parameters is null or contains an insufficient number of elem…
88 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer
91 static InetAddress parseHost(String[] parameters) throws UnknownHostException { in parseHost() argument
92 verifySufficientParameters(parameters); in parseHost()
94 byte host1 = Byte.parseByte(parameters[0]); in parseHost()
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/java/org/mockftpserver/stub/command/
DPortCommandHandler.java36 …EY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4)
74 * Parse a 32-bit IP address from the String[] of FTP command parameters.
76 * @param parameters - the String[] of command parameters. It is the concatenation
80 * representation). Thus, the six parameters for the port command would be:
85 * @return the InetAddres representing the host parsed from the parameters
87 …* @throws AssertFailedException - if parameters is null or contains an insufficient number of elem…
88 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer
91 static InetAddress parseHost(String[] parameters) throws UnknownHostException { in parseHost() argument
92 verifySufficientParameters(parameters); in parseHost()
94 byte host1 = Byte.parseByte(parameters[0]); in parseHost()
[all …]
/external/mockftpserver/tags/1.0/src/main/java/org/mockftpserver/stub/command/
DPortCommandHandler.java36 …EY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4)
74 * Parse a 32-bit IP address from the String[] of FTP command parameters.
76 * @param parameters - the String[] of command parameters. It is the concatenation
80 * representation). Thus, the six parameters for the port command would be:
85 * @return the InetAddres representing the host parsed from the parameters
87 …* @throws AssertFailedException - if parameters is null or contains an insufficient number of elem…
88 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer
91 static InetAddress parseHost(String[] parameters) throws UnknownHostException { in parseHost() argument
92 verifySufficientParameters(parameters); in parseHost()
94 byte host1 = Byte.parseByte(parameters[0]); in parseHost()
[all …]
/external/mockftpserver/tags/1.2.1/src/main/java/org/mockftpserver/stub/command/
DPortCommandHandler.java36 …EY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4)
74 * Parse a 32-bit IP address from the String[] of FTP command parameters.
76 * @param parameters - the String[] of command parameters. It is the concatenation
80 * representation). Thus, the six parameters for the port command would be:
85 * @return the InetAddres representing the host parsed from the parameters
87 …* @throws AssertFailedException - if parameters is null or contains an insufficient number of elem…
88 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer
91 static InetAddress parseHost(String[] parameters) throws UnknownHostException { in parseHost() argument
92 verifySufficientParameters(parameters); in parseHost()
94 byte host1 = Byte.parseByte(parameters[0]); in parseHost()
[all …]
/external/mockftpserver/tags/1.1/src/main/java/org/mockftpserver/stub/command/
DPortCommandHandler.java36 …EY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4)
74 * Parse a 32-bit IP address from the String[] of FTP command parameters.
76 * @param parameters - the String[] of command parameters. It is the concatenation
80 * representation). Thus, the six parameters for the port command would be:
85 * @return the InetAddres representing the host parsed from the parameters
87 …* @throws AssertFailedException - if parameters is null or contains an insufficient number of elem…
88 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer
91 static InetAddress parseHost(String[] parameters) throws UnknownHostException { in parseHost() argument
92 verifySufficientParameters(parameters); in parseHost()
94 byte host1 = Byte.parseByte(parameters[0]); in parseHost()
[all …]
/external/mockftpserver/tags/1.2.2/src/main/java/org/mockftpserver/stub/command/
DPortCommandHandler.java36 …EY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4)
74 * Parse a 32-bit IP address from the String[] of FTP command parameters.
76 * @param parameters - the String[] of command parameters. It is the concatenation
80 * representation). Thus, the six parameters for the port command would be:
85 * @return the InetAddres representing the host parsed from the parameters
87 …* @throws AssertFailedException - if parameters is null or contains an insufficient number of elem…
88 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer
91 static InetAddress parseHost(String[] parameters) throws UnknownHostException { in parseHost() argument
92 verifySufficientParameters(parameters); in parseHost()
94 byte host1 = Byte.parseByte(parameters[0]); in parseHost()
[all …]
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/core/util/
DPortParser.java41 * Parse a 32-bit IP address from the String[] of FTP command parameters.
43 * @param parameters - the String[] of command parameters. It is the concatenation
47 * representation). Thus, the six parameters for the port command would be:
51 * @return the InetAddres representing the host parsed from the parameters
53 …* - if parameters is null or contains an insufficient number of elem…
54 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer
56 public static InetAddress parseHost(String[] parameters) { in parseHost() argument
57 verifySufficientParameters(parameters); in parseHost()
59 byte host1 = parseByte(parameters[0]); in parseHost()
60 byte host2 = parseByte(parameters[1]); in parseHost()
[all …]
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/core/util/
DPortParser.java41 * Parse a 32-bit IP address from the String[] of FTP command parameters.
43 * @param parameters - the String[] of command parameters. It is the concatenation
47 * representation). Thus, the six parameters for the port command would be:
51 * @return the InetAddres representing the host parsed from the parameters
53 …* - if parameters is null or contains an insufficient number of elem…
54 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer
56 public static InetAddress parseHost(String[] parameters) { in parseHost() argument
57 verifySufficientParameters(parameters); in parseHost()
59 byte host1 = parseByte(parameters[0]); in parseHost()
60 byte host2 = parseByte(parameters[1]); in parseHost()
[all …]
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/core/util/
DPortParser.java41 * Parse a 32-bit IP address from the String[] of FTP command parameters.
43 * @param parameters - the String[] of command parameters. It is the concatenation
47 * representation). Thus, the six parameters for the port command would be:
51 * @return the InetAddres representing the host parsed from the parameters
53 …* - if parameters is null or contains an insufficient number of elem…
54 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer
56 public static InetAddress parseHost(String[] parameters) { in parseHost() argument
57 verifySufficientParameters(parameters); in parseHost()
59 byte host1 = parseByte(parameters[0]); in parseHost()
60 byte host2 = parseByte(parameters[1]); in parseHost()
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/core/util/
DPortParser.java41 * Parse a 32-bit IP address from the String[] of FTP command parameters.
43 * @param parameters - the String[] of command parameters. It is the concatenation
47 * representation). Thus, the six parameters for the port command would be:
51 * @return the InetAddres representing the host parsed from the parameters
53 …* - if parameters is null or contains an insufficient number of elem…
54 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer
56 public static InetAddress parseHost(String[] parameters) { in parseHost() argument
57 verifySufficientParameters(parameters); in parseHost()
59 byte host1 = parseByte(parameters[0]); in parseHost()
60 byte host2 = parseByte(parameters[1]); in parseHost()
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/core/util/
DPortParser.java41 * Parse a 32-bit IP address from the String[] of FTP command parameters.
43 * @param parameters - the String[] of command parameters. It is the concatenation
47 * representation). Thus, the six parameters for the port command would be:
51 * @return the InetAddres representing the host parsed from the parameters
53 …* - if parameters is null or contains an insufficient number of elem…
54 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer
56 public static InetAddress parseHost(String[] parameters) { in parseHost() argument
57 verifySufficientParameters(parameters); in parseHost()
59 byte host1 = parseByte(parameters[0]); in parseHost()
60 byte host2 = parseByte(parameters[1]); in parseHost()
[all …]
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/core/util/
DPortParser.java41 * Parse a 32-bit IP address from the String[] of FTP command parameters.
43 * @param parameters - the String[] of command parameters. It is the concatenation
47 * representation). Thus, the six parameters for the port command would be:
51 * @return the InetAddres representing the host parsed from the parameters
53 …* - if parameters is null or contains an insufficient number of elem…
54 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer
56 public static InetAddress parseHost(String[] parameters) { in parseHost() argument
57 verifySufficientParameters(parameters); in parseHost()
59 byte host1 = parseByte(parameters[0]); in parseHost()
60 byte host2 = parseByte(parameters[1]); in parseHost()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/text/
DDisplayOptionsTest.java30 assertEquals("Test setting parameters", GrammaticalCase.UNDEFINED, in TestDisplayOptionsDefault()
48 assertEquals("Test setting parameters: ", GrammaticalCase.ABLATIVE, in TestDisplayOptionsEachElement()
52 assertEquals("Test setting parameters: ", NounClass.PERSONAL, in TestDisplayOptionsEachElement()
56 assertEquals("Test setting parameters: ", PluralCategory.FEW, in TestDisplayOptionsEachElement()
61 assertEquals("Test setting parameters: ", Capitalization.BEGINNING_OF_SENTENCE, in TestDisplayOptionsEachElement()
65 assertEquals("Test setting parameters: ", NameStyle.STANDARD_NAMES, in TestDisplayOptionsEachElement()
70 assertEquals("Test setting parameters: ", DisplayLength.LENGTH_FULL, in TestDisplayOptionsEachElement()
75 assertEquals("Test setting parameters: ", SubstituteHandling.NO_SUBSTITUTE, in TestDisplayOptionsEachElement()
83 assertEquals("Test updating parameters: ", GrammaticalCase.ABLATIVE, in TestDisplayOptionsUpdating()
85 assertEquals("Test updating parameters: ", NounClass.UNDEFINED, in TestDisplayOptionsUpdating()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/text/
DDisplayOptionsTest.java33 assertEquals("Test setting parameters", GrammaticalCase.UNDEFINED, in TestDisplayOptionsDefault()
51 assertEquals("Test setting parameters: ", GrammaticalCase.ABLATIVE, in TestDisplayOptionsEachElement()
55 assertEquals("Test setting parameters: ", NounClass.PERSONAL, in TestDisplayOptionsEachElement()
59 assertEquals("Test setting parameters: ", PluralCategory.FEW, in TestDisplayOptionsEachElement()
64 assertEquals("Test setting parameters: ", Capitalization.BEGINNING_OF_SENTENCE, in TestDisplayOptionsEachElement()
68 assertEquals("Test setting parameters: ", NameStyle.STANDARD_NAMES, in TestDisplayOptionsEachElement()
73 assertEquals("Test setting parameters: ", DisplayLength.LENGTH_FULL, in TestDisplayOptionsEachElement()
78 assertEquals("Test setting parameters: ", SubstituteHandling.NO_SUBSTITUTE, in TestDisplayOptionsEachElement()
86 assertEquals("Test updating parameters: ", GrammaticalCase.ABLATIVE, in TestDisplayOptionsUpdating()
88 assertEquals("Test updating parameters: ", NounClass.UNDEFINED, in TestDisplayOptionsUpdating()
[all …]
/external/mockftpserver/tags/1.2.3/src/main/java/org/mockftpserver/stub/command/
DPortCommandHandler.java36 …EY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4)
74 * Parse a 32-bit IP address from the String[] of FTP command parameters.
76 * @param parameters - the String[] of command parameters. It is the concatenation
80 * representation). Thus, the six parameters for the port command would be:
85 * @return the InetAddres representing the host parsed from the parameters
87 …* @throws AssertFailedException - if parameters is null or contains an insufficient number of elem…
88 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer
91 static InetAddress parseHost(String[] parameters) throws UnknownHostException { in parseHost() argument
92 verifySufficientParameters(parameters); in parseHost()
94 byte host1 = parseByte(parameters[0]); in parseHost()
[all …]
/external/mockftpserver/tags/1.2.4/src/main/java/org/mockftpserver/stub/command/
DPortCommandHandler.java36 …EY} ("host") - the client data host (InetAddress) submitted on the invocation (from parameters 1-4)
74 * Parse a 32-bit IP address from the String[] of FTP command parameters.
76 * @param parameters - the String[] of command parameters. It is the concatenation
80 * representation). Thus, the six parameters for the port command would be:
85 * @return the InetAddres representing the host parsed from the parameters
87 …* @throws AssertFailedException - if parameters is null or contains an insufficient number of elem…
88 * @throws NumberFormatException - if one of the parameters does not contain a parsable integer
91 static InetAddress parseHost(String[] parameters) throws UnknownHostException { in parseHost() argument
92 verifySufficientParameters(parameters); in parseHost()
94 byte host1 = parseByte(parameters[0]); in parseHost()
[all …]

12345678910>>...484