/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | pretty_printer.py | 53 def _indent(self): member in PrettyPrinter 65 self._print('%s%s="%s"' % (self._indent(), name, node)) 67 self._print('%s"%s"' % (self._indent(), node)) 76 self._print('%s%s=%s%s' % (self._indent(), self._field(name), 79 self._print('%s%s%s' % (self._indent(), self._type(node), cont)) 86 self._print('%s%s' % (self._indent(), self._warning('%s=<unset>' % f))) 91 self._print('%s%s=[' % (self._indent(), self._field(f))) 96 self._print('%s]' % (self._indent())) 98 self._print('%s%s=[]' % (self._indent(), self._field(f))) 101 self._print('%s%s=(' % (self._indent(), self._field(f))) [all …]
|
/external/python/cpython3/Lib/json/ |
D | encoder.py | 259 def _make_iterencode(markers, _default, _encoder, _indent, _floatstr, argument 274 if _indent is not None and not isinstance(_indent, str): 275 _indent = ' ' * _indent 287 if _indent is not None: 289 newline_indent = '\n' + _indent * _current_indent_level 328 yield '\n' + _indent * _current_indent_level 343 if _indent is not None: 345 newline_indent = '\n' + _indent * _current_indent_level 408 yield '\n' + _indent * _current_indent_level
|
/external/harfbuzz_ng/src/ |
D | gen-vowel-constraints.py | 87 def _indent (self, depth): member in ConstraintSet 92 indent = self._indent (depth) 100 s.append ('{}buffer->idx + {} < count &&\n'.format (self._indent (depth + 2), len (self._c))) 103 self._indent (depth + 2), cp, index + i, ')' if i == len (self._c) - 1 else ' &&')) 106 s.append ('{}buffer->next_glyph ();\n'.format (self._indent (depth + 1))) 107 s.append ('{}_output_dotted_circle (buffer);\n'.format (self._indent (depth + 1))) 118 s.append (self._indent (depth + 1)) 125 s.append ('{}break;\n'.format (self._indent (depth + 2)))
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | PKIXPolicyNode.java | 112 public String toString(String _indent) in toString() argument 115 _buf.append(_indent); in toString() 121 _buf.append(((PKIXPolicyNode)children.get(i)).toString(_indent + " ")); in toString() 124 _buf.append(_indent); in toString()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/ |
D | PKIXPolicyNode.java | 116 public String toString(String _indent) in toString() argument 119 _buf.append(_indent); in toString() 125 _buf.append(((PKIXPolicyNode)children.get(i)).toString(_indent + " ")); in toString() 128 _buf.append(_indent); in toString()
|
/external/python/cpython2/Lib/json/ |
D | encoder.py | 272 def _make_iterencode(markers, _default, _encoder, _indent, _floatstr, argument 298 if _indent is not None: 300 newline_indent = '\n' + (' ' * (_indent * _current_indent_level)) 336 yield '\n' + (' ' * (_indent * _current_indent_level)) 351 if _indent is not None: 353 newline_indent = '\n' + (' ' * (_indent * _current_indent_level)) 412 yield '\n' + (' ' * (_indent * _current_indent_level))
|
/external/mesa3d/src/gallium/tools/trace/ |
D | diff_state.py | 73 def _indent(self): member in Dumper 98 self._indent() 108 self._indent() 117 self._indent() 131 self._indent() 234 self.dumper._indent() 259 self.dumper._indent()
|
/external/libnl/python/netlink/ |
D | util.py | 81 self._indent = indent 145 return '\n' + self._indent + self.format(format_string)
|
/external/python/cpython3/Lib/ |
D | doctest.py | 228 def _indent(s, indent=4): function 1223 out('Trying:\n' + _indent(example.source) + 1224 'Expecting:\n' + _indent(example.want)) 1226 out('Trying:\n' + _indent(example.source) + 1249 'Exception raised:\n' + _indent(_exception_traceback(exc_info))) 1264 out.append(_indent(source)) 1693 return 'Differences (%s):\n' % kind + _indent(''.join(diff)) 1698 return 'Expected:\n%sGot:\n%s' % (_indent(want), _indent(got)) 1700 return 'Expected:\n%sGot nothing\n' % _indent(want) 1702 return 'Expected nothing\nGot:\n%s' % _indent(got)
|
D | argparse.py | 193 def _indent(self): member in HelpFormatter 213 self.formatter._indent() 240 self._indent() 622 self._indent()
|
/external/autotest/server/ |
D | server_job.py | 148 self._indent = 0 153 return self._indent 157 self._indent += 1 161 self._indent -= 1 169 self._indent = indent 171 self._indenter._indent = self._indent 172 return context(self, self._indent)
|
/external/python/cpython2/Lib/ |
D | doctest.py | 225 def _indent(s, indent=4): function 1209 out('Trying:\n' + _indent(example.source) + 1210 'Expecting:\n' + _indent(example.want)) 1212 out('Trying:\n' + _indent(example.source) + 1235 'Exception raised:\n' + _indent(_exception_traceback(exc_info))) 1250 out.append(_indent(source)) 1656 return 'Differences (%s):\n' % kind + _indent(''.join(diff)) 1661 return 'Expected:\n%sGot:\n%s' % (_indent(want), _indent(got)) 1663 return 'Expected:\n%sGot nothing\n' % _indent(want) 1665 return 'Expected nothing\nGot:\n%s' % _indent(got)
|
D | argparse.py | 188 def _indent(self): member in HelpFormatter 208 self.formatter._indent() 237 self._indent() 615 self._indent()
|
/external/fonttools/Lib/fontTools/misc/ |
D | etree.py | 179 _indent(self._root) 468 def _indent(elem, level=0): function 477 _indent(elem, level + 1)
|
/external/python/cpython2/Demo/parser/ |
D | unparse.py | 34 self._indent = 0 41 self.f.write("\n"+" "*self._indent + text) 50 self._indent += 1 54 self._indent -= 1
|
/external/python/cpython3/Tools/parser/ |
D | unparse.py | 34 self._indent = 0 41 self.f.write("\n"+" "*self._indent + text) 50 self._indent += 1 54 self._indent -= 1
|
/external/sfntly/cpp/src/test/tinyxml/ |
D | tinyxml.h | 1757 void SetIndent( const char* _indent ) { indent = _indent ? _indent : "" ; } in SetIndent() argument
|
/external/bcc/tests/cc/ |
D | catch.hpp | 3739 void spliceLine( std::size_t _indent, std::string& _remainder, std::size_t _pos ) { in spliceLine() argument 3740 lines.push_back( std::string( _indent, ' ' ) + _remainder.substr( 0, _pos ) ); in spliceLine() 4929 void spliceLine( std::size_t _indent, std::string& _remainder, std::size_t _pos ) { in spliceLine() argument 4930 lines.push_back( std::string( _indent, ' ' ) + _remainder.substr( 0, _pos ) ); in spliceLine()
|