Home
last modified time | relevance | path

Searched refs:format_decimal (Results 1 – 6 of 6) sorted by relevance

/external/llvm/unittests/Support/
Draw_ostream_test.cpp174 EXPECT_EQ(" 0", printToString(format_decimal(0, 4), 4)); in TEST()
175 EXPECT_EQ(" -1", printToString(format_decimal(-1, 4), 4)); in TEST()
176 EXPECT_EQ(" -1", printToString(format_decimal(-1, 6), 6)); in TEST()
177 EXPECT_EQ("1234567890", printToString(format_decimal(1234567890, 10), 10)); in TEST()
179 printToString(format_decimal(INT64_MAX, 21), 21)); in TEST()
181 printToString(format_decimal(INT64_MIN, 21), 21)); in TEST()
/external/chromium-trace/trace-viewer/third_party/webapp2/docs/api/webapp2_extras/
Di18n.rst31 format_time, format_timedelta, format_number, format_decimal,
50 .. autofunction:: format_decimal
/external/chromium-trace/trace-viewer/third_party/webapp2/tests/
Dextras_i18n_test.py286 self.assertEqual(i18n.format_decimal(1.2345), u'1.234')
287 self.assertEqual(i18n.format_decimal(1.2346), u'1.235')
288 self.assertEqual(i18n.format_decimal(-1.2346), u'-1.235')
289 self.assertEqual(i18n.format_decimal(12345.5), u'12,345.5')
292 self.assertEqual(i18n.format_decimal(1.2345), u'1,234')
295 self.assertEqual(i18n.format_decimal(12345), u'12.345')
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/
Di18n.py475 def format_decimal(self, number, format=None): member in I18n
503 return numbers.format_decimal(number, format=format,
758 def format_decimal(number, format=None): function
760 return get_i18n().format_decimal(number, format)
/external/llvm/include/llvm/Support/
DFormat.h187 inline FormattedNumber format_decimal(int64_t N, unsigned Width) { in format_decimal() function
/external/llvm/tools/llvm-objdump/
DMachODump.cpp8738 << format_decimal(Entry.addend(), 8) << " " in printMachOBindTable()
8800 << format_decimal(Entry.addend(), 8) << " " << Entry.symbolName() in printMachOWeakBindTable()