Home
last modified time | relevance | path

Searched refs:setBody (Results 1 – 25 of 49) sorted by relevance

12

/external/okhttp/src/test/java/libcore/net/http/
DURLConnectionTest.java238 server.enqueue(new MockResponse().setBody("A")); in testGetErrorStreamOnSuccessfulRequest()
245 server.enqueue(new MockResponse().setResponseCode(404).setBody("A")); in testGetErrorStreamOnUnsuccessfulRequest()
273 MockResponse response = new MockResponse().setBody("ABCDEFGHIJKLMNOPQR"); in testConnectionsArePooled()
318 .setBody("This connection won't pool properly") in testServerClosesOutput()
321 .setBody("This comes after a busted connection")); in testServerClosesOutput()
413 server.enqueue(new MockResponse().setBody("this response comes via HTTPS")); in testConnectViaHttps()
428 server.enqueue(new MockResponse().setBody("this response comes via HTTPS")); in testConnectViaHttpsReusingConnections()
429 server.enqueue(new MockResponse().setBody("another response via HTTPS")); in testConnectViaHttpsReusingConnections()
452 server.enqueue(new MockResponse().setBody("this response comes via HTTPS")); in testConnectViaHttpsReusingConnectionsDifferentFactories()
453 server.enqueue(new MockResponse().setBody("another response via HTTPS")); in testConnectViaHttpsReusingConnectionsDifferentFactories()
[all …]
/external/mockwebserver/src/test/java/com/google/mockwebserver/
DMockWebServerTest.java43 server.enqueue(new MockResponse().setBody("hello world")); in testRegularResponse()
64 .setBody("This page has moved!")); in testRedirect()
65 server.enqueue(new MockResponse().setBody("This is the new location!")); in testRedirect()
80 .setBody("G\r\nxxxxxxxxxxxxxxxx\r\n0\r\n\r\n") in testNonHexadecimalChunkSize()
96 .setBody("ABC") in testResponseTimeout()
100 .setBody("DEF")); in testResponseTimeout()
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockResponse.java116 public MockResponse setBody(byte[] body) { in setBody() method in MockResponse
125 public MockResponse setBody(String body) { in setBody() method in MockResponse
127 return setBody(body.getBytes(ASCII)); in setBody()
/external/javassist/src/main/javassist/
DCtConstructor.java209 public void setBody(String src) throws CannotCompileException { in setBody() method in CtConstructor
216 super.setBody(src); in setBody()
231 public void setBody(CtConstructor src, ClassMap map) in setBody() method in CtConstructor
DCtNewConstructor.java102 cc.setBody(body); in make()
DCtMethod.java251 public void setBody(CtMethod src, ClassMap map) in setBody() method in CtMethod
DCtBehavior.java374 public void setBody(String src) throws CannotCompileException { in setBody() method in CtBehavior
375 setBody(src, null, null); in setBody()
390 public void setBody(String src, in setBody() method in CtBehavior
DCtNewMethod.java137 cm.setBody(body); in make()
/external/llvm/lib/VMCore/
DType.cpp440 ST->setBody(ETypes, isPacked); in get()
449 void StructType::setBody(ArrayRef<Type*> Elements, bool isPacked) { in setBody() function in StructType
544 ST->setBody(Elements, isPacked); in create()
611 void StructType::setBody(Type *type, ...) { in setBody() function in StructType
620 setBody(StructFields); in setBody()
/external/llvm/include/llvm/
DDerivedTypes.h270 void setBody(ArrayRef<Type*> Elements, bool isPacked = false);
271 void setBody(Type *elt1, ...) END_WITH_NULL;
/external/clang/include/clang/AST/
DStmt.h957 void setBody(Stmt *S) { SubExprs[BODY] = S; } in setBody() function
969 void setBody(Stmt *S, SourceLocation SL) { in setBody() function
1042 void setBody(Stmt *S) { SubExprs[BODY] = S; } in setBody() function
1086 void setBody(Stmt *S) { SubExprs[BODY] = S; } in setBody() function
1159 void setBody(Stmt *S) { SubExprs[BODY] = S; } in setBody() function
DStmtCXX.h183 void setBody(Stmt *S) { SubExprs[BODY] = S; } in setBody() function
DStmtObjC.h51 void setBody(Stmt *S) { SubExprs[BODY] = S; } in setBody() function
DDecl.h1682 void setBody(Stmt *B);
3151 void setBody(CompoundStmt *B) { Body = (Stmt*) B; } in setBody() function
/external/clang/lib/Serialization/
DASTReaderStmt.cpp192 S->setBody(Reader.ReadSubStmt()); in VisitSwitchStmt()
215 S->setBody(Reader.ReadSubStmt()); in VisitWhileStmt()
222 S->setBody(Reader.ReadSubStmt()); in VisitDoStmt()
235 S->setBody(Reader.ReadSubStmt()); in VisitForStmt()
984 S->setBody(Reader.ReadSubStmt()); in VisitObjCForCollectionStmt()
1073 S->setBody(Reader.ReadSubStmt()); in VisitCXXForRangeStmt()
/external/webkit/Source/WebKit/win/Interfaces/
DDOMHTML.idl143 - (void)setBody:(DOMHTMLElement *)body;
145 HRESULT setBody([in] IDOMHTMLElement* body);
/external/llvm/lib/CodeGen/
DShadowStackGC.cpp295 StackEntryTy->setBody(EltTys); in initializeCustomLowering()
/external/llvm/lib/Transforms/Utils/
DLowerInvoke.cpp131 JBLinkTy->setBody(Elts); in doInitialization()
/external/clang/lib/Sema/
DSemaLambda.cpp951 Block->setBody(new (Context) CompoundStmt(ConvLocation)); in BuildBlockForLambdaConversion()
DSemaStmt.cpp625 SS->setBody(BodyStmt, SwitchLoc); in ActOnFinishSwitchStmt()
2032 ForStmt->setBody(B); in FinishObjCForCollectionStmt()
2048 ForStmt->setBody(B); in FinishCXXForRangeStmt()
DSemaDeclCXX.cpp6893 Constructor->setBody(new (Context) CompoundStmt(Loc)); in DefineImplicitDefaultConstructor()
7209 Destructor->setBody(new (Context) CompoundStmt(Loc)); in DefineImplicitDestructor()
7959 CopyAssignOperator->setBody(Body.takeAs<Stmt>()); in DefineImplicitCopyAssignment()
8508 MoveAssignOperator->setBody(Body.takeAs<Stmt>()); in DefineImplicitMoveAssignment()
8722 CopyConstructor->setBody(ActOnCompoundStmt(CopyConstructor->getLocation(), in DefineImplicitCopyConstructor()
8905 MoveConstructor->setBody(ActOnCompoundStmt(MoveConstructor->getLocation(), in DefineImplicitMoveConstructor()
8958 Conv->setBody(new (Context) CompoundStmt(Context, &Return, 1, in DefineImplicitLambdaToFunctionPointerConversion()
8966 Invoke->setBody(new (Context) CompoundStmt(Conv->getLocation())); in DefineImplicitLambdaToFunctionPointerConversion()
9017 Conv->setBody(new (Context) CompoundStmt(Context, &ReturnS, 1, in DefineImplicitLambdaToBlockPointerConversion()
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp1003 Ty->setBody(Builder.FieldTypes, Builder.Packed); in ComputeRecordLayout()
/external/llvm/lib/Linker/
DLinkModules.cpp224 DstSTy->setBody(Elements, SrcSTy->isPacked()); in linkDefinedTypeBodies()
/external/webkit/Source/WebKit/win/
DDOMHTMLClasses.cpp272 HRESULT STDMETHODCALLTYPE DOMHTMLDocument::setBody( in setBody() function in DOMHTMLDocument
/external/webkit/Source/WebCore/dom/
DDocument.h865 void setBody(PassRefPtr<HTMLElement>, ExceptionCode&);

12