/libcore/xml/src/main/java/org/kxml2/kdom/ |
Node.java | 44 /** inserts the given child object of the given type at the 47 public void addChild(int index, int type, Object child) { 49 if (child == null) 58 if (!(child instanceof Element)) 61 ((Element) child).setParent(this); 63 else if (!(child instanceof String)) 66 children.insertElementAt(child, index); 70 /** convenience method for addChild (getChildCount (), child) */ 72 public void addChild(int type, Object child) { 73 addChild(getChildCount(), type, child); local 110 Object child = getChild(index); local 204 Element child = getElement(i); local 237 Element child = local 327 Object child = children.elementAt(i); local [all...] |
/external/webkit/Source/WebCore/html/ |
HTMLTableElement.cpp | 69 for (Node* child = firstChild(); child; child = child->nextSibling()) { 70 if (child->hasTagName(captionTag)) 71 return static_cast<HTMLTableCaptionElement*>(child); 84 for (Node* child = firstChild(); child; child = child->nextSibling()) 95 Node* child; local 116 Node* child; local [all...] |
/external/chromium/testing/gtest/test/ |
gtest_xml_test_utils.py | 64 * It has an equivalent set of child nodes (including elements and 99 "number of child elements differ in element " + actual_node.tagName) 100 for child_id, child in expected_children.iteritems(): 104 self.AssertEquivalentNodes(child, actual_children[child_id]) 115 Fetches all of the child nodes of element, a DOM Element object. 122 four is encountered, if two child elements with the same identifying 127 for child in element.childNodes: 128 if child.nodeType == Node.ELEMENT_NODE: 129 self.assert_(child.tagName in self.identifying_attribute, 130 "Encountered unknown element <%s>" % child.tagName [all...] |
/external/protobuf/gtest/test/ |
gtest_xml_test_utils.py | 63 * It has an equivalent set of child nodes (including elements and 98 "number of child elements differ in element " + actual_node.tagName) 99 for child_id, child in expected_children.iteritems(): 103 self.AssertEquivalentNodes(child, actual_children[child_id]) 114 Fetches all of the child nodes of element, a DOM Element object. 121 four is encountered, if two child elements with the same identifying 126 for child in element.childNodes: 127 if child.nodeType == Node.ELEMENT_NODE: 128 self.assert_(child.tagName in self.identifying_attribute, 129 "Encountered unknown element <%s>" % child.tagName [all...] |
/frameworks/base/core/java/android/widget/ |
ExpandableListPosition.java | 22 * ExpandableListPosition can refer to either a group's position or a child's 23 * position. Referring to a child's position requires both a group position (the 24 * group containing the child) and a child position (the child's position within 35 * This data type represents a child position 37 public final static int CHILD = 1; 46 * group of the child being referred to 51 * The position of the child within its parent group 57 * the corresponding flat list position for the group or child is known [all...] |
AbsoluteLayout.java | 65 // Find rightmost and bottom-most child 67 View child = getChildAt(i); local 68 if (child.getVisibility() != GONE) { 73 = (AbsoluteLayout.LayoutParams) child.getLayoutParams(); 75 childRight = lp.x + child.getMeasuredWidth(); 76 childBottom = lp.y + child.getMeasuredHeight(); 112 View child = getChildAt(i); local 113 if (child.getVisibility() != GONE) { 116 (AbsoluteLayout.LayoutParams) child.getLayoutParams(); 120 child.layout(childLeft, childTop [all...] |
LinearLayout.java | 36 * You can also specify gravity, which specifies the alignment of all the child elements by 87 * use the child at this index as the baseline. 96 * The additional offset to the child's baseline. 305 final View child = getVirtualChildAt(i); local 307 if (child != null && child.getVisibility() != GONE) { 309 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 310 final int top = child.getTop() - lp.topMargin; 317 final View child = getVirtualChildAt(count - 1); local 319 if (child == null) 332 final View child = getVirtualChildAt(i); local 344 final View child = getVirtualChildAt(count - 1); local 430 final View child = getChildAt(mBaselineAlignedChildIndex); local 618 final View child = getVirtualChildAt(i); local 736 final View child = getVirtualChildAt(i); local 778 final View child = getVirtualChildAt(i); local 851 final View child = getVirtualChildAt(i); local 894 final View child = getVirtualChildAt(i); local 959 final View child = getVirtualChildAt(i); local 1110 final View child = getVirtualChildAt(i); local 1160 final View child = getVirtualChildAt(i); local 1267 final View child = getVirtualChildAt(i); local 1312 final View child = getVirtualChildAt(i); local 1449 final View child = getVirtualChildAt(i); local 1555 final View child = getVirtualChildAt(childIndex); local [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
ViewGroupCompat.java | 31 public boolean onRequestSendAccessibilityEvent(ViewGroup group, View child, 37 ViewGroup group, View child, AccessibilityEvent event) { 45 ViewGroup group, View child, AccessibilityEvent event) { 46 return ViewGroupCompatIcs.onRequestSendAccessibilityEvent(group, child, event); 67 * Called when a child has requested sending an {@link AccessibilityEvent} and 77 * @param child The child which requests sending the event. 81 public static boolean onRequestSendAccessibilityEvent(ViewGroup group, View child, 83 return IMPL.onRequestSendAccessibilityEvent(group, child, event);
|
/dalvik/tests/063-process-manager/src/ |
Main.java | 7 System.out.println("\nspawning child #" + i); 8 child(); method 15 static private void child() throws Exception { method in class:Main 16 System.out.println("spawning child"); 22 System.out.println("child died");
|
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
parsing.cc | 97 for (const buzz::XmlElement* child = parent->FirstElement(); 98 child != NULL; 99 child = child->NextElement()) { 100 if (child->Name().LocalPart() == name) { 101 return child; 109 const buzz::XmlElement** child, 111 *child = GetXmlChild(parent, name); 112 if (*child == NULL) { 114 "' missing required child '" + name [all...] |
/external/valgrind/main/helgrind/tests/ |
tc09_bad_unlock.c | 17 pthread_t child; local 33 // start child and get it to unlock this lock 35 pthread_create( &child, NULL, child_fn, (void*)&mx2 ); 36 /* child runs and attempts to unlock our lock. Error 38 pthread_join(child, NULL );
|
tc06_two_races.c | 24 pthread_t child; local 26 if (pthread_create(&child, NULL, child_fn, NULL)) { 37 if (pthread_join(child, NULL)) {
|
/external/webkit/Source/WebCore/rendering/svg/ |
SVGInlineFlowBox.cpp | 43 for (InlineBox* child = firstChild(); child; child = child->nextOnLine()) { 44 if (child->isSVGInlineTextBox()) 45 static_cast<SVGInlineTextBox*>(child)->paintSelectionBackground(childPaintInfo); 46 else if (child->isSVGInlineFlowBox()) 47 static_cast<SVGInlineFlowBox*>(child)->paintSelectionBackground(childPaintInfo); 63 for (InlineBox* child = firstChild(); child; child = child->nextOnLine()) [all...] |
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/css-pseudo/ |
mozilla | 36 first-child 44 last-child 48 nth-child 49 nth-last-child 52 only-child
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/model/ |
ViewsTreeModel.java | 44 public boolean isLeaf(Object child) { 45 ViewNode node = (ViewNode) child; 49 public void valueForPathChanged(TreePath treePath, Object child) { 52 public int getIndexOfChild(Object parent, Object child) { 54 return ((ViewNode) parent).children.indexOf(child);
|
/external/valgrind/main/coregrind/ |
m_wordfm.c | 68 struct _AvlNode* child[2]; /* [0] is left subtree, [1] is right */ member in struct:_AvlNode 100 AvlNode* b = a->child[1]; 102 a->child[1] = b->child[0]; 103 b->child[0] = a; 110 AvlNode* b = a->child[0]; 112 a->child[0] = b->child[1]; 113 b->child[1] = a; 121 root->child[0]->balance = 0 [all...] |
/frameworks/base/core/java/android/view/ |
ViewGroup.java | 104 * apply on the child being drawn. 126 // Does this group have a child that can accept the current drag payload? 171 // When set, ViewGroup invalidates only the child's rectangle 180 // a child needs to be invalidated and FLAG_OPTIMIZE_INVALIDATE is set 215 * to get the index of the child to draw for that iteration. 224 * invoked when a child is drawn. 293 * When set, this ViewGroup will split MotionEvents to multiple child Views when appropriate. 337 // Index of the child's left position in the mLocation array 339 // Index of the child's top position in the mLocation array 342 // Child views of this ViewGrou 763 final View child = children[i]; local 795 final View child = children[i]; local 820 View child = children[i]; local 837 View child = children[i]; local 870 final View child = children[i]; local 1027 final View child = children[i]; local 1166 final View child = children[i]; local 1202 final View child = children[i]; local 1214 final View child = children[i]; local 1322 final View child = children[i]; local 1394 final View child = firstOldHoverTarget.child; local 1543 final View child = children[i]; local 1669 final View child = children[i]; local 2152 View child = children[i]; local 2218 View child = getChildAt(i); local 2233 View child = mChildren[i]; local 2367 final View child = children[i]; local 2402 View child = getChildAt(i); local 2435 final View child = children[i]; local 2487 final View child = children[i]; local 2494 final View child = children[getChildDrawingOrder(count, i)]; local 2507 final View child = disappearingChildren.get(i); local 2592 final View child = children[i]; local 2963 View child = mChildren[i]; local 4578 View child = mChildren[i]; local 4644 final View child = children[i]; local 4953 final View child = children[i]; local 5016 final View child = children[i]; local 5136 final View child = getChildAt(i); local 5150 final View child = getChildAt(i); local 5624 public View child; field in class:ViewGroup.TouchTarget 5674 public View child; field in class:ViewGroup.HoverTarget [all...] |
/external/collada/src/dae/ |
daeMetaGroup.cpp | 25 daeElement *daeMetaGroup::placeElement( daeElement *parent, daeElement *child, daeUInt &ordinal, daeInt offset, daeElement* before, daeElement *after ) { 27 daeString nm = child->getElementName(); 35 if ( _elementContainer->placeElement(parent, child, ordinal, offset ) != NULL ) { 36 return child; 55 if ( _elementContainer->_elementType->placeBefore( before, el, child, &ordinal ) ) { 61 if ( _elementContainer->_elementType->placeAfter( after, el, child, &ordinal ) ) { 67 if ( _elementContainer->_elementType->place( el, child, &ordinal ) ) { 79 if ( _elementContainer->_elementType->placeBefore( before, el, child, &ordinal ) ) { 85 if ( _elementContainer->_elementType->placeAfter( after, el, child, &ordinal ) ) { 91 if ( _elementContainer->_elementType->place( el, child, &ordinal ) ) [all...] |
/external/elfutils/libelf/ |
common.h | 88 Elf *child = elf->state.ar.children; local 90 while (child != NULL) 92 if (child->ref_count != 0) 93 libelf_acquire_all (child); 94 child = child->next; 105 Elf *child = elf->state.ar.children; local 107 while (child != NULL) 109 if (child->ref_count != 0) 110 libelf_release_all (child); [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/ |
Token.java | 49 void removeChild(@SuppressWarnings("unused") Node child) 51 throw new RuntimeException("Not a child."); 57 throw new RuntimeException("Not a child.");
|
/external/webkit/LayoutTests/dom/xhtml/level3/core/ |
elementcontentwhitespace01.js | 98 var child; 114 child = body.firstChild; 116 childType = child.nodeType; 123 child = body.insertBefore(text,child); 130 child = body.firstChild; 132 assertNotNull("firstChildNotNull",child); 133 childName = child.nodeName; 136 child = child.nextSibling [all...] |
/external/webkit/LayoutTests/fast/xpath/ |
nsresolver-bad-object.xhtml | 14 var sXml = "<root xmlns='http://www.example.com'><child>SUCCESS</child></root>"; 19 var oResult = oXmlDom.evaluate("foo:child/text()", oXmlDom.documentElement, new MyNSResolver,
|
nsresolver-exception.xhtml | 17 var sXml = "<root xmlns='http://www.example.com'><child>SUCCESS</child></root>"; 22 var oResult = oXmlDom.evaluate("foo:child/text()", oXmlDom.documentElement, new MyNSResolver,
|
nsresolver-function.xhtml | 23 var sXml = "<root xmlns='http://www.example.com'><child>SUCCESS</child></root>"; 28 var oResult = oXmlDom.evaluate("foo:child/text()", oXmlDom.documentElement, nsResolver,
|
/external/gtest/test/ |
gtest_xml_test_utils.py | 62 * It has an equivalent set of child nodes (including elements and 89 for child_id, child in expected_children.iteritems(): 92 self.AssertEquivalentNodes(child, actual_children[child_id]) 102 Fetches all of the child nodes of element, a DOM Element object. 108 above four is encountered, if two child elements with the same 115 for child in element.childNodes: 116 if child.nodeType == Node.ELEMENT_NODE: 117 self.assert_(child.tagName in self.identifying_attribute, 118 "Encountered unknown element <%s>" % child.tagName) 119 childID = child.getAttribute(self.identifying_attribute[child.tagName] [all...] |