HomeSort by: relevance | last modified time | path
    Searched refs:sn (Results 1 - 25 of 86) sorted by relevancy

1 2 3 4

  /src/lib/libm/src/
s_sincosf.c 47 sincosf(float x, float *sn, float *cs)
59 *sn = x; /* x with inexact if x != 0 */
64 __kernel_sincosdf(x, sn, cs);
71 __kernel_sincosdf(x - p1pio2, cs, sn);
74 __kernel_sincosdf(x + p1pio2, cs, sn);
75 *sn = -*sn;
79 __kernel_sincosdf(x - p2pio2, sn, cs);
81 __kernel_sincosdf(x + p2pio2, sn, cs);
82 *sn = -*sn
    [all...]
s_sincosl.c 60 sincosl(long double x, long double *sn, long double *cs)
78 *sn = x;
81 __kernel_sincosl(x, 0, 0, sn, cs);
87 *sn = x - x;
97 __kernel_sincosl(y[0], y[1], 1, sn, cs);
100 __kernel_sincosl(y[0], y[1], 1, cs, sn);
104 __kernel_sincosl(y[0], y[1], 1, sn, cs);
105 *sn = -*sn;
109 __kernel_sincosl(y[0], y[1], 1, cs, sn);
    [all...]
s_sincos.c 37 sincos(double x, double *sn, double *cs)
50 *sn = x;
55 __kernel_sincos(x, 0, 0, sn, cs);
61 *sn = x - x;
71 __kernel_sincos(y[0], y[1], 1, sn, cs);
74 __kernel_sincos(y[0], y[1], 1, cs, sn);
78 __kernel_sincos(y[0], y[1], 1, sn, cs);
79 *sn = -*sn;
83 __kernel_sincos(y[0], y[1], 1, cs, sn);
    [all...]
k_sincosf.h 37 __kernel_sincosdf(double x, float *sn, float *cs)
45 *sn = (x + s * (S1 + z * S2)) + s * w * r;
k_sincos.h 39 __kernel_sincos(double x, double y, int iy, double *sn, double *cs)
49 *sn = x + v * (S1 + z * r);
51 *sn = x - ((z * (y / 2 - v * r) - y) - v * S1);
k_sincosl.h 56 __kernel_sincosl(long double x, long double y, int iy, long double *sn,
70 *sn = x + v * (S1 + z * r);
72 *sn = x - ((z * (y / 2 - v * r) - y) - v * S1);
111 __kernel_sincosl(long double x, long double y, int iy, long double *sn,
126 *sn = x + v * (S1 + z * r);
128 *sn = x - ((z * (y / 2 - v * r) - y) - v * S1);
e_powf.c 62 float yy1,t1,t2,r,s,sn,t,u,v,w; local in function:__ieee754_powf
133 sn = one; /* s (sign of result -ve**odd) = -1 else = 1 */
134 if((n|(yisint-1))==0) sn = -one;/* (-ve)**(odd int) */
139 if(ix<0x3f7ffff8) return (hy<0)? sn*huge*huge:sn*tiny*tiny;
140 if(ix>0x3f800007) return (hy>0)? sn*huge*huge:sn*tiny*tiny;
213 return sn*huge*huge; /* overflow */
215 if(p_l+ovt>z-p_h) return sn*huge*huge; /* overflow */
218 return sn*tiny*tiny; /* underflow *
    [all...]
  /src/sys/dev/ic/
athrate-sample.c 141 rate_to_ndx(struct sample_node *sn, int rate) {
143 for (x = 0; x < sn->num_rates; x++) {
144 if (sn->rates[x].rate == rate) {
169 static inline int best_rate_ndx(struct sample_node *sn, int size_bin,
175 for (x = 0; x < sn->num_rates; x++) {
176 int tt = sn->stats[size_bin][x].average_tx_time;
178 !sn->stats[size_bin][x].packets_acked)) {
183 if (sn->rates[x].rate == 18)
187 if (sn->stats[size_bin][x].successive_failures > 3)
202 pick_sample_ndx(struct sample_node *sn, int size_bin)
258 struct sample_node *sn = ATH_NODE_SAMPLE(an); local in function:ath_rate_findrate
369 struct sample_node *sn = ATH_NODE_SAMPLE(an); local in function:ath_rate_setupxtxdesc
403 struct sample_node *sn = ATH_NODE_SAMPLE(an); local in function:update_stats
493 struct sample_node *sn = ATH_NODE_SAMPLE(an); local in function:ath_rate_tx_complete
653 struct sample_node *sn = ATH_NODE_SAMPLE(an); local in function:ath_rate_ctl_reset
    [all...]
  /src/bin/kill/
kill.c 78 const char *sn; local in function:main
96 sn = argv[0] + 2;
99 sn = argv[0];
104 if (isdigit((unsigned char)*sn) == 0)
106 numsig = signum(sn);
110 nosig(sn);
111 sn = signalname(numsig);
112 if (sn == NULL)
115 printf("%s\n", sn);
123 sn = argv[0] + 2
    [all...]
  /src/sys/arch/amiga/dev/
p5bus.c 96 char *sn; local in function:p5bus_attach
102 sn = p5bus_cardsn();
110 if (sn[0] == 'F') {
112 "CyberStorm Mk-III (sn %s)\n", sn);
116 "CyberStorm PPC 604e (sn %s)\n", sn);
125 if (sn[0] != 'I') { /* only "+" model has SCSI */
127 "BlizzardPPC 603e (sn %s)\n", sn);
183 char *snr, *sn; local in function:p5bus_cardsn
    [all...]
  /src/sys/miscfs/specfs/
spec_vnops.c 237 * spec_io_enter(vp, &sn, &dev)
243 * On success, set sn to the specnode pointer and dev to the dev_t
254 struct specnode *sn; local in function:spec_io_enter
269 (sn = vp->v_specnode) == NULL ||
285 iocnt = atomic_load_relaxed(&sn->sn_dev->sd_iocnt);
301 } while (atomic_cas_uint(&sn->sn_dev->sd_iocnt, iocnt, iocnt + 1)
305 *snp = sn;
314 * spec_io_exit(vp, sn)
317 * allow concurrent spec_node_revoke to proceed. The argument sn
322 spec_io_exit(struct vnode *vp, struct specnode *sn)
376 specnode_t *sn; local in function:spec_node_init
569 struct specnode *sn; local in function:spec_node_setmountedfs
601 specnode_t *sn; local in function:spec_node_revoke
665 specnode_t *sn; local in function:spec_node_destroy
728 specnode_t *sn, *sn1; local in function:spec_open
1085 struct specnode *sn; local in function:spec_read
1207 struct specnode *sn; local in function:spec_write
1338 struct specnode *sn; local in function:spec_ioctl
1374 struct specnode *sn; local in function:spec_poll
1403 struct specnode *sn; local in function:spec_kqfilter
1440 struct specnode *sn; local in function:spec_mmap
1497 struct specnode *sn = NULL; local in function:spec_strategy
1609 specnode_t *sn; local in function:spec_close
    [all...]
  /src/usr.bin/fstat/
ptyfs.c 61 struct specnode sn; local in function:ptyfs_filestat
81 if (!KVM_READ(vp->v_specnode, &sn, sizeof(sn))) {
86 fsp->rdev = sn.sn_rdev;
  /src/sys/arch/vax/boot/boot/
hp.c 111 unsigned int bn, cn, sn, tn; local in function:hpstrategy
121 sn = bn % hplabel.d_secpercyl;
122 tn = sn / hplabel.d_nsectors;
123 sn = sn % hplabel.d_nsectors;
125 cn = sn = tn = 0;
128 HP_WCSR(HP_DA, (tn << 8) | sn);
  /src/sbin/nvmectl/
wdc.c 70 char sn[sizeof(cdata.sn) + 1]; local in function:wdc_append_serial_name
76 memcpy(sn, cdata.sn, sizeof(cdata.sn));
77 walker = sn + sizeof(cdata.sn) - 1;
78 while (walker > sn && *walker == ' ')
81 snprintf(buf, len, "%s%s.bin", sn, suffix);
util.c 93 BIGNUM *sn; local in function:unit_string
108 sn = BN_bin2bn(tmp, sizeof(tmp), NULL);
109 if (sn != NULL) {
110 BN_mul(bn, bn, sn, ctx);
111 BN_free(sn);
  /src/lib/libc/stdlib/
pty.c 67 return pm.sn;
78 if (strlcpy(buf, pm.sn, buflen) > buflen)
  /src/sys/compat/sys/
ttycom.h 47 * The cn and sn fields in struct ptmget changed size from
54 char sn[16]; member in struct:compat_60_ptmget
  /src/sys/compat/common/
tty_60.c 61 strlcpy(pg60->sn, pg->sn, sizeof(pg60->sn));
63 || strlen(pg->sn) >= sizeof(pg60->sn))
  /src/usr.sbin/bad144/
bad144.c 112 daddr_t sn; local in function:main
184 sn = getold(f, &oldbad);
186 (long long)sn, diskname);
206 printf("sn=%lld, cn=%d, tn=%d, sn=%d\n",
248 sn = atoi(*argv++);
250 if (sn < 0 || sn >= size) {
252 (long long)sn, (long long)size, dp->d_typename);
257 bn[i] = sn;
329 daddr_t sn; local in function:getold
357 daddr_t sn, lsn; local in function:checkold
    [all...]
  /src/lib/libcurses/
instr.c 140 int epos, sn; local in function:winnstr
145 sn = n;
165 if (sn < 0)
  /src/usr.sbin/puffs/mount_sysctlfs/
sysctlfs.c 166 struct sysctlnode sn[SFS_NODEPERDIR]; local in function:getnode
200 sl = sizeof(sn);
201 if (sysctl(myname, po->po_len, sn, &sl,
206 if (sn[i].sysctl_num == (*sname)[po->po_len-1]) {
207 nodetype = sn[i].sysctl_flags;
503 struct sysctlnode sn[SFS_NODEPERDIR]; local in function:getlinks
512 sl = sizeof(sn);
517 if (sysctl(*sname, po->po_len + 1, sn, &sl,
521 return (sl / sizeof(sn[0])) + 2;
545 struct sysctlnode sn[SFS_NODEPERDIR] local in function:sysctlfs_node_lookup
643 struct sysctlnode sn[SFS_NODEPERDIR]; local in function:sysctlfs_node_readdir
    [all...]
  /src/sbin/fsck_lfs/
pass6.c 84 u_int32_t oldsn, sn; local in function:rfw_update_single
171 sn = lfs_dtosn(fs, ndaddr);
172 LFS_SEGENTRY(sup, fs, sn, bp);
173 seg_table[sn].su_nbytes += size;
177 LFS_WRITESEGENTRY(sup, fs, sn, bp);
285 int i, sn, anyout, anynew; local in function:pass6check
294 sn = lfs_dtosn(fs, idesc->id_blkno + i);
295 if (sn < 0 || sn >= lfs_sb_getnseg(fs) ||
296 (seg_table[sn].su_flags & SEGUSE_DIRTY) == 0)
423 int sn; local in function:readdress_inode
557 int sn, curseg; local in function:pass6
    [all...]
pass4.c 152 int sn; local in function:pass4check
154 sn = lfs_dtosn(fs, blkno);
170 LFS_SEGENTRY(sup, fs, sn, bp);
173 seg_table[sn].su_nbytes -= lfs_fsbtob(fs, 1);
  /src/tests/kernel/
h_segv.c 73 } sn[] = { variable in typeref:struct:__anon70d0e90c0208[]
241 for (j = 0; j < __arraycount(sn); j++) {
242 if (strcmp(sn[j].n, argv[i]) == 0) {
243 sig = sn[j].v;
  /src/tests/lib/libc/ttyio/
t_ptm.c 81 ATF_REQUIRE_MSG(strncmp(ptm.sn, "/dev/tty", 8) == 0
82 || strncmp(ptm.sn, "/dev/pts/", 9) == 0,
83 "bad slave name: %s", ptm.sn);
92 REQUIRE_ERRNO(stat(ptm.sn, &sts), -1);

Completed in 172 milliseconds

1 2 3 4