/external/llvm/unittests/Support/ |
raw_ostream_test.cpp | 174 EXPECT_EQ(" 0", printToString(format_decimal(0, 4), 4)); 175 EXPECT_EQ(" -1", printToString(format_decimal(-1, 4), 4)); 176 EXPECT_EQ(" -1", printToString(format_decimal(-1, 6), 6)); 177 EXPECT_EQ("1234567890", printToString(format_decimal(1234567890, 10), 10)); 179 printToString(format_decimal(INT64_MAX, 21), 21)); 181 printToString(format_decimal(INT64_MIN, 21), 21));
|
/external/llvm/include/llvm/Support/ |
Format.h | 141 /// This is a helper class used for format_hex() and format_decimal(). 183 /// format_decimal - Output \p N as a right justified, fixed-width decimal. If 185 /// OS << format_decimal(0, 5) => " 0" 186 /// OS << format_decimal(255, 5) => " 255" 187 /// OS << format_decimal(-1, 3) => " -1" 188 /// OS << format_decimal(12345, 3) => "12345" 189 inline FormattedNumber format_decimal(int64_t N, unsigned Width) { function in namespace:llvm
|
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/ |
i18n.py | 475 def format_decimal(self, number, format=None): member in class:I18n 479 >>> format_decimal(1.2345, locale='en_US') 481 >>> format_decimal(1.2346, locale='en_US') 483 >>> format_decimal(-1.2346, locale='en_US') 485 >>> format_decimal(1.2345, locale='sv_SE') 487 >>> format_decimal(12345, locale='de') 493 >>> format_decimal(12345.5, locale='en_US') 503 return numbers.format_decimal(number, format=format, 758 def format_decimal(number, format=None): function 759 """See :meth:`I18n.format_decimal`."" [all...] |
/external/llvm/tools/dsymutil/ |
MachODebugMapParser.cpp | 214 OS << '[' << format_decimal(Index, 6) << "] "
|
/external/llvm/tools/llvm-objdump/ |
MachODump.cpp | [all...] |