Home
last modified time | relevance | path

Searched refs:cfd (Results 1 – 25 of 29) sorted by relevance

12

/third_party/nghttp2/src/
Dshrpx_accept_handler.cc66 auto cfd = in accept_connection() local
69 auto cfd = accept(faddr_->fd, &sockaddr.sa, &addrlen); in accept_connection() local
72 if (cfd == -1) { in accept_connection()
98 util::make_socket_nonblocking(cfd); in accept_connection()
99 util::make_socket_closeonexec(cfd); in accept_connection()
102 conn_hnr_->handle_connection(cfd, &sockaddr.sa, addrlen, faddr_); in accept_connection()
/third_party/toybox/toys/posix/
Dcp.c128 int fdout = -1, cfd = try->parent ? try->parent->extra : AT_FDCWD, in cp_node() local
149 || (!fstatat(cfd, catch, &cst, 0) && cst.st_dev == try->st.st_dev in cp_node()
160 if (!faccessat(cfd, catch, F_OK, 0) && !S_ISDIR(cst.st_mode)) { in cp_node()
167 } else if ((flags & FLAG_F) && unlinkat(cfd, catch, 0)) { in cp_node()
208 if (!mkdirat(cfd, catch, try->st.st_mode | 0200) || errno == EEXIST) in cp_node()
209 if (-1 != (try->extra = openat(cfd, catch, O_NOFOLLOW))) in cp_node()
216 if (!linkat(tfd, try->name, cfd, catch, 0)) err = 0; in cp_node()
239 if (!symlinkat(s, cfd, catch)) { in cp_node()
254 ((!unlinkat(cfd, catch, 0) || ENOENT == errno) && in cp_node()
255 !symlinkat(toybuf, cfd, catch))) in cp_node()
[all …]
/third_party/openssl/engines/
De_devcrypto.c52 static int cfd = -1; variable
87 if (ioctl(cfd, CIOCFSESSION, &sess->ses) < 0) { in clean_devcrypto_session()
228 ret = ioctl(cfd, CIOCGSESSION2, &cipher_ctx->sess); in cipher_init()
230 ret = ioctl(cfd, CIOCGSESSION, &cipher_ctx->sess); in cipher_init()
284 if (ioctl(cfd, CIOCCRYPT, &cryp) < 0) { in cipher_do_cipher()
458 if (ioctl(cfd, CIOCGSESSION2, &sess) == 0) { in prepare_cipher_methods()
462 if (ioctl(cfd, CIOCGSESSION2, &sess) < 0) { in prepare_cipher_methods()
469 if (ioctl(cfd, CIOCGSESSION, &sess) < 0) { in prepare_cipher_methods()
507 if (ioctl(cfd, CIOCFINDDEV, &fop) == 0) { in prepare_cipher_methods()
513 if (ioctl(cfd, CIOCGSESSINFO, &siop) < 0) { in prepare_cipher_methods()
[all …]
/third_party/toybox/porting/liteos_a/toys/posix/
Dcp.c112 int fdout = -1, cfd = try->parent ? try->parent->extra : AT_FDCWD, in cp_node() local
133 if (!faccessat(cfd, catch, F_OK, 0) && !S_ISDIR(cst.st_mode)) { in cp_node()
140 } else if ((flags & FLAG_F) && unlinkat(cfd, catch, 0)) { in cp_node()
181 if (!mkdirat(cfd, catch, try->st.st_mode | 0200) || errno == EEXIST) in cp_node()
182 if (-1 != (try->extra = openat(cfd, catch, O_NOFOLLOW))) in cp_node()
189 if (!linkat(tfd, try->name, cfd, catch, 0)) err = 0; in cp_node()
212 if (!symlinkat(s, cfd, catch)) { in cp_node()
227 ((!unlinkat(cfd, catch, 0) || ENOENT == errno) && in cp_node()
228 !symlinkat(toybuf, cfd, catch))) in cp_node()
229 : !mknodat(cfd, catch, try->st.st_mode, try->st.st_rdev)) in cp_node()
[all …]
/third_party/libfuse/example/
Dhello_ll_uds.c210 int cfd = accept(sfd, NULL, NULL); in create_socket() local
211 if (cfd == -1) { in create_socket()
218 return cfd; in create_socket()
314 int cfd = -1; in main() local
340 cfd = create_socket("/tmp/libfuse-hello-ll.sock"); in main()
341 if (cfd == -1) in main()
344 if (fuse_session_custom_io(se, &io, cfd) != 0) in main()
/third_party/ltp/testcases/network/netstress/
Dnetstress.c332 int cfd = SAFE_SOCKET(family, sock_type, protocol); in client_connect_send() local
334 init_socket_opts(cfd); in client_connect_send()
338 SAFE_SENDTO(1, cfd, msg, size, send_flags | MSG_FASTOPEN, in client_connect_send()
341 bind_before_connect(cfd); in client_connect_send()
343 SAFE_CONNECT(cfd, remote_addrinfo->ai_addr, in client_connect_send()
345 SAFE_SEND(1, cfd, msg, size, send_flags); in client_connect_send()
347 return cfd; in client_connect_send()
512 int cfd = client_connect_send(client_msg, msg_len); in client_run() local
513 if (cfd != -1) { in client_run()
514 shutdown(cfd, SHUT_WR); in client_run()
[all …]
/third_party/toybox/toys/other/
Dlosetup.c62 int i, cfd = open("/dev/loop-control", O_RDWR); local
68 if (cfd != -1) {
69 if (0 <= (i = ioctl(cfd, LOOP_CTL_GET_FREE))) {
72 close(cfd);
/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl02.c375 int cfd; in do_child_setup() local
377 cfd = open(childtty, O_RDWR, 0777); in do_child_setup()
378 if (cfd < 0) { in do_child_setup()
387 if (ioctl(cfd, TCFLSH, 2) < 0) { in do_child_setup()
397 return cfd; in do_child_setup()
/third_party/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_regression_getdelays.c276 int cfd = 0; in main() local
391 cfd = open(containerpath, O_RDONLY); in main()
392 if (cfd < 0) { in main()
398 CGROUPSTATS_CMD_ATTR_FD, &cfd, sizeof(__u32)); in main()
528 if (cfd) in main()
529 close(cfd); in main()
/third_party/openssl/test/helpers/
Dssltestlib.c818 int afd = -1, cfd = -1, sfd = -1; in create_test_sockets() local
837 cfd = socket(AF_INET, SOCK_STREAM, 0); in create_test_sockets()
838 if (cfd < 0) in create_test_sockets()
849 if (!cfd_connected && connect(cfd, (struct sockaddr*)&sin, sizeof(sin)) < 0) in create_test_sockets()
855 if (set_nb(cfd) == -1 || set_nb(sfd) == -1) in create_test_sockets()
858 *cfdp = cfd; in create_test_sockets()
863 if (cfd != -1) in create_test_sockets()
864 close(cfd); in create_test_sockets()
874 SSL **cssl, int sfd, int cfd) in create_ssl_objects2() argument
889 || !TEST_ptr(c_to_s_bio = BIO_new_socket(cfd, BIO_NOCLOSE))) in create_ssl_objects2()
Dssltestlib.h24 SSL **cssl, int sfd, int cfd);
25 int create_test_sockets(int *cfd, int *sfd);
/third_party/ltp/testcases/network/sctp/
Dsctp_big_chunk.c27 static int sfd, cfd; variable
132 cfd = SAFE_SOCKET(AF_INET6, SOCK_RAW, IPPROTO_RAW); in setup_client()
166 SAFE_SENDTO(1, cfd, packet, pkt_len, 0, (struct sockaddr *)&rmt, in run()
/third_party/libfuse/util/
Dfusermount.c1356 int cfd; in main() local
1455 cfd = atoi(commfd); in main()
1458 fstat(cfd, &statbuf); in main()
1462 progname, cfd); in main()
1474 res = send_fd(cfd, fd); in main()
1507 int n = recv(cfd, buf, sizeof(buf), 0); in main()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DTargetItinerary.td159 class ComboFuncUnits<list<ComboFuncData> cfd> {
160 list<ComboFuncData> CFD = cfd;
/third_party/openssl/test/
Dsslapitest.c1157 int cfd = -1, sfd = -1; in execute_test_ktls() local
1160 if (!TEST_true(create_test_sockets(&cfd, &sfd))) in execute_test_ktls()
1164 if (!ktls_chk_platform(cfd)) { in execute_test_ktls()
1192 &clientssl, sfd, cfd))) in execute_test_ktls()
1273 if (cfd != -1) in execute_test_ktls()
1274 close(cfd); in execute_test_ktls()
1290 int cfd = -1, sfd = -1, ffd, err; in execute_test_ktls_sendfile() local
1299 || !TEST_true(create_test_sockets(&cfd, &sfd))) in execute_test_ktls_sendfile()
1331 &clientssl, sfd, cfd))) in execute_test_ktls_sendfile()
1406 if (cfd != -1) in execute_test_ktls_sendfile()
[all …]
/third_party/elfutils/tests/
Dtestfile44.expect.bz21testfile44.o: elf32-elf_i386 2 3Disassembly of section .text: 4 5 0 ...
/third_party/cups-filters/cupsfilters/
Dimage.pgm122 …A=832478:BJOPT]e[[[O2OVSFBJQQTK?4/+&#7GTWOJQ\?ADCCBFHM]u��qT=B7?a~�o`UV\cfd[RQLLSTU`pzhbR-'/(-J…
/third_party/harfbuzz/perf/texts/
Den-words.txt1610 cfd
/third_party/skia/third_party/externals/harfbuzz/perf/texts/
Den-words.txt1610 cfd
/third_party/mesa3d/src/freedreno/.gitlab-ci/reference/
Dcrash.log314 00001cfd 0x229: 00001cfd
/third_party/icu/icu4c/source/data/misc/
DsupplementalData.txt5157 "cfd",
/third_party/skia/third_party/externals/icu/source/data/misc/
DsupplementalData.txt5157 "cfd",
/third_party/flutter/skia/third_party/externals/icu/source/data/misc/
DsupplementalData.txt4961 "cfd",
/third_party/node/deps/npm/changelogs/
DCHANGELOG-2.md4723 * [`7719cfd`](https://github.com/npm/npm/commit/7719cfdd8b204dfeccc41289707ea58b4d608905)
/third_party/rust/crates/regex/bench/src/data/
D1MB.txt26018 cfd

12