Home
last modified time | relevance | path

Searched refs:children (Results 1 – 25 of 40) sorted by relevance

12

/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
DTreeNode.java31 private final List<V> children = new ArrayList<>(); field in TreeNode
62 children.add(e); in addChild()
67 return new ArrayList<>(children); in getChildren()
71 return children.size(); in getChildrenCount()
91 for (int i = 0; i < children.size(); i++) { in removeChild()
92 V candidate = children.get(i); in removeChild()
95 children.remove(i); in removeChild()
/system/extras/simpleperf/
Dcallchain.h35 std::vector<std::unique_ptr<CallChainNode>> children; member
45 std::vector<std::unique_ptr<NodeT>> children; member
53 NodeT* p = FindMatchingNode(children, callchain[0], is_same_sample); in AddCallChain()
56 children.push_back(std::move(new_node)); in AddCallChain()
76 NodeT* np = FindMatchingNode(p->children, callchain[callchain_pos], in AddCallChain()
85 p->children.push_back(std::move(new_node)); in AddCallChain()
92 queue.push(&children); in SortByPeriod()
98 if (!node->children.empty()) { in SortByPeriod()
99 queue.push(&node->children); in SortByPeriod()
133 child->children = std::move(parent->children); in SplitNode()
[all …]
DSampleDisplayer.h116 if (sample->callchain.children.empty()) { in operator()
127 for (size_t i = 0; i < sample->callchain.children.size(); ++i) { in operator()
128 DisplayCallGraphEntry(fp, 1, prefix, sample->callchain.children[i], in operator()
130 (i + 1 == sample->callchain.children.size())); in operator()
161 if (!node->children.empty() && node->period != 0) { in DisplayCallGraphEntry()
165 for (size_t i = 0; i < node->children.size(); ++i) { in DisplayCallGraphEntry()
166 DisplayCallGraphEntry(fp, depth + 1, prefix, node->children[i], in DisplayCallGraphEntry()
168 (i + 1 == node->children.size())); in DisplayCallGraphEntry()
/system/extras/simpleperf/scripts/inferno/
Dsvg_renderer.py123 for i, child in enumerate(flamegraph.children):
129 left_index = flamegraph.children[i - 1].id
131 if i == len(flamegraph.children) - 1:
134 right_index = flamegraph.children[i + 1].id
136 up_index = max(child.children, key=lambda x: x.weight()).id if child.children else 0
193 """ % (flamegraph.children[0].id))
Ddata_types.py91 self.children = []
125 self.children.append(child)
130 return max([c.get_max_depth() for c in self.children]) + 1 if self.children else 1
135 for child in self.children:
/system/core/property_service/libpropertyinfoserializer/
Dtrie_builder_test.cpp51 ASSERT_EQ(2U, builder_root.children().size()); in TEST()
61 EXPECT_EQ(0U, test_node->children().size()); in TEST()
97 EXPECT_EQ(1U, node->children().size()); in TEST()
116 EXPECT_EQ(0U, long_string_node->children().size()); in TEST()
Dtrie_builder.h88 const std::vector<TrieBuilderNode>& children() const { return children_; } in children() function
Dtrie_serializer.cpp98 auto sorted_children = builder_node.children(); in WriteTrieNode()
/system/extras/simpleperf/scripts/
Dreport.py55 self.children = []
61 self.children.append(node)
72 for child in self.children:
259 s += '+ ' if node.children and i == len(node.call_stack) - 1 else ' '
266 for child in node.children:
Dreport_html.py341 self.children = collections.OrderedDict() # map from func_id to CallNode
344 child = self.children.get(func_id)
346 child = self.children[func_id] = CallNode(func_id)
351 for child in self.children.values():
358 for key in self.children:
359 child = self.children[key]
365 del self.children[key]
372 result['c'] = [child.gen_sample_info() for child in self.children.values()]
378 for key, child in node.children.items():
379 cur_child = self.children.get(key)
[all …]
Dreport_html.js601 divContainer.children().last().on('hidden.bs.dropdown', (e) => {
818 this.moreButton = this.div.children().last().find('button');
1039 divContainer.children().last().on('hidden.bs.dropdown', (e) => {
1123 let children = isArray ? this._splitChildrenForNodes(nodes) : nodes.c;
1125 for (let child of children) {
1139 this.svgDiv = this.div.children().last();
1199 let children = this._splitChildrenForNodes(fakeNodes);
1201 for (let child of children) {
1262 let children = isArray ? this._splitChildrenForNodes(nodes) : nodes.c;
1264 for (let child of children) {
/system/extras/simpleperf/runtest/
Druntest.py40 self.children = []
43 self.children.append(child)
51 for child in self.children:
125 self.children = []
128 self.children.append(child)
137 for child in self.children:
154 for child in self.children:
156 for node in call_tree.children:
/system/iorap/tests/src/inode2filename/
Dsearch_directories_test.cc1361 std::vector<PathEntry> children; in OpenDirectory() local
1375 children.push_back(entry); in OpenDirectory()
1377 DCHECK(!children.back().path.IsBorrowed()); in OpenDirectory()
1384 return children; in OpenDirectory()
2469 std::vector<PathEntry> children = path_entries_.OpenDirectory(name_str); in opendir() local
2471 state_ = State::Open(name_str, std::move(children)); in opendir()
2520 std::vector<PathEntry> children = path_entries_.OpenDirectory(path_entry.path); in readdir() local
2522 if (children.empty()) { in readdir()
2562 std::vector<PathEntry> children; member
2564 static State Open(std::string name, std::vector<PathEntry> children) { in Open()
[all …]
/system/sepolicy/prebuilts/api/26.0/private/
Dwebview_zygote.te40 # Allow webview_zygote to manage the pgroup of its children.
43 # Interaction between the webview_zygote and its children.
/system/sepolicy/prebuilts/api/27.0/private/
Dwebview_zygote.te40 # Allow webview_zygote to manage the pgroup of its children.
43 # Interaction between the webview_zygote and its children.
Dzygote.te25 # Move children into the peer process group.
/system/core/fastboot/fuzzy_fastboot/
Dextensions.h94 std::unordered_set<std::string> children; member
Dmain.cpp1336 for (const auto& part : info.children) { in TEST_P()
1348 for (const auto& part : info.children) { in TEST_P()
1369 for (const auto& part : info.children) { in TEST_P()
1377 for (const auto& part : info.children) { in TEST_P()
1415 for (const auto& part : info.children) { in TEST_P()
1427 for (const auto& part : info.children) { in TEST_P()
1454 for (const auto& part : info.children) { in TEST_P()
/system/sepolicy/prebuilts/api/30.0/private/
Dwebview_zygote.te43 # Allow webview_zygote to manage the pgroup of its children.
46 # Interaction between the webview_zygote and its children.
/system/sepolicy/prebuilts/api/29.0/private/
Dwebview_zygote.te43 # Allow webview_zygote to manage the pgroup of its children.
46 # Interaction between the webview_zygote and its children.
Dapp_zygote.te34 # Interaction between the app_zygote and its children.
/system/sepolicy/private/
Dwebview_zygote.te43 # Allow webview_zygote to manage the pgroup of its children.
46 # Interaction between the webview_zygote and its children.
/system/sepolicy/prebuilts/api/28.0/private/
Dwebview_zygote.te40 # Allow webview_zygote to manage the pgroup of its children.
43 # Interaction between the webview_zygote and its children.
/system/media/camera/docs/
Dmetadata_validate.py130 matching_tags = [i for i in element.children if isinstance(i, Tag) and i.name == tag]
/system/iorap/src/inode2filename/
Dsearch_directories.cc576 auto&& children = fn(std::forward<T>(node)); in TreeTraversalPreOrderObservableImpl()
577 for (auto&& child : children) { in TreeTraversalPreOrderObservableImpl()

12