Searched refs:pi (Results 1 - 25 of 77) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/javax/management/
H A DMatchQueryExp.java124 int si = 0, pi = 0;
128 while (pi < plen) { // While still string
129 c = p.charAt(pi++);
138 if (p.charAt(pi) == '!') {
140 ++pi;
142 while ((c = p.charAt(pi)) != ']' && ++pi < plen) {
143 if (p.charAt(pi) == '-' &&
144 pi+1 < plen &&
145 p.charAt(pi
[all...]
/openjdk7/jdk/src/share/classes/sun/net/
H A DProgressMonitor.java72 ProgressSource pi = iter.next();
75 snapshot.add((ProgressSource)pi.clone());
104 public void registerSource(ProgressSource pi) { argument
107 if (progressSourceList.contains(pi))
110 progressSourceList.add(pi);
129 ProgressEvent pe = new ProgressEvent(pi, pi.getURL(), pi.getMethod(), pi.getContentType(), pi
138 unregisterSource(ProgressSource pi) argument
175 updateProgress(ProgressSource pi) argument
[all...]
/openjdk7/langtools/test/tools/javac/protectedAccess/pkg/
H A DSuperClass.java28 protected int pi; field in class:SuperClass
/openjdk7/jdk/test/java/util/Formatter/
H A DBasicDoubleObject.java881 Double pi = new Double(Math.PI);
883 test("%s", "3.141592653589793", pi);
904 test("%e", "3.141593e+00", pi);
907 test("%E", "3.141593E+00", pi);
908 test("%10.3e", " 3.142e+00", pi);
909 test("%10.3e", "-3.142e+00", negate(pi));
910 test("%010.3e", "03.142e+00", pi);
911 test("%010.3e", "-3.142e+00", negate(pi));
912 test("%-12.3e", "3.142e+00 ", pi);
913 test("%-12.3e", "-3.142e+00 ", negate(pi));
[all...]
H A DBasicFloatObject.java861 Float pi = new Float(Math.PI);
863 test("%s", "3.1415927", pi);
904 test("%e", "3.141593e+00", pi);
907 test("%E", "3.141593E+00", pi);
908 test("%10.3e", " 3.142e+00", pi);
909 test("%10.3e", "-3.142e+00", negate(pi));
910 test("%010.3e", "03.142e+00", pi);
911 test("%010.3e", "-3.142e+00", negate(pi));
912 test("%-12.3e", "3.142e+00 ", pi);
913 test("%-12.3e", "-3.142e+00 ", negate(pi));
[all...]
H A DBasicBigDecimal.java840 BigDecimal pi = new BigDecimal(Math.PI);
841 BigDecimal piToThe300 = pi.pow(300);
843 test("%s", "3.141592653589793115997963468544185161590576171875", pi);
904 test("%e", "3.141593e+00", pi);
907 test("%E", "3.141593E+00", pi);
908 test("%10.3e", " 3.142e+00", pi);
909 test("%10.3e", "-3.142e+00", negate(pi));
910 test("%010.3e", "03.142e+00", pi);
911 test("%010.3e", "-3.142e+00", negate(pi));
912 test("%-12.3e", "3.142e+00 ", pi);
[all...]
H A DBasicDouble.java871 double pi = Math.PI;
873 test("%s", "3.141592653589793", pi);
904 test("%e", "3.141593e+00", pi);
907 test("%E", "3.141593E+00", pi);
908 test("%10.3e", " 3.142e+00", pi);
909 test("%10.3e", "-3.142e+00", negate(pi));
910 test("%010.3e", "03.142e+00", pi);
911 test("%010.3e", "-3.142e+00", negate(pi));
912 test("%-12.3e", "3.142e+00 ", pi);
913 test("%-12.3e", "-3.142e+00 ", negate(pi));
[all...]
H A DBasicFloat.java851 float pi = (float) Math.PI;
853 test("%s", "3.1415927", pi);
904 test("%e", "3.141593e+00", pi);
907 test("%E", "3.141593E+00", pi);
908 test("%10.3e", " 3.142e+00", pi);
909 test("%10.3e", "-3.142e+00", negate(pi));
910 test("%010.3e", "03.142e+00", pi);
911 test("%010.3e", "-3.142e+00", negate(pi));
912 test("%-12.3e", "3.142e+00 ", pi);
913 test("%-12.3e", "-3.142e+00 ", negate(pi));
[all...]
H A DBasic-X.java.template840 $type$ pi = new $type$(Math.PI);
841 $type$ piToThe300 = pi.pow(300);
843 test("%s", "3.141592653589793115997963468544185161590576171875", pi);
851 $type$ pi = (float) Math.PI;
853 test("%s", "3.1415927", pi);
861 $type$ pi = new $type$(Math.PI);
863 test("%s", "3.1415927", pi);
871 $type$ pi = Math.PI;
873 test("%s", "3.141592653589793", pi);
881 $type$ pi
[all...]
/openjdk7/jdk/test/sun/java2d/pisces/
H A DTest7036754.java46 PathIterator pi = s.getPathIterator(null);
47 while (!pi.isDone()) {
48 int type = pi.currentSegment(coords);
55 pi.next();
/openjdk7/jdk/src/windows/back/
H A Dexec_md.c34 PROCESS_INFORMATION pi; local
54 &pi); /* (out) process information */
/openjdk7/jdk/src/share/classes/sun/net/www/
H A DMeteredStream.java46 protected ProgressSource pi; field in class:MeteredStream
48 public MeteredStream(InputStream is, ProgressSource pi, long expected) argument
52 this.pi = pi;
55 if (pi != null) {
56 pi.updateProgress(0, expected);
82 if (pi != null)
83 pi.updateProgress(count, expected);
162 if (pi != null)
163 pi
[all...]
/openjdk7/jdk/src/share/native/java/lang/fdlibm/src/
H A De_atan2.c32 * ARG (x+iy) = pi - arctan[y/(-x)] ... if x < 0,
39 * ATAN2(+-0, -(anything but NaN)) is +-pi ;
40 * ATAN2(+-(anything but 0 and NaN), 0) is +-pi/2;
42 * ATAN2(+-(anything but INF and NaN), -INF) is +-pi;
43 * ATAN2(+-INF,+INF ) is +-pi/4 ;
44 * ATAN2(+-INF,-INF ) is +-3pi/4;
45 * ATAN2(+-INF, (anything but,0,NaN, and INF)) is +-pi/2;
65 pi = 3.1415926535897931160E+00, /* 0x400921FB, 0x54442D18 */ variable
94 case 2: return pi+tiny;/* atan(+0,-anything) = pi */
[all...]
H A De_acos.c29 * acos(x) = pi/2 - asin(x)
30 * acos(-x) = pi/2 + asin(x)
32 * acos(x) = pi/2 - (x + x*x^2*R(x^2)) (see asin.c)
34 * acos(x) = pi/2 - (pi/2 - 2asin(sqrt((1-x)/2)))
41 * acos(x) = pi - 2asin(sqrt((1-|x|)/2))
42 * = pi - 0.5*(s+s*z*R(z)), where z=(1-|x|)/2,s=sqrt(z)
59 pi = 3.14159265358979311600e+00, /* 0x400921FB, 0x54442D18 */ variable
87 else return pi+2.0*pio2_lo; /* acos(-1)= pi */
[all...]
H A De_lgamma_r.c63 * lgamma(x)~(x-0.5)log(x)-x+0.5*log(2pi)+1/(12x)-1/(360x**3)+....
65 * lgamma(x)~(x-0.5)*(log(x)-1)-.5*(log(2pi)-1) + ...)
75 * -x*G(-x)*G(x) = pi/sin(pi*x),
77 * G(x) = pi/(sin(pi*x)*(-x)*G(-x))
78 * since G(-x) is positive, sign(G(x)) = sign(sin(pi*x)) for x<0
79 * Hence, for x<0, signgam = sign(sin(pi*x)) and
81 * = log(pi/(|x*sin(pi*
104 pi = 3.14159265358979311600e+00, /* 0x400921FB, 0x54442D18 */ variable
[all...]
/openjdk7/langtools/test/tools/javac/protectedAccess/
H A DProtectedMemberAccess4.java29 int i = x.pi; // illegal
32 int n = sx.pi; // illegal
35 static int sn = sx.pi; // illegal
66 sx.pi = 1; // illegal
69 lx.pi = 1; // illegal
72 int n = sx.pi; // illegal
75 int k = lx.pi; // illegal
108 x.pi = 1; // illegal
111 sx.pi = 1; // illegal
114 lx.pi
[all...]
H A DProtectedMemberAccess2.java23 int i = x.pi; // illegal
26 int n = sx.pi; // illegal
29 static int sn = sx.pi; // illegal
60 sx.pi = 1; // illegal
63 lx.pi = 1; // illegal
66 int n = sx.pi; // illegal
69 int k = lx.pi; // illegal
102 x.pi = 1; // illegal
105 sx.pi = 1; // illegal
108 lx.pi
[all...]
H A DProtectedMemberAccess3.java25 int i = x.pi; // illegal
28 int n = sx.pi; // illegal
31 //static int sn = sx.pi;
65 x.pi = 1; // illegal
68 sx.pi = 1; // illegal
71 lx.pi = 1; // illegal
83 int i = x.pi; // illegal
86 int n = sx.pi; // illegal
89 int k = lx.pi; // illegal
H A DProtectedMemberAccess1.java41 int i = pi;
93 pi = 1;
121 int i = pi;
150 pi = 1;
193 int i = x.pi;
196 int n = sx.pi;
199 static int sn = sx.pi;
231 sx.pi = 1;
234 lx.pi = 1;
237 int n = sx.pi;
[all...]
/openjdk7/jdk/test/java/awt/print/PrinterJob/
H A DPageRanges.java66 public int print(Graphics g, PageFormat pf, int pi) argument
69 if (pi >= 5) {
73 g.drawString("Page : " + (pi+1), 200, 200);
H A DSameService.java50 public int print(Graphics g, PageFormat pf, int pi) argument
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DShapeSpanIterator.java84 public void appendPath(PathIterator pi) { argument
87 setRule(pi.getWindingRule());
88 while (!pi.isDone()) {
89 addSegment(pi.currentSegment(coords), coords);
90 pi.next();
/openjdk7/jdk/src/share/classes/sun/java2d/pisces/
H A DPiscesRenderingEngine.java270 PathIterator pi = null;
311 pi = src.getPathIterator(at);
313 pi = new NormalizingPathIterator(pi, normalize);
321 pi = src.getPathIterator(at);
322 pi = new NormalizingPathIterator(pi, normalize);
337 pi = src.getPathIterator(null);
346 pi = src.getPathIterator(null);
348 pi
483 pathTo(PathIterator pi, PathConsumer2D pc2d) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/http/
H A DKeepAliveStream.java56 public KeepAliveStream(InputStream is, ProgressSource pi, long expected, HttpClient hc) { argument
57 super(is, pi, expected);
103 if (pi != null)
104 pi.finishTracking();
/openjdk7/corba/make/org/omg/sources/
H A DMakefile54 build: poa.compile iop.compile corbax.compile messaging.compile pi.compile dynany.compile ns.compile tr.compile
55 clean clobber:: pi.clean iop.clean corbax.clean messaging.clean poa.clean dynany.clean ns.clean tr.clean
57 build: poa.compile iop.compile corbax.compile messaging.compile pi.compile ns.compile dynany.compile
58 clean clobber:: iop.clean corbax.clean messaging.clean pi.clean poa.clean ns.clean dynany.clean
201 pi.compile: $(PIGENERATEDFILES)
203 pi.clean:
208 .PHONY : poa.compile poa.clean iop.compile iop.clean messaging.compile messaging.clean corbax.compile corbax.clean pi.compile pi.clean dynany.clean dynany.compile ns.compile ns.clean tr.compile tr.clean
210 .PHONY : poa.compile poa.clean iop.compile iop.clean messaging.compile messaging.clean corbax.compile corbax.clean pi.compile pi
[all...]

Completed in 55 milliseconds

1234