Searched defs:child (Results 1 - 13 of 13) sorted by relevance

/libcore/ojluni/src/main/java/java/util/prefs/
H A DNodeChangeEvent.java32 * a child of that node has been added or removed.<p>
52 private Preferences child; field in class:NodeChangeEvent
58 * @param child The node that was added or removed.
60 public NodeChangeEvent(Preferences parent, Preferences child) { argument
62 this.child = child;
68 * @return The parent Preferences node whose child was added or removed
80 return child;
H A DAbstractPreferences.java699 * "child-cache"), invokes {@link #childrenNamesSpi()}, and adds all of the
700 * returned child-names into the set. The elements of the tree set are
771 * and the node's child-cache is checked for the named node. If it is
774 * method is invoked, and the result stored in this node's child-cache.
781 * child-cache or returned by <tt>childSpi</tt> is returned by this
828 AbstractPreferences child = kidCache.get(token);
829 if (child == null) {
833 child = childSpi(token);
834 if (child.newNode)
835 enqueueNodeAddedEvent(child);
1426 NodeAddedEvent(Preferences parent, Preferences child) argument
1432 NodeRemovedEvent(Preferences parent, Preferences child) argument
1532 enqueueNodeAddedEvent(Preferences child) argument
1546 enqueueNodeRemovedEvent(Preferences child) argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DInnerNodeImpl.java104 * Inserts {@code newChild} at {@code index}. If it is already child of
204 Node child = getFirstChild();
205 if (child == null) {
209 Node next = child.getNextSibling();
211 return hasTextContent(child) ? child.getTextContent() : "";
220 Node child = getFirstChild();
221 while (child != null) {
222 if (hasTextContent(child)) {
223 ((NodeImpl) child)
229 hasTextContent(Node child) argument
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
H A DXMLFilterImplTest.java55 private XMLFilterImpl child = new XMLFilterImpl(parent); field in class:XMLFilterImplTest
72 child.setContentHandler(handler);
73 child.setDTDHandler(handler);
74 child.setErrorHandler(handler);
91 child.setParent(null);
92 assertEquals(null, child.getParent());
94 child.setParent(parent);
95 assertEquals(parent, child.getParent());
101 child.setFeature("foo", true);
102 assertEquals(true, child
[all...]
/libcore/ojluni/src/main/java/java/io/
H A DFileSystem.java62 * Resolve the child pathname string against the parent.
66 public abstract String resolve(String parent, String child); argument
H A DUnixFileSystem.java93 // Invariant: Both |parent| and |child| are normalized paths.
94 public String resolve(String parent, String child) { argument
95 if (child.isEmpty() || child.equals("/")) {
99 if (child.charAt(0) == '/') {
100 if (parent.equals("/")) return child;
101 return parent + child;
104 if (parent.equals("/")) return parent + child;
105 return parent + '/' + child;
H A DFile.java265 private File(String child, File parent) { argument
268 this.path = fs.resolve(parent.path, child);
291 instead causes the child to be resolved against the system-dependent
298 * and a child pathname string.
303 * <code>child</code> pathname string.
306 * a directory, and the <code>child</code> pathname string is taken to
307 * denote either a directory or a file. If the <code>child</code> pathname
311 * <code>child</code> into an abstract pathname and resolving the result
313 * string is converted into an abstract pathname and the child abstract
317 * @param child Th
321 File(String parent, String child) argument
361 File(File parent, String child) argument
[all...]
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DUnixPath.java373 // Resolve child against given base
374 private static byte[] resolve(byte[] base, byte[] child) { argument
376 int childLength = child.length;
379 if (baseLength == 0 || child[0] == '/')
380 return child;
385 System.arraycopy(child, 0, result, 1, childLength);
390 System.arraycopy(child, 0, result, baseLength+1, childLength);
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DPolicyNodeImpl.java209 * Private method sets a child node. This is called from the child's
212 * @param child new <code>PolicyNodeImpl</code> child node
214 private void addChild(PolicyNodeImpl child) { argument
218 mChildren.add(child);
257 // now that we've called prune on the child, see if we should
265 * Deletes the specified child node of this node, if it exists.
267 * @param childNode the child node to be deleted
/libcore/ojluni/src/main/java/java/util/logging/
H A DLogger.java76 * changed the change may also affect child loggers, since any child
271 // The fields relating to parent-child relationships and levels
2045 // Private method to do the work for parenting a child
2092 // Remove the weak reference for the specified child Logger from the
2094 final void removeChildLogger(LogManager.LoggerWeakRef child) { argument
2098 if (ref == child) {
/libcore/ojluni/src/main/java/java/net/
H A DURI.java2001 private static String resolvePath(String base, String child, argument
2005 int cn = child.length();
2018 sb.append(child);
2034 private static URI resolve(URI base, URI child) { argument
2035 // check if child if opaque first so that NPE is thrown
2036 // if child is null.
2037 if (child.isOpaque() || base.isOpaque())
2038 return child;
2041 if ((child.scheme == null) && (child
2142 relativize(URI base, URI child) argument
[all...]
/libcore/ojluni/src/main/java/java/time/format/
H A DDateTimeFormatterBuilder.java3976 protected PrefixTree child; field in class:DateTimeFormatterBuilder.PrefixTree
3979 private PrefixTree(String k, String v, PrefixTree child) { argument
3982 this.child = child;
4026 if (child != null) {
4027 copy.child = child.copyTree();
4053 PrefixTree c = child;
4060 // add the node as the child of the current node
4062 c.sibling = child;
4153 newNode(String k, String v, PrefixTree child) argument
4194 CI(String k, String v, PrefixTree child) argument
4199 newNode(String k, String v, PrefixTree child) argument
4230 LENIENT(String k, String v, PrefixTree child) argument
4235 newNode(String k, String v, PrefixTree child) argument
[all...]
/libcore/support/src/test/java/tests/resources/
H A Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...

Completed in 409 milliseconds