/external/Microsoft-GSL/tests/ |
D | byte_tests.cpp | 103 CHECK(0x12 == gsl::to_integer<char>(b)); 104 CHECK(0x12 == gsl::to_integer<short>(b)); 105 CHECK(0x12 == gsl::to_integer<long>(b)); 106 CHECK(0x12 == gsl::to_integer<long long>(b)); 108 CHECK(0x12 == gsl::to_integer<unsigned char>(b)); 109 CHECK(0x12 == gsl::to_integer<unsigned short>(b)); 110 CHECK(0x12 == gsl::to_integer<unsigned long>(b)); 111 CHECK(0x12 == gsl::to_integer<unsigned long long>(b));
|
/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 | 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 | 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.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 | 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 | 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()
|
D | lshift.assign.pass.cpp | 33 static_assert(std::to_integer<int>(test(b2)) == 8, "" ); in main() 34 static_assert(std::to_integer<int>(test(b3)) == 12, "" ); in main()
|
D | enum_direct_init.pass.cpp | 20 static_assert(std::to_integer<int>(b) == 42, ""); in main()
|
D | to_integer.fail.cpp | 22 auto f = std::to_integer<float>(b1); in main()
|
/external/v8/src/interpreter/ |
D | interpreter-intrinsics.h | 39 V(ToInteger, to_integer, 1) \
|
/external/Microsoft-GSL/include/gsl/ |
D | gsl_byte | 93 using std::to_integer; 160 constexpr IntegerType to_integer(byte b) noexcept
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | StringExtras.h | 193 template <typename N> bool to_integer(StringRef S, N &Num, unsigned Base = 0) {
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt/ |
D | Debugify.cpp | 268 (void)to_integer(DVI->getVariable()->getName(), Var, 10); in checkDebugifyMetadata()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/ |
D | llvm-pdbutil.cpp | 1241 if (to_integer(opts::exportstream::Stream, Index)) { in exportStream() 1280 if (!to_integer(Matches[1], Parsed->Min)) in parseRange() 1285 if (!to_integer(Matches[3], *Parsed->Max)) in parseRange()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/ |
D | Analysis.cpp | 425 if (!llvm::to_integer(Representative[I].key(), ProcResIdx, 10)) { in measurementsMatch()
|
/external/v8/src/arm/ |
D | disasm-arm.cc | 1758 bool to_integer = (instr->Bit(18) == 1); in DecodeVCVTBetweenFloatingPointAndInteger() local 1760 if (to_integer) { in DecodeVCVTBetweenFloatingPointAndInteger()
|
D | simulator-arm.cc | 3742 bool to_integer = (instr->Bit(18) == 1); in DecodeVCVTBetweenFloatingPointAndInteger() local 3747 if (to_integer) { in DecodeVCVTBetweenFloatingPointAndInteger()
|
/external/v8/src/ |
D | code-stub-assembler.cc | 7274 Label to_integer(this), negative_check(this), in ToSmiLength() local 7277 GotoIfNot(TaggedIsSmi(input), &to_integer); in ToSmiLength() 7281 BIND(&to_integer); in ToSmiLength()
|
/external/libcxx/include/ |
D | type_traits | 4858 to_integer(byte __b) noexcept { return static_cast<_Integer>(__b); }
|