Searched refs:parent (Results 1 - 25 of 85) sorted by relevance

1234

/libcore/dalvik/src/main/java/dalvik/system/
H A DPathClassLoader.java35 * @param parent the parent class loader
37 public PathClassLoader(String dexPath, ClassLoader parent) { argument
38 super(dexPath, null, null, parent);
61 * @param parent the parent class loader
63 public PathClassLoader(String dexPath, String librarySearchPath, ClassLoader parent) { argument
64 super(dexPath, null, librarySearchPath, parent);
H A DDexClassLoader.java53 * @param parent the parent class loader
56 String librarySearchPath, ClassLoader parent) {
57 super(dexPath, new File(optimizedDirectory), librarySearchPath, parent);
55 DexClassLoader(String dexPath, String optimizedDirectory, String librarySearchPath, ClassLoader parent) argument
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DLeafNodeImpl.java31 * This class represents a Node that has a parent Node, but no children.
36 InnerNodeImpl parent; field in class:LeafNodeImpl
46 if (parent == null || index + 1 >= parent.children.size()) {
50 return parent.children.get(index + 1);
54 return parent;
58 if (parent == null || index == 0) {
62 return parent.children.get(index - 1);
H A DCDATASectionImpl.java57 Node parent = getParentNode();
59 parent.insertBefore(new CDATASectionImpl(document, parts[0] + "]]"), this);
61 parent.insertBefore(new CDATASectionImpl(document, ">" + parts[p] + "]]"), this);
83 parent.insertBefore(replacement, this);
84 parent.removeChild(this);
H A DInnerNodeImpl.java37 * <p>This class represents a Node that has a parent Node as well as
74 if (parent == null || index + 1 >= parent.children.size()) {
78 return parent.children.get(index + 1);
96 if (refChildImpl.parent != this) {
124 if (toInsert.parent != null) {
126 toInsert.parent.children.remove(oldIndex);
127 toInsert.parent.refreshIndices(oldIndex);
131 toInsert.parent = this;
145 nodeImpl = nodeImpl.parent;
[all...]
H A DTextImpl.java89 Node parent = getParentNode();
104 parent.removeChild(toRemove);
158 parent.removeChild(this);
169 parent.removeChild(this);
/libcore/luni/src/main/java/org/xml/sax/
H A DXMLFilter.java40 * Set the parent reader.
43 * a parent reader (which may be another filter). The argument
46 * @param parent The parent reader.
48 public abstract void setParent (XMLReader parent); argument
52 * Get the parent reader.
54 * <p>This method allows the application to query the parent
56 * bad idea to perform any operations on the parent reader
59 * @return The parent filter, or null if none has been set.
/libcore/ojluni/src/main/java/java/util/stream/
H A DAbstractShortCircuitTask.java77 * @param parent parent task in the computation tree
81 protected AbstractShortCircuitTask(K parent, argument
83 super(parent, spliterator);
84 sharedResult = parent.sharedResult;
204 * @return {@code true} if this task or any parent is canceled.
209 for (K parent = getParent(); !cancel && parent != null; parent = parent
[all...]
H A DAbstractTask.java50 * guaranteed that the parent's child-related fields (including sibling links
51 * for the parent's children) will be set up for all children.
83 * @param <K> Type of parent, child and sibling tasks
147 * @param parent this node's parent task
149 * this node, obtained by splitting the parent {@code Spliterator}
151 protected AbstractTask(K parent, argument
153 super(parent);
155 this.helper = parent.helper;
156 this.targetSize = parent
[all...]
/libcore/support/src/test/java/tests/support/
H A DSupport_ClassLoader.java31 public abstract ClassLoader getClassLoader(URL url, ClassLoader parent); argument
33 public static ClassLoader getInstance(URL url, ClassLoader parent) { argument
45 return factory.getClassLoader(url, parent);
68 public ClassLoader getClassLoader(URL url, ClassLoader parent) { argument
70 null, parent);
80 public ClassLoader getClassLoader(URL url, ClassLoader parent) { argument
81 return new URLClassLoader(new URL[] { url }, parent);
/libcore/ojluni/src/main/java/java/util/
H A DPropertyResourceBundle.java162 * this <code>ResourceBundle</code> and its parent bundles.
165 * this <code>ResourceBundle</code> and its parent bundles.
169 ResourceBundle parent = this.parent;
171 (parent != null) ? parent.getKeys() : null);
H A DListResourceBundle.java134 * this <code>ResourceBundle</code> and its parent bundles.
137 * this <code>ResourceBundle</code> and its parent bundles.
146 ResourceBundle parent = this.parent;
148 (parent != null) ? parent.getKeys() : null);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
H A DXMLFilterImplTest.java53 private XMLFilterImpl parent = new MockFilter(logger); field in class:XMLFilterImplTest
55 private XMLFilterImpl child = new XMLFilterImpl(parent);
68 parent.setContentHandler(handler);
69 parent.setDTDHandler(handler);
70 parent.setErrorHandler(handler);
78 assertEquals(null, parent.getParent());
83 assertEquals(null, parent.getParent());
94 child.setParent(parent);
95 assertEquals(parent, child.getParent());
112 // No parent cas
[all...]
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DXMLFilterImpl.java64 * Construct an empty XML filter, with no parent.
66 * <p>This filter will have no parent: you must assign a parent
81 * Construct an XML filter with the specified parent.
83 * @param parent the XML reader from which this filter receives its events.
88 public XMLFilterImpl (XMLReader parent)
90 setParent(parent);
102 * Set the parent reader.
106 * configuration requests. The parent may itself be another filter.</p>
108 * <p>If there is no parent reade
87 XMLFilterImpl(XMLReader parent) argument
112 setParent(XMLReader parent) argument
703 private XMLReader parent = null; field in class:XMLFilterImpl
[all...]
H A DNamespaceSupport.java166 * the declarations of its parent context, but it will also keep
220 // Set the parent, if any.
383 * This includes declarations from parent contexts that have
428 * This includes declarations from parent contexts that have
560 * (Re)set the parent of this Namespace context. argument
564 * @param context The parent Namespace context object.
566 void setParent (Context parent)
568 this.parent = parent;
570 prefixTable = parent
828 private Context parent = null; field in class:NamespaceSupport.Context
[all...]
/libcore/ojluni/src/main/java/sun/util/resources/
H A DOpenListResourceBundle.java82 ResourceBundle parent = this.parent;
84 (parent != null) ? parent.getKeys() : null);
97 * Returns the parent bundle
100 return (OpenListResourceBundle)parent;
/libcore/ojluni/src/main/java/java/util/prefs/
H A DNodeChangeEvent.java57 * @param parent The parent of the node that was added or removed.
60 public NodeChangeEvent(Preferences parent, Preferences child) { argument
61 super(parent);
66 * Returns the parent of the node that was added or removed.
68 * @return The parent Preferences node whose child was added or removed
H A DAbstractPreferences.java126 * Our name relative to parent.
136 * Our parent node.
138 final AbstractPreferences parent; field in class:AbstractPreferences
187 * Creates a preference node with the specified parent and the specified
188 * name relative to its parent.
190 * @param parent the parent of this preference node, or null if this
192 * @param name the name of this preference node, relative to its parent,
195 * (<tt>'/'</tt>), or <tt>parent</tt> is <tt>null</tt> and
198 protected AbstractPreferences(AbstractPreferences parent, Strin argument
748 public Preferences parent() { method in class:AbstractPreferences
1420 NodeAddedEvent(Preferences parent, Preferences child) argument
1426 NodeRemovedEvent(Preferences parent, Preferences child) argument
[all...]
/libcore/luni/src/test/java/libcore/java/util/prefs/
H A DOldNodeChangeEventTest.java50 AbstractPreferences parent = (AbstractPreferences) Preferences
53 AbstractPreferences pref = (AbstractPreferences) parent.node("mock");
98 AbstractPreferences parent = (AbstractPreferences) Preferences
101 AbstractPreferences pref = (AbstractPreferences) parent.node("mock");
105 Preferences parent = e.getParent();
106 if (parent == null) {
109 if (parent.name() == "mock") {
117 Preferences parent = e.getParent();
118 if (parent == null) {
121 if (parent
[all...]
H A DOldPreferenceChangeEventTest.java49 AbstractPreferences parent = (AbstractPreferences) Preferences
52 AbstractPreferences pref = (AbstractPreferences) parent.node("mock");
74 AbstractPreferences parent = (AbstractPreferences) Preferences
77 AbstractPreferences pref = (AbstractPreferences) parent.node("mock");
104 AbstractPreferences parent = (AbstractPreferences) Preferences
107 AbstractPreferences pref = (AbstractPreferences) parent.node("mock");
/libcore/ojluni/src/main/java/java/lang/
H A DThreadGroup.java37 * has a parent.
41 * parent thread group or any other thread groups.
64 private final ThreadGroup parent; field in class:ThreadGroup
85 this.parent = null;
89 * Constructs a new thread group. The parent of this new group is
92 * The <code>checkAccess</code> method of the parent thread group is
106 * Creates a new thread group. The parent of this new group is the
109 * The <code>checkAccess</code> method of the parent thread group is
112 * @param parent the parent threa
122 ThreadGroup(ThreadGroup parent, String name) argument
126 ThreadGroup(Void unused, ThreadGroup parent, String name) argument
140 checkParentAccess(ThreadGroup parent) argument
[all...]
H A DClassLoader.java93 * associated parent class loader. When requested to find a class or
95 * class or resource to its parent class loader before attempting to find the
97 * called the "bootstrap class loader", does not itself have a parent but may
98 * serve as the parent of a <tt>ClassLoader</tt> instance.
198 // The parent class loader for delegation
201 private final ClassLoader parent; field in class:ClassLoader
247 private ClassLoader(Void unused, ClassLoader parent) { argument
248 this.parent = parent;
252 * Creates a new class loader using the specified parent clas
270 ClassLoader(ClassLoader parent) argument
[all...]
/libcore/support/src/test/java/tests/util/
H A DClassLoaderBuilder.java35 private ClassLoader parent = ClassLoaderBuilder.class.getClassLoader(); field in class:ClassLoaderBuilder
39 public ClassLoaderBuilder parent(ClassLoader parent) { argument
40 this.parent = parent;
79 * anything that its parent failed on.
82 ClassLoader bridge = new ClassLoader(parent) {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
H A DMockAbstractPreferences.java46 protected MockAbstractPreferences(AbstractPreferences parent, String name) { argument
47 this(parent, name, false);
51 protected MockAbstractPreferences(AbstractPreferences parent, String name, argument
53 super(parent, name);
55 if (parent instanceof MockAbstractPreferences) {
56 ((MockAbstractPreferences) parent).addChild(this);
171 Preferences p = parent();
/libcore/luni/src/main/java/java/util/concurrent/
H A DPhaser.java95 * groups of sub-phasers share a common parent. This may greatly
100 * child phasers with their parent are managed automatically.
104 * child phaser is registered with its parent. Whenever the number of
107 * from its parent.
257 * parent). In this (relatively rare) case, we use built-in
259 * parent.
304 * The parent of this phaser, or null if none.
306 private final Phaser parent; field in class:Phaser
379 phase = parent.doArrive(ONE_DEREGISTER);
383 phase = parent
503 Phaser(Phaser parent) argument
519 Phaser(Phaser parent, int parties) argument
[all...]

Completed in 1028 milliseconds

1234