/external/chromium_org/ppapi/generators/ |
idl_node.py | 29 # which will be passed as a child to a standard IDLNode. 79 # property dictionary, and nodes into the local child list in order. In 82 for child in children: 83 if child.cls == 'ExtAttribute': 84 self.SetProperty(child.name, child.value) 86 self.AddChild(child) 151 for child in self._children: 152 child.Dump(depth+1, comments=comments, out=out) 161 for child in self._children [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
InlineFlowBox.cpp | 58 for (InlineBox* child = firstChild(); child; child = child->nextOnLine()) 59 child->setHasBadParent(); 94 void InlineFlowBox::addToLine(InlineBox* child) 96 ASSERT(!child->parent()); 97 ASSERT(!child->nextOnLine()); 98 ASSERT(!child->prevOnLine()); 101 child->setParent(this) 206 InlineBox* child = firstChild(); local [all...] |
RenderBlockFlow.cpp | 75 // This flag tracks whether we are still looking at child margins that can all collapse together at the beginning of a block. 144 static bool inNormalFlow(RenderBox* child) 146 RenderBlock* curr = child->containingBlock(); 147 RenderView* renderView = child->view(); 482 for (RenderObject* child = lastChild(); child; child = child->previousSibling()) { 483 if (child->isRenderBlockFlow() && !child->isFloatingOrOutOfFlowPositioned()) 1045 RenderBox* child = next; local [all...] |
RenderTable.cpp | 127 void RenderTable::addChild(RenderObject* child, RenderObject* beforeChild) 129 bool wrapInAnonymousSection = !child->isOutOfFlowPositioned(); 131 if (child->isTableCaption()) 133 else if (child->isRenderTableCol()) { 136 } else if (child->isTableSection()) { 137 switch (child->style()->display()) { 141 m_head = toRenderTableSection(child); 145 m_firstBody = toRenderTableSection(child); 152 m_foot = toRenderTableSection(child); 160 m_firstBody = toRenderTableSection(child); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
CustomLayout.java | 46 /** These are used for computing child frames based on their gravity. */ 92 final View child = getChildAt(i); local 93 if (child.getVisibility() != GONE) { 94 // Measure the child. 95 measureChildWithMargins(child, widthMeasureSpec, 0, heightMeasureSpec, 0); 99 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 102 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 105 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 108 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); 111 child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin) 149 final View child = getChildAt(i); local [all...] |
/external/chromium_org/tools/resources/ |
list_unused_grit_header.py | 45 for child in node.getchildren(): 46 if child.tag == resource_tag: 47 resources.append(child.attrib['name']) 48 elif child.tag in IF_ELSE_TAGS: 49 resources.extend(GetResourcesForNode(child, parent_file, resource_tag)) 50 elif child.tag == 'part': 52 part_file = os.path.join(parent_dir, child.attrib['file']) 58 raise Exception('unknown tag:', child.tag) 67 """Look through a node's children for a child node with a given tag. 71 tag: The tag on a child node to look for [all...] |
/external/markdown/markdown/ |
treeprocessors.py | 172 for child in [node] + node.getchildren(): 173 if child.tail: 174 if child.tail.strip(): 175 self.__processElementText(node, child, False) 176 if child.text: 177 if child.text.strip(): 178 self.__processElementText(child, child) 227 for child in [node] + node.getchildren(): 229 if child.text [all...] |
/external/chromium_org/ui/message_center/views/ |
message_center_view.cc | 137 bool IsValidChild(const views::View* child) const; 147 // Schedules animation for a child to the specified position. Returns false 148 // if |child| will disappear after the animation. 149 bool AnimateChild(views::View* child, int top, int height); 217 views::View* child = child_at(i); local 218 if (!child->visible()) 220 int height = child->GetHeightForWidth(child_area.width()); 221 child->SetBounds(child_area.x(), top, child_area.width(), height); 268 DCHECK_LE(0, index); // GetIndexOf is negative if not a child. 283 const views::View* child = child_at(i) local 300 const views::View* child = child_at(i); local 355 views::View* child = child_at(i); local 437 views::View* child = child_at(i); local 454 views::View* child = child_at(i); local 464 views::View* child = child_at(i); local 482 views::View* child = child_at(i); local 516 views::View* child = clearing_all_views_.front(); local 783 const views::View* child = child_at(0); local [all...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-2073.js | 50 var Child, 51 child; 52 Child = function() {}; 53 Child.prototype = this; 54 child = new Child(); 55 child.id = nextid(); 56 child.parent = this; 57 child.left = this.last; 58 child.right = null [all...] |
/external/llvm/utils/TableGen/ |
X86DisassemblerTables.cpp | 73 /// @param child - The class that may be the subset 75 /// @return - True if child is a subset of parent, false otherwise. 76 static inline bool inheritsFrom(InstructionContext child, 79 if (child == parent) 84 return(inheritsFrom(child, IC_64BIT) || 85 inheritsFrom(child, IC_OPSIZE) || 86 inheritsFrom(child, IC_ADSIZE) || 87 inheritsFrom(child, IC_XD) || 88 inheritsFrom(child, IC_XS)); 90 return(inheritsFrom(child, IC_64BIT_REXW) | [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGText.cpp | 72 bool RenderSVGText::isChildAllowed(RenderObject* child, RenderStyle*) const 74 return child->isSVGInline() || (child->isText() && SVGRenderSupport::isRenderableTextNode(child)); 134 if (RenderObject* child = toRenderSVGInline(current)->firstChild()) { 135 current = child; 155 void RenderSVGText::subtreeChildWasAdded(RenderObject* child) 157 ASSERT(child); 164 // The positioning elements cache doesn't include the new 'child' yet. Clear the 168 if (!child->isSVGInlineText() && !child->isSVGInline() [all...] |
/external/chromium_org/third_party/mesa/src/src/mapi/glapi/gen/ |
glX_XML.py | 53 child = element.children 54 while child: 55 if child.type == "element" and child.name == "size": 56 n = child.nsProp( "name", None ) 57 c = child.nsProp( "count", None ) 58 m = child.nsProp( "mode", None ) 73 child = child.next 138 child = element.childre [all...] |
/external/mesa3d/src/mapi/glapi/gen/ |
glX_XML.py | 53 child = element.children 54 while child: 55 if child.type == "element" and child.name == "size": 56 n = child.nsProp( "name", None ) 57 c = child.nsProp( "count", None ) 58 m = child.nsProp( "mode", None ) 73 child = child.next 138 child = element.childre [all...] |
/development/tools/idegen/src/com/android/idegen/ |
DirectorySearch.java | 142 for (File child : children) { 143 if (child.isDirectory()) { 151 ImmutableList<File> dirs = findSourceDirs(child); 153 if (SOURCE_DIRS.contains(child.getName())) { 154 builder.add(child); 179 for (File child : children) { 180 if (child.isDirectory()) { 181 Matcher matcher = EXCLUDE_PATTERN.matcher(child.getName()); 187 builder.add(child);
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
dottreegen.py | 69 template="$parent$ -> $child$ // \"$parentText$\" -> \"$childText$\"\n" 103 # must have already dumped as child from previous 114 # for each child, do a "<unique-name> [label=text]" node def 116 child = adaptor.getChild(tree, i) 118 number = self.getNodeNumber(child) 120 nodeST = self.getNodeST(adaptor, child) 124 self.toDOTDefineNodes(child, adaptor, treeST, knownNodes) 133 # must have already dumped as child from previous 139 # for each child, do a parent -> child edge using unique node name [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/ |
debug.rb | 54 child = self.child_of( tree, i ) 55 simulate_tree_construction( child ) 56 @debug_listener.add_child( tree, child ) 72 def add_child( tree, child ) 73 case child 75 node = create_with_payload( child ) 78 tree.nil? || child.nil? and return 79 super( tree, child ) 80 @debug_listener.add_child( tree, child )
|
/external/chromium_org/ash/wm/ |
lock_layout_manager.cc | 55 void LockLayoutManager::OnWindowAddedToLayout(aura::Window* child) { 56 child->AddObserver(this); 58 // LockWindowState replaces default WindowState of a child. 59 wm::WindowState* window_state = LockWindowState::SetLockWindowState(child); 64 void LockLayoutManager::OnWillRemoveWindowFromLayout(aura::Window* child) { 65 child->RemoveObserver(this); 68 void LockLayoutManager::OnWindowRemovedFromLayout(aura::Window* child) { 71 void LockLayoutManager::OnChildWindowVisibilityChanged(aura::Window* child, 75 void LockLayoutManager::SetChildBounds(aura::Window* child, 77 wm::WindowState* window_state = wm::GetWindowState(child); [all...] |
system_modal_container_layout_manager.cc | 70 aura::Window* child) { 71 DCHECK((modal_background_ && child == modal_background_->GetNativeView()) || 72 child->type() == ui::wm::WINDOW_TYPE_NORMAL || 73 child->type() == ui::wm::WINDOW_TYPE_POPUP); 78 child->AddObserver(this); 79 if (child->GetProperty(aura::client::kModalKey) != ui::MODAL_TYPE_NONE) 80 AddModalWindow(child); 84 aura::Window* child) { 85 child->RemoveObserver(this); 86 if (child->GetProperty(aura::client::kModalKey) != ui::MODAL_TYPE_NONE [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
NodeTraversal.cpp | 102 for (Node* child = descendant; child; child = child->lastChild()) 103 descendant = child; 119 while (Node* child = previous->lastChild()) 120 previous = child; 148 while (Node* child = next->firstChild()) 149 next = child;
|
/external/chromium_org/third_party/libjingle/source/talk/xmllite/ |
xmlprinter.cc | 122 const XmlChild* child = element->FirstChild(); local 124 if (child == NULL) 128 while (child) { 129 if (child->IsText()) { 131 PrintCDATAText(child->AsText()->Text()); 133 PrintBodyText(child->AsText()->Text()); 136 PrintElement(child->AsElement()); 138 child = child->NextChild();
|
/external/chromium_org/third_party/sfntly/cpp/src/test/tinyxml/ |
tinyxml.cpp | 305 // A document can never be a child. Thanks to Noam. 819 // 2) An element with only a text child is printed as <foo> text </foo> 902 const TiXmlNode* child = this->FirstChild(); local 903 if ( child ) { 904 const TiXmlText* childText = child->ToText(); [all...] |
/external/chromium_org/third_party/skia/src/views/ |
SkViewInflate.cpp | 26 const SkDOM::Node* child = dom.getFirstChild(node); local 27 while (child) 29 SkView* view = this->createView(dom, child); 32 this->rInflate(dom, child, view); 37 const char* name = dom.getName(child); 40 if (!strcmp(name, "listenTo") && (target = dom.findAttr(child, "target")) != NULL) 43 if (!strcmp(name, "broadcastTo") && (target = dom.findAttr(child, "target")) != NULL) 46 child = dom.getNextSibling(child);
|
/external/chromium_org/third_party/webrtc/libjingle/xmllite/ |
xmlprinter.cc | 105 const XmlChild* child = element->FirstChild(); local 107 if (child == NULL) 111 while (child) { 112 if (child->IsText()) { 114 PrintCDATAText(child->AsText()->Text()); 116 PrintBodyText(child->AsText()->Text()); 119 PrintElement(child->AsElement()); 121 child = child->NextChild();
|
/external/lldb/test/pexpect-2.4/examples/ |
chess2.py | 15 self.child = pexpect.spawn (engine) 18 #self.child.expect ('Chess') 19 #if self.child.after != 'Chess': 21 #self.term.process_list (self.child.before) 22 #self.term.process_list (self.child.after) 33 k = self.child.read(1, 10) 58 c = self.child.read(1,10) 68 self.child.sendline (move) 92 self.child.sendline ('switch') 95 self.child.sendline ('depth' [all...] |
/external/chromium_org/media/formats/mp4/ |
box_reader.cc | 175 BoxReader child(&buf_[pos_], size_ - pos_, log_cb_); 176 if (!child.ReadHeader(&err)) break; 178 children_.insert(std::pair<FourCC, BoxReader>(child.type(), child)); 179 pos_ += child.size(); 186 bool BoxReader::HasChild(Box* child) { 188 DCHECK(child); 189 return children_.count(child->BoxType()) > 0; 192 bool BoxReader::ReadChild(Box* child) { 194 FourCC child_type = child->BoxType() [all...] |