Home
last modified time | relevance | path

Searched refs:convertToString (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/LLVM/unittests/ADT/
DAPFloatTest.cpp27 static std::string convertToString(double d, unsigned Prec, unsigned Pad) { in convertToString() function
336 ASSERT_EQ("10", convertToString(10.0, 6, 3)); in TEST()
337 ASSERT_EQ("1.0E+1", convertToString(10.0, 6, 0)); in TEST()
338 ASSERT_EQ("10100", convertToString(1.01E+4, 5, 2)); in TEST()
339 ASSERT_EQ("1.01E+4", convertToString(1.01E+4, 4, 2)); in TEST()
340 ASSERT_EQ("1.01E+4", convertToString(1.01E+4, 5, 1)); in TEST()
341 ASSERT_EQ("0.0101", convertToString(1.01E-2, 5, 2)); in TEST()
342 ASSERT_EQ("0.0101", convertToString(1.01E-2, 4, 2)); in TEST()
343 ASSERT_EQ("1.01E-2", convertToString(1.01E-2, 5, 1)); in TEST()
344 ASSERT_EQ("0.7853981633974483", convertToString(0.78539816339744830961, 0, 3)); in TEST()
[all …]
/external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/
DCategory.java191 String m = convertToString(message); in differentiatedLog()
330 protected final String convertToString(Object message) { in convertToString() method in Category
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPFloatTest.cpp30 static std::string convertToString(double d, unsigned Prec, unsigned Pad, in convertToString() function
854 std::string roundtrip = convertToString(convertToDoubleFromString(second), 0, 3); in TEST()
957 ASSERT_EQ("10", convertToString(10.0, 6, 3)); in TEST()
958 ASSERT_EQ("1.0E+1", convertToString(10.0, 6, 0)); in TEST()
959 ASSERT_EQ("10100", convertToString(1.01E+4, 5, 2)); in TEST()
960 ASSERT_EQ("1.01E+4", convertToString(1.01E+4, 4, 2)); in TEST()
961 ASSERT_EQ("1.01E+4", convertToString(1.01E+4, 5, 1)); in TEST()
962 ASSERT_EQ("0.0101", convertToString(1.01E-2, 5, 2)); in TEST()
963 ASSERT_EQ("0.0101", convertToString(1.01E-2, 4, 2)); in TEST()
964 ASSERT_EQ("1.01E-2", convertToString(1.01E-2, 5, 1)); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp145 static bool convertToString(ArrayRef<uint64_t> Record, unsigned Idx, in convertToString() function
197 convertToString(Record, 0, ProducerIdentification); in readIdentificationBlock()
266 if (convertToString(Record, 0, S)) in hasObjCCategoryInModule()
336 if (convertToString(Record, 0, S)) in readModuleTriple()
1672 if (convertToString(Record, 0, TypeName)) in parseTypeTableBody()
1783 if (convertToString(Record, 0, BundleTags.back())) in parseOperandBundleTags()
1819 if (convertToString(Record, 0, SSN)) in parseSyncScopeNames()
1831 if (convertToString(Record, NameIndex, ValueName)) in recordValue()
2009 if (convertToString(Record, 1, ValueName)) in parseValueSymbolTable()
3268 if (convertToString(Record, 0, S)) in parseModule()
[all …]
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp659 static bool convertToString(ArrayRef<uint64_t> Record, unsigned Idx, in convertToString() function
1748 if (convertToString(Record, 0, TypeName)) in parseTypeTableBody()
1859 if (convertToString(Record, 0, BundleTags.back())) in parseOperandBundleTags()
1869 if (convertToString(Record, NameIndex, ValueName)) in recordValue()
2004 if (convertToString(Record, 1, ValueName)) in parseValueSymbolTable()
3538 convertToString(Record, 0, ProducerIdentification); in parseBitcodeVersion()
3726 if (convertToString(Record, 0, S)) in parseModule()
3733 if (convertToString(Record, 0, S)) in parseModule()
3740 if (convertToString(Record, 0, S)) in parseModule()
3748 if (convertToString(Record, 0, S)) in parseModule()
[all …]
/external/llvm/unittests/ADT/
DAPFloatTest.cpp27 static std::string convertToString(double d, unsigned Prec, unsigned Pad) { in convertToString() function
936 ASSERT_EQ("10", convertToString(10.0, 6, 3)); in TEST()
937 ASSERT_EQ("1.0E+1", convertToString(10.0, 6, 0)); in TEST()
938 ASSERT_EQ("10100", convertToString(1.01E+4, 5, 2)); in TEST()
939 ASSERT_EQ("1.01E+4", convertToString(1.01E+4, 4, 2)); in TEST()
940 ASSERT_EQ("1.01E+4", convertToString(1.01E+4, 5, 1)); in TEST()
941 ASSERT_EQ("0.0101", convertToString(1.01E-2, 5, 2)); in TEST()
942 ASSERT_EQ("0.0101", convertToString(1.01E-2, 4, 2)); in TEST()
943 ASSERT_EQ("1.01E-2", convertToString(1.01E-2, 5, 1)); in TEST()
944 ASSERT_EQ("0.78539816339744828", convertToString(0.78539816339744830961, 0, 3)); in TEST()
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstants.cpp1030 static std::string convertToString(const User *U, unsigned len) { in convertToString() function
1043 return convertToString(this, getNumOperands()); in getAsString()
1053 return convertToString(this, getNumOperands() - 1); in getAsCString()
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMessage.java306 byte[] bin = data.convertToString().getBytes(); in decode()
/external/swiftshader/third_party/subzero/src/
DPNaClTranslator.cpp1287 bool convertToString(NamesSetType &Names, StringType &ConvertedName) { in convertToString() function in __anon013ef65f0111::ValuesymtabParser
1326 if (convertToString(ValueNames, ConvertedName)) in ProcessRecord()
1336 if (convertToString(BlockNames, ConvertedName)) in ProcessRecord()