/external/libmicrohttpd/src/testcurl/ |
test_large_put.c | 104 struct MHD_Response *response; local 132 response = MHD_create_response_from_buffer (strlen (url), 135 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 136 MHD_destroy_response (response); 252 fprintf (stderr, "Got invalid response `%.*s'\n", (int)cbc.pos, cbc.buf); 314 fprintf (stderr, "Got invalid response `%.*s'\n", (int)cbc.pos, cbc.buf); 448 fprintf (stderr, "Got invalid response `%.*s'\n", (int)cbc.pos, cbc.buf);
|
test_post_loop.c | 82 struct MHD_Response *response; local 94 response = MHD_create_response_from_buffer (2, "OK", 96 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 97 MHD_destroy_response (response);
|
test_postform.c | 125 struct MHD_Response *response; local 146 response = MHD_create_response_from_buffer (strlen (url), 149 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 150 MHD_destroy_response (response);
|
test_process_headers.c | 91 struct MHD_Response *response; local 125 response = MHD_create_response_from_buffer (strlen (url), 128 MHD_add_response_header (response, "MyHeader", "MyValue"); 129 hdr = MHD_get_response_header (response, "MyHeader"); 132 MHD_add_response_header (response, "MyHeader", "MyValueToo"); 133 if (MHD_YES != MHD_del_response_header (response, "MyHeader", "MyValue")) 135 hdr = MHD_get_response_header (response, "MyHeader"); 138 if (1 != MHD_get_response_headers (response, NULL, NULL)) 140 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 141 MHD_destroy_response (response); [all...] |
test_put.c | 91 struct MHD_Response *response; local 112 response = MHD_create_response_from_buffer (strlen (url), (void*) url, 114 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 115 MHD_destroy_response (response);
|
test_put_chunked.c | 92 struct MHD_Response *response; local 117 fprintf (stderr, "Not ready for response: %u/%u\n", *done, 8); 121 response = MHD_create_response_from_buffer (strlen (url), 124 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 125 MHD_destroy_response (response);
|
test_quiesce.c | 82 struct MHD_Response *response; local 93 response = MHD_create_response_from_buffer (strlen (url), 96 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 97 MHD_destroy_response (response);
|
/external/libmicrohttpd/src/testspdy/ |
test_misc.c | 98 struct SPDY_Response * response, 148 SPDY_destroy_response(response); 174 struct SPDY_Response *response=NULL; local 181 response = SPDY_build_response(200,NULL,SPDY_HTTP_VERSION_1_1,NULL,CSS,strlen(CSS)); 185 response = SPDY_build_response(200,NULL,SPDY_HTTP_VERSION_1_1,NULL,HTML,strlen(HTML)); 188 if(NULL==response){ 189 fprintf(stdout,"no response obj\n"); 193 if(SPDY_queue_response(request,response,true,false,&response_done_callback,cls_path)!=SPDY_YES)
|
test_request_response_with_callback.c | 88 struct SPDY_Response * response, 99 SPDY_destroy_response(response); 127 struct SPDY_Response *response=NULL; local 145 response = SPDY_build_response_with_callback(200,NULL, 149 if(NULL==response){ 150 fprintf(stdout,"no response obj\n"); 156 if(SPDY_queue_response(request,response,true,false,&response_done_callback,clspath)!=SPDY_YES)
|
/external/libmicrohttpd/src/testzzuf/ |
test_get.c | 73 struct MHD_Response *response; local 84 response = MHD_create_response_from_buffer (strlen (url), 87 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 88 MHD_destroy_response (response);
|
test_get_chunked.c | 99 struct MHD_Response *response; local 112 response = MHD_create_response_from_callback (MHD_SIZE_UNKNOWN, 115 *responseptr = response; 116 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 117 MHD_destroy_response (response);
|
test_post.c | 116 struct MHD_Response *response; local 134 response = MHD_create_response_from_buffer (strlen (url), 137 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 138 MHD_destroy_response (response);
|
test_post_form.c | 119 struct MHD_Response *response; local 139 response = MHD_create_response_from_buffer (strlen (url), 142 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 143 MHD_destroy_response (response);
|
test_put.c | 87 struct MHD_Response *response; local 108 response = MHD_create_response_from_buffer (strlen (url), 111 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 112 MHD_destroy_response (response);
|
test_put_chunked.c | 87 struct MHD_Response *response; local 110 fprintf (stderr, "Not ready for response: %u/%u\n", *done, 8); 114 response = MHD_create_response_from_buffer (strlen (url), 117 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 118 MHD_destroy_response (response);
|
test_put_large.c | 95 struct MHD_Response *response; local 122 response = MHD_create_response_from_buffer (strlen (url), 125 ret = MHD_queue_response (connection, MHD_HTTP_OK, response); 126 MHD_destroy_response (response);
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
InterfaceControlMessageTest.java | 46 public void getInteger(GetIntegerResponse response) { 47 response.call(mValue, mEnum);
|
/external/libmojo/mojo/public/cpp/bindings/ |
interface_endpoint_client.h | 116 // Maps from the id of a response to the MessageReceiver that handles the 117 // response. 126 Message response; member in struct:mojo::InterfaceEndpointClient::SyncResponseInfo
|
/external/mockito/src/test/java/org/mockitousage/stubbing/ |
StubbingReturnsSelfTest.java | 80 String response = "StatusCode: 200"; local 82 when(builder.request()).thenReturn(response); 84 assertThat(requester.request("URI")).isEqualTo(response);
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
GetAndPostIntegrationTest.java | 60 import fi.iki.elonen.NanoHTTPD.Response.Status; 69 public String response; field in class:GetAndPostIntegrationTest.TestServer 76 public Response serve(String uri, Method method, Map<String, String> header, Map<String, String> parms, Map<String, String> files) { 77 StringBuilder sb = new StringBuilder(String.valueOf(method) + ':' + this.response); 103 this.testServer.response = "testGetRequestWithParameters"; 114 this.testServer.response = "testPostRequestWithFormEncodedParameters"; 130 this.testServer.response = "testPostRequestWithMultipartEncodedParameters"; 146 this.testServer.response = "testPostWithNoParameters"; 157 this.testServer.response = "testSimpleGetRequest"; 168 this.testServer.response = "testPostRequestWithMultipartEncodedParameters" 181 HttpResponse response = this.httpclient.execute(httppost); local [all...] |
/external/nos/host/android/hals/keymaster/test/ |
import_key_test.cpp | 339 ImportKeyResponse response; local 365 // response 367 response.mutable_blob()->set_blob(dummy_blob); 369 response.mutable_characteristics()-> 377 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS)));
|
/external/nos/test/system-test-harness/src/ |
weaver_tests.cc | 88 WriteResponse response; local 94 ASSERT_NO_ERROR(service.Write(request, &response), msg); 100 ReadResponse response; local 105 ASSERT_NO_ERROR(service.Read(request, &response), msg); 106 ASSERT_EQ(response.error(), ReadResponse::NONE) << msg; 107 ASSERT_EQ(response.throttle_msec(), 0u) << msg; 108 auto response_value = response.value(); 117 EraseValueResponse response; local 121 ASSERT_NO_ERROR(service.EraseValue(request, &response), msg); 127 ReadResponse response; local 145 ReadResponse response; local 177 GetConfigResponse response; local [all...] |
/external/okhttp/okhttp-logging-interceptor/src/main/java/com/squareup/okhttp/logging/ |
HttpLoggingInterceptor.java | 26 import com.squareup.okhttp.Response; 37 * An OkHttp interceptor which logs request and response information. Can be applied as an 51 * Logs request and response lines. 62 * Logs request and response lines and their respective headers. 80 * Logs request and response lines and their respective headers and bodies (if present). 137 @Override public Response intercept(Chain chain) throws IOException { 204 Response response = chain.proceed(request); local 207 ResponseBody responseBody = response.body(); 208 logger.log("<-- " + protocol(response.protocol()) + ' ' + response.code() + ' [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
SocksProxyTest.java | 55 Response response1 = client.newCall(request1).execute(); 59 Response response2 = client.newCall(request2).execute(); 83 Response response = client.newCall(request).execute(); local 84 assertEquals("abc", response.body().string()); 102 Response response1 = client.newCall(request).execute();
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
HttpOverHttp2Test.java | 38 MockResponse response = new MockResponse() local 42 server.enqueue(response); 62 MockResponse response = new MockResponse() local 66 server.enqueue(response);
|