Searched defs:rd (Results 1 - 25 of 85) sorted by relevance

1234

/illumos-gate/usr/src/lib/libm/common/LD/
H A Dlog1pl.c47 enum fp_direction_type rd; local
53 rd = __swapRD(fp_nearest);
61 if (rd != fp_nearest)
62 (void) __swapRD(rd);
H A Dhypotl.c71 enum fp_direction_type rd; local
90 rd = __swap87RD(fp_nearest);
110 if (rd != fp_nearest)
111 __swap87RD(rd); /* restore rounding mode */
/illumos-gate/usr/src/lib/libc/port/fp/
H A Dhex_bin.c98 * ing mode specified in rd and passing back any exceptions raised via
114 __hex_to_single(decimal_record *pd, enum fp_direction_type rd, single *px, argument
128 __pack_single(&u, px, rd, ps);
135 __hex_to_double(decimal_record *pd, enum fp_direction_type rd, double *px, argument
150 __pack_double(&u, px, rd, ps);
159 __hex_to_quadruple(decimal_record *pd, enum fp_direction_type rd, quadruple *px, argument
176 __pack_quadruple(&u, px, rd, ps);
185 __hex_to_extended(decimal_record *pd, enum fp_direction_type rd, extended *px, argument
202 __pack_extended(&u, px, rd, ps);
H A Daconvert.c143 enum fp_direction_type rd; local
243 rd = _QgetRD();
244 if (*sign && (rd == fp_positive || rd == fp_negative))
245 rd = fp_positive + fp_negative - rd;
248 if (rd == fp_positive || (rd == fp_nearest &&
H A Dpack_float.c75 overflow_to_infinity(int sign, enum fp_direction_type rd) argument
82 switch (rd) {
100 round(unpacked *pu, int roundword, enum fp_direction_type rd, int *ex) argument
119 switch (rd) {
146 if ((rd == fp_nearest) &&
154 __pack_single(unpacked *pu, single *px, enum fp_direction_type rd, argument
183 round(pu, 1, rd, &e);
196 round(pu, 1, rd, &e);
203 if (overflow_to_infinity(pu->sign, rd))
218 __pack_double(unpacked *pu, double *px, enum fp_direction_type rd, argument
291 __pack_extended(unpacked *pu, extended *px, enum fp_direction_type rd, fp_exception_field_type *ex) argument
359 __pack_quadruple(unpacked *pu, quadruple *px, enum fp_direction_type rd, fp_exception_field_type *ex) argument
[all...]
/illumos-gate/usr/src/lib/libm/common/Q/
H A Dlog10l.c87 enum fp_direction_type rd; local
96 rd = __swapRD(fp_nearest);
101 if (rd != fp_nearest)
102 (void) __swapRD(rd);
H A Drndintl.c80 enum fp_direction_type rd; local
82 rd = __swapRD(fp_nearest);
83 (void) __swapRD(rd); /* restore Rounding Direction */
84 switch (rd) {
H A Dhypotl.c72 enum fp_direction_type rd; local
104 rd = __swapRD(fp_nearest);
124 if (rd != fp_nearest)
125 (void) __swapRD(rd); /* restore rounding mode */
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfpoll.c163 { fd_set rd, wr; local
166 FD_ZERO(&rd);
182 FD_SET(f->proc->file, &rd);
184 else FD_SET(f->file,&rd);
195 while((np = select(m+1,&rd,&wr,NIL(fd_set*),tmp)) < 0 )
213 { if(FD_ISSET(f->proc->file, &rd) )
217 { if(FD_ISSET(f->file,&rd) )
H A Dsfpkrd.c140 fd_set rd; local
142 FD_ZERO(&rd);
143 FD_SET(fd,&rd);
151 r = select(fd+1,&rd,NIL(fd_set*),NIL(fd_set*),tmp);
161 else r = FD_ISSET(fd,&rd) ? 1 : -1;
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_rexecd.c133 int rd; /* audit record descriptor */ local
192 rd = au_open();
195 (void) au_write(rd,
198 (void) au_write(rd, au_to_mylabel());
201 (void) au_write(rd, au_to_text(msg));
206 (void) au_write(rd, au_to_text(buf));
211 (void) au_write(rd, au_to_text(buf));
217 (void) au_close(rd, 0, 0);
221 (void) au_write(rd, au_to_text(tbuf));
226 (void) au_write(rd, au_to_return6
244 int rd; /* audit record descriptor */ local
[all...]
H A Daudit_rshd.c99 int rd; /* audit record descriptor */ local
132 rd = au_open();
134 (void) au_write(rd, au_to_subject_ex(uid, uid, gid, uid, gid, pid, pid,
137 (void) au_write(rd, au_to_mylabel());
142 (void) au_close(rd, 0, 0);
146 (void) au_write(rd, au_to_text(tbuf));
152 (void) au_write(rd, au_to_text(buf));
158 (void) au_write(rd, au_to_text(buf));
159 (void) au_write(rd, au_to_text(msg));
163 (void) au_write(rd, au_to_return6
[all...]
H A Daudit_ftpd.c131 int rd; /* audit record descriptor */ local
174 rd = au_open();
177 (void) au_write(rd, au_to_subject_ex(uid, uid, gid,
181 (void) au_write(rd, au_to_mylabel());
192 (void) au_write(rd, au_to_text(buf));
194 (void) au_write(rd, au_to_return64(-1, (int64_t)err));
196 (void) au_write(rd, au_to_return32(-1, (int32_t)err));
200 (void) au_write(rd, au_to_return64(0, (int64_t)0));
202 (void) au_write(rd, au_to_return32(0, (int32_t)0));
207 if (au_close(rd,
247 int rd; /* audit record descriptor */ local
[all...]
H A Daudit_rexd.c157 int rd; /* audit record descriptor */ local
199 rd = au_open();
202 (void) au_write(rd,
206 (void) au_write(rd, au_to_mylabel());
209 (void) au_write(rd, au_to_text(msg));
214 (void) au_write(rd, au_to_text(buf));
221 (void) au_write(rd, au_to_text(buf));
225 (void) au_write(rd, au_to_text(buf));
243 (void) au_close(rd, 0, 0);
247 (void) au_write(rd, au_to_tex
275 int rd; /* audit record descriptor */ local
[all...]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A D__fex_sparc.c478 unsigned instr, opf, rs1, rs2, rd; local
488 rd = (instr >> 25) & 0x1f;
492 if (rd == 0)
496 uap->uc_mcontext.fpregs.fpu_fsr |= (3l << ((rd << 1) + 30));
498 ((prxregset_t*)uap->uc_mcontext.xrs.xrs_ptr)->pr_un.pr_v8p.pr_xfsr |= (3 << ((rd - 1) << 1));
668 *(int*)FPreg(rd) = info->res.val.i;
694 *(long long*)FPREG(rd) = info->res.val.l;
718 *(float*)FPreg(rd) = info->res.val.f;
742 *(double*)FPREG(rd) = info->res.val.d;
766 *(long double*)FPREG(rd)
[all...]
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A Ddnssd_ipc.c148 const char *rd = *ptr; local
150 return rd;
/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_rules.c47 i_drop_rule(ilb_handle_t h, ilb_rule_data_t *rd, void *arg) argument
49 return (ilb_destroy_rule(h, rd->r_name));
95 ilb_create_rule(ilb_handle_t h, const ilb_rule_data_t *rd) argument
102 if (h == ILB_INVALID_HANDLE || rd == NULL || *rd->r_name == '\0')
114 (void) strlcpy(rl->rl_name, rd->r_name, sizeof (rl->rl_name));
115 (void) strlcpy(rl->rl_sgname, rd->r_sgname, sizeof (rl->rl_sgname));
116 (void) strlcpy(rl->rl_hcname, rd->r_hcname, sizeof (rl->rl_hcname));
117 rl->rl_flags = rd->r_flags;
118 rl->rl_proto = rd
233 ilb_rule_data_t rd; local
[all...]
/illumos-gate/usr/src/lib/libm/i386/src/
H A Dlibm_inlines.h138 * to fp_positive and save old bits in rd.
140 short rd = __swap87RD(fp_positive); local
155 __swap87RD(rd);
214 short rd = __swap87RD(fp_negative); local
216 __asm__ __volatile__("frndint" : "+t" (d), "+r" (rd) : : "cc");
217 __swap87RD(rd);
/illumos-gate/usr/src/lib/libfru/libfru/
H A DPayloadReader.cc61 uint64_t rd = 0; local
62 memcpy((void *)&rd, (void *)data, dataLength);
65 rd = (rd & mask);
67 rd = (rd | bitData);
70 memcpy((void *)data, (void *)&rd, dataLength);
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_parse.c560 int freeIntName = 0, rd, wr; local
585 rd = wr = 0;
596 rd++;
602 *doRead = (rd > 0) ? 1 : 0;
/illumos-gate/usr/src/cmd/zlook/
H A Dzlook.c202 zut_readdir_t rd = {0}; local
227 rd.zr_reqflags |= ZUT_ACCFILTER;
231 rd.zr_reqflags |= ZUT_EXTRDDIR;
318 (void) strlcpy(rd.zr_dir, argv[optind], MAXPATHLEN);
320 (void) strlcpy(rd.zr_file, argv[optind + 1],
322 rd.zr_reqflags |= ZUT_XATTR;
332 rd.zr_buf = (uint64_t)(uintptr_t)buf;
333 rd.zr_buflen = rddir_bufsize;
335 while (!rd.zr_eof) {
338 if ((ierr = ioctl(fd, ZUT_IOC_READDIR, &rd)) !
[all...]
/illumos-gate/usr/src/cmd/sgs/gprof/common/
H A Dsparc.h53 #define RD(x) (((union instruct *) (x))->f_3c.rd)
81 rd:5, member in struct:f_2a
113 rd:5, member in struct:f_3c
122 rd:5, member in struct:f_3d
130 rd:5, member in struct:f_3e
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_readdir.c65 do_readdir(autofs_rddirargs *rda, autofs_rddirres *rd) argument
76 rd->rd_status = AUTOFS_OK;
77 rd->rd_rddir.rddir_size = 0;
78 rd->rd_rddir.rddir_eof = 1;
79 rd->rd_rddir.rddir_entries = NULL;
135 rd->rd_bufsize = rda->rda_count;
137 error = create_dirents(rdcp, rda->rda_offset, rd);
162 rd->rd_status = AUTOFS_OK;
188 rd->rd_rddir.rddir_size = 0;
189 rd
[all...]
/illumos-gate/usr/src/cmd/hal/hald-runner/
H A Drunner.c67 del_run_data(run_data *rd) argument
69 if (rd == NULL)
72 del_run_request(rd->r);
73 if (rd->msg)
74 dbus_message_unref(rd->msg);
76 g_spawn_close_pid(rd->pid);
78 if (rd->stderr_v >= 0)
79 close(rd->stderr_v);
81 if (rd->timeout != 0)
82 g_source_remove(rd
133 remove_run_data(run_data *rd) argument
151 run_data *rd = (run_data *)data; local
200 run_data *rd = (run_data *)data; local
250 run_data *rd = NULL; local
333 run_data *rd = (run_data *)data; local
[all...]
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dfloatingpoint.h122 enum fp_direction_type rd; member in struct:__anon2867

Completed in 256 milliseconds

1234