Searched refs:iptr (Results 1 - 25 of 41) sorted by relevance

12

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dmodf.c31 * modf(value, iptr) returns the signed fractional part of value
32 * and stores the integer part indirectly through iptr.
39 modf(value, iptr)
41 register double *iptr;
46 *iptr = value; /* it must be an integer */
48 *iptr = absvalue + MAXPOWTWO; /* shift fraction off right */
49 *iptr -= MAXPOWTWO; /* shift back without fraction */
50 while (*iptr > absvalue) /* above arithmetic might round */
51 *iptr -= 1.0; /* test again just to be sure */
53 *iptr
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Dversys.c50 register char *iptr; local
59 if ((iptr = aliasFind(name)) != NULL) {
61 strncpy(name, iptr, MAXBASENAME);
75 if ((iptr=strpbrk(line, " \t")) == NULL)
77 *iptr = '\0';
H A Duuencode.c184 unsigned char *iptr, *optr; local
192 iptr = in_buf;
196 n = fread(iptr, 1, 45, in);
201 *(optr++) = ENC(*iptr >> 2);
202 *(optr++) = ENC((*iptr << 4) & 060 |
203 (*(iptr + 1) >> 4) & 017);
204 *(optr++) = ENC((*(iptr + 1) << 2) & 074 |
205 (*(iptr + 2) >> 6) & 03);
206 *(optr++) = ENC(*(iptr + 2) & 077);
207 iptr
[all...]
H A Duudecode.c290 char inbuf[120], *ibp, *iptr; local
358 iptr = inbuf;
359 while ((curchr = *(iptr++)) != NULL) {
/illumos-gate/usr/src/common/iscsi/
H A Dbase64.c118 char *iptr; local
133 iptr = hstr;
135 while (((curchr = *(iptr++)) != NULL) &&
136 (((uintptr_t)iptr - (uintptr_t)hstr) <= hstr_len)) {
189 uint8_t *iptr; local
194 iptr = in_buf;
204 while (iptr + 3 <= in_buf + in_buf_len) {
208 *(optr++) = ENC(*iptr >> 2);
209 *(optr++) = ENC((*iptr << 4) & 060 |
210 (*(iptr
[all...]
/illumos-gate/usr/src/lib/libm/common/m9x/
H A Dmodff.c36 __modff(float x, float *iptr) { argument
47 *iptr = x;
55 *iptr = xx.f;
62 *iptr = yy.f;
H A Dmodf.c34 * modf(x, iptr) decomposes x into an integral part and a fractional
36 * in *iptr and returns the fractional part.
38 * If x is infinite, modf sets *iptr to x and returns copysign(0.0,x).
39 * If x is NaN, modf sets *iptr to x and returns x.
48 __modf(double x, double *iptr) { argument
59 *iptr = x;
71 *iptr = xx.d;
86 *iptr = yy.d;
H A Dmodfl.c37 __modfl(long double x, long double *iptr) { argument
48 *iptr = x;
60 *iptr = xx.q;
84 *iptr = yy.q;
99 __modfl(long double x, long double *iptr) { argument
114 *iptr = x;
126 *iptr = xx.e;
140 *iptr = yy.e;
/illumos-gate/usr/src/uts/sun4/os/
H A Dintr.c454 struct intr_dist *iptr; local
464 for (iptr = *phead, pptr = phead; iptr != NULL;
465 pptr = &iptr->next, iptr = iptr->next) {
467 if ((iptr->func == func) && (iptr->arg == arg)) {
498 struct intr_dist *iptr; local
502 for (iptr
574 struct intr_dist *iptr; local
[all...]
/illumos-gate/usr/src/cmd/iconv/
H A Diconv_main.c47 size_t (*pconv)(const char **iptr, size_t *ileft,
51 lib_iconv(const char **iptr, size_t *ileft, char **optr, size_t *oleft) argument
53 return (iconv(ich, iptr, ileft, optr, oleft));
185 const char *iptr; local
194 iptr = ibuf + MB_LEN_MAX;
198 assert(iptr <= ibuf+MB_LEN_MAX);
214 rc = (*pconv)(&iptr, &ileft, &optr, &oleft);
247 (void) memmove(p, iptr, ileft);
248 iptr = p;
264 iptr[
[all...]
H A Dcharmap.h63 size_t cm_iconv(const char **iptr, size_t *ileft, char **optr, size_t *oleft);
H A Dcharmap.c505 cm_iconv(const char **iptr, size_t *ileft, char **optr, size_t *oleft) argument
511 if (iptr == NULL || *iptr == NULL)
523 cm = find_mbs(*iptr, mbs_len);
526 find_mbs_partial(*iptr, mbs_len)) {
546 *iptr += cm->cm_frmbs_len;
551 *iptr += cm->cm_frmbs_len;
/illumos-gate/usr/src/lib/libtecla/common/
H A Dkeytab.c549 const char *iptr = keyseq; /* Pointer into keyseq[] */ local
556 while(*iptr) {
560 switch(*iptr) {
567 if(iptr[1]) {
571 if(iptr[1] == '\\') {
572 c = _kt_backslash_escape(iptr+2, &iptr);
574 c = iptr[1];
575 iptr += 2;
582 *optr++ = *iptr
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dutf_str.c96 const char *iptr; local
105 iptr = (const char *)us;
117 ret = iconv(cd, &iptr, &ileft, &optr, &oleft);
171 const char *iptr; local
180 iptr = utf8_string;
181 ileft = strlen(iptr);
191 ret = iconv(cd, &iptr, &ileft, (char **)&optr, &oleft);
/illumos-gate/usr/src/lib/efcode/engine/
H A Dactions.c76 instance_t **iptr; local
79 iptr = (instance_t **)get_internal_address(env);
80 PUSH(DS, (fstack_t)(*iptr));
86 instance_t **iptr; local
89 iptr = (instance_t **)get_internal_address(env);
90 *iptr = (instance_t *)POP(DS);
/illumos-gate/usr/src/cmd/format/
H A Dio.h105 int geti(char *str, int *iptr, int *wild);
H A Dio.c73 static int getbn(char *str, diskaddr_t *iptr);
79 static int geti64(char *str, uint64_t *iptr, uint64_t *wild);
91 static int getbn(char *str, diskaddr_t *iptr);
97 static int geti64(char *str, uint64_t *iptr, uint64_t *wild);
273 geti(str, iptr, wild)
275 int *iptr, *wild;
284 *iptr = *wild;
289 *iptr = (int)strtol(str, &str2, 0);
308 geti64(str, iptr, wild)
310 uint64_t *iptr, *wil
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dexpand.c177 uint32_t *iptr = (uint32_t *)vendor; local
179 *iptr++ = vcr->r_ebx;
180 *iptr++ = vcr->r_edx;
181 *iptr++ = vcr->r_ecx;
/illumos-gate/usr/src/cmd/sgs/tools/common/
H A Dsgsmsg.c365 const char *iptr, *_ptr; local
370 for (iptr = 0, _ptr = fldefs; _ptr && (*_ptr != '\0'); _ptr++) {
372 iptr = _ptr + 1;
374 if (iptr == 0)
375 iptr = fldefs;
378 for (*optr++ = '_'; iptr && (*iptr != '\0'); iptr++, optr++) {
379 if (*iptr == '.') {
386 *optr = toupper(*iptr);
[all...]
/illumos-gate/usr/src/cmd/nl/
H A Dnl.c119 FILE *iptr = stdin; local
298 if ((iptr = fopen(argv[0], "r")) == NULL) {
511 } else if ((iptr = fopen(argv[j], "r")) == NULL) {
517 } else if ((iptr = fopen(argv[j], "r")) == NULL) {
543 while ((p = fgets(line, sizeof (line), iptr)) != NULL) {
648 (void) fclose(iptr);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/typedef/
H A Dtst.TypedefDataAssign.d88 new_intptr iptr;
/illumos-gate/usr/src/cmd/bc/
H A Dbc.y52 int *iptr;
57 %type <iptr> stat, def, slist, dlets, e
58 %type <iptr> slist, re, fprefix, cargs, eora, cons, constant, lora
755 yyval.iptr = q;
830 pre = yyval.iptr;
832 post = yyval.iptr;
839 pre = yyval.iptr;
841 post = yyval.iptr;
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dpdu.h47 int *iptr; member in union:pdu_varlist::__anon1253
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_sli4.c2083 uint32_t *iptr; local
2110 iptr = (uint32_t *)hba->sli.sli4.bootstrapmb.virt;
2115 *iptr, *(iptr+1), *(iptr+2));
2128 uint32_t *iptr; local
2148 iptr = (uint32_t *)hba->sli.sli4.bootstrapmb.virt;
2149 *iptr = LE_SWAP32(FW_INITIALIZE_WORD0);
2150 *(iptr+1) = LE_SWAP32(FW_INITIALIZE_WORD1);
2155 emlxs_data_dump(port, "FW_INIT", (uint32_t *)iptr,
3150 uint32_t *iptr; local
3238 uint32_t *iptr; local
3370 uint32_t *iptr; local
5196 uint32_t *iptr; local
5414 uint32_t *iptr; local
8677 emlxs_data_dump(emlxs_port_t *port, char *str, uint32_t *iptr, int cnt, int err) argument
[all...]
/illumos-gate/usr/src/lib/libm1/common/
H A Dlibmv1.c492 __modff(float x, float *iptr) { argument
624 __modfl(long double x, long double *iptr) { argument

Completed in 135 milliseconds

12