/third_party/libuv/test/ |
H A D | test-tcp-connect6-error.c | 51 uv_connect_t req; in TEST_IMPL() local 60 r = uv_tcp_connect(&req, in TEST_IMPL() 82 uv_connect_t req; in TEST_IMPL() local 119 ASSERT_OK(uv_tcp_connect(&req, in TEST_IMPL()
|
H A D | test-tcp-close-reset.c | 49 static void connect_cb(uv_connect_t* req, int status); 50 static void write_cb(uv_write_t* req, int status); 52 static void shutdown_cb(uv_shutdown_t* req, int status); 121 static void write_cb(uv_write_t* req, int status) { in write_cb() argument 124 ASSERT_PTR_EQ(req->handle, (uv_stream_t*)&tcp_client); in write_cb() 138 static void shutdown_cb(uv_shutdown_t* req, int status) { in shutdown_cb() argument 140 ASSERT_PTR_EQ(req->handle, (uv_stream_t*) &tcp_client); in shutdown_cb() 142 ASSERT_PTR_EQ(req->handle, (uv_stream_t*) &tcp_accepted); in shutdown_cb()
|
/third_party/node/test/parallel/ |
H A D | test-http-agent.js | 30 const server = http.Server(common.mustCall(function(req, res) { 57 const req = http.get({ port: port, path: '/' }, onRequest); 59 req.on('error', common.mustCall(onRequest)); 61 req.on('error', (e) => assert.fail(e));
|
H A D | test-http-server-keep-alive-max-requests-null.js | 25 const server = http.createServer((req, res) => { 27 req.on('data', (data) => { 31 req.on('end', () => { 32 if (req.method === 'POST') {
|
H A D | test-http-server-keep-alive-defaults.js | 25 const server = http.createServer((req, res) => { 27 req.on('data', (data) => { 31 req.on('end', () => { 32 if (req.method === 'POST') {
|
H A D | test-http2-server-push-stream-errors.js | 83 const req = client.request(); 86 req.resume(); 87 req.end(); 89 req.on('close', common.mustCall(() => {
|
H A D | test-http2-window-size.js | 57 const req = client.request({ 62 req.on('data', (data) => { 65 req.on('end', common.mustCall(() => { 74 req.end();
|
H A D | test-listen-fd-detached-inherit.js | 111 http.createServer(function(req, res) { 113 console.error('%s %s', req.method, req.url, req.headers);
|
H A D | test-listen-fd-detached.js | 108 http.createServer(function(req, res) { 110 console.error('%s %s', req.method, req.url, req.headers);
|
H A D | test-listen-fd-server.js | 78 http.createServer(function(req, res) { 80 console.error('%s %s', req.method, req.url, req.headers);
|
/third_party/nghttp2/integration-tests/ |
H A D | server_tester_http3.go | 56 req, err := http.NewRequestWithContext(ctx, method, reqURL, body) 62 req.Header.Add(h.Name, h.Value) 65 req.Header.Add("Test-Case", rp.name) 70 resp, err := c.Do(req)
|
/third_party/node/benchmark/diagnostics_channel/ |
H A D | http.js | 43 const [name, req, res] = args; 46 url: req.url, 74 function onStart(req) { 76 url: req.url,
|
/third_party/ltp/testcases/kernel/syscalls/setsockopt/ |
H A D | setsockopt07.c | 66 struct tpacket_req3 req = { in run() local 90 TEST(setsockopt(sock, SOL_PACKET, PACKET_RX_RING, &req, in run() 91 sizeof(req))); in run() 107 if (val > req.tp_block_size) { in run()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | browser-android.c | 30 static void http_req(void *ctx, struct http_request *req) in http_req() argument 37 url = http_request_get_uri(req); in http_req() 50 http_request_deinit(req); in http_req() 61 http_request_send_and_deinit(req, resp); in http_req()
|
H A D | browser-system.c | 30 static void http_req(void *ctx, struct http_request *req) in http_req() argument 37 url = http_request_get_uri(req); in http_req() 50 http_request_deinit(req); in http_req() 61 http_request_send_and_deinit(req, resp); in http_req()
|
H A D | browser-wpadebug.c | 30 static void http_req(void *ctx, struct http_request *req) in http_req() argument 37 url = http_request_get_uri(req); in http_req() 50 http_request_deinit(req); in http_req() 62 http_request_send_and_deinit(req, resp); in http_req()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | browser-android.c | 30 static void http_req(void *ctx, struct http_request *req) in http_req() argument 37 url = http_request_get_uri(req); in http_req() 50 http_request_deinit(req); in http_req() 61 http_request_send_and_deinit(req, resp); in http_req()
|
H A D | browser-system.c | 30 static void http_req(void *ctx, struct http_request *req) in http_req() argument 37 url = http_request_get_uri(req); in http_req() 50 http_request_deinit(req); in http_req() 61 http_request_send_and_deinit(req, resp); in http_req()
|
H A D | browser-wpadebug.c | 30 static void http_req(void *ctx, struct http_request *req) in http_req() argument 37 url = http_request_get_uri(req); in http_req() 50 http_request_deinit(req); in http_req() 62 http_request_send_and_deinit(req, resp); in http_req()
|
/third_party/libdrm/etnaviv/ |
H A D | etnaviv_cmd_stream.c | 184 struct drm_etnaviv_gem_submit req = { in flush() local 198 req.flags |= ETNA_SUBMIT_FENCE_FD_IN | ETNA_SUBMIT_NO_IMPLICIT; in flush() 199 req.fence_fd = in_fence_fd; in flush() 203 req.flags |= ETNA_SUBMIT_FENCE_FD_OUT; in flush() 206 &req, sizeof(req)); in flush() 211 priv->last_timestamp = req.fence; in flush() 221 *out_fence_fd = req.fence_fd; in flush()
|
/third_party/libdrm/freedreno/ |
H A D | freedreno_bo.c | 181 struct drm_gem_open req = { in fd_bo_from_name() local 193 if (drmIoctl(dev->fd, DRM_IOCTL_GEM_OPEN, &req)) { in fd_bo_from_name() 198 bo = lookup_bo(dev->handle_table, req.handle); in fd_bo_from_name() 202 bo = bo_from_handle(dev, req.size, req.handle); in fd_bo_from_name() 275 struct drm_gem_flink req = { in fd_bo_get_name() local 280 ret = drmIoctl(bo->dev->fd, DRM_IOCTL_GEM_FLINK, &req); in fd_bo_get_name() 286 set_name(bo, req.name); in fd_bo_get_name()
|
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmwgfx_drm.h | 253 * @req: Input data as described above. 260 struct drm_vmw_surface_create_req req; member 281 * @req: Input data as described above. 288 struct drm_vmw_surface_arg req; member 438 * @req: Input data as described above. 445 struct drm_vmw_alloc_bo_req req; member 974 * @req: Input argument as described above. 981 struct drm_vmw_gb_surface_create_req req; member 1016 * @req: Input data as described above at "struct drm_vmw_surface_arg" 1023 struct drm_vmw_surface_arg req; member 1106 enum drm_vmw_extended_context req; global() member 1188 struct drm_vmw_gb_surface_create_ext_req req; global() member 1231 struct drm_vmw_surface_arg req; global() member [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/ |
H A D | sys_clock_test.cpp | 317 const timespec req = { .tv_nsec = 5000000 }; in HWTEST_F() local 318 int result = clock_nanosleep(CLOCK_MONOTONIC, 0, &req, nullptr); in HWTEST_F() 332 timespec req; in HWTEST_F() local 334 int err = clock_nanosleep(-1, 0, &req, &rem); in HWTEST_F() 346 timespec req; in HWTEST_F() local 347 req.tv_sec = 1; in HWTEST_F() 348 req.tv_nsec = 0; in HWTEST_F() 349 int result = clock_nanosleep(CLOCK_THREAD_CPUTIME_ID, 0, &req, nullptr); in HWTEST_F()
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_register.py | 63 def open(self, req, data=None, timeout=None): 64 self.reqs.append(req) 185 req = self.conn.reqs[0] 186 headers = dict(req.headers) 188 self.assertIn(b'tarek', req.data) 203 req = self.conn.reqs[0] 204 headers = dict(req.headers) 206 self.assertIn(b'tarek', req.data)
|
/third_party/openssl/test/ |
H A D | http_test.c | 37 const char *req, *path; in mock_http_server() local 38 long count = BIO_get_mem_data(in, (unsigned char **)&req); in mock_http_server() 39 const char *hdr = (char *)req; in mock_http_server() 64 count -= (hdr - req); in mock_http_server() 91 /* skip req Connection header */ in mock_http_server() 119 BIO *rsp, *req = ASN1_item_i2d_mem_bio(x509_it, (ASN1_VALUE *)x509); in test_http_x509() local 124 if (wbio == NULL || rbio == NULL || req == NULL) in test_http_x509() 141 req, content_type, 1 /* expect_asn1 */, in test_http_x509() 150 BIO_free(req); in test_http_x509() 181 NULL /* content_type */, NULL /* req in test_http_keep_alive() [all...] |