/libcore/ojluni/src/main/java/sun/net/ |
D | ProgressMonitor.java | 72 ProgressSource pi = iter.next(); in getProgressSources() local 75 snapshot.add((ProgressSource)pi.clone()); in getProgressSources() 104 public void registerSource(ProgressSource pi) { in registerSource() argument 107 if (progressSourceList.contains(pi)) in registerSource() 110 progressSourceList.add(pi); in registerSource() 129 …essEvent pe = new ProgressEvent(pi, pi.getURL(), pi.getMethod(), pi.getContentType(), pi.getState(… in registerSource() 138 public void unregisterSource(ProgressSource pi) { in unregisterSource() argument 142 if (progressSourceList.contains(pi) == false) in unregisterSource() 146 pi.close(); in unregisterSource() 147 progressSourceList.remove(pi); in unregisterSource() [all …]
|
/libcore/ojluni/src/main/java/sun/net/www/ |
D | MeteredStream.java | 45 protected ProgressSource pi; field in MeteredStream 47 public MeteredStream(InputStream is, ProgressSource pi, long expected) in MeteredStream() argument 51 this.pi = pi; in MeteredStream() 54 if (pi != null) { in MeteredStream() 55 pi.updateProgress(0, expected); in MeteredStream() 81 if (pi != null) in justRead() 82 pi.updateProgress(count, expected); in justRead() 162 if (pi != null) in close() 163 pi.finishTracking(); in close() 209 if (pi != null) in finalize() [all …]
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
D | nodeissupported05.java | 79 ProcessingInstruction pi; in runTest() local 82 pi = doc.createProcessingInstruction("PITarget", "PIData"); in runTest() 83 success = pi.isSupported("-", "+"); in runTest()
|
D | documentimportnode20.java | 89 ProcessingInstruction pi; in runTest() local 108 pi = (ProcessingInstruction) childList.item(1); in runTest() 112 piTargetVal = pi.getTarget(); in runTest() 113 piDataVal = pi.getData(); in runTest()
|
D | importNode14.java | 71 ProcessingInstruction pi; in runTest() local 82 pi = aNewDoc.createProcessingInstruction("target1", "data1"); in runTest() 83 aNode = (ProcessingInstruction) doc.importNode(pi, false); in runTest()
|
D | nodenormalize01.java | 85 ProcessingInstruction pi; in runTest() local 106 pi = newDoc.createProcessingInstruction("PITarget", "PIData"); in runTest() 135 appendedChild = element6.appendChild(pi); in runTest()
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | NodeIsSupported.java | 173 ProcessingInstruction pi; in testIsSupported5() local 176 pi = doc.createProcessingInstruction("PITarget", "PIData"); in testIsSupported5() 177 success = pi.isSupported("-", "+"); in testIsSupported5()
|
D | NodeNormalize.java | 102 ProcessingInstruction pi; in testNormalize() local 124 pi = newDoc.createProcessingInstruction("PITarget", "PIData"); in testNormalize() 153 element6.appendChild(pi); in testNormalize()
|
D | ImportNode.java | 445 ProcessingInstruction pi; in testImportNode14() local 455 pi = aNewDoc.createProcessingInstruction("target1", "data1"); in testImportNode14() 456 aNode = (ProcessingInstruction) doc.importNode(pi, false); in testImportNode14()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
D | FileURLConnection.java | 95 ProgressSource pi = new ProgressSource(url, "GET", file.length()); in connect() local 96 is = new MeteredStream(is, pi, file.length()); in connect()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
D | FtpURLConnection.java | 462 ProgressSource pi = null; in getInputStream() local 465 pi = new ProgressSource(url, "GET", l); in getInputStream() 466 pi.beginTracking(); in getInputStream() 469 is = new MeteredStream(is, pi, l); in getInputStream()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | DocumentImpl.java | 196 ProcessingInstruction pi = (ProcessingInstruction) node; in shallowCopy() local 197 return createProcessingInstruction(pi.getTarget(), pi.getData()); in shallowCopy()
|
/libcore/ojluni/src/main/java/sun/invoke/util/ |
D | Wrapper.java | 326 int pi = hashPrim(w.primitiveType); 329 assert(FROM_PRIM[pi] == null); in assert() argument 332 FROM_PRIM[pi] = w;
|
/libcore/luni/src/test/java/libcore/xml/ |
D | NormalizeTest.java | 531 ProcessingInstruction pi = document.createProcessingInstruction("foo", ""); in testInvalidCharactersProcessingInstructionData() local 532 root.appendChild(pi); in testInvalidCharactersProcessingInstructionData() 535 pi.setData(new String(new char[] { 'A', 'B', (char) c})); in testInvalidCharactersProcessingInstructionData()
|
/libcore/xml/src/main/java/org/kxml2/io/ |
D | KXmlSerializer.java | 623 public void processingInstruction(String pi) in processingInstruction() argument 627 append(pi); in processingInstruction()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | DoubleTest.java | 1289 Double pi = Double.valueOf("3.141592654"); in test_valueOfLjava_lang_String() local 1290 assertEquals(3.141592654, pi.doubleValue(), 0D); in test_valueOfLjava_lang_String()
|
/libcore/luni/src/test/resources/ |
D | math_important_numbers.csv | 1 #These numbers are automatically generated to test numbers such as pi, pi/2, 0, etc.
|