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

12345

/openjdk9/jdk/src/java.management/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...]
/openjdk9/jdk/src/java.base/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...]
/openjdk9/langtools/test/tools/javac/protectedAccess/pkg/
H A DSuperClass.java28 protected int pi; field in class:SuperClass
/openjdk9/jaxp/test/javax/xml/jaxp/functional/org/w3c/dom/ptests/
H A DPITest.java48 ProcessingInstruction pi = document.createProcessingInstruction("PI", "processing");
49 assertEquals(pi.getData(), "processing");
50 assertEquals(pi.getTarget(), "PI");
52 pi.setData("newProcessing");
53 assertEquals(pi.getData(), "newProcessing");
/openjdk9/jdk/test/java/util/Formatter/
H A DBasicDoubleObject.java911 Double pi = new Double(Math.PI);
913 test("%s", "3.141592653589793", pi);
934 test("%e", "3.141593e+00", pi);
937 test("%E", "3.141593E+00", pi);
938 test("%10.3e", " 3.142e+00", pi);
939 test("%10.3e", "-3.142e+00", negate(pi));
940 test("%010.3e", "03.142e+00", pi);
941 test("%010.3e", "-3.142e+00", negate(pi));
942 test("%-12.3e", "3.142e+00 ", pi);
943 test("%-12.3e", "-3.142e+00 ", negate(pi));
[all...]
H A DBasicFloatObject.java891 Float pi = new Float(Math.PI);
893 test("%s", "3.1415927", pi);
934 test("%e", "3.141593e+00", pi);
937 test("%E", "3.141593E+00", pi);
938 test("%10.3e", " 3.142e+00", pi);
939 test("%10.3e", "-3.142e+00", negate(pi));
940 test("%010.3e", "03.142e+00", pi);
941 test("%010.3e", "-3.142e+00", negate(pi));
942 test("%-12.3e", "3.142e+00 ", pi);
943 test("%-12.3e", "-3.142e+00 ", negate(pi));
[all...]
H A DBasicBigDecimal.java870 BigDecimal pi = new BigDecimal(Math.PI);
871 BigDecimal piToThe300 = pi.pow(300);
873 test("%s", "3.141592653589793115997963468544185161590576171875", pi);
934 test("%e", "3.141593e+00", pi);
937 test("%E", "3.141593E+00", pi);
938 test("%10.3e", " 3.142e+00", pi);
939 test("%10.3e", "-3.142e+00", negate(pi));
940 test("%010.3e", "03.142e+00", pi);
941 test("%010.3e", "-3.142e+00", negate(pi));
942 test("%-12.3e", "3.142e+00 ", pi);
[all...]
H A DBasicDouble.java901 double pi = Math.PI;
903 test("%s", "3.141592653589793", pi);
934 test("%e", "3.141593e+00", pi);
937 test("%E", "3.141593E+00", pi);
938 test("%10.3e", " 3.142e+00", pi);
939 test("%10.3e", "-3.142e+00", negate(pi));
940 test("%010.3e", "03.142e+00", pi);
941 test("%010.3e", "-3.142e+00", negate(pi));
942 test("%-12.3e", "3.142e+00 ", pi);
943 test("%-12.3e", "-3.142e+00 ", negate(pi));
[all...]
H A DBasicFloat.java881 float pi = (float) Math.PI;
883 test("%s", "3.1415927", pi);
934 test("%e", "3.141593e+00", pi);
937 test("%E", "3.141593E+00", pi);
938 test("%10.3e", " 3.142e+00", pi);
939 test("%10.3e", "-3.142e+00", negate(pi));
940 test("%010.3e", "03.142e+00", pi);
941 test("%010.3e", "-3.142e+00", negate(pi));
942 test("%-12.3e", "3.142e+00 ", pi);
943 test("%-12.3e", "-3.142e+00 ", negate(pi));
[all...]
/openjdk9/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();
/openjdk9/jdk/src/jdk.jdwp.agent/windows/native/libjdwp/
H A Dexec_md.c34 PROCESS_INFORMATION pi; local
54 &pi); /* (out) process information */
/openjdk9/jdk/src/java.base/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...]
/openjdk9/nashorn/test/script/basic/
H A DJDK-8046026.js47 var pi = (4.0 * m) / n;
48 print(pi.toFixed(2));
/openjdk9/jdk/src/java.base/share/native/libfdlibm/
H A De_atan2.c31 * ARG (x+iy) = pi - arctan[y/(-x)] ... if x < 0,
38 * ATAN2(+-0, -(anything but NaN)) is +-pi ;
39 * ATAN2(+-(anything but 0 and NaN), 0) is +-pi/2;
41 * ATAN2(+-(anything but INF and NaN), -INF) is +-pi;
42 * ATAN2(+-INF,+INF ) is +-pi/4 ;
43 * ATAN2(+-INF,-INF ) is +-3pi/4;
44 * ATAN2(+-INF, (anything but,0,NaN, and INF)) is +-pi/2;
64 pi = 3.1415926535897931160E+00, /* 0x400921FB, 0x54442D18 */ variable
93 case 2: return pi+tiny;/* atan(+0,-anything) = pi */
[all...]
/openjdk9/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...]
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.phases.common/src/org/graalvm/compiler/phases/common/
H A DPushThroughPiPhase.java39 for (PiNode pi : graph.getNodes(PiNode.TYPE)) {
40 for (Node n : pi.usages().snapshot()) {
43 if (pip.push(pi)) {
/openjdk9/jdk/test/java/awt/MouseInfo/
H A DGetPointerInfoTest.java58 PointerInfo pi = MouseInfo.getPointerInfo();
59 if (pi == null) {
64 Point piLocation = pi.getLocation();
H A DMultiscreenPointerInfo.java67 PointerInfo pi = MouseInfo.getPointerInfo();
68 if (pi == null) {
74 Point piLocation = pi.getLocation();
82 GraphicsDevice dev = pi.getDevice();
/openjdk9/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 DPageRangesDlgTest.java72 public int print(Graphics g, PageFormat pf, int pi) argument
75 System.out.println("pi="+pi);
76 if (pi >= 5) {
80 g.drawString("Page : " + (pi+1), 200, 200);
/openjdk9/jdk/src/java.desktop/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();
/openjdk9/jdk/test/java/awt/print/Dialog/
H A DPrintDlgApp.java82 public int print(Graphics g, PageFormat pf, int pi) throws argument
85 if (pi > 0) {
86 System.out.println("pi is greater than 0");
95 System.out.println("print method called "+pi);

Completed in 221 milliseconds

12345