/external/libcxx/test/std/language.support/support.types/byteops/ |
D | to_integer.pass.cpp | 24 static_assert(noexcept(std::to_integer<int>(b1)), "" ); in main() 25 static_assert(std::is_same<int, decltype(std::to_integer<int>(b1))>::value, "" ); in main() 26 static_assert(std::is_same<long, decltype(std::to_integer<long>(b1))>::value, "" ); in main() 27 …static_assert(std::is_same<unsigned short, decltype(std::to_integer<unsigned short>(b1))>::value, … in main() 29 static_assert(std::to_integer<int>(b1) == 1, ""); in main() 30 static_assert(std::to_integer<int>(b3) == 3, ""); in main()
|
D | or.pass.cpp | 24 static_assert(std::to_integer<int>(b1 | b2) == 3, ""); in main() 25 static_assert(std::to_integer<int>(b1 | b8) == 9, ""); in main() 26 static_assert(std::to_integer<int>(b2 | b8) == 10, ""); in main() 28 static_assert(std::to_integer<int>(b2 | b1) == 3, ""); in main() 29 static_assert(std::to_integer<int>(b8 | b1) == 9, ""); in main() 30 static_assert(std::to_integer<int>(b8 | b2) == 10, ""); in main()
|
D | and.pass.cpp | 24 static_assert(std::to_integer<int>(b1 & b8) == 0, ""); in main() 25 static_assert(std::to_integer<int>(b1 & b9) == 1, ""); in main() 26 static_assert(std::to_integer<int>(b8 & b9) == 8, ""); in main() 28 static_assert(std::to_integer<int>(b8 & b1) == 0, ""); in main() 29 static_assert(std::to_integer<int>(b9 & b1) == 1, ""); in main() 30 static_assert(std::to_integer<int>(b9 & b8) == 8, ""); in main()
|
D | xor.pass.cpp | 24 static_assert(std::to_integer<int>(b1 ^ b8) == 9, ""); in main() 25 static_assert(std::to_integer<int>(b1 ^ b9) == 8, ""); in main() 26 static_assert(std::to_integer<int>(b8 ^ b9) == 1, ""); in main() 28 static_assert(std::to_integer<int>(b8 ^ b1) == 9, ""); in main() 29 static_assert(std::to_integer<int>(b9 ^ b1) == 8, ""); in main() 30 static_assert(std::to_integer<int>(b9 ^ b8) == 1, ""); in main()
|
D | and.assign.pass.cpp | 32 static_assert(std::to_integer<int>(test(b1, b8)) == 0, ""); in main() 33 static_assert(std::to_integer<int>(test(b1, b9)) == 1, ""); in main() 34 static_assert(std::to_integer<int>(test(b8, b9)) == 8, ""); in main() 36 static_assert(std::to_integer<int>(test(b8, b1)) == 0, ""); in main() 37 static_assert(std::to_integer<int>(test(b9, b1)) == 1, ""); in main() 38 static_assert(std::to_integer<int>(test(b9, b8)) == 8, ""); in main()
|
D | xor.assign.pass.cpp | 32 static_assert(std::to_integer<int>(test(b1, b8)) == 9, ""); in main() 33 static_assert(std::to_integer<int>(test(b1, b9)) == 8, ""); in main() 34 static_assert(std::to_integer<int>(test(b8, b9)) == 1, ""); in main() 36 static_assert(std::to_integer<int>(test(b8, b1)) == 9, ""); in main() 37 static_assert(std::to_integer<int>(test(b9, b1)) == 8, ""); in main() 38 static_assert(std::to_integer<int>(test(b9, b8)) == 1, ""); in main()
|
D | or.assign.pass.cpp | 32 static_assert(std::to_integer<int>(test(b1, b2)) == 3, ""); in main() 33 static_assert(std::to_integer<int>(test(b1, b8)) == 9, ""); in main() 34 static_assert(std::to_integer<int>(test(b2, b8)) == 10, ""); in main() 36 static_assert(std::to_integer<int>(test(b2, b1)) == 3, ""); in main() 37 static_assert(std::to_integer<int>(test(b8, b1)) == 9, ""); in main() 38 static_assert(std::to_integer<int>(test(b8, b2)) == 10, ""); in main()
|
D | lshift.pass.cpp | 26 static_assert(std::to_integer<int>(b1 << 1) == 2, ""); in main() 27 static_assert(std::to_integer<int>(b1 << 2) == 4, ""); in main() 28 static_assert(std::to_integer<int>(b3 << 4) == 48, ""); in main() 29 static_assert(std::to_integer<int>(b3 << 6) == 192, ""); in main()
|
D | rshift.pass.cpp | 32 static_assert(std::to_integer<int>(b100 >> 1) == 50, ""); in main() 33 static_assert(std::to_integer<int>(b100 >> 2) == 25, ""); in main() 34 static_assert(std::to_integer<int>(b115 >> 3) == 14, ""); in main() 35 static_assert(std::to_integer<int>(b115 >> 6) == 1, ""); in main()
|
D | not.pass.cpp | 24 static_assert(std::to_integer<int>(~b1) == 254, ""); in main() 25 static_assert(std::to_integer<int>(~b2) == 253, ""); in main() 26 static_assert(std::to_integer<int>(~b8) == 247, ""); in main()
|
D | rshift.assign.pass.cpp | 33 static_assert(std::to_integer<int>(test(b16)) == 4, "" ); in main() 34 static_assert(std::to_integer<int>(test(b192)) == 48, "" ); in main()
|
/external/llvm-project/libcxx/test/std/language.support/support.types/byteops/ |
D | to_integer.pass.cpp | 24 static_assert(noexcept(std::to_integer<int>(b1)), "" ); in main() 25 static_assert(std::is_same<int, decltype(std::to_integer<int>(b1))>::value, "" ); in main() 26 static_assert(std::is_same<long, decltype(std::to_integer<long>(b1))>::value, "" ); in main() 27 …static_assert(std::is_same<unsigned short, decltype(std::to_integer<unsigned short>(b1))>::value, … in main() 29 static_assert(std::to_integer<int>(b1) == 1, ""); in main() 30 static_assert(std::to_integer<int>(b3) == 3, ""); in main()
|
D | or.pass.cpp | 23 static_assert(std::to_integer<int>(b1 | b2) == 3, ""); in main() 24 static_assert(std::to_integer<int>(b1 | b8) == 9, ""); in main() 25 static_assert(std::to_integer<int>(b2 | b8) == 10, ""); in main() 27 static_assert(std::to_integer<int>(b2 | b1) == 3, ""); in main() 28 static_assert(std::to_integer<int>(b8 | b1) == 9, ""); in main() 29 static_assert(std::to_integer<int>(b8 | b2) == 10, ""); in main()
|
D | xor.pass.cpp | 23 static_assert(std::to_integer<int>(b1 ^ b8) == 9, ""); in main() 24 static_assert(std::to_integer<int>(b1 ^ b9) == 8, ""); in main() 25 static_assert(std::to_integer<int>(b8 ^ b9) == 1, ""); in main() 27 static_assert(std::to_integer<int>(b8 ^ b1) == 9, ""); in main() 28 static_assert(std::to_integer<int>(b9 ^ b1) == 8, ""); in main() 29 static_assert(std::to_integer<int>(b9 ^ b8) == 1, ""); in main()
|
D | and.pass.cpp | 23 static_assert(std::to_integer<int>(b1 & b8) == 0, ""); in main() 24 static_assert(std::to_integer<int>(b1 & b9) == 1, ""); in main() 25 static_assert(std::to_integer<int>(b8 & b9) == 8, ""); in main() 27 static_assert(std::to_integer<int>(b8 & b1) == 0, ""); in main() 28 static_assert(std::to_integer<int>(b9 & b1) == 1, ""); in main() 29 static_assert(std::to_integer<int>(b9 & b8) == 8, ""); in main()
|
D | or.assign.pass.cpp | 31 static_assert(std::to_integer<int>(test(b1, b2)) == 3, ""); in main() 32 static_assert(std::to_integer<int>(test(b1, b8)) == 9, ""); in main() 33 static_assert(std::to_integer<int>(test(b2, b8)) == 10, ""); in main() 35 static_assert(std::to_integer<int>(test(b2, b1)) == 3, ""); in main() 36 static_assert(std::to_integer<int>(test(b8, b1)) == 9, ""); in main() 37 static_assert(std::to_integer<int>(test(b8, b2)) == 10, ""); in main()
|
D | xor.assign.pass.cpp | 31 static_assert(std::to_integer<int>(test(b1, b8)) == 9, ""); in main() 32 static_assert(std::to_integer<int>(test(b1, b9)) == 8, ""); in main() 33 static_assert(std::to_integer<int>(test(b8, b9)) == 1, ""); in main() 35 static_assert(std::to_integer<int>(test(b8, b1)) == 9, ""); in main() 36 static_assert(std::to_integer<int>(test(b9, b1)) == 8, ""); in main() 37 static_assert(std::to_integer<int>(test(b9, b8)) == 1, ""); in main()
|
D | and.assign.pass.cpp | 31 static_assert(std::to_integer<int>(test(b1, b8)) == 0, ""); in main() 32 static_assert(std::to_integer<int>(test(b1, b9)) == 1, ""); in main() 33 static_assert(std::to_integer<int>(test(b8, b9)) == 8, ""); in main() 35 static_assert(std::to_integer<int>(test(b8, b1)) == 0, ""); in main() 36 static_assert(std::to_integer<int>(test(b9, b1)) == 1, ""); in main() 37 static_assert(std::to_integer<int>(test(b9, b8)) == 8, ""); in main()
|
D | lshift.pass.cpp | 25 static_assert(std::to_integer<int>(b1 << 1) == 2, ""); in main() 26 static_assert(std::to_integer<int>(b1 << 2) == 4, ""); in main() 27 static_assert(std::to_integer<int>(b3 << 4) == 48, ""); in main() 28 static_assert(std::to_integer<int>(b3 << 6) == 192, ""); in main()
|
D | rshift.pass.cpp | 31 static_assert(std::to_integer<int>(b100 >> 1) == 50, ""); in main() 32 static_assert(std::to_integer<int>(b100 >> 2) == 25, ""); in main() 33 static_assert(std::to_integer<int>(b115 >> 3) == 14, ""); in main() 34 static_assert(std::to_integer<int>(b115 >> 6) == 1, ""); in main()
|
D | not.pass.cpp | 23 static_assert(std::to_integer<int>(~b1) == 254, ""); in main() 24 static_assert(std::to_integer<int>(~b2) == 253, ""); in main() 25 static_assert(std::to_integer<int>(~b8) == 247, ""); in main()
|
D | lshift.assign.pass.cpp | 32 static_assert(std::to_integer<int>(test(b2)) == 8, "" ); in main() 33 static_assert(std::to_integer<int>(test(b3)) == 12, "" ); in main()
|
D | rshift.assign.pass.cpp | 32 static_assert(std::to_integer<int>(test(b16)) == 4, "" ); in main() 33 static_assert(std::to_integer<int>(test(b192)) == 48, "" ); in main()
|
/external/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/ |
D | BreakpadRecords.cpp | 114 bool success = to_integer(age_str, age, 16); in parseModuleId() 227 if (!to_integer(Str, Number)) in parse() 260 if (!to_integer(Str, Address, 16)) in parsePublicOrFunc() 265 if (!to_integer(Str, *Size, 16)) in parsePublicOrFunc() 270 if (!to_integer(Str, ParamSize, 16)) in parsePublicOrFunc() 306 if (!to_integer(Str, Address, 16)) in parse() 311 if (!to_integer(Str, Size, 16)) in parse() 316 if (!to_integer(Str, LineNum)) in parse() 321 if (!to_integer(Str, FileNum)) in parse() 378 if (!to_integer(Str, Address, 16)) in parse() [all …]
|
/external/llvm-project/lldb/unittests/tools/lldb-server/tests/ |
D | MessageObjects.cpp | 83 if (!llvm::to_integer(KeyStr, Register, 10)) in parseRegisters() 169 if (!to_integer(Elements["bitsize"], Info.byte_size, 10)) in create() 173 if (!to_integer(Elements["offset"], Info.byte_offset, 10)) in create() 252 if (!to_integer(Key, Reg, 16)) in parseRegisters() 273 if (!to_integer(SignalStr, Signal, 16)) in create() 290 if (!to_integer(Elements["thread"][0], Thread, 16)) in create() 308 if (!to_integer(std::get<0>(ThreadPc), Id, 16)) in create() 331 if (!to_integer(Response, Status, 16)) in create()
|