Home
last modified time | relevance | path

Searched refs:addPart (Results 1 – 12 of 12) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DMultipartBuilderTest.java42 .addPart(RequestBody.create(null, "Hello, World!")) in singlePart()
71 .addPart(RequestBody.create(null, "Quick")) in threeParts()
72 .addPart(RequestBody.create(null, "Brown")) in threeParts()
73 .addPart(RequestBody.create(null, "Fox")) in threeParts()
119 .addPart( in fieldAndTwoFiles()
123 .addPart( in fieldAndTwoFiles()
213 .addPart(RequestBody.create(null, "Quick")) in streamingPartHasNoLength()
214 .addPart(new StreamingBody("Brown")) in streamingPartHasNoLength()
215 .addPart(RequestBody.create(null, "Fox")) in streamingPartHasNoLength()
228 new MultipartBuilder().addPart( in contentTypeHeaderIsForbidden()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMessagePattern.java867 addPart(Part.Type.MSG_START, index, msgStartLength, nestingLevel); in parseMessage()
875 addPart(Part.Type.INSERT_CHAR, index, 0, '\''); // value=char to be inserted in parseMessage()
881 addPart(Part.Type.SKIP_SYNTAX, index++, 1, 0); in parseMessage()
889 addPart(Part.Type.SKIP_SYNTAX, index-1, 1, 0); in parseMessage()
897 addPart(Part.Type.SKIP_SYNTAX, ++index, 1, 0); in parseMessage()
900 addPart(Part.Type.SKIP_SYNTAX, index++, 1, 0); in parseMessage()
907addPart(Part.Type.INSERT_CHAR, index, 0, '\''); // value=char to be inserted in parseMessage()
915addPart(Part.Type.INSERT_CHAR, index, 0, '\''); // value=char to be inserted in parseMessage()
922 addPart(Part.Type.REPLACE_NUMBER, index-1, 1, 0); in parseMessage()
951 addPart(Part.Type.ARG_START, index, argStartLength, argType.ordinal()); in parseArg()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMessagePattern.java938 addPart(Part.Type.MSG_START, index, msgStartLength, nestingLevel); in parseMessage()
946 addPart(Part.Type.INSERT_CHAR, index, 0, '\''); // value=char to be inserted in parseMessage()
952 addPart(Part.Type.SKIP_SYNTAX, index++, 1, 0); in parseMessage()
960 addPart(Part.Type.SKIP_SYNTAX, index-1, 1, 0); in parseMessage()
968 addPart(Part.Type.SKIP_SYNTAX, ++index, 1, 0); in parseMessage()
971 addPart(Part.Type.SKIP_SYNTAX, index++, 1, 0); in parseMessage()
978addPart(Part.Type.INSERT_CHAR, index, 0, '\''); // value=char to be inserted in parseMessage()
986addPart(Part.Type.INSERT_CHAR, index, 0, '\''); // value=char to be inserted in parseMessage()
993 addPart(Part.Type.REPLACE_NUMBER, index-1, 1, 0); in parseMessage()
1022 addPart(Part.Type.ARG_START, index, argStartLength, argType.ordinal()); in parseArg()
[all …]
/external/icu/icu4c/source/common/
Dmessagepattern.cpp445 addPart(UMSGPAT_PART_TYPE_MSG_START, index, msgStartLength, nestingLevel, errorCode); in parseMessage()
459 addPart(UMSGPAT_PART_TYPE_INSERT_CHAR, index, 0, in parseMessage()
466 addPart(UMSGPAT_PART_TYPE_SKIP_SYNTAX, index++, 1, 0, errorCode); in parseMessage()
474 addPart(UMSGPAT_PART_TYPE_SKIP_SYNTAX, index-1, 1, 0, errorCode); in parseMessage()
482 addPart(UMSGPAT_PART_TYPE_SKIP_SYNTAX, ++index, 1, 0, errorCode); in parseMessage()
485 addPart(UMSGPAT_PART_TYPE_SKIP_SYNTAX, index++, 1, 0, errorCode); in parseMessage()
492 addPart(UMSGPAT_PART_TYPE_INSERT_CHAR, index, 0, in parseMessage()
501 addPart(UMSGPAT_PART_TYPE_INSERT_CHAR, index, 0, in parseMessage()
509 addPart(UMSGPAT_PART_TYPE_REPLACE_NUMBER, index-1, 1, 0, errorCode); in parseMessage()
543 addPart(UMSGPAT_PART_TYPE_ARG_START, index, argStartLength, argType, errorCode); in parseArg()
[all …]
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
DGetAndPostIntegrationTest.java134 reqEntity.addPart("age", new StringBody("120")); in testPostRequestWithMultipartEncodedParameters()
135 reqEntity.addPart("gender", new StringBody("Male")); in testPostRequestWithMultipartEncodedParameters()
172 …reqEntity.addPart("specialString", new StringBody("拖拉图片到浏览器,可以实现预览功能", "text/plain", Charset.forNa… in testPostRequestWithMultipartExtremEncodedParameters()
173 reqEntity.addPart("gender", new StringBody("图片名称", Charset.forName("UTF-8")) { in testPostRequestWithMultipartExtremEncodedParameters()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DMultipartBuilder.java114 public MultipartBuilder addPart(RequestBody body) { in addPart() method in MultipartBuilder
115 return addPart(null, body); in addPart()
119 public MultipartBuilder addPart(Headers headers, RequestBody body) { in addPart() method in MultipartBuilder
187 return addPart(Headers.of("Content-Disposition", disposition.toString()), value); in addFormDataPart()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DMultipartBuilder.java112 public MultipartBuilder addPart(RequestBody body) { in addPart() method in MultipartBuilder
113 return addPart(null, body); in addPart()
117 public MultipartBuilder addPart(Headers headers, RequestBody body) { in addPart() method in MultipartBuilder
185 return addPart(Headers.of("Content-Disposition", disposition.toString()), value); in addFormDataPart()
/external/cldr/tools/java/org/unicode/cldr/tool/
DShowData.java335 … + addPart(oldParts == null ? null : oldParts.getSection(), prettyPath.getSection()) in main()
336 … + addPart(oldParts == null ? null : oldParts.getPage(), prettyPath.getPage()) in main()
337 … + addPart(oldParts == null ? null : oldParts.getHeader(), prettyPath.getHeader()) in main()
338 … + addPart(oldParts == null ? null : oldParts.getCode(), prettyPath.getCode()) in main()
437 private static String addPart(String oldPart, String newPart) {
/external/nanohttpd/fileupload/src/test/java/fi/iki/elonen/
DTestNanoFileUpLoad.java215 builder.addPart("upfile", fileBody); in executeUpload()
216 builder.addPart("text1", stringBody1); in executeUpload()
/external/icu/icu4c/source/common/unicode/
Dmessagepattern.h914 void addPart(UMessagePatternPartType type, int32_t index, int32_t length,
/external/icu/libicu/cts_headers/unicode/
Dmessagepattern.h914 void addPart(UMessagePatternPartType type, int32_t index, int32_t length,
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DSmsFacade.java1054 mBody.addPart(part); in addMessageBody()
1068 mBody.addPart(0, smilPart); in addSmilTextFragment()