Home
last modified time | relevance | path

Searched refs:nsig (Results 1 – 18 of 18) sorted by relevance

/titanic_51/usr/src/lib/libbc/libc/gen/common/
H A Ddouble_decim.c112 * nsig: Input number of significant digits required.
121 binary_to_decimal_integer(unpacked *pu, unsigned nsig, char ds[], in binary_to_decimal_integer() argument
143 _big_float_times_power(&d, 2, e, (int) nsig, &pd); in binary_to_decimal_integer()
197 * digits in ds ds contains at least nsig significant digits. nzeros + *
205 * nsig: Input number of significant digits
217 binary_to_decimal_fraction(unpacked *pu, unsigned nsig, unsigned nfrac, in binary_to_decimal_fraction() argument
230 for (; i <= nsig; i++) in binary_to_decimal_fraction()
242 tenpower = nsig + (int) (((17 - e - 16 * b.blength) * (unsigned long) 19729) >> 16); in binary_to_decimal_fraction()
246 if (nsig > tensig) in binary_to_decimal_fraction()
247 tensig = nsig; in binary_to_decimal_fraction()
343 unsigned nsig, nfrac, intzeros, intsigs; _unpacked_to_decimal() local
[all...]
H A Ddecimal_bin.c34 decimal_to_binary_integer(ds, ndigs, nzeros, nsig, pb) in decimal_to_binary_integer() argument
38 unsigned nsig; /* Input number of significant bits required. */
44 * requires nsig significand bits.
59 _big_float_times_power(pb, 10, (int) nzout, (int) nsig, &pbout);
88 allweneed = 2 + (nsig + 2) / 16;
109 decimal_to_binary_fraction(ds, ndigs, nzeros, nsig, pb) in decimal_to_binary_fraction() argument
114 unsigned nsig; /* Number of significant bits needed. */
133 twopower = nsig + 3 + (((nzeros + 1) * (unsigned long) 217706) >> 16);
134 twosig = 1 + (((nsig + 2) * (unsigned long) 19729) >> 16);
138 nsig, twopowe
[all...]
/titanic_51/usr/src/lib/krb5/ss/
H A Dlist_rqs.c52 struct sigaction nsig, osig; local
72 nsig.sa_handler = SIG_IGN;
73 sigemptyset(&nsig.sa_mask);
74 nsig.sa_flags = 0;
75 sigaction(SIGINT, &nsig, &osig);
H A Dlisten.c149 struct sigaction isig, csig, nsig, osig; local
208 nsig.sa_handler = listen_int_handler;
209 sigemptyset(&nsig.sa_mask);
210 nsig.sa_flags = 0;
211 sigaction(SIGINT, &nsig, &isig);
240 nsig.sa_handler = listen_int_handler; /* fgets is not signal-safe */
242 sigaction(SIGCONT, &nsig, &csig);
/titanic_51/usr/src/cmd/mail/
H A Dmain.c71 struct sigaction nsig; in main() local
72 nsig.sa_handler = SIG_DFL; in main()
73 sigemptyset(&nsig.sa_mask); in main()
74 nsig.sa_flags = SA_RESTART; in main()
75 (void) sigaction(SIGCONT, &nsig, (struct sigaction *)0); in main()
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dsubshell.c478 int jmpval,nsig=0,duped=0; in sh_subshell() local
580 if((nsig=shp->st.trapmax*sizeof(char*))>0 || shp->st.trapcom[0]) in sh_subshell()
582 nsig += sizeof(char*); in sh_subshell()
583 memcpy(savsig=malloc(nsig),(char*)&shp->st.trapcom[0],nsig); in sh_subshell()
737 if(nsig) in sh_subshell()
739 memcpy((char*)&shp->st.trapcom[0],savsig,nsig); in sh_subshell()
809 nsig = shp->savesig; in sh_subshell()
811 if(nsig>0) in sh_subshell()
812 kill(getpid(),nsig); in sh_subshell()
[all...]
H A Dxec.c1996 int nsig,jmpval; in sh_exec() local
1999 if((nsig=shp->st.trapmax*sizeof(char*))>0 || shp->st.trapcom[0]) in sh_exec()
2001 nsig += sizeof(char*); in sh_exec()
2002 memcpy(savsig=malloc(nsig),(char*)&shp->st.trapcom[0],nsig); in sh_exec()
3339 register int nsig; in sh_funscope() local
3396 if((nsig=shp->st.trapmax*sizeof(char*))>0 || shp->st.trapcom[0]) in sh_funscope()
3398 nsig += sizeof(char*); in sh_funscope()
3399 memcpy(savstak=stakalloc(nsig),(char*)&shp->st.trapcom[0],nsig); in sh_funscope()
[all...]
/titanic_51/usr/src/lib/libshell/common/sh/
H A Dsubshell.c474 int jmpval,nsig=0,duped=0; in sh_subshell() local
525 if((nsig=shp->st.trapmax*sizeof(char*))>0 || shp->st.trapcom[0]) in sh_subshell()
527 nsig += sizeof(char*); in sh_subshell()
528 memcpy(savsig=malloc(nsig),(char*)&shp->st.trapcom[0],nsig); in sh_subshell()
683 if(nsig) in sh_subshell()
685 memcpy((char*)&shp->st.trapcom[0],savsig,nsig); in sh_subshell()
H A Dxec.c1458 int nsig,jmpval; in sh_exec() local
1461 if((nsig=shp->st.trapmax*sizeof(char*))>0 || shp->st.trapcom[0]) in sh_exec()
1463 nsig += sizeof(char*); in sh_exec()
1464 memcpy(savsig=malloc(nsig),(char*)&shp->st.trapcom[0],nsig); in sh_exec()
2554 register int nsig; in sh_funscope() local
2616 if((nsig=shp->st.trapmax*sizeof(char*))>0 || shp->st.trapcom[0]) in sh_funscope()
2618 nsig += sizeof(char*); in sh_funscope()
2619 memcpy(savstak=stakalloc(nsig),(char*)&shp->st.trapcom[0],nsig); in sh_funscope()
2669 if(nsig) in sh_funscope()
2670 memcpy((char*)&shp->st.trapcom[0],savstak,nsig); in sh_funscope()
[all …]
/titanic_51/usr/src/cmd/krb5/kadmin/cli/
H A Dkadmin.c1634 struct sigaction nsig, osig; local
1659 nsig.sa_handler = SIG_IGN;
1660 sigemptyset(&nsig.sa_mask);
1661 nsig.sa_flags = 0;
1662 sigaction(SIGINT, &nsig, &osig);
1925 struct sigaction nsig, osig; local
1954 if (sigemptyset(&nsig.sa_mask) == -1) {
1966 nsig.sa_handler = SIG_IGN;
1967 nsig.sa_flags = 0;
1968 if (sigaction(SIGINT, &nsig,
[all...]
/titanic_51/usr/src/cmd/mailx/
H A Dcollect.c755 struct sigaction nsig; in resetsigs() local
756 nsig.sa_handler = (void (*)())savecont; in resetsigs()
757 sigemptyset(&nsig.sa_mask); in resetsigs()
758 nsig.sa_flags = SA_RESTART; in resetsigs()
759 (void) sigaction(SIGCONT, &nsig, (struct sigaction*)0); in resetsigs()
/titanic_51/usr/src/uts/common/fs/proc/
H A Dprioctl.c158 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; in prioctl64() local
266 thingsize = (nsig-1) * sizeof (struct sigaction); in prioctl64()
919 int n = nsig-1; in prioctl64()
933 for (sig = 1; sig < nsig; sig++) in prioctl64()
936 if (copyout(sap, cmaddr, (nsig-1) * sizeof (struct sigaction))) in prioctl64()
938 kmem_free(sap, (nsig-1) * sizeof (struct sigaction)); in prioctl64()
1696 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; in prioctl32() local
1829 thingsize = (nsig-1) * sizeof (struct sigaction32); in prioctl32()
2541 int n = nsig-1; in prioctl32()
2558 for (sig = 1; sig < nsig; si in prioctl32()
[all...]
H A Dprvnops.c1003 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; in pr_read_sigact() local
1016 sap = kmem_alloc((nsig-1) * sizeof (struct sigaction), KM_SLEEP); in pr_read_sigact()
1023 if (uiop->uio_offset >= (nsig-1)*sizeof (struct sigaction)) { in pr_read_sigact()
1029 for (sig = 1; sig < nsig; sig++) in pr_read_sigact()
1033 error = pr_uioread(sap, (nsig - 1) * sizeof (struct sigaction), uiop); in pr_read_sigact()
1035 kmem_free(sap, (nsig-1) * sizeof (struct sigaction)); in pr_read_sigact()
2059 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; in pr_read_sigact_32() local
2072 sap = kmem_alloc((nsig-1) * sizeof (struct sigaction32), KM_SLEEP); in pr_read_sigact_32()
2084 if (uiop->uio_offset >= (nsig-1) * sizeof (struct sigaction32)) { in pr_read_sigact_32()
2090 for (sig = 1; sig < nsig; si in pr_read_sigact_32()
2787 int nsig; prgetattr() local
[all...]
H A Dprcontrol.c1383 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; in pr_setsig() local
1394 if (sig < 0 || sig >= nsig) in pr_setsig()
1512 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; in pr_kill() local
1517 if (sig <= 0 || sig >= nsig) in pr_kill()
1536 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; in pr_unkill() local
1541 if (sig <= 0 || sig >= nsig || sig == SIGKILL) in pr_unkill()
H A Dprsubr.c1311 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; in prgetaction() local
1315 if (sig != 0 && (unsigned)sig < nsig) { in prgetaction()
1341 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; in prgetaction32() local
1345 if (sig != 0 && (unsigned)sig < nsig) { in prgetaction32()
/titanic_51/usr/src/lib/libc/port/fp/
H A Ddouble_decim.c68 * to base 10^4 in **ppd. The converted value is accurate to nsig
83 __big_binary_to_big_decimal(_big_float *pb, int nsig, _big_float **ppd, in __big_binary_to_big_decimal() argument
150 __big_float_times_power(pd, 2, pb->bexponent, nsig, ppd); in __big_binary_to_big_decimal()
H A Ddecimal_bin.c39 * to base 2^16 in **ppb. The converted value is accurate to nsig
54 __big_decimal_to_big_binary(_big_float *pd, int nsig, _big_float **ppb, in __big_decimal_to_big_binary() argument
137 __big_float_times_power(pb, 10, pd->bexponent, nsig, ppb); in __big_decimal_to_big_binary()
/titanic_51/usr/src/cmd/mdb/common/modules/genunix/
H A Dgcore.c1120 int nsig = NSIG; in gcore_prgetaction() local
1124 if (sig != 0 && (unsigned)sig < nsig) { in gcore_prgetaction()