Home
last modified time | relevance | path

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

/external/yapf/yapf/yapflib/
Dsplit_penalty.py94 colon_idx = 1
95 while pytree_utils.NodeName(node.children[colon_idx]) == 'simple_stmt':
96 colon_idx += 1
97 _SetUnbreakable(node.children[colon_idx])
99 while colon_idx < len(node.children):
100 if isinstance(node.children[colon_idx], pytree.Leaf):
101 if node.children[colon_idx].value == ':':
103 if node.children[colon_idx].value == '->':
104 arrow_idx = colon_idx
105 colon_idx += 1
[all …]
/external/llvm-project/lldb/tools/debugserver/source/
DStdStringExtractor.cpp325 const size_t colon_idx = m_packet.find(':', m_index); in GetNameColonValue() local
326 if (colon_idx != std::string::npos) { in GetNameColonValue()
327 const size_t semicolon_idx = m_packet.find(';', colon_idx); in GetNameColonValue()
329 name.assign(m_packet, m_index, colon_idx - m_index); in GetNameColonValue()
330 value.assign(m_packet, colon_idx + 1, semicolon_idx - (colon_idx + 1)); in GetNameColonValue()
/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()