Home
last modified time | relevance | path

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

/external/u-boot/tools/dtoc/
Dtest_dtoc.py19 from dtb_platdata import tab_to
80 self.assertEqual('fred ', tab_to(0, 'fred'))
81 self.assertEqual('fred\t', tab_to(1, 'fred'))
82 self.assertEqual('fred was here ', tab_to(1, 'fred was here'))
83 self.assertEqual('fred was here\t\t', tab_to(3, 'fred was here'))
84 self.assertEqual('exactly8 ', tab_to(1, 'exactly8'))
85 self.assertEqual('exactly8\t', tab_to(2, 'exactly8'))
Ddtb_platdata.py72 def tab_to(num_tabs, line): function
435 self.out('\t%s%s[%d]' % (tab_to(2, struct_name),
440 self.out('\t%s%s' % (tab_to(2, ptype),
465 self.buf('\t%s= ' % tab_to(3, '.' + member_name))