Home
last modified time | relevance | path

Searched refs:req (Results 576 - 600 of 1593) sorted by relevance

1...<<21222324252627282930>>...64

/third_party/ltp/testcases/kernel/syscalls/setsockopt/
H A Dsetsockopt07.c66 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 Dbrowser-android.c30 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 Dbrowser-system.c30 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 Dbrowser-wpadebug.c30 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 Dbrowser-android.c30 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 Dbrowser-system.c30 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 Dbrowser-wpadebug.c30 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/libuv/test/
H A Dtest-tcp-close-reset.c49 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()
H A Dtest-fs-event.c72 uv_fs_t req; in create_dir() local
73 r = uv_fs_mkdir(NULL, &req, name, 0755, NULL); in create_dir()
75 uv_fs_req_cleanup(&req); in create_dir()
81 uv_fs_t req; in create_file() local
83 r = uv_fs_open(NULL, &req, name, UV_FS_O_WRONLY | UV_FS_O_CREAT, in create_file()
88 uv_fs_req_cleanup(&req); in create_file()
89 r = uv_fs_close(NULL, &req, file, NULL); in create_file()
91 uv_fs_req_cleanup(&req); in create_file()
97 uv_fs_t req; in touch_file() local
100 r = uv_fs_open(NULL, &req, nam in touch_file()
518 uv_fs_t req; TEST_IMPL() local
[all...]
/third_party/libdrm/etnaviv/
H A Detnaviv_cmd_stream.c184 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 Dfreedreno_bo.c181 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 Dvmwgfx_drm.h253 * @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 Dsys_clock_test.cpp317 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 Dtest_register.py63 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 Dhttp_test.c37 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...]
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/jsonrpc2/
H A Djsonrpc2.go348 req := &Request{
360 reqCtx = h.Request(reqCtx, c, Receive, &req.WireRequest)
363 c.setHandling(req, true)
366 req.state = requestSerial
368 c.setHandling(req, false)
369 if !req.IsNotify() && req.state < requestReplied {
370 req.Reply(reqCtx, nil, NewErrorf(CodeInternalError, "method %q did not reply", req.Method))
372 req
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/jsonrpc2/
H A Djsonrpc2.go348 req := &Request{
360 reqCtx = h.Request(reqCtx, c, Receive, &req.WireRequest)
363 c.setHandling(req, true)
366 req.state = requestSerial
368 c.setHandling(req, false)
369 if !req.IsNotify() && req.state < requestReplied {
370 req.Reply(reqCtx, nil, NewErrorf(CodeInternalError, "method %q did not reply", req.Method))
372 req
[all...]
/third_party/spirv-tools/utils/vscode/src/lsp/jsonrpc2/
H A Djsonrpc2.go348 req := &Request{
360 reqCtx = h.Request(reqCtx, c, Receive, &req.WireRequest)
363 c.setHandling(req, true)
366 req.state = requestSerial
368 c.setHandling(req, false)
369 if !req.IsNotify() && req.state < requestReplied {
370 req.Reply(reqCtx, nil, NewErrorf(CodeInternalError, "method %q did not reply", req.Method))
372 req
[all...]
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/
H A Dmpp_rkvenc2.c131 /* req for current task */
325 static bool req_over_class(struct mpp_request *req, struct rkvenc_task *task, int class) in req_over_class() argument
333 req_e = req->offset + req->size - sizeof(u32); in req_over_class()
335 ret = (req->offset <= base_e && req_e >= base_s) ? true : false; in req_over_class()
439 static int rkvenc2_extract_rcb_info(struct rkvenc2_rcb_info *rcb_inf, struct mpp_request *req) in rkvenc2_extract_rcb_info() argument
442 int cnt = req->size / sizeof(rcb_inf->elem[0]); in rkvenc2_extract_rcb_info()
444 if (req->size > sizeof(rcb_inf->elem)) { in rkvenc2_extract_rcb_info()
448 if (copy_from_user(rcb_inf->elem, req->data, req in rkvenc2_extract_rcb_info()
461 struct mpp_request *req; rkvenc_extract_task_msg() local
774 struct mpp_request *req = &task->w_reqs[i]; rkvenc_run() local
892 struct mpp_request *req = &task->r_reqs[i]; rkvenc_finish() local
924 struct mpp_request *req = &task->r_reqs[i]; rkvenc_result() local
952 rkvenc_control(struct mpp_session *session, struct mpp_request *req) rkvenc_control() argument
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/
H A Dmpp_rkvenc2.c133 /* req for current task */
314 static bool req_over_class(struct mpp_request *req, in req_over_class() argument
323 req_e = req->offset + req->size - sizeof(u32); in req_over_class()
325 ret = (req->offset <= base_e && req_e >= base_s) ? true : false; in req_over_class()
430 struct mpp_request *req) in rkvenc2_extract_rcb_info()
433 int cnt = req->size / sizeof(rcb_inf->elem[0]); in rkvenc2_extract_rcb_info()
435 if (req->size > sizeof(rcb_inf->elem)) { in rkvenc2_extract_rcb_info()
439 if (copy_from_user(rcb_inf->elem, req->data, req in rkvenc2_extract_rcb_info()
429 rkvenc2_extract_rcb_info(struct rkvenc2_rcb_info *rcb_inf, struct mpp_request *req) rkvenc2_extract_rcb_info() argument
454 struct mpp_request *req; rkvenc_extract_task_msg() local
770 struct mpp_request *req = &task->w_reqs[i]; rkvenc_run() local
885 struct mpp_request *req = &task->r_reqs[i]; rkvenc_finish() local
917 struct mpp_request *req = &task->r_reqs[i]; rkvenc_result() local
945 rkvenc_control(struct mpp_session *session, struct mpp_request *req) rkvenc_control() argument
[all...]
/third_party/libdrm/nouveau/
H A Dnouveau.c666 struct drm_nouveau_gem_info req = { .handle = handle }; in nouveau_bo_wrap_locked() local
695 &req, sizeof(req)); in nouveau_bo_wrap_locked()
703 abi16_bo_info(&nvbo->base, &req); in nouveau_bo_wrap_locked()
744 struct drm_gem_open req = { .name = name }; in nouveau_bo_name_ref() local
757 ret = drmIoctl(drm->fd, DRM_IOCTL_GEM_OPEN, &req); in nouveau_bo_name_ref()
759 ret = nouveau_bo_wrap_locked(dev, req.handle, pbo, name); in nouveau_bo_name_ref()
769 struct drm_gem_flink req = { .handle = bo->handle }; in nouveau_bo_name_get() local
775 int ret = drmIoctl(drm->fd, DRM_IOCTL_GEM_FLINK, &req); in nouveau_bo_name_get()
781 nvbo->name = *name = req in nouveau_bo_name_get()
843 struct drm_nouveau_gem_cpu_prep req; nouveau_bo_wait() local
[all...]
/third_party/node/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/
H A Docsp.h270 const OCSP_REQUEST *req, int buf_size);
271 OCSP_RESPONSE *OCSP_sendreq_bio(BIO *b, const char *path, OCSP_REQUEST *req);
283 # define OCSP_REQ_CTX_i2d(r, it, req) \
284 OSSL_HTTP_REQ_CTX_set1_req(r, "application/ocsp-request", it, req)
285 # define OCSP_REQ_CTX_set1_req(r, req) \
286 OCSP_REQ_CTX_i2d(r, ASN1_ITEM_rptr(OCSP_REQUEST), (ASN1_VALUE *)(req))
304 OCSP_ONEREQ *OCSP_request_add0_id(OCSP_REQUEST *req, OCSP_CERTID *cid);
306 int OCSP_request_add1_nonce(OCSP_REQUEST *req, unsigned char *val, int len);
308 int OCSP_check_nonce(OCSP_REQUEST *req, OCSP_BASICRESP *bs);
309 int OCSP_copy_nonce(OCSP_BASICRESP *resp, OCSP_REQUEST *req);
[all...]
/third_party/node/deps/openssl/config/archs/linux-elf/asm/include/openssl/
H A Docsp.h270 const OCSP_REQUEST *req, int buf_size);
271 OCSP_RESPONSE *OCSP_sendreq_bio(BIO *b, const char *path, OCSP_REQUEST *req);
283 # define OCSP_REQ_CTX_i2d(r, it, req) \
284 OSSL_HTTP_REQ_CTX_set1_req(r, "application/ocsp-request", it, req)
285 # define OCSP_REQ_CTX_set1_req(r, req) \
286 OCSP_REQ_CTX_i2d(r, ASN1_ITEM_rptr(OCSP_REQUEST), (ASN1_VALUE *)(req))
304 OCSP_ONEREQ *OCSP_request_add0_id(OCSP_REQUEST *req, OCSP_CERTID *cid);
306 int OCSP_request_add1_nonce(OCSP_REQUEST *req, unsigned char *val, int len);
308 int OCSP_check_nonce(OCSP_REQUEST *req, OCSP_BASICRESP *bs);
309 int OCSP_copy_nonce(OCSP_BASICRESP *resp, OCSP_REQUEST *req);
[all...]
/third_party/node/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/
H A Docsp.h270 const OCSP_REQUEST *req, int buf_size);
271 OCSP_RESPONSE *OCSP_sendreq_bio(BIO *b, const char *path, OCSP_REQUEST *req);
283 # define OCSP_REQ_CTX_i2d(r, it, req) \
284 OSSL_HTTP_REQ_CTX_set1_req(r, "application/ocsp-request", it, req)
285 # define OCSP_REQ_CTX_set1_req(r, req) \
286 OCSP_REQ_CTX_i2d(r, ASN1_ITEM_rptr(OCSP_REQUEST), (ASN1_VALUE *)(req))
304 OCSP_ONEREQ *OCSP_request_add0_id(OCSP_REQUEST *req, OCSP_CERTID *cid);
306 int OCSP_request_add1_nonce(OCSP_REQUEST *req, unsigned char *val, int len);
308 int OCSP_check_nonce(OCSP_REQUEST *req, OCSP_BASICRESP *bs);
309 int OCSP_copy_nonce(OCSP_BASICRESP *resp, OCSP_REQUEST *req);
[all...]
/third_party/node/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/
H A Docsp.h270 const OCSP_REQUEST *req, int buf_size);
271 OCSP_RESPONSE *OCSP_sendreq_bio(BIO *b, const char *path, OCSP_REQUEST *req);
283 # define OCSP_REQ_CTX_i2d(r, it, req) \
284 OSSL_HTTP_REQ_CTX_set1_req(r, "application/ocsp-request", it, req)
285 # define OCSP_REQ_CTX_set1_req(r, req) \
286 OCSP_REQ_CTX_i2d(r, ASN1_ITEM_rptr(OCSP_REQUEST), (ASN1_VALUE *)(req))
304 OCSP_ONEREQ *OCSP_request_add0_id(OCSP_REQUEST *req, OCSP_CERTID *cid);
306 int OCSP_request_add1_nonce(OCSP_REQUEST *req, unsigned char *val, int len);
308 int OCSP_check_nonce(OCSP_REQUEST *req, OCSP_BASICRESP *bs);
309 int OCSP_copy_nonce(OCSP_BASICRESP *resp, OCSP_REQUEST *req);
[all...]

Completed in 27 milliseconds

1...<<21222324252627282930>>...64