Searched defs:child_count (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium_org/ui/accessibility/
H A Dax_node.h24 int child_count() const { return static_cast<int>(children_.size()); } function in class:ui::AXNode
/external/chromium_org/base/debug/
H A Dgdi_debug_util_win.cc22 int child_count = 0; local
23 base::debug::Alias(&child_count);
51 ++child_count;
/external/chromium_org/chrome/browser/ui/bookmarks/
H A Dbookmark_editor.cc23 int child_count = parent->child_count(); local
25 details.index <= child_count) ?
26 details.index : child_count;
32 model->AddURL(node, node->child_count(), details.urls[i].second,
160 model->Move(node, new_parent, new_parent->child_count());
H A Dbookmark_utils.cc94 for (; child_index_ < (*parent_)->child_count(); ++child_index_) {
117 int child_count = 0; local
121 child_count++;
124 if (child_count < num_bookmark_urls_before_prompting)
130 base::IntToString16(child_count)),
137 for (int i = 0; i < node->child_count(); ++i) {
265 BookmarkEditor::EditDetails::AddFolder(parent, parent->child_count());
/external/chromium_org/components/bookmarks/test/
H A Dbookmark_test_helpers.cc57 int index = node->child_count();
115 int child_count = node->child_count(); local
117 for (int i = 0; i < child_count; ++i) {
/external/chromium_org/content/browser/frame_host/
H A Dframe_tree_node.h72 size_t child_count() const { function in class:content::FrameTreeNode
/external/chromium_org/gpu/config/
H A Dgpu_dx_diagnostics_win.cc68 DWORD child_count; local
69 hr = container->GetNumberOfChildContainers(&child_count);
71 for (DWORD i = 0; i < child_count; i++) {
/external/chromium_org/ui/events/test/
H A Dtest_event_target.h39 size_t child_count() const { return children_.size(); } function in class:ui::test::TestEventTarget
/external/chromium_org/components/enhanced_bookmarks/
H A Denhanced_bookmark_utils.cc85 int child_count = parent->child_count(); local
86 for (int i = 0; i < child_count; ++i) {
95 if (bb_node->child_count() > 0)
/external/chromium_org/ui/views/accessibility/
H A Dnative_view_accessibility_win_unittest.cc55 LONG child_count = 0; local
56 ASSERT_EQ(S_OK, content_accessible->get_accChildCount(&child_count));
57 ASSERT_EQ(1L, child_count);
123 LONG child_count = 0; local
124 ASSERT_EQ(S_OK, root_view_accessible->get_accChildCount(&child_count));
125 ASSERT_EQ(1L, child_count);
135 ASSERT_EQ(S_OK, root_view_accessible->get_accChildCount(&child_count));
136 ASSERT_EQ(2L, child_count);
H A Dnative_view_accessibility_win.cc290 for (int i = view_->child_count() - 1; i >= 0; --i) {
384 child_id = view_->child_count() - 1;
409 parent->child_count() - 1)) {
429 if (!IsValidNav(nav_dir, start.lVal, 0, parent->child_count() + 1)) {
489 if (child_id_as_index < view_->child_count()) {
491 } else if (child_id_as_index < view_->child_count() + child_widget_count) {
493 child_widgets[child_id_as_index - view_->child_count()];
540 STDMETHODIMP NativeViewAccessibilityWin::get_accChildCount(LONG* child_count) { argument
541 if (!child_count)
547 *child_count
[all...]
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dtwo_client_bookmarks_sync_test.cc603 Remove(0, folder, folder->child_count() - 1);
645 int child_count = folder->child_count(); local
646 for (int i = 0; i < child_count; ++i) {
876 GetBookmarkBarNode(0)->child_count() - 2;
908 int num_bookmarks_to_move = folder->child_count() - 2;
996 folder = AddFolder(0, folder, folder->child_count(), title);
1011 0, url10), folder_L0, folder_L0->child_count());
1037 folder = AddFolder(0, folder, folder->child_count(), title);
1051 Move(0, GetUniqueNodeByURL(0, url10), folder_L10, folder_L10->child_count());
[all...]
H A Dbookmarks_helper.cc395 ASSERT_LT(path.top(), walker->child_count());
624 for (int i = 0; i < root_node->child_count(); ++i) {
626 for (int j = permanent_node->child_count() - 1; j >= 0; --j) {
653 int child_count = parent->child_count(); local
654 if (child_count <= 0)
656 for (int index = 0; index < child_count; ++index) {
657 Move(profile, parent->GetChild(index), parent, child_count - index);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_fs_schedule_instructions.cpp64 this->child_count = 0;
106 int child_count; member in class:schedule_node
175 for (int i = 0; i < before->child_count; i++) {
182 if (before->child_array_size <= before->child_count) {
195 before->children[before->child_count] = after;
196 before->child_latency[before->child_count] = latency;
197 before->child_count++;
471 for (int i = 0; i < chosen->child_count; i++) {
/external/chromium_org/ui/base/models/
H A Dtree_node_model.h77 DCHECK_LE(index, child_count());
120 int child_count() const { return static_cast<int>(children_.size()); } function in class:ui::TreeNode
137 DCHECK_LT(index, child_count());
260 return AsNode(parent)->child_count();
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_fs_schedule_instructions.cpp64 this->child_count = 0;
106 int child_count; member in class:schedule_node
175 for (int i = 0; i < before->child_count; i++) {
182 if (before->child_array_size <= before->child_count) {
195 before->children[before->child_count] = after;
196 before->child_latency[before->child_count] = latency;
197 before->child_count++;
471 for (int i = 0; i < chosen->child_count; i++) {
/external/chromium_org/content/browser/accessibility/
H A Daccessibility_win_browsertest.cc98 LONG child_count = 0; local
99 HRESULT hr = node->get_accChildCount(&child_count);
102 scoped_ptr<VARIANT[]> child_array(new VARIANT[child_count]);
105 node, 0, child_count, child_array.get(), &obtained_count);
107 ASSERT_EQ(child_count, obtained_count);
364 LONG child_count = 0; local
365 HRESULT hr = parent->get_accChildCount(&child_count);
367 ASSERT_EQ(child_count, children_.size());
369 scoped_ptr<VARIANT[]> child_array(new VARIANT[child_count]);
371 hr = AccessibleChildren(parent, 0, child_count,
[all...]
/external/chromium_org/chrome/browser/extensions/api/bookmarks/
H A Dbookmarks_api.cc163 index = parent->child_count();
166 if (index > parent->child_count() || index < 0) {
347 int childCount = node->child_count();
443 int child_count = node->child_count(); local
444 for (int i = 0; i < child_count; ++i) {
655 if (index > parent->child_count() || index < 0) {
660 index = parent->child_count();
/external/chromium_org/chrome/browser/extensions/
H A Dmenu_manager.h171 int child_count() const { return children_.size(); } function in class:extensions::MenuItem
/external/chromium_org/content/renderer/accessibility/
H A Dblink_ax_tree_source.cc562 int child_count = src.childCount(); local
563 for (int i = 0; i < child_count; ++i) {
/external/chromium_org/ui/views/
H A Dview.h174 int child_count() const { return static_cast<int>(children_.size()); } function in class:views::View
180 DCHECK_LT(index, child_count());
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dtree.rb137 if adaptor.child_count( look ) == 0
326 alias child_count length
694 def child_count( tree ) method in class:ANTLR3.CommonTree.TreeAdaptor
695 tree.child_count
729 for i in 0 ... child_count( tree )
749 child_count( tree ).zero?
762 case root.child_count
846 count = new_root.child_count
907 elsif root.child_count == 1 then root = root.first.detach
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_config.c592 int child_count = GET_CHILD_COUNT(p); local
593 bdla(p && ichild + count <= child_count && count > 0);
595 icount = icount <= child_count ? icount : child_count;
599 if(i < child_count)
601 int mv_count = child_count - i;
655 int child_count = GET_CHILD_COUNT(p); local
661 empty = find_first_empty(p, empty, child_count);
666 occupy = find_first_occupy(p, occupy, child_count);
683 int child_count local
704 int child_count = GET_CHILD_COUNT(s); local
[all...]
/external/chromium_org/chrome/browser/sync/
H A Dprofile_sync_service_bookmark_unittest.cc623 if (browser_index + 1 < bnode->parent()->child_count())
1024 EXPECT_EQ(1, model_->other_node()->child_count());
1034 EXPECT_EQ(1, model_->other_node()->child_count());
1044 int child_count = 0; local
1058 child_count = model_->other_node()->child_count();
1059 EXPECT_TRUE(child_count == 0 || child_count == 1);
1069 EXPECT_EQ(model_->other_node()->child_count(), child_count);
[all...]
/external/clang/include/clang/AST/
H A DComment.h233 unsigned child_count() const { function in class:clang::comments::Comment

Completed in 4635 milliseconds

12