Home
last modified time | relevance | path

Searched refs:NameValuePair (Results 1 – 25 of 31) sorted by relevance

12

/external/apache-http/src/org/apache/http/message/
DBasicHeaderElement.java35 import org.apache.http.NameValuePair;
92 private final NameValuePair[] parameters;
105 final NameValuePair[] parameters) { in BasicHeaderElement()
115 this.parameters = new NameValuePair[] {}; in BasicHeaderElement()
154 public NameValuePair[] getParameters() { in getParameters()
155 return (NameValuePair[])this.parameters.clone(); in getParameters()
176 public NameValuePair getParameter(int index) { in getParameter()
189 public NameValuePair getParameterByName(final String name) { in getParameterByName()
193 NameValuePair found = null; in getParameterByName()
195 NameValuePair current = this.parameters[ i ]; in getParameterByName()
DBasicHeaderValueParser.java39 import org.apache.http.NameValuePair;
179 NameValuePair nvp = parseNameValuePair(buffer, cursor); in parseHeaderElement()
180 NameValuePair[] params = null; in parseHeaderElement()
200 final NameValuePair[] params) { in createHeaderElement()
214 NameValuePair[] parseParameters(final String value, in parseParameters()
235 public NameValuePair[] parseParameters(final CharArrayBuffer buffer, in parseParameters()
258 return new NameValuePair[] {}; in parseParameters()
263 NameValuePair param = parseNameValuePair(buffer, cursor); in parseParameters()
271 return (NameValuePair[]) in parseParameters()
272 params.toArray(new NameValuePair[params.size()]); in parseParameters()
[all …]
DBasicHeaderValueFormatter.java35 import org.apache.http.NameValuePair;
259 String formatParameters(final NameValuePair[] nvps, in formatParameters()
270 NameValuePair[] nvps, in formatParameters()
302 protected int estimateParametersLen(final NameValuePair[] nvps) { in estimateParametersLen()
327 String formatNameValuePair(final NameValuePair nvp, in formatNameValuePair()
338 final NameValuePair nvp, in formatNameValuePair()
370 protected int estimateNameValuePairLen(final NameValuePair nvp) { in estimateNameValuePairLen()
DHeaderValueFormatter.java36 import org.apache.http.NameValuePair;
122 NameValuePair[] nvps, in formatParameters()
141 NameValuePair nvp, in formatNameValuePair()
DHeaderValueParser.java36 import org.apache.http.NameValuePair;
199 NameValuePair[] parseParameters( in parseParameters()
214 NameValuePair parseNameValuePair( in parseNameValuePair()
DBasicNameValuePair.java34 import org.apache.http.NameValuePair;
111 public class BasicNameValuePair implements NameValuePair, Cloneable {
174 if (object instanceof NameValuePair) { in equals()
/external/dexmaker/src/dx/java/com/android/dx/rop/annotation/
DNameValuePair.java25 public final class NameValuePair implements Comparable<NameValuePair> { class
38 public NameValuePair(CstString name, Constant value) { in NameValuePair() method in NameValuePair
63 if (! (other instanceof NameValuePair)) { in equals()
67 NameValuePair otherPair = (NameValuePair) other; in equals()
79 public int compareTo(NameValuePair other) { in compareTo()
DAnnotation.java43 private final TreeMap<CstString, NameValuePair> elements;
62 this.elements = new TreeMap<CstString, NameValuePair>(); in Annotation()
104 Iterator<NameValuePair> thisIter = elements.values().iterator(); in compareTo()
105 Iterator<NameValuePair> otherIter = other.elements.values().iterator(); in compareTo()
108 NameValuePair thisOne = thisIter.next(); in compareTo()
109 NameValuePair otherOne = otherIter.next(); in compareTo()
142 for (NameValuePair pair : elements.values()) { in toHuman()
182 public void put(NameValuePair pair) { in put()
199 public void add(NameValuePair pair) { in add()
221 public Collection<NameValuePair> getNameValuePairs() { in getNameValuePairs()
/external/apache-http/src/org/apache/http/client/utils/
DURLEncodedUtils.java44 import org.apache.http.NameValuePair;
76 public static List <NameValuePair> parse (final URI uri, final String encoding) { in parse()
77 List <NameValuePair> result = Collections.emptyList(); in parse()
80 result = new ArrayList <NameValuePair>(); in parse()
98 public static List <NameValuePair> parse ( in parse()
100 List <NameValuePair> result = Collections.emptyList(); in parse()
105 result = new ArrayList <NameValuePair>(); in parse()
137 final List <NameValuePair> parameters, in parse()
162 final List <? extends NameValuePair> parameters, in format()
165 for (final NameValuePair parameter : parameters) { in format()
/external/apache-http/src/org/apache/http/impl/cookie/
DNetscapeDraftHeaderParser.java38 import org.apache.http.NameValuePair;
73 NameValuePair nvp = this.nvpParser.parseNameValuePair(buffer, cursor, DELIMITERS); in parseHeader()
74 List<NameValuePair> params = new ArrayList<NameValuePair>(); in parseHeader()
76 NameValuePair param = this.nvpParser.parseNameValuePair(buffer, cursor, DELIMITERS); in parseHeader()
81 nvp.getValue(), params.toArray(new NameValuePair[params.size()])); in parseHeader()
DRFC2965Spec.java41 import org.apache.http.NameValuePair;
131 NameValuePair[] attribs = headerelement.getParameters(); in parse()
135 Map<String, NameValuePair> attribmap = in parse()
136 new HashMap<String, NameValuePair>(attribs.length); in parse()
138 NameValuePair param = attribs[j]; in parse()
141 for (Map.Entry<String, NameValuePair> entry : attribmap.entrySet()) { in parse()
142 NameValuePair attrib = entry.getValue(); in parse()
DCookieSpecBase.java39 import org.apache.http.NameValuePair;
91 NameValuePair[] attribs = headerelement.getParameters(); in parse()
93 NameValuePair attrib = attribs[j]; in parse()
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DAnnotationUtils.java20 import com.android.dx.rop.annotation.NameValuePair;
93 result.put(new NameValuePair(VALUE_STRING, new CstAnnotation(defaults))); in makeAnnotationDefault()
107 result.put(new NameValuePair(VALUE_STRING, clazz)); in makeEnclosingClass()
121 result.put(new NameValuePair(VALUE_STRING, method)); in makeEnclosingMethod()
138 result.put(new NameValuePair(NAME_STRING, nameCst)); in makeInnerClass()
139 result.put(new NameValuePair(ACCESS_FLAGS_STRING, in makeInnerClass()
154 result.put(new NameValuePair(VALUE_STRING, array)); in makeMemberClasses()
216 result.put(new NameValuePair(VALUE_STRING, new CstArray(list))); in makeSignature()
230 result.put(new NameValuePair(VALUE_STRING, array)); in makeThrows()
DValueEncoder.java20 import com.android.dx.rop.annotation.NameValuePair;
322 Collection<NameValuePair> pairs = annotation.getNameValuePairs(); in writeAnnotation()
332 for (NameValuePair pair : pairs) { in writeAnnotation()
498 for (NameValuePair pair : annotation.getNameValuePairs()) { in addContents()
DAnnotationItem.java21 import com.android.dx.rop.annotation.NameValuePair;
176 for (NameValuePair pair : annotation.getNameValuePairs()) { in annotateTo()
/external/apache-http/src/org/apache/http/
DHeaderElement.java56 NameValuePair[] getParameters(); in getParameters()
58 NameValuePair getParameterByName(String name); in getParameterByName()
62 NameValuePair getParameter(int index); in getParameter()
DNameValuePair.java107 public interface NameValuePair { interface
/external/apache-http/src/org/apache/http/client/entity/
DUrlEncodedFormEntity.java35 import org.apache.http.NameValuePair;
60 final List <? extends NameValuePair> parameters, in UrlEncodedFormEntity()
75 final List <? extends NameValuePair> parameters) throws UnsupportedEncodingException { in UrlEncodedFormEntity()
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
DGetAndPostIntegrationTest.java46 import org.apache.http.NameValuePair;
117 List<NameValuePair> postParameters = new ArrayList<NameValuePair>(); in testPostRequestWithFormEncodedParameters()
/external/apache-http/src/org/apache/http/util/
DEntityUtils.java41 import org.apache.http.NameValuePair;
103 NameValuePair param = values[0].getParameterByName("charset"); in getContentCharSet()
/external/robolectric/v1/lib/main/
Dhttpcore-4.0.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.commons.httpclient_3.1.0.v201005080502.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/antlr/antlr-3.4/lib/
Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd ...

12