| /freebsd/contrib/tcp_wrappers/ |
| H A D | socket.c | 171 struct addrinfo hints, *res, *res0 = NULL; in sock_hostname() local 217 if ((err = getaddrinfo(host->name, NULL, &hints, &res0)) == 0) { in sock_hostname() 218 freeaddrinfo(res0); in sock_hostname() 246 if (getaddrinfo(host->name, NULL, &hints, &res0) != 0) { in sock_hostname() 257 } else if ((res0->ai_canonname == NULL in sock_hostname() 258 || STR_NE(host->name, res0->ai_canonname)) in sock_hostname() 269 (res0->ai_canonname == NULL) ? "" : res0->ai_canonname); in sock_hostname() 280 for (res = res0; res; res = res->ai_next) { in sock_hostname() 299 freeaddrinfo(res0); in sock_hostname() 314 (res0->ai_canonname == NULL) ? "" : res0->ai_canonname); in sock_hostname() [all …]
|
| /freebsd/contrib/arm-optimized-routines/math/ |
| H A D | sincosf.h | 134 uint64_t n, res0, res1, res2; in reduce_large() local 139 res0 = xi * arr[0]; in reduce_large() 142 res0 = (res2 >> 32) | (res0 << 32); in reduce_large() 143 res0 += res1; in reduce_large() 145 n = (res0 + (1ULL << 61)) >> 62; in reduce_large() 146 res0 -= n << 62; in reduce_large() 147 double x = (int64_t)res0; in reduce_large()
|
| /freebsd/usr.sbin/ypserv/ |
| H A D | yp_main.c | 258 struct addrinfo hints, *res, *res0; in create_service() local 281 &hints, &res0); in create_service() 287 for (res = res0; res; res = res->ai_next) { in create_service() 301 freeaddrinfo(res0); in create_service() 312 freeaddrinfo(res0); in create_service() 324 freeaddrinfo(res0); in create_service() 347 freeaddrinfo(res0); in create_service() 359 freeaddrinfo(res0); in create_service() 371 freeaddrinfo(res0); in create_service() 379 freeaddrinfo(res0); in create_service() [all …]
|
| /freebsd/crypto/openssl/crypto/modes/asm/ |
| H A D | aes-gcm-armv8-unroll8_64.pl | 192 my ($ctr0,$ctr1,$ctr2,$ctr3,$ctr4,$ctr5,$ctr6,$ctr7,$res0,$res1,$res2,$res3,$res4,$res5,$res6,$res7… 216 my $t4=$res0; 512 pmull2 $acc_h.1q, $res0.2d, $h8.2d @ GHASH block 8k - high 515 trn1 $acc_m.2d, $res1.2d, $res0.2d @ GHASH block 8k, 8k+1 - mid 516 pmull $acc_l.1q, $res0.1d, $h8.1d @ GHASH block 8k - low 518 trn2 $res0.2d, $res1.2d, $res0.2d @ GHASH block 8k, 8k+1 - mid 535 eor $res0.16b, $res0.16b, $acc_m.16b @ GHASH block 8k, 8k+1 - mid 561 pmull2 $acc_m.1q, $res0.2d, $h78k.2d @ GHASH block 8k - mid 563 pmull $h78k.1q, $res0.1d, $h78k.1d @ GHASH block 8k+1 - mid 788 pmull $acc_l.1q, $res0.1d, $h8.1d @ GHASH block 8k - low [all …]
|
| H A D | aes-gcm-armv8_64.pl | 179 my ($ctr0,$ctr1,$ctr2,$ctr3,$res0,$res1,$res2,$res3)=map("v$_",(0..7)); 562 mov $t0d, $res0.d[1] @ GHASH block 4k - mid 565 pmull2 $acc_h.1q, $res0.2d, $h4.2d @ GHASH block 4k - high 571 pmull $acc_l.1q, $res0.1d, $h4.1d @ GHASH block 4k - low 572 eor $t0.8b, $t0.8b, $res0.8b @ GHASH block 4k - mid 761 pmull $acc_l.1q, $res0.1d, $h4.1d @ GHASH block 4k - low 762 mov $t0d, $res0.d[1] @ GHASH block 4k - mid 770 eor $t0.8b, $t0.8b, $res0.8b @ GHASH block 4k - mid 772 pmull2 $acc_h.1q, $res0.2d, $h4.2d @ GHASH block 4k - high 952 pmull $acc_l.1q, $res0.1d, $h4.1d @ GHASH final-3 block - low [all …]
|
| /freebsd/contrib/arm-optimized-routines/math/aarch64/experimental/ |
| H A D | tanf_3u3.c | 67 uint64_t n, res0, res1, res2; in reduce_large() local 72 res0 = xi * arr[0]; in reduce_large() 75 res0 = (res2 >> 32) | (res0 << 32); in reduce_large() 76 res0 += res1; in reduce_large() 78 n = (res0 + (1ULL << 61)) >> 62; in reduce_large() 79 res0 -= n << 62; in reduce_large() 80 double x = (int64_t) res0; in reduce_large()
|
| /freebsd/lib/libc/net/ |
| H A D | getaddrinfo.3 | 386 struct addrinfo hints, *res, *res0; 394 error = getaddrinfo("www.kame.net", "http", &hints, &res0); 400 for (res = res0; res; res = res->ai_next) { 421 freeaddrinfo(res0); 428 struct addrinfo hints, *res, *res0; 438 error = getaddrinfo(NULL, "http", &hints, &res0); 444 for (res = res0; res && nsock < MAXSOCK; res = res->ai_next) { 465 freeaddrinfo(res0);
|
| /freebsd/sbin/hastd/ |
| H A D | hastd.c | 370 resource_needs_restart(const struct hast_resource *res0, in resource_needs_restart() argument 374 PJDLOG_ASSERT(strcmp(res0->hr_name, res1->hr_name) == 0); in resource_needs_restart() 376 if (strcmp(res0->hr_provname, res1->hr_provname) != 0) in resource_needs_restart() 378 if (strcmp(res0->hr_localpath, res1->hr_localpath) != 0) in resource_needs_restart() 380 if (res0->hr_role == HAST_ROLE_INIT || in resource_needs_restart() 381 res0->hr_role == HAST_ROLE_SECONDARY) { in resource_needs_restart() 382 if (strcmp(res0->hr_remoteaddr, res1->hr_remoteaddr) != 0) in resource_needs_restart() 384 if (strcmp(res0->hr_sourceaddr, res1->hr_sourceaddr) != 0) in resource_needs_restart() 386 if (res0->hr_replication != res1->hr_replication) in resource_needs_restart() 388 if (res0->hr_checksum != res1->hr_checksum) in resource_needs_restart() [all …]
|
| /freebsd/usr.bin/logger/ |
| H A D | logger.c | 239 struct addrinfo hints, *res, *res0; in socksetup() local 284 error = getaddrinfo(hbuf, sbuf, &hints, &res0); in socksetup() 287 for (res = res0; res; res = res->ai_next) { in socksetup() 303 freeaddrinfo(res0); in socksetup() 312 error = getaddrinfo(dst, svcname, &hints, &res0); in socksetup() 315 error = getaddrinfo(dst, "514", &hints, &res0); in socksetup() 321 for (res = res0; res; res = res->ai_next) in socksetup() 326 for (res = res0; res; res = res->ai_next) { in socksetup() 349 freeaddrinfo(res0); in socksetup()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibCalls.cpp | 87 bool evaluateScalarMathFunc(const FuncInfo &FInfo, double &Res0, double &Res1, 1460 bool AMDGPULibCalls::evaluateScalarMathFunc(const FuncInfo &FInfo, double &Res0, in evaluateScalarMathFunc() argument 1485 Res0 = acos(opr0); in evaluateScalarMathFunc() 1490 Res0 = log(opr0 + sqrt(opr0*opr0 - 1.0)); in evaluateScalarMathFunc() 1494 Res0 = acos(opr0) / MATH_PI; in evaluateScalarMathFunc() 1498 Res0 = asin(opr0); in evaluateScalarMathFunc() 1503 Res0 = log(opr0 + sqrt(opr0*opr0 + 1.0)); in evaluateScalarMathFunc() 1507 Res0 = asin(opr0) / MATH_PI; in evaluateScalarMathFunc() 1511 Res0 = atan(opr0); in evaluateScalarMathFunc() 1516 Res0 = (log(opr0 + 1.0) - log(opr0 - 1.0))/2.0; in evaluateScalarMathFunc() [all …]
|
| /freebsd/contrib/dma/ |
| H A D | dns.c | 68 struct addrinfo hints, *res, *res0 = NULL; in add_host() local 79 switch (getaddrinfo(host, servname, &hints, &res0)) { in add_host() 100 for (res = res0; res != NULL; res = res->ai_next) { in add_host() 121 freeaddrinfo(res0); in add_host() 126 if (res0 != NULL) in add_host() 127 freeaddrinfo(res0); in add_host()
|
| /freebsd/crypto/heimdal/lib/ipc/ |
| H A D | ts-http.c | 77 struct addrinfo hints, *res, *res0; in setup_sockets() local 85 ret = getaddrinfo(NULL, "8080", &hints, &res0); in setup_sockets() 89 for (res = res0; res ; res = res->ai_next) { in setup_sockets() 109 freeaddrinfo(res0); in setup_sockets()
|
| /freebsd/contrib/netcat/ |
| H A D | netcat.c | 691 struct addrinfo *res, *res0; in remote_connect() local 697 res0 = res; in remote_connect() 699 if ((s = socket(res0->ai_family, res0->ai_socktype, in remote_connect() 700 res0->ai_protocol)) < 0) in remote_connect() 714 ahints.ai_family = res0->ai_family; in remote_connect() 727 set_common_sockopts(s, res0->ai_family); in remote_connect() 729 if (timeout_connect(s, res0->ai_addr, res0->ai_addrlen) == 0) in remote_connect() 737 } while ((res0 = res0->ai_next) != NULL); in remote_connect() 789 struct addrinfo *res, *res0; in local_listen() local 806 res0 = res; in local_listen() [all …]
|
| /freebsd/usr.sbin/traceroute/ |
| H A D | as.c | 61 struct addrinfo hints, *res0, *res; in as_setup() local 74 error = getaddrinfo(server, "whois", &hints, &res0); in as_setup() 77 error = getaddrinfo(server, "43", &hints, &res0); in as_setup() 84 for (res = res0; res; res = res->ai_next) { in as_setup() 93 freeaddrinfo(res0); in as_setup()
|
| /freebsd/crypto/openssh/regress/ |
| H A D | netcat.c | 615 struct addrinfo *res, *res0; in remote_connect() local 624 res0 = res; in remote_connect() 626 if ((s = socket(res0->ai_family, res0->ai_socktype, in remote_connect() 627 res0->ai_protocol)) < 0) in remote_connect() 644 ahints.ai_family = res0->ai_family; in remote_connect() 657 set_common_sockopts(s, res0->ai_family); in remote_connect() 659 if (timeout_connect(s, res0->ai_addr, res0->ai_addrlen) == 0) in remote_connect() 667 } while ((res0 = res0->ai_next) != NULL); in remote_connect() 719 struct addrinfo *res, *res0; in local_listen() local 736 res0 = res; in local_listen() [all …]
|
| /freebsd/tools/tools/netrate/netblast/ |
| H A D | netblast.c | 143 struct addrinfo hints, *res, *res0; in main() local 186 error = getaddrinfo(argv[1],argv[2], &hints, &res0); in main() 193 for (res = res0; res; res = res->ai_next) { in main() 215 freeaddrinfo(res0); in main()
|
| /freebsd/bin/cat/ |
| H A D | cat.c | 439 struct addrinfo hints, *res, *res0; in udom_open() local 453 error = cap_getaddrinfo(capnet, rpath, NULL, &hints, &res0); in udom_open() 465 for (res = res0; res != NULL; res = res->ai_next) { in udom_open() 470 freeaddrinfo(res0); in udom_open() 477 freeaddrinfo(res0); in udom_open() 489 freeaddrinfo(res0); in udom_open()
|
| /freebsd/usr.sbin/ypldap/ |
| H A D | ypldap_dns.c | 208 struct addrinfo hints, *res0, *res; in host_dns() local 217 error = getaddrinfo(s, NULL, &hints, &res0); in host_dns() 226 for (res = res0; res && cnt < MAX_SERVERS_DNS; res = res->ai_next) { in host_dns() 248 freeaddrinfo(res0); in host_dns()
|
| /freebsd/tools/tools/netrate/netreceive/ |
| H A D | netreceive.c | 196 struct addrinfo hints, *res, *res0; in main() local 228 error = getaddrinfo(NULL, argv[1], &hints, &res0); in main() 236 for (res = res0; res && nsock < MAXSOCK; res = res->ai_next) { in main() 271 freeaddrinfo(res0); in main()
|
| /freebsd/usr.sbin/virtual_oss/virtual_oss/ |
| H A D | httpd.c | 611 struct addrinfo *res0; in voss_httpd_do_listen() 625 res0 = res; in voss_httpd_do_listen() 628 if ((s = socket(res0->ai_family, res0->ai_socktype, in voss_httpd_do_listen() 629 res0->ai_protocol)) < 0) in voss_httpd_do_listen() 639 if (bind(s, res0->ai_addr, res0->ai_addrlen) == 0) { in voss_httpd_do_listen() 650 } while ((res0 = res0->ai_next) != NULL); in voss_httpd_do_listen() 609 struct addrinfo *res0; voss_httpd_do_listen() local
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_shadow.h | 115 UNUSED u32 res0 = in IsRWWeakerOrEqual() local 123 DCHECK_EQ(res, res0); in IsRWWeakerOrEqual() 126 return res0; in IsRWWeakerOrEqual()
|
| /freebsd/sys/contrib/dev/rtw88/ |
| H A D | rtw8822c.h | 11 u8 res0[0x30]; /* 0x120 */ member 20 u8 res0[0x4a]; /* 0x120 */ member 38 u8 res0:2; /* 0x144 */ member 63 u8 res0[4]; 62 u8 res0[0x0e]; global() member
|
| /freebsd/sbin/pflowctl/ |
| H A D | pflowctl.c | 441 struct addrinfo *res0; in pflowctl_addr() local 481 if ((error = getaddrinfo(ip, port, &hints, &res0)) != 0) in pflowctl_addr() 485 memcpy(ss, res0->ai_addr, res0->ai_addr->sa_len); in pflowctl_addr() 486 freeaddrinfo(res0); in pflowctl_addr()
|
| /freebsd/libexec/phttpget/ |
| H A D | phttpget.c | 294 struct addrinfo *res0; /* Pointer to server addresses */ in main() local 343 env_HTTP_PROXY ? proxyport : "http", &hints, &res0); in main() 349 if (res0 == NULL) in main() 351 res = res0; in main() 719 res = res0; in main() 726 freeaddrinfo(res0); in main()
|
| /freebsd/contrib/lib9p/transport/ |
| H A D | socket.c | 72 struct addrinfo *res, *res0, hints; in l9p_start_server() local 80 err = getaddrinfo(host, port, &hints, &res0); in l9p_start_server() 85 for (res = res0; res; res = res->ai_next) { in l9p_start_server()
|