Home
last modified time | relevance | path

Searched refs:nvps (Results 1 – 2 of 2) sorted by relevance

/external/apache-http/src/org/apache/http/message/
DBasicHeaderValueFormatter.java254 String formatParameters(final NameValuePair[] nvps, in formatParameters() argument
259 return formatter.formatParameters(null, nvps, quote).toString(); in formatParameters()
265 NameValuePair[] nvps, in formatParameters() argument
267 if (nvps == null) { in formatParameters()
272 int len = estimateParametersLen(nvps); in formatParameters()
279 for (int i = 0; i < nvps.length; i++) { in formatParameters()
283 formatNameValuePair(buffer, nvps[i], quote); in formatParameters()
297 protected int estimateParametersLen(final NameValuePair[] nvps) { in estimateParametersLen() argument
298 if ((nvps == null) || (nvps.length < 1)) in estimateParametersLen()
301 int result = (nvps.length-1) * 2; // "; " between the parameters in estimateParametersLen()
[all …]
DHeaderValueFormatter.java117 NameValuePair[] nvps, in formatParameters() argument