/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
D | XMLFilterImplTest.java | 53 private XMLFilterImpl parent = new MockFilter(logger); field in XMLFilterImplTest 55 private XMLFilterImpl child = new XMLFilterImpl(parent); 68 parent.setContentHandler(handler); in setUp() 69 parent.setDTDHandler(handler); in setUp() 70 parent.setErrorHandler(handler); in setUp() 78 assertEquals(null, parent.getParent()); in testXMLFilterImpl() 83 assertEquals(null, parent.getParent()); in testXMLFilterImplXMLReader() 94 child.setParent(parent); in testGetSetParent() 95 assertEquals(parent, child.getParent()); in testGetSetParent() 151 parent.setEntityResolver(resolver); in testGetSetEntityResolver() [all …]
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | AbstractShortCircuitTask.java | 81 protected AbstractShortCircuitTask(K parent, in AbstractShortCircuitTask() argument 83 super(parent, spliterator); in AbstractShortCircuitTask() 84 sharedResult = parent.sharedResult; in AbstractShortCircuitTask() 209 for (K parent = getParent(); !cancel && parent != null; parent = parent.getParent()) in taskCanceled() 210 cancel = parent.canceled; in taskCanceled() 223 for (@SuppressWarnings("unchecked") K parent = getParent(), node = (K) this; in cancelLaterNodes() 224 parent != null; in cancelLaterNodes() 225 node = parent, parent = parent.getParent()) { in cancelLaterNodes() 227 if (parent.leftChild == node) { in cancelLaterNodes() 228 K rightSibling = parent.rightChild; in cancelLaterNodes()
|
D | AbstractTask.java | 151 protected AbstractTask(K parent, in AbstractTask() argument 153 super(parent); in AbstractTask() 155 this.helper = parent.helper; in AbstractTask() 156 this.targetSize = parent.targetSize; in AbstractTask() 345 K parent = node.getParent(); in isLeftmostNode() local 346 if (parent != null && parent.leftChild != node) in isLeftmostNode() 348 node = parent; in isLeftmostNode()
|
D | ForEachOps.java | 270 ForEachTask(ForEachTask<S, T> parent, Spliterator<S> spliterator) { in ForEachTask() argument 271 super(parent); in ForEachTask() 273 this.sink = parent.sink; in ForEachTask() 274 this.targetSize = parent.targetSize; in ForEachTask() 275 this.helper = parent.helper; in ForEachTask() 386 ForEachOrderedTask(ForEachOrderedTask<S, T> parent, in ForEachOrderedTask() argument 389 super(parent); in ForEachOrderedTask() 390 this.helper = parent.helper; in ForEachOrderedTask() 392 this.targetSize = parent.targetSize; in ForEachOrderedTask() 393 this.completionMap = parent.completionMap; in ForEachOrderedTask() [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | LeafNodeImpl.java | 36 InnerNodeImpl parent; field in LeafNodeImpl 46 if (parent == null || index + 1 >= parent.children.size()) { in getNextSibling() 50 return parent.children.get(index + 1); in getNextSibling() 54 return parent; in getParentNode() 58 if (parent == null || index == 0) { in getPreviousSibling() 62 return parent.children.get(index - 1); in getPreviousSibling()
|
D | CDATASectionImpl.java | 57 Node parent = getParentNode(); in split() local 59 parent.insertBefore(new CDATASectionImpl(document, parts[0] + "]]"), this); in split() 61 parent.insertBefore(new CDATASectionImpl(document, ">" + parts[p] + "]]"), this); in split() 83 parent.insertBefore(replacement, this); in replaceWithText() 84 parent.removeChild(this); in replaceWithText()
|
D | InnerNodeImpl.java | 74 if (parent == null || index + 1 >= parent.children.size()) { in getNextSibling() 78 return parent.children.get(index + 1); in getNextSibling() 96 if (refChildImpl.parent != this) { in insertBefore() 124 if (toInsert.parent != null) { in insertChildAt() 126 toInsert.parent.children.remove(oldIndex); in insertChildAt() 127 toInsert.parent.refreshIndices(oldIndex); in insertChildAt() 131 toInsert.parent = this; in insertChildAt() 145 nodeImpl = nodeImpl.parent; in isParentOf() 180 if (oldChildImpl.parent != this) { in removeChild() 186 oldChildImpl.parent = null; in removeChild()
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | XMLFilterImpl.java | 87 public XMLFilterImpl (XMLReader parent) in XMLFilterImpl() argument 89 setParent(parent); in XMLFilterImpl() 112 public void setParent (XMLReader parent) in setParent() argument 114 this.parent = parent; in setParent() 126 return parent; in getParent() 152 if (parent != null) { in setFeature() 153 parent.setFeature(name, value); in setFeature() 176 if (parent != null) { in getFeature() 177 return parent.getFeature(name); in getFeature() 200 if (parent != null) { in setProperty() [all …]
|
D | NamespaceSupport.java | 560 void setParent (Context parent) in setParent() argument 562 this.parent = parent; in setParent() 564 prefixTable = parent.prefixTable; in setParent() 565 uriTable = parent.uriTable; in setParent() 566 elementNameTable = parent.elementNameTable; in setParent() 567 attributeNameTable = parent.attributeNameTable; in setParent() 568 defaultNS = parent.defaultNS; in setParent() 581 parent = null; in clear() 828 private Context parent = null; field in NamespaceSupport.Context
|
/libcore/support/src/test/java/tests/support/ |
D | Support_ClassLoader.java | 31 public abstract ClassLoader getClassLoader(URL url, ClassLoader parent); in getClassLoader() argument 33 public static ClassLoader getInstance(URL url, ClassLoader parent) { in getInstance() argument 45 return factory.getClassLoader(url, parent); in getInstance() 68 public ClassLoader getClassLoader(URL url, ClassLoader parent) { in getClassLoader() argument 70 null, parent); in getClassLoader() 80 public ClassLoader getClassLoader(URL url, ClassLoader parent) { in getClassLoader() argument 81 return new URLClassLoader(new URL[] { url }, parent); in getClassLoader()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ThreadGroup.java | 64 private final ThreadGroup parent; field in ThreadGroup 85 this.parent = null; in ThreadGroup() 122 public ThreadGroup(ThreadGroup parent, String name) { in ThreadGroup() argument 123 this(checkParentAccess(parent), parent, name); in ThreadGroup() 126 private ThreadGroup(Void unused, ThreadGroup parent, String name) { in ThreadGroup() argument 128 this.maxPriority = parent.maxPriority; in ThreadGroup() 129 this.daemon = parent.daemon; in ThreadGroup() 130 this.vmAllowSuspension = parent.vmAllowSuspension; in ThreadGroup() 131 this.parent = parent; in ThreadGroup() 132 parent.add(this); in ThreadGroup() [all …]
|
D | ClassLoader.java | 201 private final ClassLoader parent; field in ClassLoader 247 private ClassLoader(Void unused, ClassLoader parent) { in ClassLoader() argument 248 this.parent = parent; in ClassLoader() 270 protected ClassLoader(ClassLoader parent) { in ClassLoader() argument 271 this(checkCreateClassLoader(), parent); in ClassLoader() 366 if (parent != null) { in loadClass() 367 c = parent.loadClass(name, false); in loadClass() 787 if (parent != null) { in getResource() 788 url = parent.getResource(name); in getResource() 826 if (parent != null) { in getResources() [all …]
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | PathClassLoader.java | 37 public PathClassLoader(String dexPath, ClassLoader parent) { in PathClassLoader() argument 38 super(dexPath, null, null, parent); in PathClassLoader() 63 public PathClassLoader(String dexPath, String librarySearchPath, ClassLoader parent) { in PathClassLoader() argument 64 super(dexPath, null, librarySearchPath, parent); in PathClassLoader()
|
D | DexClassLoader.java | 56 String librarySearchPath, ClassLoader parent) { in DexClassLoader() argument 57 super(dexPath, new File(optimizedDirectory), librarySearchPath, parent); in DexClassLoader()
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
D | OldNodeChangeEventTest.java | 50 AbstractPreferences parent = (AbstractPreferences) Preferences in testGetChild() local 53 AbstractPreferences pref = (AbstractPreferences) parent.node("mock"); in testGetChild() 98 AbstractPreferences parent = (AbstractPreferences) Preferences in testGetParent() local 101 AbstractPreferences pref = (AbstractPreferences) parent.node("mock"); in testGetParent() 105 Preferences parent = e.getParent(); in testGetParent() 106 if (parent == null) { in testGetParent() 109 if (parent.name() == "mock") { in testGetParent() 117 Preferences parent = e.getParent(); in testGetParent() 118 if (parent == null) { in testGetParent() 121 if (parent.name() == "mock") { in testGetParent()
|
D | OldPreferenceChangeEventTest.java | 49 AbstractPreferences parent = (AbstractPreferences) Preferences in testGetKey() local 52 AbstractPreferences pref = (AbstractPreferences) parent.node("mock"); in testGetKey() 74 AbstractPreferences parent = (AbstractPreferences) Preferences in testGetNewValue() local 77 AbstractPreferences pref = (AbstractPreferences) parent.node("mock"); in testGetNewValue() 104 AbstractPreferences parent = (AbstractPreferences) Preferences in testGetNode() local 107 AbstractPreferences pref = (AbstractPreferences) parent.node("mock"); in testGetNode()
|
/libcore/ojluni/src/main/java/sun/util/resources/ |
D | OpenListResourceBundle.java | 82 ResourceBundle parent = this.parent; in getKeys() local 84 (parent != null) ? parent.getKeys() : null); in getKeys() 100 return (OpenListResourceBundle)parent; in getParent()
|
/libcore/ojluni/src/main/java/java/util/ |
D | PropertyResourceBundle.java | 169 ResourceBundle parent = this.parent; in getKeys() local 171 (parent != null) ? parent.getKeys() : null); in getKeys()
|
D | ListResourceBundle.java | 146 ResourceBundle parent = this.parent; in getKeys() local 148 (parent != null) ? parent.getKeys() : null); in getKeys()
|
D | TreeMap.java | 408 TreeMapEntry<K,V> parent = p.parent; in getCeilingEntry() local 410 while (parent != null && ch == parent.right) { in getCeilingEntry() 411 ch = parent; in getCeilingEntry() 412 parent = parent.parent; in getCeilingEntry() 414 return parent; in getCeilingEntry() 440 TreeMapEntry<K,V> parent = p.parent; in getFloorEntry() local 442 while (parent != null && ch == parent.left) { in getFloorEntry() 443 ch = parent; in getFloorEntry() 444 parent = parent.parent; in getFloorEntry() 446 return parent; in getFloorEntry() [all …]
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | Phaser.java | 306 private final Phaser parent; field in Phaser 379 phase = parent.doArrive(ONE_DEREGISTER); in doArrive() 383 phase = parent.doArrive(ONE_ARRIVAL); in doArrive() 399 final Phaser parent = this.parent; in doRegister() local 402 long s = (parent == null) ? state : reconcileState(); in doRegister() 412 if (parent == null || reconcileState() == s) { in doRegister() 419 else if (parent == null) { // 1st root registration in doRegister() 427 phase = parent.doRegister(1); in doRegister() 503 public Phaser(Phaser parent) { in Phaser() argument 504 this(parent, 0); in Phaser() [all …]
|
/libcore/support/src/test/java/tests/util/ |
D | ClassLoaderBuilder.java | 35 private ClassLoader parent = ClassLoaderBuilder.class.getClassLoader(); field in ClassLoaderBuilder 39 public ClassLoaderBuilder parent(ClassLoader parent) { in parent() method in ClassLoaderBuilder 40 this.parent = parent; in parent() 82 ClassLoader bridge = new ClassLoader(parent) { in build()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | MockAbstractPreferences.java | 46 protected MockAbstractPreferences(AbstractPreferences parent, String name) { in MockAbstractPreferences() argument 47 this(parent, name, false); in MockAbstractPreferences() 51 protected MockAbstractPreferences(AbstractPreferences parent, String name, in MockAbstractPreferences() argument 53 super(parent, name); in MockAbstractPreferences() 55 if (parent instanceof MockAbstractPreferences) { in MockAbstractPreferences() 56 ((MockAbstractPreferences) parent).addChild(this); in MockAbstractPreferences() 171 Preferences p = parent(); in removeNodeSpi()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | PhaserTest.java | 119 Phaser parent = new Phaser(); in testConstructor3() local 120 assertSame(parent, new Phaser(parent).getParent()); in testConstructor3() 129 Phaser parent = new Phaser(); in testConstructor5() local 130 assertSame(parent, new Phaser(parent, 0).getParent()); in testConstructor5() 370 Phaser parent = new Phaser(); 371 Phaser child = new Phaser(parent); 373 assertState(parent, 0, 0, 0); 376 assertState(parent, 0, 1, 1); 379 assertTerminated(parent, 1); 387 Phaser parent = new Phaser(); [all …]
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | AbstractPreferences.java | 138 final AbstractPreferences parent; field in AbstractPreferences 198 protected AbstractPreferences(AbstractPreferences parent, String name) { in AbstractPreferences() argument 199 if (parent==null) { in AbstractPreferences() 212 root = parent.root; in AbstractPreferences() 213 absolutePath = (parent==root ? "/" + name in AbstractPreferences() 214 : parent.absolutePath() + "/" + name); in AbstractPreferences() 217 this.parent = parent; in AbstractPreferences() 748 public Preferences parent() { in parent() method in AbstractPreferences 753 return parent; in parent() 943 synchronized(parent.lock) { in removeNode() [all …]
|