Home
last modified time | relevance | path

Searched refs:children (Results 1 – 25 of 49) 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.h37 std::vector<std::unique_ptr<CallChainNode>> children; member
47 std::vector<std::unique_ptr<NodeT>> children; member
54 NodeT* p = FindMatchingNode(children, callchain[0], is_same_sample); in AddCallChain()
57 children.push_back(std::move(new_node)); in AddCallChain()
76 NodeT* np = FindMatchingNode(p->children, callchain[callchain_pos], is_same_sample); in AddCallChain()
83 p->children.push_back(std::move(new_node)); in AddCallChain()
90 queue.push(&children); in SortByPeriod()
96 if (!node->children.empty()) { in SortByPeriod()
97 queue.push(&node->children); in SortByPeriod()
128 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()
160 if (!node->children.empty() && node->period != 0) { in DisplayCallGraphEntry()
164 for (size_t i = 0; i < node->children.size(); ++i) { in DisplayCallGraphEntry()
165 DisplayCallGraphEntry(fp, depth + 1, prefix, node->children[i], in DisplayCallGraphEntry()
166 node->children_period + node->period, (i + 1 == node->children.size())); in DisplayCallGraphEntry()
/system/extras/simpleperf/scripts/purgatorio/templates/
Dmain.js157 for (let j = 0; j < node.children.length; j ++) {
158 if (node.children[j].name == entry) {
165 node.children.push({name: entry, value:0, children:[]}) property
166 entry_pos = node.children.length - 1
169 node = node.children[entry_pos]
177 let root = {name: inverted ? "samples" : "processes", value: 0, children: []} property
217 if (root.children.length == 1) {
218 root = root.children[0]
/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:
260 s += '+ ' if node.children and i == len(node.call_stack) - 1 else ' '
267 for child in node.children:
Dreport_html.py365 self.children: Dict[int, CallNode] = collections.OrderedDict()
368 child = self.children.get(func_id)
370 child = self.children[func_id] = CallNode(func_id)
375 for child in self.children.values():
382 for key in self.children:
383 child = self.children[key]
389 del self.children[key]
396 result['c'] = [child.gen_sample_info() for child in self.children.values()]
402 for key, child in node.children.items():
403 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/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.
Dzygote.te25 # Move children into the peer process group.
/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.
/system/core/fastboot/fuzzy_fastboot/
Dextensions.h94 std::unordered_set<std::string> children; member
Dmain.cpp1388 for (const auto& part : info.children) { in TEST_P()
1400 for (const auto& part : info.children) { in TEST_P()
1421 for (const auto& part : info.children) { in TEST_P()
1429 for (const auto& part : info.children) { in TEST_P()
1467 for (const auto& part : info.children) { in TEST_P()
1479 for (const auto& part : info.children) { in TEST_P()
1506 for (const auto& part : info.children) { in TEST_P()
/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.
Dzygote.te25 # Move children into the peer process group.
/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.
/system/sepolicy/prebuilts/api/31.0/private/
Dwebview_zygote.te46 # Allow webview_zygote to manage the pgroup of its children.
49 # Interaction between the webview_zygote and its children.
/system/sepolicy/private/
Dwebview_zygote.te46 # Allow webview_zygote to manage the pgroup of its children.
49 # 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]

12