/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | _Qfmul.c | 38 unsigned acc[4]; /* Product accumulator. */ local 73 s=r=acc[0]=acc[1]=acc[2]=acc[3]=0; /* intialize acc to zero */ 80 r = acc[3]&1; 81 acc[3] = ((acc[2]&1)<<31)|(acc[3]>>1); 82 acc[2] = ((acc[1]&1)<<31)|(acc[2]>>1); 83 acc[1] = ((acc[0]&1)<<31)|(acc[1]>>1); 84 acc[0] = (acc[0]>>1); 87 c = fpu_add3wc(&acc[3],acc[3],x[3],c); 88 c = fpu_add3wc(&acc[2],acc[2],x[2],c); 89 c = fpu_add3wc(&acc[1],acc[1],x[1],c); [all …]
|
H A D | _base_S.c | 61 unsigned long acc, p; in _multiply_base_two_vector() local 65 acc = 0; in _multiply_base_two_vector() 68 p=_umac(px[i],py[n - 1 - i],acc); in _multiply_base_two_vector() 69 if (p < acc) in _multiply_base_two_vector() 71 acc = p; in _multiply_base_two_vector() 73 product[0] = (_BIG_FLOAT_DIGIT) (acc & 0xffff); in _multiply_base_two_vector() 74 product[1] = (_BIG_FLOAT_DIGIT) (acc >> 16); in _multiply_base_two_vector() 94 unsigned long acc; in _multiply_base_ten_vector() local 98 acc = 0; in _multiply_base_ten_vector() 101 acc=_umac(px[i],py[n - 1 - i],acc); in _multiply_base_ten_vector() [all …]
|
/titanic_41/usr/src/uts/sparc/fpu/ |
H A D | mul.c | 38 unsigned acc[4]; /* Product accumulator. */ local 75 s = r = acc[0] = acc[1] = acc[2] = acc[3] = 0; 82 r = acc[3]&1; 83 acc[3] = ((acc[2]&1)<<31)|(acc[3]>>1); 84 acc[2] = ((acc[1]&1)<<31)|(acc[2]>>1); 85 acc[1] = ((acc[0]&1)<<31)|(acc[1]>>1); 86 acc[0] = (acc[0]>>1); 89 c = fpu_add3wc(&acc[3], acc[3], x[3], c); 90 c = fpu_add3wc(&acc[2], acc[2], x[2], c); 91 c = fpu_add3wc(&acc[1], acc[1], x[1], c); [all …]
|
/titanic_41/usr/src/lib/libresolv2/common/irs/ |
H A D | gen.c | 132 struct irs_acc *acc; in irs_gen_acc() local 135 if (!(acc = memget(sizeof *acc))) { in irs_gen_acc() 139 memset(acc, 0x5e, sizeof *acc); in irs_gen_acc() 142 memput(acc, sizeof *acc); in irs_gen_acc() 152 acc->private = irs; in irs_gen_acc() 154 acc->gr_map = irs_gen_gr; in irs_gen_acc() 156 acc->gr_map = NULL; in irs_gen_acc() 159 acc->pw_map = irs_gen_pw; in irs_gen_acc() 161 acc->pw_map = NULL; in irs_gen_acc() 163 acc->sv_map = irs_gen_sv; in irs_gen_acc() [all …]
|
H A D | dns.c | 60 struct irs_acc *acc; in irs_dns_acc() local 65 if (!(acc = memget(sizeof *acc))) { in irs_dns_acc() 69 memset(acc, 0x5e, sizeof *acc); in irs_dns_acc() 72 memput(acc, sizeof *acc); in irs_dns_acc() 86 acc->private = dns; in irs_dns_acc() 88 acc->gr_map = irs_dns_gr; in irs_dns_acc() 90 acc->gr_map = NULL; in irs_dns_acc() 93 acc->pw_map = irs_dns_pw; in irs_dns_acc() 95 acc->pw_map = NULL; in irs_dns_acc() 97 acc->sv_map = irs_dns_sv; in irs_dns_acc() [all …]
|
H A D | lcl.c | 55 struct irs_acc *acc; in irs_lcl_acc() local 60 if (!(acc = memget(sizeof *acc))) { in irs_lcl_acc() 64 memset(acc, 0x5e, sizeof *acc); in irs_lcl_acc() 67 free(acc); in irs_lcl_acc() 73 acc->private = lcl; in irs_lcl_acc() 75 acc->gr_map = irs_lcl_gr; in irs_lcl_acc() 77 acc->gr_map = NULL; in irs_lcl_acc() 80 acc->pw_map = irs_lcl_pw; in irs_lcl_acc() 82 acc->pw_map = NULL; in irs_lcl_acc() 84 acc->sv_map = irs_lcl_sv; in irs_lcl_acc() [all …]
|
H A D | nis.c | 66 struct irs_acc *acc; in irs_nis_acc() local 78 if (!(acc = memget(sizeof *acc))) { in irs_nis_acc() 83 memset(acc, 0x5e, sizeof *acc); in irs_nis_acc() 84 acc->private = nis; in irs_nis_acc() 87 acc->gr_map = irs_nis_gr; in irs_nis_acc() 89 acc->gr_map = NULL; in irs_nis_acc() 92 acc->pw_map = irs_nis_pw; in irs_nis_acc() 94 acc->pw_map = NULL; in irs_nis_acc() 96 acc->sv_map = irs_nis_sv; in irs_nis_acc() 97 acc->pr_map = irs_nis_pr; in irs_nis_acc() [all …]
|
H A D | irp.c | 84 struct irs_acc *acc; in irs_irp_acc() local 89 if (!(acc = memget(sizeof *acc))) { in irs_irp_acc() 93 memset(acc, 0x5e, sizeof *acc); in irs_irp_acc() 96 free(acc); in irs_irp_acc() 102 acc->private = irp; in irs_irp_acc() 105 acc->gr_map = irs_irp_gr; in irs_irp_acc() 107 acc->gr_map = NULL; in irs_irp_acc() 110 acc->pw_map = irs_irp_pw; in irs_irp_acc() 112 acc->pw_map = NULL; in irs_irp_acc() 114 acc->sv_map = irs_irp_sv; in irs_irp_acc() [all …]
|
/titanic_41/usr/src/uts/common/io/vr/ |
H A D | vr.h | 163 #define VR_GET8(acc, p) \ argument 164 ddi_get8((acc)->hdl, \ 165 (uint8_t *)((void *)((acc)->addr + (p)))) 166 #define VR_GET16(acc, p) \ argument 167 ddi_get16((acc)->hdl, \ 168 (uint16_t *)((void *)((acc)->addr + (p)))) 169 #define VR_GET32(acc, p) \ argument 170 ddi_get32((acc)->hdl, \ 171 (uint32_t *)((void *)((acc)->addr + (p)))) 173 #define VR_PUT8(acc, p, v) \ argument [all …]
|
/titanic_41/usr/src/cmd/sendmail/libsm/ |
H A D | strto.c | 53 register LONGLONG_T acc, cutoff; variable 120 for (acc = 0, any = 0;; c = (unsigned char) *s++) 134 if (acc < cutoff || (acc == cutoff && c > cutlim)) 137 acc = LLONG_MIN; 143 acc *= base; 144 acc -= c; 149 if (acc > cutoff || (acc == cutoff && c > cutlim)) 152 acc = LLONG_MAX; 158 acc *= base; 159 acc += c; [all …]
|
/titanic_41/usr/src/cmd/troff/ |
H A D | n4.c | 429 long i, acc; in atoi0() local 433 acc = 0; in atoi0() 449 acc += i; in atoi0() 455 acc -= i; in atoi0() 461 acc *= i; in atoi0() 470 acc = 0; in atoi0() 472 acc /= i; in atoi0() 478 acc %= i; in atoi0() 484 if ((acc > 0) && (i > 0)) in atoi0() 485 acc = 1; in atoi0() [all …]
|
/titanic_41/usr/src/lib/libresolv2/common/bsd/ |
H A D | strtoul.c | 64 u_long acc, cutoff; in strtoul() local 90 for (acc = 0, any = 0;; c = *(const unsigned char*)s++) { in strtoul() 99 if (any < 0 || acc > cutoff || (acc == cutoff && c > cutlim)) in strtoul() 103 acc *= base; in strtoul() 104 acc += c; in strtoul() 108 acc = ULONG_MAX; in strtoul() 111 acc = -acc; in strtoul() 114 return (acc); in strtoul()
|
/titanic_41/usr/src/lib/libc/port/fp/ |
H A D | __x_power.c | 162 unsigned int acc, p; in __multiply_base_two_vector() local 166 acc = 0; in __multiply_base_two_vector() 169 p = px[i] * py[n - 1 - i] + acc; in __multiply_base_two_vector() 170 if (p < acc) in __multiply_base_two_vector() 172 acc = p; in __multiply_base_two_vector() 174 product[0] = acc & 0xffff; in __multiply_base_two_vector() 175 product[1] = acc >> 16; in __multiply_base_two_vector() 195 unsigned int acc; in __multiply_base_ten_vector() local 199 acc = 0; in __multiply_base_ten_vector() 202 acc = px[i] * py[n - 1 - i] + acc; in __multiply_base_ten_vector() [all …]
|
H A D | decimal_bin.c | 289 int i, acc; in __digits_to_double() local 293 acc = s[0] - '0'; in __digits_to_double() 296 acc = (acc << 1) + (acc << 3) + s[i] - '0'; in __digits_to_double() 298 t = (double)acc; in __digits_to_double() 301 acc = s[0] - '0'; in __digits_to_double() 304 acc = (acc << 1) + (acc << 3) + s[i] - '0'; in __digits_to_double() 306 th = 1.0e9 * (double)acc; /* this will be exact */ in __digits_to_double() 307 acc = s[n - 9] - '0'; in __digits_to_double() 310 acc = (acc << 1) + (acc << 3) + s[i] - '0'; in __digits_to_double() 312 tl = (double)acc; in __digits_to_double()
|
/titanic_41/usr/src/uts/common/io/aac/ |
H A D | aac.c | 137 #define AAC_MIR_SIZE(softs, acc, mir) \ argument 139 (uint64_t)ddi_get32((acc), &(mir)->MntObj.Capacity) + \ 140 ((uint64_t)ddi_get32((acc), &(mir)->MntObj.CapacityHigh) << 32) : \ 141 (uint64_t)ddi_get32((acc), &(mir)->MntObj.Capacity)) 174 #define AAC_GET_FIELD8(acc, d, s, field) \ argument 175 (d)->field = ddi_get8(acc, (uint8_t *)&(s)->field) 176 #define AAC_GET_FIELD32(acc, d, s, field) \ argument 177 (d)->field = ddi_get32(acc, (uint32_t *)&(s)->field) 178 #define AAC_GET_FIELD64(acc, d, s, field) \ argument 179 (d)->field = ddi_get64(acc, (uint64_t *)&(s)->field) [all …]
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_acache.c | 66 nfs4_access_check(rnode4_t *rp, uint32_t acc, cred_t *cr) in nfs4_access_check() argument 83 if ((ap->known & acc) == acc) { in nfs4_access_check() 87 if ((ap->allowed & acc) == acc) in nfs4_access_check() 112 nfs4_access_cache(rnode4_t *rp, uint32_t acc, uint32_t resacc, cred_t *cr) in nfs4_access_cache() argument 127 nap->known = acc; in nfs4_access_cache() 141 ap->known |= acc; in nfs4_access_cache() 142 ap->allowed &= ~acc; in nfs4_access_cache()
|
H A D | nfs_acl_vnops.c | 284 uint32 acc; in acl_access2() local 292 acc = 0; in acl_access2() 294 acc |= ACCESS2_READ; in acl_access2() 299 acc |= ACCESS2_DELETE; in acl_access2() 300 acc |= ACCESS2_MODIFY | ACCESS2_EXTEND; in acl_access2() 304 acc |= ACCESS2_LOOKUP; in acl_access2() 306 acc |= ACCESS2_EXECUTE; in acl_access2() 337 cacc = nfs_access_check(rp, acc, cr); in acl_access2() 386 if ((acc & res.resok.access) != acc) { in acl_access2()
|
/titanic_41/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_connects.c | 159 evAccept *acc, *nxtacc; in evCancelConn() local 190 for (acc = HEAD(ctx->accepts), nxtacc = NULL; in evCancelConn() 191 acc != NULL; in evCancelConn() 192 acc = nxtacc) in evCancelConn() 194 nxtacc = NEXT(acc, link); in evCancelConn() 195 if (acc->conn == this) { in evCancelConn() 196 UNLINK(ctx->accepts, acc, link); in evCancelConn() 197 close(acc->fd); in evCancelConn() 198 FREE(acc); in evCancelConn()
|
/titanic_41/usr/src/common/bignum/ |
H A D | mont_mulf.c | 215 int64_t acc; in adjust_montf_result() local 226 acc = 0; in adjust_montf_result() 228 acc = acc + (uint64_t)(i32[i]) - (uint64_t)(nint[i]); in adjust_montf_result() 229 i32[i] = acc & 0xffffffff; in adjust_montf_result() 230 acc = acc >> 32; in adjust_montf_result()
|
/titanic_41/usr/src/uts/sun4/io/efcode/ |
H A D | fcpci.c | 551 ddi_device_acc_attr_t acc; in pfc_map_in() local 567 acc.devacc_attr_version = DDI_DEVICE_ATTR_V0; in pfc_map_in() 572 acc.devacc_attr_endian_flags = DDI_STRUCTURE_LE_ACC; in pfc_map_in() 573 acc.devacc_attr_dataorder = DDI_STRICTORDER_ACC; in pfc_map_in() 584 error = pci_map_phys(rp->child, &p, &virt, &acc, &h); in pfc_map_in() 837 ddi_device_acc_attr_t acc; in pfc_config_fetch() local 893 acc.devacc_attr_version = DDI_DEVICE_ATTR_V0; in pfc_config_fetch() 894 acc.devacc_attr_endian_flags = DDI_STRUCTURE_LE_ACC; in pfc_config_fetch() 895 acc.devacc_attr_dataorder = DDI_STRICTORDER_ACC; in pfc_config_fetch() 897 error = pci_map_phys(rp->child, &p, &virt, &acc, &h); in pfc_config_fetch() [all …]
|
/titanic_41/usr/src/uts/common/io/ |
H A D | bofi.c | 2619 return (hp->save.acc.ahi_get8(&hp->save.acc, (uint8_t *)addr)); in do_bofi_rd8() 2645 return (hp->save.acc.ahi_get8(&hp->save.acc, addr)); in bofi_rd8() 2656 return (hp->save.acc.ahi_get16(&hp->save.acc, (uint16_t *)addr)); in do_bofi_rd16() 2672 return (hp->save.acc.ahi_get16(&hp->save.acc, addr)); in bofi_rd16() 2683 return (hp->save.acc.ahi_get32(&hp->save.acc, (uint32_t *)addr)); in do_bofi_rd32() 2699 return (hp->save.acc.ahi_get32(&hp->save.acc, addr)); in bofi_rd32() 2710 return (hp->save.acc.ahi_get64(&hp->save.acc, (uint64_t *)addr)); in do_bofi_rd64() 2726 return (hp->save.acc.ahi_get64(&hp->save.acc, addr)); in bofi_rd64() 2756 hp->save.acc.ahi_put8(&hp->save.acc, addr, (uint8_t)llvalue); in bofi_wr8() 2760 hp->save.acc.ahi_put8(&hp->save.acc, addr, (uint8_t)llvalue); in bofi_wr8() [all …]
|
/titanic_41/usr/src/cmd/audio/utilities/ |
H A D | AudioPipe.cc | 40 const FileAccess acc, // access mode in AudioPipe() argument 42 AudioUnixfile(name_local, acc) in AudioPipe()
|
H A D | AudioRawPipe.cc | 43 const FileAccess acc, // access mode in AudioRawPipe() argument 47 ):AudioPipe(desc, acc, name_local), offset(off) in AudioRawPipe()
|
/titanic_41/usr/src/uts/common/io/comstar/port/qlt/ |
H A D | qlt_dma.c | 67 static ddi_device_acc_attr_t acc; variable 130 bzero(&acc, sizeof (acc)); in qlt_dmem_init() 131 acc.devacc_attr_version = DDI_DEVICE_ATTR_V0; in qlt_dmem_init() 132 acc.devacc_attr_endian_flags = DDI_NEVERSWAP_ACC; in qlt_dmem_init() 133 acc.devacc_attr_dataorder = DDI_STRICTORDER_ACC; in qlt_dmem_init() 151 if ((i = ddi_dma_mem_alloc(p->dmem_dma_handle, total_mem, &acc, in qlt_dmem_init()
|
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | smb_share.c | 747 uint32_t acc = SMB_SHRF_ACC_NONE; in smb_shr_hostaccess() local 762 acc = SMB_SHRF_ACC_NONE; in smb_shr_hostaccess() 764 acc = SMB_SHRF_ACC_RO; in smb_shr_hostaccess() 766 acc = SMB_SHRF_ACC_RW; in smb_shr_hostaccess() 770 acc = SMB_SHRF_ACC_NONE; in smb_shr_hostaccess() 772 acc = SMB_SHRF_ACC_RO; in smb_shr_hostaccess() 774 acc = SMB_SHRF_ACC_RW; in smb_shr_hostaccess() 776 acc = SMB_SHRF_ACC_RO; in smb_shr_hostaccess() 778 acc = SMB_SHRF_ACC_NONE; in smb_shr_hostaccess() 780 acc = SMB_SHRF_ACC_RW; in smb_shr_hostaccess() [all …]
|