Searched defs:sd (Results 1 - 25 of 117) sorted by relevance

12345

/freebsd-head/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dfloattidf.c31 int sd = N - __clzti2(a); // number of significant digits local
32 int e = sd - 1; // exponent
33 if (sd > DBL_MANT_DIG) {
41 switch (sd) {
48 a = ((tu_int)a >> (sd - (DBL_MANT_DIG + 2))) |
49 ((a & ((tu_int)(-1) >> ((N + DBL_MANT_DIG + 2) - sd))) != 0);
62 a <<= (DBL_MANT_DIG - sd);
H A Dfloattisf.c30 int sd = N - __clzti2(a); // number of significant digits local
31 int e = sd - 1; // exponent
32 if (sd > FLT_MANT_DIG) {
40 switch (sd) {
47 a = ((tu_int)a >> (sd - (FLT_MANT_DIG + 2))) |
48 ((a & ((tu_int)(-1) >> ((N + FLT_MANT_DIG + 2) - sd))) != 0);
61 a <<= (FLT_MANT_DIG - sd);
H A Dfloattixf.c32 int sd = N - __clzti2(a); // number of significant digits local
33 int e = sd - 1; // exponent
34 if (sd > LDBL_MANT_DIG) {
42 switch (sd) {
49 a = ((tu_int)a >> (sd - (LDBL_MANT_DIG + 2))) |
50 ((a & ((tu_int)(-1) >> ((N + LDBL_MANT_DIG + 2) - sd))) != 0);
63 a <<= (LDBL_MANT_DIG - sd);
H A Dfloatuntidf.c29 int sd = N - __clzti2(a); // number of significant digits local
30 int e = sd - 1; // exponent
31 if (sd > DBL_MANT_DIG) {
39 switch (sd) {
46 a = (a >> (sd - (DBL_MANT_DIG + 2))) |
47 ((a & ((tu_int)(-1) >> ((N + DBL_MANT_DIG + 2) - sd))) != 0);
60 a <<= (DBL_MANT_DIG - sd);
H A Dfloatuntisf.c28 int sd = N - __clzti2(a); // number of significant digits local
29 int e = sd - 1; // exponent
30 if (sd > FLT_MANT_DIG) {
38 switch (sd) {
45 a = (a >> (sd - (FLT_MANT_DIG + 2))) |
46 ((a & ((tu_int)(-1) >> ((N + FLT_MANT_DIG + 2) - sd))) != 0);
59 a <<= (FLT_MANT_DIG - sd);
H A Dfloatuntitf.c33 int sd = N - __clzti2(a); // number of significant digits local
34 int e = sd - 1; // exponent
35 if (sd > LDBL_MANT_DIG) {
43 switch (sd) {
50 a = (a >> (sd - (LDBL_MANT_DIG + 2))) |
51 ((a & ((tu_int)(-1) >> ((N + LDBL_MANT_DIG + 2) - sd))) != 0);
64 a <<= (LDBL_MANT_DIG - sd);
H A Dfloatuntixf.c30 int sd = N - __clzti2(a); // number of significant digits local
31 int e = sd - 1; // exponent
32 if (sd > LDBL_MANT_DIG) {
40 switch (sd) {
47 a = (a >> (sd - (LDBL_MANT_DIG + 2))) |
48 ((a & ((tu_int)(-1) >> ((N + LDBL_MANT_DIG + 2) - sd))) != 0);
61 a <<= (LDBL_MANT_DIG - sd);
H A Dfloatundisf.c26 int sd = N - __builtin_clzll(a); // number of significant digits local
27 si_int e = sd - 1; // 8 exponent
28 if (sd > FLT_MANT_DIG) {
36 switch (sd) {
43 a = (a >> (sd - (FLT_MANT_DIG + 2))) |
44 ((a & ((du_int)(-1) >> ((N + FLT_MANT_DIG + 2) - sd))) != 0);
57 a <<= (FLT_MANT_DIG - sd);
H A Dfloattitf.c35 int sd = N - __clzti2(a); // number of significant digits local
36 int e = sd - 1; // exponent
37 if (sd > LDBL_MANT_DIG) {
45 switch (sd) {
52 a = ((tu_int)a >> (sd - (LDBL_MANT_DIG + 2))) |
53 ((a & ((tu_int)(-1) >> ((N + LDBL_MANT_DIG + 2) - sd))) != 0);
66 a <<= (LDBL_MANT_DIG - sd);
H A Dfloatdisf.c28 int sd = N - __builtin_clzll(a); // number of significant digits local
29 si_int e = sd - 1; // exponent
30 if (sd > FLT_MANT_DIG) {
38 switch (sd) {
45 a = ((du_int)a >> (sd - (FLT_MANT_DIG + 2))) |
46 ((a & ((du_int)(-1) >> ((N + FLT_MANT_DIG + 2) - sd))) != 0);
59 a <<= (FLT_MANT_DIG - sd);
H A Dfloatdidf.c54 int sd = N - __builtin_clzll(a); // number of significant digits local
55 int e = sd - 1; // exponent
56 if (sd > DBL_MANT_DIG) {
64 switch (sd) {
71 a = ((du_int)a >> (sd - (DBL_MANT_DIG + 2))) |
72 ((a & ((du_int)(-1) >> ((N + DBL_MANT_DIG + 2) - sd))) != 0);
85 a <<= (DBL_MANT_DIG - sd);
H A Dfloatundidf.c58 int sd = N - __builtin_clzll(a); // number of significant digits local
59 int e = sd - 1; // exponent
60 if (sd > DBL_MANT_DIG) {
68 switch (sd) {
75 a = (a >> (sd - (DBL_MANT_DIG + 2))) |
76 ((a & ((du_int)(-1) >> ((N + DBL_MANT_DIG + 2) - sd))) != 0);
89 a <<= (DBL_MANT_DIG - sd);
/freebsd-head/contrib/netbsd-tests/lib/libc/sys/
H A Dt_getsockname.c47 int sd; local
51 sd = socket(AF_UNIX, SOCK_STREAM, 0);
52 ATF_REQUIRE(sd != -1);
56 ATF_REQUIRE(getsockname(sd, (struct sockaddr *)&sun, &len) != -1);
64 ATF_REQUIRE(bind(sd, (struct sockaddr *)&sun, len) != -1);
68 ATF_REQUIRE(getsockname(sd, (struct sockaddr *)&sun, &len) != -1);
72 ATF_REQUIRE(close(sd) != -1);
H A Dt_connect.c50 int sd, val, slist; local
54 sd = socket(AF_INET, SOCK_STREAM, 0);
56 ATF_REQUIRE(sd > 0);
70 if (setsockopt(sd, IPPROTO_IP, IP_PORTRANGE, &val,
80 if (connect(sd, (struct sockaddr *)&sin, sizeof(sin)) == -1) {
90 ATF_REQUIRE_EQ(getsockname(sd, (struct sockaddr *)&sin, &slen), 0);
94 close(sd);
H A Dt_listen.c107 int sd, val; local
109 sd = socket(AF_INET, SOCK_STREAM, 0);
110 ATF_REQUIRE_MSG(sd != -1, "socket failed: %s", strerror(errno));
113 if (setsockopt(sd, IPPROTO_IP, IP_PORTRANGE, &val,
117 if (listen(sd, 5) == -1) {
126 close(sd);
/freebsd-head/tests/sys/netinet/
H A Dsocket_afinet.c40 int sd; local
42 sd = socket(PF_INET, SOCK_DGRAM, 0);
43 ATF_CHECK(sd >= 0);
45 close(sd);
51 int sd, rc; local
57 sd = socket(PF_INET, SOCK_DGRAM, 0);
58 ATF_CHECK(sd >= 0);
66 rc = bind(sd, (struct sockaddr *)&sin, sizeof(sin));
69 close(sd);
75 int sd, r local
[all...]
H A Dso_reuseport_lb_test.c56 int csd, error, excnt, sd; local
69 sd = socket(domain, SOCK_STREAM, 0);
70 ATF_REQUIRE_MSG(sd >= 0, "socket() failed: %s",
73 error = connect(sd, addr, addr->sa_len);
77 error = setsockopt(sd, SOL_SOCKET, SO_LINGER, &lopt, sizeof(lopt));
104 error = close(sd);
117 int error, sd; local
119 sd = socket(domain, SOCK_STREAM | flags, 0);
120 ATF_REQUIRE_MSG(sd >= 0, "socket() failed: %s", strerror(errno));
123 error = setsockopt(sd, SOL_SOCKE
[all...]
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dbindresvport.c53 bindresvport_sa(int sd, struct sockaddr *sa) argument
69 if (getsockname(sd, sa, &salen) == -1)
101 error = bind(sd, sa, salen);
/freebsd-head/sys/i386/i386/
H A Dptrace_machdep.c155 struct segment_descriptor *sdp, sd; local
183 fill_based_sd(&sd, r);
185 td->td_pcb->pcb_fsd = sd;
188 td->td_pcb->pcb_gsd = sd;
/freebsd-head/lib/libc/rpc/
H A Dbindresvport.c66 bindresvport(int sd, struct sockaddr_in *sin) argument
68 return bindresvport_sa(sd, (struct sockaddr *)sin);
75 bindresvport_sa(int sd, struct sockaddr *sa) argument
91 if (_getsockname(sd, sa, &salen) == -1)
128 error = _getsockopt(sd, proto, portrange, &old, &oldlen);
132 error = _setsockopt(sd, proto, portrange, &portlow,
138 error = _bind(sd, sa, salen);
144 if (_setsockopt(sd, proto, portrange, &old,
152 if (_getsockname(sd, sa, &salen) < 0)
/freebsd-head/usr.sbin/bluetooth/sdpd/
H A Dprovider.c57 provider_p sd = calloc(1, sizeof(*sd)); local
60 if (sd == NULL || bgd == NULL) {
61 if (sd != NULL)
62 free(sd);
70 sd->profile = &sd_profile_descriptor;
72 sd->fd = fd;
73 TAILQ_INSERT_HEAD(&providers, sd, provider_next);
77 sd->fd = fd;
78 TAILQ_INSERT_AFTER(&providers, sd, bg
[all...]
/freebsd-head/tools/regression/priv/
H A Dpriv_netinet_ipsec.c51 static int sd = -1; variable
66 sd = socket(AF_INET, SOCK_DGRAM, 0);
67 if (sd < 0) {
74 sd = socket(AF_INET6, SOCK_DGRAM, 0);
75 if (sd < 0) {
121 sd = socket(AF_INET, SOCK_DGRAM, 0);
122 if (sd < 0) {
129 sd = socket(AF_INET6, SOCK_DGRAM, 0);
130 if (sd < 0) {
215 error = setsockopt(sd, leve
[all...]
/freebsd-head/contrib/wpa/src/wps/
H A Dwps_er_ssdp.c20 static void wps_er_ssdp_rx(int sd, void *eloop_ctx, void *sock_ctx) argument
33 nread = recvfrom(sd, buf, sizeof(buf) - 1, 0,
47 if (sd == er->multicast_sd) {
/freebsd-head/sys/contrib/libsodium/regen-msvc/
H A Dregen-msvc.py98 sd = os.path.dirname(os.path.realpath(__file__)) variable
100 apply_template(sd + "/tl_libsodium.vcxproj.filters.tpl",
104 apply_template(sd + "/tl_libsodium.vcxproj.tpl",
107 apply_template(sd + "/libsodium.vcxproj.filters.tpl",
109 apply_template(sd + "/libsodium.vcxproj.filters.tpl",
111 apply_template(sd + "/libsodium.vcxproj.filters.tpl",
113 apply_template(sd + "/libsodium.vcxproj.filters.tpl",
115 apply_template(sd + "/libsodium.vcxproj.filters.tpl",
119 apply_template(sd + "/libsodium.vcxproj.tpl",
123 apply_template(sd
[all...]
/freebsd-head/sys/dev/aic7xxx/
H A Daic7xxx_93cx6.c103 #define CLOCK_PULSE(sd, rdy) \
104 while ((SEEPROM_STATUS_INB(sd) & rdy) == 0) { \
107 (void)SEEPROM_INB(sd); /* Clear clock */
113 send_seeprom_cmd(struct seeprom_descriptor *sd, struct seeprom_cmd *cmd) argument
119 temp = sd->sd_MS ^ sd->sd_CS;
120 SEEPROM_OUTB(sd, temp ^ sd->sd_CK);
121 CLOCK_PULSE(sd, sd
139 reset_seeprom(struct seeprom_descriptor *sd) argument
157 ahc_read_seeprom(struct seeprom_descriptor *sd, uint16_t *buf, u_int start_addr, u_int count) argument
229 ahc_write_seeprom(struct seeprom_descriptor *sd, uint16_t *buf, u_int start_addr, u_int count) argument
[all...]

Completed in 913 milliseconds

12345