/prebuilts/go/darwin-x86/src/net/http/httputil/ |
reverseproxy_test.go | 32 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 65 frontend := httptest.NewServer(proxyHandler) 112 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 128 frontend := httptest.NewServer(proxyHandler) 161 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 172 frontend := httptest.NewServer(NewSingleHostReverseProxy(backendURL)) 189 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 206 frontend := httptest.NewServer(proxyHandler) 235 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 266 frontend := httptest.NewServer(proxyHandler [all...] |
/prebuilts/go/linux-x86/src/net/http/httputil/ |
reverseproxy_test.go | 32 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 65 frontend := httptest.NewServer(proxyHandler) 112 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 128 frontend := httptest.NewServer(proxyHandler) 161 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 172 frontend := httptest.NewServer(NewSingleHostReverseProxy(backendURL)) 189 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 206 frontend := httptest.NewServer(proxyHandler) 235 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 266 frontend := httptest.NewServer(proxyHandler [all...] |
/prebuilts/go/darwin-x86/src/net/http/httptest/ |
server_test.go | 14 ts := NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
example_test.go | 33 ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
server.go | 78 var serve = flag.String("httptest.serve", "", "if non-empty, httptest.NewServer serves on this address and blocks") 80 // NewServer starts and returns a new Server. 82 func NewServer(handler http.Handler) *Server {
|
/prebuilts/go/linux-x86/src/net/http/httptest/ |
server_test.go | 14 ts := NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
example_test.go | 33 ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
server.go | 78 var serve = flag.String("httptest.serve", "", "if non-empty, httptest.NewServer serves on this address and blocks") 80 // NewServer starts and returns a new Server. 82 func NewServer(handler http.Handler) *Server {
|
/system/core/fastboot/ |
socket.h | 65 static std::unique_ptr<Socket> NewServer(Protocol protocol, int port);
|
socket_test.cpp | 38 *server = Socket::NewServer(protocol, 0); 175 std::unique_ptr<Socket> sock = Socket::NewServer(Socket::Protocol::kUdp, 0); 212 std::unique_ptr<Socket> sock = Socket::NewServer(Socket::Protocol::kTcp, 0);
|
socket.cpp | 267 std::unique_ptr<Socket> Socket::NewServer(Protocol protocol, int port) {
|
/prebuilts/go/darwin-x86/src/net/http/ |
sniff_test.go | 59 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 92 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 119 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 147 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) {
|
transport_test.go | 120 ts := httptest.NewServer(hostPortHandler) 153 ts := httptest.NewServer(hostPortHandler) 204 ts := httptest.NewServer(hostPortHandler) 261 ts := httptest.NewServer(hostPortHandler) 280 ts := httptest.NewServer(hostPortHandler) 318 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 367 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 435 ts := httptest.NewServer(hostPortHandler) 495 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 553 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) [all...] |
client_test.go | 70 ts := httptest.NewServer(robotsTxtHandler) 88 ts := httptest.NewServer(robotsTxtHandler) 198 ts = httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 276 ts = httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 391 ts = httptest.NewServer(echoCookiesRedirectHandler) 427 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 492 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 542 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 745 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 781 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) [all...] |
fs_test.go | 74 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 190 ts := httptest.NewServer(StripPrefix("/test", FileServer(Dir(".")))) 263 ts := httptest.NewServer(FileServer(&fs)) 303 ts := httptest.NewServer(StripPrefix("/bar/", FileServer(Dir(tempDir)))) 378 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 406 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 423 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 439 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 457 ts := httptest.NewServer(FileServer(Dir("."))) 478 ts := httptest.NewServer(FileServer(Dir(".")) [all...] |
serve_test.go | 236 ts := httptest.NewServer(mux) 609 ts := httptest.NewServer(handler) 668 s := httptest.NewServer(h) 739 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 763 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 791 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 820 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 848 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 1021 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { [all...] |
/prebuilts/go/darwin-x86/test/bench/go1/ |
http_test.go | 19 ts := httptest.NewServer(http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {
|
/prebuilts/go/linux-x86/src/net/http/ |
sniff_test.go | 59 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 92 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 119 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 147 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) {
|
transport_test.go | 120 ts := httptest.NewServer(hostPortHandler) 153 ts := httptest.NewServer(hostPortHandler) 204 ts := httptest.NewServer(hostPortHandler) 261 ts := httptest.NewServer(hostPortHandler) 280 ts := httptest.NewServer(hostPortHandler) 318 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 367 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 435 ts := httptest.NewServer(hostPortHandler) 495 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 553 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) [all...] |
client_test.go | 70 ts := httptest.NewServer(robotsTxtHandler) 88 ts := httptest.NewServer(robotsTxtHandler) 198 ts = httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 276 ts = httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 391 ts = httptest.NewServer(echoCookiesRedirectHandler) 427 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 492 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 542 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 745 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 781 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) [all...] |
fs_test.go | 74 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 190 ts := httptest.NewServer(StripPrefix("/test", FileServer(Dir(".")))) 263 ts := httptest.NewServer(FileServer(&fs)) 303 ts := httptest.NewServer(StripPrefix("/bar/", FileServer(Dir(tempDir)))) 378 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 406 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 423 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 439 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 457 ts := httptest.NewServer(FileServer(Dir("."))) 478 ts := httptest.NewServer(FileServer(Dir(".")) [all...] |
serve_test.go | 236 ts := httptest.NewServer(mux) 609 ts := httptest.NewServer(handler) 668 s := httptest.NewServer(h) 739 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 763 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 791 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 820 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 848 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { 1021 ts := httptest.NewServer(HandlerFunc(func(w ResponseWriter, r *Request) { [all...] |
/prebuilts/go/linux-x86/test/bench/go1/ |
http_test.go | 19 ts := httptest.NewServer(http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {
|
/prebuilts/go/darwin-x86/test/stress/ |
runstress.go | 59 ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
/prebuilts/go/linux-x86/test/stress/ |
runstress.go | 59 ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|