/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | strtod.c | 40 decimal_record dr; local 45 string_to_decimal(&cp, MAXINT, 0, &dr, &form, &pechar); 51 decimal_to_double(&x, &mr, &dr, &fs);
|
H A D | econvert.c | 40 decimal_record dr; local 49 double_to_decimal(&arg, &dm, &dr, &ef); 50 *sign = dr.sign; 51 switch (dr.fpclass) { 54 *decpt = dr.exponent + ndigits; 56 buf[i] = dr.ds[i]; 94 decimal_record dr; local 103 double_to_decimal(&arg, &dm, &dr, &ef); 104 *sign = dr.sign; 105 switch (dr [all...] |
H A D | gconvert.c | 146 decimal_record dr; local 152 double_to_decimal(&number, &dm, &dr, &fef); 153 _gcvt(ndigit, &dr, trailing, buf);
|
H A D | qeconvert.c | 37 decimal_record dr; local 48 quadruple_to_decimal(arg, &dm, &dr, &ef); 49 *sign = dr.sign; 50 switch (dr.fpclass) { 53 *decpt = dr.exponent + ndigits; 55 buf[i] = dr.ds[i]; 93 decimal_record dr; local 100 quadruple_to_decimal(arg, &dm, &dr, &ef); 101 *sign = dr.sign; 102 switch (dr 145 decimal_record dr; local [all...] |
H A D | seconvert.c | 37 decimal_record dr; local 48 single_to_decimal(arg, &dm, &dr, &ef); 49 *sign = dr.sign; 50 switch (dr.fpclass) { 53 *decpt = dr.exponent + ndigits; 55 buf[i] = dr.ds[i]; 93 decimal_record dr; local 100 single_to_decimal(arg, &dm, &dr, &ef); 101 *sign = dr.sign; 102 switch (dr 145 decimal_record dr; local [all...] |
/illumos-gate/usr/src/cmd/pcidr/plugins/default/ |
H A D | pcidr_plugin.c | 37 #include <sys/sysevent/dr.h> 57 pcidr_attrs_t dr; local 61 if (pcidr_get_attrs(attrlistp, &dr) != 0 || 62 pcidr_check_attrs(&dr) != 0) { 71 rv = config_list_ext(1, &dr.dr_ap_id, &cfga_listp, &cfga_list_len, 78 "failed: rv = %d (%s)", fn, dr.dr_ap_id, rv, str); 91 "found for the APID \"%s\"\n", fn, dr.dr_ap_id); 100 "matching \"%s\"\n", fn, dr.dr_ap_id); 107 if (strcmp(dr.dr_req_type, DR_REQ_OUTGOING_RES) == 0) { 121 if (strcmp(dr [all...] |
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | econvert.c | 59 decimal_record dr; local 76 double_to_decimal(&arg, &dm, &dr, &ef); 77 *sign = dr.sign; 78 switch (dr.fpclass) { 81 *decpt = dr.exponent + ndigits; 83 buf[i] = dr.ds[i]; 94 __infnanstring(dr.fpclass, ndigits, buf); 104 decimal_record dr; local 121 single_to_decimal(arg, &dm, &dr, &ef); 122 *sign = dr 149 decimal_record dr; local [all...] |
H A D | fconvert.c | 38 decimal_record dr; local 55 double_to_decimal(&arg, &dm, &dr, &ef); 56 *sign = dr.sign; 57 switch (dr.fpclass) { 60 *decpt = dr.exponent + dr.ndigits; 61 for (i = 0; i < dr.ndigits; i++) 62 buf[i] = dr.ds[i]; 67 if (ndigits > 0 && dr.exponent > -ndigits) { 68 while (i < dr 92 decimal_record dr; local 146 decimal_record dr; local [all...] |
H A D | gconvert.c | 131 decimal_record dr; local 149 double_to_decimal(&number, &dm, &dr, &fef); 150 __k_gconvert(ndigits, &dr, trailing, buf); 158 decimal_record dr; local 176 single_to_decimal(number, &dm, &dr, &fef); 177 __k_gconvert(ndigits, &dr, trailing, buf); 185 decimal_record dr; local 204 quadruple_to_decimal(number, &dm, &dr, &fef); 206 extended_to_decimal((extended *)number, &dm, &dr, &fef); 210 __k_gconvert(ndigits, &dr, trailin [all...] |
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | strtod.c | 47 decimal_record dr; local 54 string_to_decimal((char **)&cp, MAXINT, lc, &dr, &form, &pechar); 67 __hex_to_double(&dr, mr.rd, &x, &fs); 69 decimal_to_double(&x, &mr, &dr, &fs); 80 decimal_record dr; local 85 string_to_decimal((char **)&cp, MAXINT, -1, &dr, &form, &pechar); 98 __hex_to_single(&dr, mr.rd, &x, &fs); 100 decimal_to_single(&x, &mr, &dr, &fs); 111 decimal_record dr; local 116 string_to_decimal((char **)&cp, MAXINT, -1, &dr, [all...] |
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | direader.c | 91 DirReader *dr; /* The object to be returned */ local 95 dr = (DirReader *) malloc(sizeof(DirReader)); 96 if(!dr) { 105 dr->err = NULL; 106 dr->dir = NULL; 107 dr->file = NULL; 109 dr->buffer = NULL; 110 dr->buffer_dim = 0; 115 dr->err = _new_ErrMsg(); 116 if(!dr 129 _del_DirReader(DirReader *dr) argument 156 _dr_open_dir(DirReader *dr, const char *path, char **errmsg) argument 244 _dr_close_dir(DirReader *dr) argument 263 _dr_next_file(DirReader *dr) argument [all...] |
H A D | cplfile.c | 82 DirReader *dr; /* A directory reader */ member in struct:CompleteFile 144 cf->dr = NULL; 159 cf->dr = _new_DirReader(); 160 if(!cf->dr) 195 cf->dr = _del_DirReader(cf->dr); 662 if(_dr_open_dir(cf->dr, dirpath, NULL)) { 683 while((file_name = _dr_next_file(cf->dr)) != NULL && !waserr) { 747 _dr_close_dir(cf->dr);
|
/illumos-gate/usr/src/uts/common/io/lvm/raid/ |
H A D | raid_hotspare.c | 317 * PARAMETERS: daemon_request_t *dr - hotspare request daemon 324 check_4_hs(daemon_request_t *dr) argument 331 mutex_enter(&dr->dr_mx); /* clear up front so can poke */ 332 dr->dr_pending = 0; /* again in low level routine if */ 333 mutex_exit(&dr->dr_mx); /* something found to do */
|
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | wstod.c | 59 decimal_record dr; local 63 wstring_to_decimal(&cp, __xpg6 & _C99SUSv3_recognize_hexfp, &dr, &form); 76 __hex_to_double(&dr, mr.rd, &x, &fs); 78 decimal_to_double(&x, &mr, &dr, &fs); 89 decimal_record dr; local 93 wstring_to_decimal(&cp, 1, &dr, &form); 106 __hex_to_single(&dr, mr.rd, &x, &fs); 108 decimal_to_single(&x, &mr, &dr, &fs); 119 decimal_record dr; local 123 wstring_to_decimal(&cp, 1, &dr, [all...] |
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | directory_client.c | 53 static void directory_results_free(directory_results_rpc *dr); 133 directory_results_rpc dr; local 156 (void) memset(&dr, 0, sizeof (dr)); 157 cs = directory_get_common_1(sl_ids, types, sl_attrs, &dr, d->client); 167 if (dr.failed) { 169 &dr.directory_results_rpc_u.err); 173 assert(dr.directory_results_rpc_u.entries.entries_len == nids); 175 users = dr.directory_results_rpc_u.entries.entries_val; 185 directory_results_free(&dr); 363 directory_results_free(directory_results_rpc *dr) argument [all...] |
/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | cpowf.c | 57 double dx, dy, du, dv, dt, dc, ds, dp, dq, dr; local 113 dr = pow(dsqrt2 * dx, du); 115 F_RE(ans) = (float)(dr * dc); 116 F_IM(ans) = (float)(dr * ds); 159 dr = exp(du * dt); 162 dr = exp(du * dt - dv * dp * dpi); 166 F_RE(ans) = (float)(dr * dc); 167 F_IM(ans) = (float)(dr * ds);
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | refer2.c | 25 static char dr [100] = ""; variable 153 corout(answer, one, "deliv", dr, QLEN); 195 corout(r, ob, "deliv", dr, BUFSIZ);
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
H A D | combine_keys.c | 56 static krb5_error_code dr 155 if ((ret = dr(context, enc, key1, r1, &input))) 171 if ((ret = dr(context, enc, key2, r2, &input))) 300 static krb5_error_code dr function
|
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdcsrv.c | 171 struct dupreq *dr; local 180 dupstat = SVC_DUP(xprt, req, 0, 0, &dr); 196 SVC_DUPDONE(xprt, dr, 0, 0, DUP_DONE);
|
/illumos-gate/usr/src/lib/libbc/libc/stdio/common/ |
H A D | doscan.c | 243 decimal_record dr; local 254 file_to_decimal(&nb, len, 0, &dr, &form, &echar, iop, &nread); 258 decimal_to_double((double *) va_arg(*listp, double *), &dm, &dr, &efs); 260 decimal_to_quadruple((quadruple *)va_arg(*listp, double *), &dm, &dr, &efs); 262 decimal_to_single((float *) va_arg(*listp, float *), &dm, &dr, &efs);
|
/illumos-gate/usr/src/uts/common/io/iwi/ |
H A D | ipw2200_hw.c | 371 struct dma_region dr[MAX_DR_NUM]; /* maximal, 64 * 4KB = 256KB */ local 385 err = ipw2200_dma_region_alloc(sc, &dr[cnt], MAX_DR_SIZE, DDI_DMA_READ, 390 src = dr[cnt].dr_pbase; 406 if (off == dr[cnt].dr_size) { 416 err = ipw2200_dma_region_alloc(sc, &dr[cnt], 424 src = dr[cnt].dr_pbase; 427 mlen = min(mlen, dr[cnt].dr_size - off); 429 (void) memcpy(dr[cnt].dr_base + off, v, mlen); 430 (void) ddi_dma_sync(dr[cnt].dr_hnd, off, mlen, 514 ipw2200_dma_region_free(&dr[ [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dnode_sync.c | 178 dbuf_dirty_record_t *dr; local 191 dr = child->db_last_dirty; 192 while (dr && dr->dr_txg > txg) 193 dr = dr->dr_next; 194 ASSERT(dr == NULL || dr->dr_txg == txg); 197 if (dr) { 198 buf = dr 457 dbuf_dirty_record_t *dr; local [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_set_drv.c | 1832 md_drive_record *dr; local 1860 dr = mnsr->sr_drivechain; 1861 while (dr) { 1863 dr = dr->dr_next;
|
/illumos-gate/usr/src/cmd/lvm/util/ |
H A D | metainit.c | 423 md_drive_record *dr; local 531 for (dr = sr->sr_drivechain; dr; dr = dr->dr_next) { 541 if ((dnp = metadrivename_withdrkey(&sn, sideno, dr->dr_key, 558 dr->dr_dbcnt = dbcnt; 559 dr->dr_dbsize = dbcnt > 0 ? nblks : 0; 638 md_drive_record *dr; local 682 for (dr [all...] |
/illumos-gate/usr/src/uts/common/klm/ |
H A D | nlm_dispatch.c | 112 struct dupreq *dr; local 154 dupstat = SVC_DUP_EXT(transp, rqstp, res, de->de_ressz, &dr, 179 SVC_DUPDONE_EXT(transp, dr, res, NULL, 184 SVC_DUPDONE_EXT(transp, dr, res, de->de_resfree,
|