Home
last modified time | relevance | path

Searched refs:colon_idx (Results 1 – 2 of 2) sorted by relevance

/external/yapf/yapf/yapflib/
Dsplit_penalty.py102 colon_idx = 1
103 while pytree_utils.NodeName(node.children[colon_idx]) == 'simple_stmt':
104 colon_idx += 1
105 _SetUnbreakable(node.children[colon_idx])
107 while colon_idx < len(node.children):
108 if isinstance(node.children[colon_idx], pytree.Leaf):
109 if node.children[colon_idx].value == ':':
111 if node.children[colon_idx].value == '->':
112 arrow_idx = colon_idx
113 colon_idx += 1
[all …]
/external/perfetto/src/profiling/
Ddeobfuscator.cc125 auto colon_idx = type_name.find(':'); in ParseMember() local
126 if (colon_idx != std::string::npos) { in ParseMember()
127 type_name = type_name.substr(colon_idx + 1); in ParseMember()