Home
last modified time | relevance | path

Searched refs:ffd (Results 1 – 25 of 40) sorted by relevance

12

/external/grpc-grpc/test/core/end2end/fixtures/
Dh2_compress.cc48 fullstack_compression_fixture_data* ffd = in chttp2_create_fixture_fullstack_compression() local
51 memset(ffd, 0, sizeof(fullstack_compression_fixture_data)); in chttp2_create_fixture_fullstack_compression()
53 gpr_join_host_port(&ffd->localaddr, "localhost", port); in chttp2_create_fixture_fullstack_compression()
56 f.fixture_data = ffd; in chttp2_create_fixture_fullstack_compression()
65 fullstack_compression_fixture_data* ffd = in chttp2_init_client_fullstack_compression() local
67 if (ffd->client_args_compression != nullptr) { in chttp2_init_client_fullstack_compression()
69 grpc_channel_args_destroy(ffd->client_args_compression); in chttp2_init_client_fullstack_compression()
71 ffd->client_args_compression = grpc_channel_args_set_compression_algorithm( in chttp2_init_client_fullstack_compression()
74 ffd->localaddr, ffd->client_args_compression, nullptr); in chttp2_init_client_fullstack_compression()
79 fullstack_compression_fixture_data* ffd = in chttp2_init_server_fullstack_compression() local
[all …]
Dh2_http_proxy.cc49 fullstack_fixture_data* ffd = static_cast<fullstack_fixture_data*>( in chttp2_create_fixture_fullstack() local
52 gpr_join_host_port(&ffd->server_addr, "localhost", server_port); in chttp2_create_fixture_fullstack()
56 ffd->proxy = grpc_end2end_http_proxy_create(client_args); in chttp2_create_fixture_fullstack()
58 f.fixture_data = ffd; in chttp2_create_fixture_fullstack()
67 fullstack_fixture_data* ffd = in chttp2_init_client_fullstack() local
77 grpc_end2end_http_proxy_get_proxy_name(ffd->proxy)); in chttp2_init_client_fullstack()
80 grpc_end2end_http_proxy_get_proxy_name(ffd->proxy)); in chttp2_init_client_fullstack()
85 grpc_insecure_channel_create(ffd->server_addr, client_args, nullptr); in chttp2_init_client_fullstack()
91 fullstack_fixture_data* ffd = in chttp2_init_server_fullstack() local
98 GPR_ASSERT(grpc_server_add_insecure_http2_port(f->server, ffd->server_addr)); in chttp2_init_server_fullstack()
[all …]
Dh2_uds.cc50 fullstack_fixture_data* ffd = static_cast<fullstack_fixture_data*>( in chttp2_create_fixture_fullstack() local
54 gpr_asprintf(&ffd->localaddr, "unix:/tmp/grpc_fullstack_test.%d.%d", getpid(), in chttp2_create_fixture_fullstack()
57 f.fixture_data = ffd; in chttp2_create_fixture_fullstack()
66 fullstack_fixture_data* ffd = in chttp2_init_client_fullstack() local
69 grpc_insecure_channel_create(ffd->localaddr, client_args, nullptr); in chttp2_init_client_fullstack()
74 fullstack_fixture_data* ffd = in chttp2_init_server_fullstack() local
81 GPR_ASSERT(grpc_server_add_insecure_http2_port(f->server, ffd->localaddr)); in chttp2_init_server_fullstack()
86 fullstack_fixture_data* ffd = in chttp2_tear_down_fullstack() local
88 gpr_free(ffd->localaddr); in chttp2_tear_down_fullstack()
89 gpr_free(ffd); in chttp2_tear_down_fullstack()
Dh2_full.cc45 fullstack_fixture_data* ffd = static_cast<fullstack_fixture_data*>( in chttp2_create_fixture_fullstack() local
49 gpr_join_host_port(&ffd->localaddr, "localhost", port); in chttp2_create_fixture_fullstack()
51 f.fixture_data = ffd; in chttp2_create_fixture_fullstack()
60 fullstack_fixture_data* ffd = in chttp2_init_client_fullstack() local
63 grpc_insecure_channel_create(ffd->localaddr, client_args, nullptr); in chttp2_init_client_fullstack()
69 fullstack_fixture_data* ffd = in chttp2_init_server_fullstack() local
76 GPR_ASSERT(grpc_server_add_insecure_http2_port(f->server, ffd->localaddr)); in chttp2_init_server_fullstack()
81 fullstack_fixture_data* ffd = in chttp2_tear_down_fullstack() local
83 gpr_free(ffd->localaddr); in chttp2_tear_down_fullstack()
84 gpr_free(ffd); in chttp2_tear_down_fullstack()
Dh2_full+pipe.cc51 fullstack_fixture_data* ffd = static_cast<fullstack_fixture_data*>( in chttp2_create_fixture_fullstack() local
55 gpr_join_host_port(&ffd->localaddr, "localhost", port); in chttp2_create_fixture_fullstack()
57 f.fixture_data = ffd; in chttp2_create_fixture_fullstack()
66 fullstack_fixture_data* ffd = in chttp2_init_client_fullstack() local
69 grpc_insecure_channel_create(ffd->localaddr, client_args, nullptr); in chttp2_init_client_fullstack()
75 fullstack_fixture_data* ffd = in chttp2_init_server_fullstack() local
82 GPR_ASSERT(grpc_server_add_insecure_http2_port(f->server, ffd->localaddr)); in chttp2_init_server_fullstack()
87 fullstack_fixture_data* ffd = in chttp2_tear_down_fullstack() local
89 gpr_free(ffd->localaddr); in chttp2_tear_down_fullstack()
90 gpr_free(ffd); in chttp2_tear_down_fullstack()
Dh2_full+trace.cc51 fullstack_fixture_data* ffd = static_cast<fullstack_fixture_data*>( in chttp2_create_fixture_fullstack() local
55 gpr_join_host_port(&ffd->localaddr, "localhost", port); in chttp2_create_fixture_fullstack()
57 f.fixture_data = ffd; in chttp2_create_fixture_fullstack()
66 fullstack_fixture_data* ffd = in chttp2_init_client_fullstack() local
69 grpc_insecure_channel_create(ffd->localaddr, client_args, nullptr); in chttp2_init_client_fullstack()
75 fullstack_fixture_data* ffd = in chttp2_init_server_fullstack() local
82 GPR_ASSERT(grpc_server_add_insecure_http2_port(f->server, ffd->localaddr)); in chttp2_init_server_fullstack()
87 fullstack_fixture_data* ffd = in chttp2_tear_down_fullstack() local
89 gpr_free(ffd->localaddr); in chttp2_tear_down_fullstack()
90 gpr_free(ffd); in chttp2_tear_down_fullstack()
Dh2_full+workarounds.cc50 fullstack_fixture_data* ffd = static_cast<fullstack_fixture_data*>( in chttp2_create_fixture_fullstack() local
54 gpr_join_host_port(&ffd->localaddr, "localhost", port); in chttp2_create_fixture_fullstack()
56 f.fixture_data = ffd; in chttp2_create_fixture_fullstack()
65 fullstack_fixture_data* ffd = in chttp2_init_client_fullstack() local
68 grpc_insecure_channel_create(ffd->localaddr, client_args, nullptr); in chttp2_init_client_fullstack()
76 fullstack_fixture_data* ffd = in chttp2_init_server_fullstack() local
91 GPR_ASSERT(grpc_server_add_insecure_http2_port(f->server, ffd->localaddr)); in chttp2_init_server_fullstack()
97 fullstack_fixture_data* ffd = in chttp2_tear_down_fullstack() local
99 gpr_free(ffd->localaddr); in chttp2_tear_down_fullstack()
100 gpr_free(ffd); in chttp2_tear_down_fullstack()
Dh2_census.cc46 fullstack_fixture_data* ffd = static_cast<fullstack_fixture_data*>( in chttp2_create_fixture_fullstack() local
50 gpr_join_host_port(&ffd->localaddr, "localhost", port); in chttp2_create_fixture_fullstack()
52 f.fixture_data = ffd; in chttp2_create_fixture_fullstack()
69 fullstack_fixture_data* ffd = in chttp2_init_client_fullstack() local
74 grpc_insecure_channel_create(ffd->localaddr, client_args, nullptr); in chttp2_init_client_fullstack()
84 fullstack_fixture_data* ffd = in chttp2_init_server_fullstack() local
97 GPR_ASSERT(grpc_server_add_insecure_http2_port(f->server, ffd->localaddr)); in chttp2_init_server_fullstack()
102 fullstack_fixture_data* ffd = in chttp2_tear_down_fullstack() local
104 gpr_free(ffd->localaddr); in chttp2_tear_down_fullstack()
105 gpr_free(ffd); in chttp2_tear_down_fullstack()
Dh2_proxy.cc70 fullstack_fixture_data* ffd = static_cast<fullstack_fixture_data*>( in chttp2_create_fixture_fullstack() local
74 ffd->proxy = grpc_end2end_proxy_create(&proxy_def, client_args, server_args); in chttp2_create_fixture_fullstack()
76 f.fixture_data = ffd; in chttp2_create_fixture_fullstack()
85 fullstack_fixture_data* ffd = in chttp2_init_client_fullstack() local
88 grpc_end2end_proxy_get_client_target(ffd->proxy), client_args, nullptr); in chttp2_init_client_fullstack()
94 fullstack_fixture_data* ffd = in chttp2_init_server_fullstack() local
102 f->server, grpc_end2end_proxy_get_server_port(ffd->proxy))); in chttp2_init_server_fullstack()
107 fullstack_fixture_data* ffd = in chttp2_tear_down_fullstack() local
109 grpc_end2end_proxy_destroy(ffd->proxy); in chttp2_tear_down_fullstack()
110 gpr_free(ffd); in chttp2_tear_down_fullstack()
Dh2_local.cc51 fullstack_fixture_data* ffd = static_cast<fullstack_fixture_data*>( in chttp2_create_fixture_fullstack() local
55 gpr_asprintf(&ffd->localaddr, "unix:/tmp/grpc_fullstack_test.%d.%d", getpid(), in chttp2_create_fixture_fullstack()
58 f.fixture_data = ffd; in chttp2_create_fixture_fullstack()
68 fullstack_fixture_data* ffd = in chttp2_init_client_fullstack() local
71 grpc_secure_channel_create(creds, ffd->localaddr, client_args, nullptr); in chttp2_init_client_fullstack()
104 fullstack_fixture_data* ffd = in chttp2_init_server_fullstack() local
117 grpc_server_add_secure_http2_port(f->server, ffd->localaddr, creds)); in chttp2_init_server_fullstack()
123 fullstack_fixture_data* ffd = in chttp2_tear_down_fullstack() local
125 gpr_free(ffd->localaddr); in chttp2_tear_down_fullstack()
126 gpr_free(ffd); in chttp2_tear_down_fullstack()
Dh2_fakesec.cc42 fullstack_secure_fixture_data* ffd = in chttp2_create_fixture_secure_fullstack() local
47 gpr_join_host_port(&ffd->localaddr, "localhost", port); in chttp2_create_fixture_secure_fullstack()
49 f.fixture_data = ffd; in chttp2_create_fixture_secure_fullstack()
67 fullstack_secure_fixture_data* ffd = in chttp2_init_client_secure_fullstack() local
70 grpc_secure_channel_create(creds, ffd->localaddr, client_args, nullptr); in chttp2_init_client_secure_fullstack()
78 fullstack_secure_fixture_data* ffd = in chttp2_init_server_secure_fullstack() local
85 GPR_ASSERT(grpc_server_add_secure_http2_port(f->server, ffd->localaddr, in chttp2_init_server_secure_fullstack()
92 fullstack_secure_fixture_data* ffd = in chttp2_tear_down_secure_fullstack() local
94 gpr_free(ffd->localaddr); in chttp2_tear_down_secure_fullstack()
95 gpr_free(ffd); in chttp2_tear_down_secure_fullstack()
Dh2_ssl.cc45 fullstack_secure_fixture_data* ffd = in chttp2_create_fixture_secure_fullstack() local
50 gpr_join_host_port(&ffd->localaddr, "localhost", port); in chttp2_create_fixture_secure_fullstack()
52 f.fixture_data = ffd; in chttp2_create_fixture_secure_fullstack()
70 fullstack_secure_fixture_data* ffd = in chttp2_init_client_secure_fullstack() local
73 grpc_secure_channel_create(creds, ffd->localaddr, client_args, nullptr); in chttp2_init_client_secure_fullstack()
81 fullstack_secure_fixture_data* ffd = in chttp2_init_server_secure_fullstack() local
88 GPR_ASSERT(grpc_server_add_secure_http2_port(f->server, ffd->localaddr, in chttp2_init_server_secure_fullstack()
95 fullstack_secure_fixture_data* ffd = in chttp2_tear_down_secure_fullstack() local
97 gpr_free(ffd->localaddr); in chttp2_tear_down_secure_fullstack()
98 gpr_free(ffd); in chttp2_tear_down_secure_fullstack()
Dh2_ssl_proxy.cc81 fullstack_secure_fixture_data* ffd = in chttp2_create_fixture_secure_fullstack() local
86 ffd->proxy = grpc_end2end_proxy_create(&proxy_def, client_args, server_args); in chttp2_create_fixture_secure_fullstack()
88 f.fixture_data = ffd; in chttp2_create_fixture_secure_fullstack()
106 fullstack_secure_fixture_data* ffd = in chttp2_init_client_secure_fullstack() local
109 creds, grpc_end2end_proxy_get_client_target(ffd->proxy), client_args, in chttp2_init_client_secure_fullstack()
118 fullstack_secure_fixture_data* ffd = in chttp2_init_server_secure_fullstack() local
126 f->server, grpc_end2end_proxy_get_server_port(ffd->proxy), server_creds)); in chttp2_init_server_secure_fullstack()
132 fullstack_secure_fixture_data* ffd = in chttp2_tear_down_secure_fullstack() local
134 grpc_end2end_proxy_destroy(ffd->proxy); in chttp2_tear_down_secure_fullstack()
135 gpr_free(ffd); in chttp2_tear_down_secure_fullstack()
Dh2_oauth2.cc97 fullstack_secure_fixture_data* ffd = in chttp2_create_fixture_secure_fullstack() local
102 gpr_join_host_port(&ffd->localaddr, "localhost", port); in chttp2_create_fixture_secure_fullstack()
104 f.fixture_data = ffd; in chttp2_create_fixture_secure_fullstack()
114 fullstack_secure_fixture_data* ffd = in chttp2_init_client_secure_fullstack() local
117 grpc_secure_channel_create(creds, ffd->localaddr, client_args, nullptr); in chttp2_init_client_secure_fullstack()
125 fullstack_secure_fixture_data* ffd = in chttp2_init_server_secure_fullstack() local
132 GPR_ASSERT(grpc_server_add_secure_http2_port(f->server, ffd->localaddr, in chttp2_init_server_secure_fullstack()
139 fullstack_secure_fixture_data* ffd = in chttp2_tear_down_secure_fullstack() local
141 gpr_free(ffd->localaddr); in chttp2_tear_down_secure_fullstack()
142 gpr_free(ffd); in chttp2_tear_down_secure_fullstack()
Dinproc.cc44 inproc_fixture_data* ffd = static_cast<inproc_fixture_data*>( in inproc_create_fixture() local
48 f.fixture_data = ffd; in inproc_create_fixture()
72 inproc_fixture_data* ffd = static_cast<inproc_fixture_data*>(f->fixture_data); in inproc_tear_down() local
73 gpr_free(ffd); in inproc_tear_down()
/external/grpc-grpc/test/core/end2end/
Dh2_ssl_cert_test.cc51 fullstack_secure_fixture_data* ffd = in chttp2_create_fixture_secure_fullstack() local
56 gpr_join_host_port(&ffd->localaddr, "localhost", port); in chttp2_create_fixture_secure_fullstack()
58 f.fixture_data = ffd; in chttp2_create_fixture_secure_fullstack()
74 fullstack_secure_fixture_data* ffd = in chttp2_init_client_secure_fullstack() local
77 grpc_secure_channel_create(creds, ffd->localaddr, client_args, nullptr); in chttp2_init_client_secure_fullstack()
85 fullstack_secure_fixture_data* ffd = in chttp2_init_server_secure_fullstack() local
92 GPR_ASSERT(grpc_server_add_secure_http2_port(f->server, ffd->localaddr, in chttp2_init_server_secure_fullstack()
99 fullstack_secure_fixture_data* ffd = in chttp2_tear_down_secure_fullstack() local
101 gpr_free(ffd->localaddr); in chttp2_tear_down_secure_fullstack()
102 gpr_free(ffd); in chttp2_tear_down_secure_fullstack()
Dinproc_callback_test.cc207 inproc_fixture_data* ffd = static_cast<inproc_fixture_data*>( in inproc_create_fixture() local
211 f.fixture_data = ffd; in inproc_create_fixture()
237 inproc_fixture_data* ffd = static_cast<inproc_fixture_data*>(f->fixture_data); in inproc_tear_down() local
238 gpr_free(ffd); in inproc_tear_down()
/external/u-boot/tools/
Dfit_check_sign.c37 int ffd = -1; in main() local
73 ffd = mmap_fdt(cmdname, fdtfile, 0, &fit_blob, &fsbuf, false); in main()
74 if (ffd < 0) in main()
93 close(ffd); in main()
Dfit_info.c41 int ffd = -1; in main() local
83 ffd = mmap_fdt(cmdname, fdtfile, 0, &fit_blob, &fsbuf, false); in main()
85 if (ffd < 0) { in main()
106 close(ffd); in main()
/external/toybox/toys/other/
Dlosetup.c53 int lfd = -1, ffd = ffd; local
58 if (file) ffd = xopen(file, TT.openflags);
104 if (ioctl(lfd, LOOP_SET_FD, ffd)) perror_exit("%s=%s", device, file);
124 if (file) close(ffd);
/external/grpc-grpc/src/objective-c/tests/CoreCronetEnd2EndTests/
DCoreCronetEnd2EndTests.mm60 fullstack_secure_fixture_data *ffd =
64 gpr_join_host_port(&ffd->localaddr, "127.0.0.1", port);
66 f.fixture_data = ffd;
83 fullstack_secure_fixture_data *ffd = (fullstack_secure_fixture_data *)f->fixture_data;
89 f->client = grpc_cronet_secure_channel_create(cronetEngine, ffd->localaddr, client_args, NULL);
97 fullstack_secure_fixture_data *ffd = (fullstack_secure_fixture_data *)f->fixture_data;
103 GPR_ASSERT(grpc_server_add_secure_http2_port(f->server, ffd->localaddr, server_creds));
109 fullstack_secure_fixture_data *ffd = (fullstack_secure_fixture_data *)f->fixture_data;
110 gpr_free(ffd->localaddr);
111 gpr_free(ffd);
/external/toybox/toys/posix/
Dtail.c39 int file_no, ffd, *files;
145 if (0 > (TT.files[f] = inotify_add_watch(TT.ffd, s, IN_MODIFY))) in do_tail()
241 if ((TT.ffd = inotify_init()) < 0) perror_exit("inotify_init"); in tail_main()
251 if (sizeof(ev)!=read(TT.ffd, &ev, sizeof(ev))) perror_exit("inotify"); in tail_main()
/external/iproute2/lib/
Dbpf.c1211 int ret, cfd, ofd, ffd; in bpf_obj_hash() local
1239 ffd = open(object, O_RDONLY); in bpf_obj_hash()
1240 if (ffd < 0) { in bpf_obj_hash()
1243 ret = ffd; in bpf_obj_hash()
1247 ret = fstat(ffd, &stbuff); in bpf_obj_hash()
1254 size = sendfile(ofd, ffd, NULL, stbuff.st_size); in bpf_obj_hash()
1271 close(ffd); in bpf_obj_hash()
/external/toybox/generated/
Dglobals.h1287 int file_no, ffd, *files; member
/external/linux-kselftest/tools/testing/selftests/net/
Drtnetlink.sh160 tc filter add dev "$dev" parent 1:0 prio 5 handle ffd: protocol ip u32 divisor 256

12