/external/googletest/googletest/test/ |
D | gtest_environment_test.cc | 112 void Check(bool condition, const char* msg) { in Check() function 139 Check(testing::AddGlobalTestEnvironment(env) == env, in main() 144 Check(RunAllTests(env, NO_FAILURE) != 0, in main() 147 Check(test_was_run, in main() 150 Check(env->tear_down_was_run(), in main() 155 Check(RunAllTests(env, NON_FATAL_FAILURE) != 0, in main() 158 Check(test_was_run, in main() 161 Check(env->tear_down_was_run(), in main() 166 Check(RunAllTests(env, FATAL_FAILURE) != 0, in main() 169 Check(!test_was_run, in main() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/ |
D | gtest_environment_test.cc | 112 void Check(bool condition, const char* msg) { in Check() function 139 Check(testing::AddGlobalTestEnvironment(env) == env, in main() 144 Check(RunAllTests(env, NO_FAILURE) != 0, in main() 147 Check(test_was_run, in main() 150 Check(env->tear_down_was_run(), in main() 155 Check(RunAllTests(env, NON_FATAL_FAILURE) != 0, in main() 158 Check(test_was_run, in main() 161 Check(env->tear_down_was_run(), in main() 166 Check(RunAllTests(env, FATAL_FAILURE) != 0, in main() 169 Check(!test_was_run, in main() [all …]
|
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
D | getpw_getgr.cpp | 14 void Check(const char *str) { in Check() function 20 void Check(const passwd *result) { in Check() function 21 Check(result->pw_name); in Check() 22 Check(result->pw_passwd); in Check() 26 Check(result->pw_gecos); in Check() 28 Check(result->pw_dir); in Check() 32 Check(result->pw_class); in Check() 43 void Check(const group *result) { in Check() function 44 Check(result->gr_name); in Check() 45 Check(result->gr_passwd); in Check() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | unpack_test.cc | 76 void Check(int axis, const std::initializer_list<int>& input_shape, in Check() function 111 Check<typename TestFixture::TypeToTest>( in TYPED_TEST() 119 Check<typename TestFixture::TypeToTest>( in TYPED_TEST() 127 Check<typename TestFixture::TypeToTest>( in TYPED_TEST() 135 Check<typename TestFixture::TypeToTest>( in TYPED_TEST() 143 Check<typename TestFixture::TypeToTest>( in TYPED_TEST() 152 Check<typename TestFixture::TypeToTest>( in TYPED_TEST() 162 Check<typename TestFixture::TypeToTest>( in TYPED_TEST() 171 Check<bool>( in TEST() 180 Check<bool>( in TEST() [all …]
|
D | split_test.cc | 80 void Check(TestType test_type, int axis, int num_splits, in Check() function 131 Check<TypeParam>(/*axis_as_tensor*/ test_type, in TYPED_TEST() 139 Check<TypeParam>(/*axis_as_tensor*/ test_type, in TYPED_TEST() 147 Check<TypeParam>(/*axis_as_tensor*/ test_type, in TYPED_TEST() 155 Check<TypeParam>(/*axis_as_tensor*/ test_type, in TYPED_TEST() 168 Check<TypeParam>(/*axis_as_tensor*/ test_type, in TYPED_TEST() 176 Check<TypeParam>(/*axis_as_tensor*/ test_type, in TYPED_TEST() 184 Check<TypeParam>(/*axis_as_tensor*/ test_type, in TYPED_TEST() 192 Check<TypeParam>(/*axis_as_tensor*/ test_type, in TYPED_TEST() 205 Check<TypeParam>(/*axis_as_tensor*/ test_type, in TYPED_TEST() [all …]
|
D | tile_test.cc | 89 void Check(std::initializer_list<int> input_shape, in Check() function 125 Check<float>(/*input_shape=*/{3}, in TEST_P() 134 Check<float>( in TEST_P() 145 Check<float>( in TEST_P() 159 Check<uint8_t>( in TEST_P() 169 Check<int32_t>( in TEST_P() 179 Check<bool>( in TEST_P() 191 Check<int64_t>( in TEST_P() 201 Check<int64_t, int64_t>( in TEST_P() 211 Check<std::string>( in TEST_P() [all …]
|
/external/capstone/arch/ARM/ |
D | ARMDisassembler.c | 113 static bool Check(DecodeStatus *Out, DecodeStatus In) in Check() function 736 Check(&result, AddThumbPredicate(ud, MI)); in _Thumb_getInstruction() 745 Check(&result, AddThumbPredicate(ud, MI)); in _Thumb_getInstruction() 759 Check(&result, AddThumbPredicate(ud, MI)); in _Thumb_getInstruction() 795 Check(&result, AddThumbPredicate(ud, MI)); in _Thumb_getInstruction() 804 Check(&result, AddThumbPredicate(ud, MI)); in _Thumb_getInstruction() 830 Check(&result, AddThumbPredicate(ud, MI)); in _Thumb_getInstruction() 843 Check(&result, AddThumbPredicate(ud, MI)); in _Thumb_getInstruction() 857 Check(&result, AddThumbPredicate(ud, MI)); in _Thumb_getInstruction() 933 Check(&S, DecodeGPRRegisterClass(Inst, RegNo, Address, Decoder)); in DecodeGPRnopcRegisterClass() [all …]
|
/external/llvm/test/CodeGen/SystemZ/ |
D | int-const-02.ll | 7 ; Check 0. 15 ; Check the high end of the LGHI range. 23 ; Check the next value up, which must use LLILL instead. 31 ; Check the high end of the LLILL range. 39 ; Check the first useful LLILH value, which is the next one up. 47 ; Check the first useful LGFI value, which is the next one up again. 55 ; Check the high end of the LGFI range. 63 ; Check the next value up, which should use LLILH instead. 71 ; Check the next value up again, which should use LLILF. 79 ; Check the high end of the LLILH range. [all …]
|
D | or-04.ll | 5 ; Check the lowest useful OILL value. 14 ; Check the high end of the OILL range. 23 ; Check the lowest useful OILH value, which is the next value up. 32 ; Check the lowest useful OILF value, which is the next value up again. 41 ; Check the high end of the OILH range. 50 ; Check the high end of the OILF range. 59 ; Check the lowest useful OIHL value, which is the next value up. 68 ; Check the next value up again, which must use two ORs. 78 ; Check the high end of the OILL range. 88 ; Check the next value up, which must use OILH [all …]
|
D | int-mul-05.ll | 5 ; Check multiplication by 2, which should use shifts. 14 ; Check multiplication by 3. 23 ; Check the high end of the MHI range. 32 ; Check the next value up, which should use shifts. 41 ; Check the next value up again, which can use MSFI. 50 ; Check the high end of the MSFI range. 59 ; Check the next value up, which should use shifts. 68 ; Check the next value up again, which is treated as a negative value. 77 ; Check multiplication by -1, which is a negation. 86 ; Check multiplication by -2, which should use shifts. [all …]
|
D | int-mul-06.ll | 5 ; Check multiplication by 2, which should use shifts. 14 ; Check multiplication by 3. 23 ; Check the high end of the MGHI range. 32 ; Check the next value up, which should use shifts. 41 ; Check the next value up again, which can use MSGFI. 50 ; Check the high end of the MSGFI range. 59 ; Check the next value up, which should use shifts. 68 ; Check the next value up again, which cannot use a constant multiplicatoin. 77 ; Check multiplication by -1, which is a negation. 86 ; Check multiplication by -2, which should use shifts. [all …]
|
/external/llvm-project/llvm/test/CodeGen/SystemZ/ |
D | int-const-02.ll | 7 ; Check 0. 15 ; Check the high end of the LGHI range. 23 ; Check the next value up, which must use LLILL instead. 31 ; Check the high end of the LLILL range. 39 ; Check the first useful LLILH value, which is the next one up. 47 ; Check the first useful LGFI value, which is the next one up again. 55 ; Check the high end of the LGFI range. 63 ; Check the next value up, which should use LLILH instead. 71 ; Check the next value up again, which should use LLILF. 79 ; Check the high end of the LLILH range. [all …]
|
D | or-04.ll | 5 ; Check the lowest useful OILL value. 14 ; Check the high end of the OILL range. 23 ; Check the lowest useful OILH value, which is the next value up. 32 ; Check the lowest useful OILF value, which is the next value up again. 41 ; Check the high end of the OILH range. 50 ; Check the high end of the OILF range. 59 ; Check the lowest useful OIHL value, which is the next value up. 68 ; Check the next value up again, which must use two ORs. 78 ; Check the high end of the OILL range. 88 ; Check the next value up, which must use OILH [all …]
|
/external/google-fruit/tests/ |
D | tested_features.md | 7 * **TODO** Check what happens with non-normalized types (all kinds) 11 * Check that calling bindInstance with a non-normalized type (e.g. const pointer, nonconst ptr, etc… 17 * Check that bind<T, T> causes an easy-to-understand error 19 * Check that bind<X, Y>, bind<Y, Z> is allowed if Z derives from Y and Y derives from X 21 * Check that the types passed to bind<> are normalized 22 * Check that bind<I, C> also means bind<std::function<std::unique_ptr<I>(Args...)>, std::function<s… 39 * **TODO** Check that a default-constructible type without an Inject typedef can't be auto-injected 44 * Check that lambdas with captures are forbidden 45 * **TODO** Check that non-lambda functors/functions are forbidden 46 * **TODO** Check that objects without operator() are forbidden [all …]
|
/external/gemmlowp/test/ |
D | test_math_helpers.cc | 36 Check(x >= RoundDown<Modulus>(x)); in test_round_up_down() 37 Check(x < RoundDown<Modulus>(x) + Modulus); in test_round_up_down() 38 Check(RoundDown<Modulus>(x) % Modulus == 0); in test_round_up_down() 40 Check(x <= RoundUp<Modulus>(x)); in test_round_up_down() 41 Check(x > RoundUp<Modulus>(x) - Modulus); in test_round_up_down() 42 Check(RoundUp<Modulus>(x) % Modulus == 0); in test_round_up_down() 56 Check(CeilQuotient(x, y) * y >= x); in test_ceil_quotient() 57 Check(CeilQuotient(x, y) * y < x + y); in test_ceil_quotient() 77 Check(RoundUpToPowerOfTwo(RoundUpToPowerOfTwo(x) == RoundUpToPowerOfTwo(x))); in test_round_up_to_next_power_of_two() 78 Check(RoundUpToPowerOfTwo(x) >= x); in test_round_up_to_next_power_of_two() [all …]
|
/external/llvm-project/flang/lib/Semantics/ |
D | pointer-assignment.cpp | 57 bool Check(const SomeExpr &); 60 template <typename T> bool Check(const T &); 61 template <typename T> bool Check(const evaluate::Expr<T> &); 62 template <typename T> bool Check(const evaluate::FunctionRef<T> &); 63 template <typename T> bool Check(const evaluate::Designator<T> &); 64 bool Check(const evaluate::NullPointer &); 65 bool Check(const evaluate::ProcedureDesignator &); 66 bool Check(const evaluate::ProcedureRef &); 68 bool Check( 108 template <typename T> bool PointerAssignmentChecker::Check(const T &) { in Check() function in Fortran::semantics::PointerAssignmentChecker [all …]
|
/external/llvm/test/CodeGen/AArch64/ |
D | aarch64-dynamic-stack-layout.ll | 100 ; Check that used callee-saved registers are saved 103 ; Check correctness of cfi pseudo-instructions 107 ; Check correct access to arguments passed on the stack, through stack pointer 110 ; Check correct access to local variable on the stack, through stack pointer 112 ; Check epilogue: 119 ; Check that used callee-saved registers are saved 122 ; Check that the frame pointer is created: 125 ; Check correctness of cfi pseudo-instructions 131 ; Check correct access to arguments passed on the stack, through frame pointer 134 ; Check correct access to local variable on the stack, through stack pointer [all …]
|
/external/llvm-project/llvm/test/CodeGen/AArch64/ |
D | aarch64-dynamic-stack-layout.ll | 100 ; Check that used callee-saved registers are saved 103 ; Check correctness of cfi pseudo-instructions 107 ; Check correct access to arguments passed on the stack, through stack pointer 110 ; Check correct access to local variable on the stack, through stack pointer 112 ; Check epilogue: 119 ; Check that used callee-saved registers are saved 122 ; Check that the frame pointer is created: 125 ; Check correctness of cfi pseudo-instructions 131 ; Check correct access to arguments passed on the stack, through frame pointer 134 ; Check correct access to local variable on the stack, through stack pointer [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/Disassembler/ |
D | ARMDisassembler.cpp | 160 static bool Check(DecodeStatus &Out, DecodeStatus In) { in Check() function 841 Check(S, SoftFail); in AddThumbPredicate() 865 Check(S, SoftFail); in AddThumbPredicate() 895 Check(S, SoftFail); in UpdateThumbVFPPredicate() 927 Check(Result, AddThumbPredicate(MI)); in getThumbInstruction() 936 Check(Result, AddThumbPredicate(MI)); in getThumbInstruction() 951 Check(Result, AddThumbPredicate(MI)); in getThumbInstruction() 988 Check(Result, AddThumbPredicate(MI)); in getThumbInstruction() 1003 Check(Result, AddThumbPredicate(MI)); in getThumbInstruction() 1012 Check(Result, AddThumbPredicate(MI)); in getThumbInstruction() [all …]
|
/external/llvm-project/llvm/lib/Target/ARM/Disassembler/ |
D | ARMDisassembler.cpp | 160 static bool Check(DecodeStatus &Out, DecodeStatus In) { in Check() function 842 Check(S, SoftFail); in AddThumbPredicate() 867 Check(S, SoftFail); in AddThumbPredicate() 897 Check(S, SoftFail); in UpdateThumbVFPPredicate() 929 Check(Result, AddThumbPredicate(MI)); in getThumbInstruction() 938 Check(Result, AddThumbPredicate(MI)); in getThumbInstruction() 953 Check(Result, AddThumbPredicate(MI)); in getThumbInstruction() 990 Check(Result, AddThumbPredicate(MI)); in getThumbInstruction() 1005 Check(Result, AddThumbPredicate(MI)); in getThumbInstruction() 1014 Check(Result, AddThumbPredicate(MI)); in getThumbInstruction() [all …]
|
/external/llvm/lib/Target/ARM/Disassembler/ |
D | ARMDisassembler.cpp | 123 static bool Check(DecodeStatus &Out, DecodeStatus In) { in Check() function 719 Check(Result, AddThumbPredicate(MI)); in getInstruction() 728 Check(Result, AddThumbPredicate(MI)); in getInstruction() 743 Check(Result, AddThumbPredicate(MI)); in getInstruction() 771 Check(Result, AddThumbPredicate(MI)); in getInstruction() 780 Check(Result, AddThumbPredicate(MI)); in getInstruction() 806 Check(Result, AddThumbPredicate(MI)); in getInstruction() 819 Check(Result, AddThumbPredicate(MI)); in getInstruction() 833 Check(Result, AddThumbPredicate(MI)); in getInstruction() 899 Check(S, DecodeGPRRegisterClass(Inst, RegNo, Address, Decoder)); in DecodeGPRnopcRegisterClass() [all …]
|
/external/llvm/utils/FileCheck/ |
D | FileCheck.cpp | 82 namespace Check { namespace 103 Check::CheckType CheckTy; 128 Pattern(Check::CheckType Ty) in Pattern() 161 Check::CheckType getCheckTy() const { return CheckTy; } in getCheckTy() 190 bool MatchFullLinesHere = MatchFullLines && CheckTy != Check::CheckNot; in ParsePattern() 408 if (CheckTy == Check::CheckEOF) { in Match() 639 size_t Check(const SourceMgr &SM, StringRef Buffer, bool IsLabelScanMode, 700 static size_t CheckTypeSize(Check::CheckType Ty) { in CheckTypeSize() 702 case Check::CheckNone: in CheckTypeSize() 703 case Check::CheckBadNot: in CheckTypeSize() [all …]
|
/external/clang/include/clang/StaticAnalyzer/Checkers/ |
D | Checkers.td | 87 HelpText<"Check for dereferences of null pointers">, 91 …HelpText<"Check for logical errors for function calls and Objective-C message expressions (e.g., u… 95 …HelpText<"Check for null pointers passed as arguments to a function whose arguments are references… 99 HelpText<"Check for declarations of VLA of undefined or zero size">, 103 HelpText<"Check for division by zero">, 107 HelpText<"Check for undefined results of binary operators">, 111 HelpText<"Check that addresses to stack memory do not escape the function">, 127 …HelpText<"Check when casting a malloc'ed type T, whether the size is a multiple of the size of T">, 131 HelpText<"Check for cast from non-struct pointer to struct pointer">, 139 HelpText<"Check for assignment of a fixed address to a pointer">, [all …]
|
/external/webrtc/rtc_base/ |
D | socket_unittest.cc | 251 EXPECT_FALSE(sink.Check(server.get(), SSE_READ)); in ConnectInternal() 262 EXPECT_FALSE(sink.Check(client.get(), SSE_OPEN)); in ConnectInternal() 263 EXPECT_FALSE(sink.Check(client.get(), SSE_CLOSE)); in ConnectInternal() 266 EXPECT_TRUE_WAIT((sink.Check(server.get(), SSE_READ)), kTimeout); in ConnectInternal() 279 EXPECT_TRUE(sink.Check(client.get(), SSE_OPEN)); in ConnectInternal() 280 EXPECT_FALSE(sink.Check(client.get(), SSE_CLOSE)); in ConnectInternal() 311 EXPECT_FALSE(sink.Check(client.get(), SSE_OPEN)); in ConnectWithDnsLookupInternal() 312 EXPECT_FALSE(sink.Check(client.get(), SSE_CLOSE)); in ConnectWithDnsLookupInternal() 315 EXPECT_TRUE_WAIT((sink.Check(server.get(), SSE_READ)), kTimeout); in ConnectWithDnsLookupInternal() 328 EXPECT_TRUE(sink.Check(client.get(), SSE_OPEN)); in ConnectWithDnsLookupInternal() [all …]
|
/external/capstone/arch/AArch64/ |
D | AArch64GenDisassemblerTables.inc | 9611 …if (!Check(&S, DecodeExclusiveLdStInstruction(MI, insn, Address, Decoder))) return MCDisassembler_… 9614 …if (!Check(&S, DecodeThreeAddrSRegInstruction(MI, insn, Address, Decoder))) return MCDisassembler_… 9617 …if (!Check(&S, DecodeAddSubERegInstruction(MI, insn, Address, Decoder))) return MCDisassembler_Fai… 9620 …if (!Check(&S, DecodePairLdStInstruction(MI, insn, Address, Decoder))) return MCDisassembler_Fail;… 9624 … if (!Check(&S, DecodeDDDDRegisterClass(MI, tmp, Address, Decoder))) return MCDisassembler_Fail; \ 9626 …if (!Check(&S, DecodeGPR64spRegisterClass(MI, tmp, Address, Decoder))) return MCDisassembler_Fail;… 9630 if (!Check(&S, DecodeDDDRegisterClass(MI, tmp, Address, Decoder))) return MCDisassembler_Fail; \ 9632 …if (!Check(&S, DecodeGPR64spRegisterClass(MI, tmp, Address, Decoder))) return MCDisassembler_Fail;… 9636 … if (!Check(&S, DecodeFPR64RegisterClass(MI, tmp, Address, Decoder))) return MCDisassembler_Fail; \ 9638 …if (!Check(&S, DecodeGPR64spRegisterClass(MI, tmp, Address, Decoder))) return MCDisassembler_Fail;… [all …]
|