Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 3902) sorted by relevance

12345678910>>...157

/external/valgrind/memcheck/tests/
Dstr_tester.c49 check (int thing, int number) in check() function
62 check(a != NULL && b != NULL && STREQ (a, b), number); in equal()
73 check (strcmp ("", "") == 0, 1); /* Trivial case. */ in test_strcmp()
74 check (strcmp ("a", "a") == 0, 2); /* Identity. */ in test_strcmp()
75 check (strcmp ("abc", "abc") == 0, 3); /* Multicharacter. */ in test_strcmp()
76 check (strcmp ("abc", "abcd") < 0, 4); /* Length mismatches. */ in test_strcmp()
77 check (strcmp ("abcd", "abc") > 0, 5); in test_strcmp()
78 check (strcmp ("abcd", "abce") < 0, 6); /* Honest miscompares. */ in test_strcmp()
79 check (strcmp ("abce", "abcd") > 0, 7); in test_strcmp()
80 check (strcmp ("a\203", "a") > 0, 8); /* Tricky if char signed. */ in test_strcmp()
[all …]
/external/clang/test/Lexer/
Dcxx-features.cpp8 #define check(macro, cxx98, cxx11, cxx1y) cxx98 == 0 ? defined(__cpp_##macro) : __cpp_##macro != cx… macro
10 #define check(macro, cxx98, cxx11, cxx1y) cxx11 == 0 ? defined(__cpp_##macro) : __cpp_##macro != cx… macro
12 #define check(macro, cxx98, cxx11, cxx1y) cxx1y == 0 ? defined(__cpp_##macro) : __cpp_##macro != cx… macro
15 #if check(binary_literals, 0, 0, 201304)
19 #if check(digit_separators, 0, 0, 201309)
23 #if check(init_captures, 0, 0, 201304)
27 #if check(generic_lambdas, 0, 0, 201304)
31 #if check(sized_deallocation, 0, 0, 201309)
35 #if check(constexpr, 0, 200704, 201304)
39 #if check(decltype_auto, 0, 0, 201304)
[all …]
/external/v8/test/cctest/
Dtest-ostreams.cc54 static void check(const char* expected, T value) { in check() function
62 check<bool>("0 0", false); in TEST()
63 check<bool>("1 1", true); in TEST()
65 check<int16_t>("-12345 cfc7", -12345); in TEST()
66 check<int16_t>("-32768 8000", std::numeric_limits<int16_t>::min()); in TEST()
67 check<int16_t>("32767 7fff", std::numeric_limits<int16_t>::max()); in TEST()
69 check<uint16_t>("34567 8707", 34567); in TEST()
70 check<uint16_t>("0 0", std::numeric_limits<uint16_t>::min()); in TEST()
71 check<uint16_t>("65535 ffff", std::numeric_limits<uint16_t>::max()); in TEST()
73 check<int32_t>("-1234567 ffed2979", -1234567); in TEST()
[all …]
/external/jsmn/
Djsmn_test.c15 #define check(cond) do { if (!(cond)) fail(); } while (0) macro
53 check(r >= 0); in test_empty()
54 check(t[0].type == JSMN_OBJECT); in test_empty()
55 check(t[0].start == 0 && t[0].end == 2); in test_empty()
60 check(r >= 0); in test_empty()
61 check(t[0].type == JSMN_ARRAY); in test_empty()
62 check(t[0].start == 0 && t[0].end == 2); in test_empty()
67 check(r >= 0); in test_empty()
68 check(t[0].type == JSMN_OBJECT && t[0].start == 0 && t[0].end == 8); in test_empty()
69 check(t[1].type == JSMN_STRING && t[1].start == 2 && t[1].end == 3); in test_empty()
[all …]
/external/clang/test/Analysis/
Dtemporaries.cpp119 extern bool check(const Dtor &);
124 if (coin() && (coin() || coin() || check(Dtor()))) { in testPR16664andPR18159Crash()
149 extern bool check(const NoReturnDtor &);
154 if (i == 5 && (i == 4 || check(NoReturnDtor()) || i == 5)) { in testConsistencyIf()
160 (i == 5 && (i == 4 || check(NoReturnDtor()) || i == 5)) ? 1 : 0; in testConsistencyTernary()
167 (i == 5 && (i == 4 || check(NoReturnDtor()) || i == 5)) ? 1 : 0; in testConsistencyTernary()
177 if (i == 5 && (i == 4 || i == 5 || check(NoReturnDtor()))) in testConsistencyNested()
180 if (i == 5 && (i == 4 || i == 5 || check(NoReturnDtor()))) in testConsistencyNested()
188 compute(i == 5 && (i == 4 || check(NoReturnDtor()))))) || in testConsistencyNested()
195 compute(i == 5 && (i == 4 || check(NoReturnDtor()))))) || in testConsistencyNested()
[all …]
/external/llvm/test/FileCheck/
Dimplicit-check-not.txt1 ; RUN: sed 's#^;.*##' %s | FileCheck -check-prefix=CHECK-PASS -implicit-check-not=warning: %s
2 …sed 's#^;.*##' %s | not FileCheck -check-prefix=CHECK-FAIL1 -implicit-check-not=warning: %s 2>&1 |…
3 …sed 's#^;.*##' %s | not FileCheck -check-prefix=CHECK-FAIL2 -implicit-check-not=warning: %s 2>&1 |…
4 …sed 's#^;.*##' %s | not FileCheck -check-prefix=CHECK-FAIL3 -implicit-check-not=warning: %s 2>&1 |…
5 …s#^;.*##' %s | not FileCheck -check-prefix=CHECK-FAIL1 -implicit-check-not='{{aaa|bbb|ccc}}' %s 2>…
6 …t FileCheck -check-prefix=CHECK-FAIL1 -implicit-check-not=aaa -implicit-check-not=bbb -implicit-ch…
7 …t FileCheck -check-prefix=CHECK-FAIL2 -implicit-check-not=aaa -implicit-check-not=bbb -implicit-ch…
8 …t FileCheck -check-prefix=CHECK-FAIL3 -implicit-check-not=aaa -implicit-check-not=bbb -implicit-ch…
14 ; CHECK-ERROR1-NEXT: -implicit-check-not='warning:'
19 ; CHECK-ERROR4-NEXT: {{-implicit-check-not='\{\{aaa\|bbb\|ccc\}\}'}}
[all …]
/external/clang/test/Sema/
Darm-layout.c5 #define check(name, cond) int _##name##_check[(cond) ? 1 : -1] macro
9 check(s0_size, sizeof(struct s0) == 16);
11 check(s0_size, sizeof(struct s0) == 12);
16 check(s1_size, sizeof(struct s1) == 16);
18 check(s1_size, sizeof(struct s1) == 12);
27 check(s2_size, sizeof(struct s2) == 8);
28 check(s2_offset_0, __builtin_offsetof(struct s2, field0) == 0);
29 check(s2_offset_1, __builtin_offsetof(struct s2, field2) == 7);
31 check(s2_size, sizeof(struct s2) == 6);
32 check(s2_offset_0, __builtin_offsetof(struct s2, field0) == 0);
[all …]
Dbuiltin-unary-fp.c2 void check(int);
4 check(__builtin_isfinite(1.0f)); in a()
5 check(__builtin_isinf(1.0)); in a()
6 check(__builtin_isinf_sign(1.0L)); in a()
7 check(__builtin_isnan(1.0f)); in a()
8 check(__builtin_isnormal(1.0f)); in a()
9 check(__builtin_isfinite(1)); // expected-error{{requires argument of floating point type}} in a()
10 check(__builtin_isinf()); // expected-error{{too few arguments}} in a()
11 check(__builtin_isnan(1,2)); // expected-error{{too many arguments}} in a()
12 check(__builtin_fpclassify(0, 0, 0, 0, 0, 1.0)); in a()
[all …]
/external/llvm/test/CodeGen/Mips/llvm-ir/
Dsrem.ll2 ; RUN: -check-prefix=GP32 -check-prefix=NOT-R6 -check-prefix=NOT-R2-R6
4 ; RUN: -check-prefix=GP32 -check-prefix=NOT-R6 -check-prefix=NOT-R2-R6
5 ; RUN: llc < %s -march=mips -mcpu=mips32r2 | FileCheck %s -check-prefix=GP32 \
6 ; RUN: -check-prefix=R2-R5 -check-prefix=R2-R6 -check-prefix=NOT-R6
7 ; RUN: llc < %s -march=mips -mcpu=mips32r3 | FileCheck %s -check-prefix=GP32 \
8 ; RUN: -check-prefix=R2-R5 -check-prefix=R2-R6 -check-prefix=NOT-R6
9 ; RUN: llc < %s -march=mips -mcpu=mips32r5 | FileCheck %s -check-prefix=GP32 \
10 ; RUN: -check-prefix=R2-R5 -check-prefix=R2-R6 -check-prefix=NOT-R6
12 ; RUN: -check-prefix=GP32 -check-prefix=R6 -check-prefix=R2-R6
14 ; RUN: -check-prefix=GP64-NOT-R6 -check-prefix=NOT-R6 -check-prefix=NOT-R2-R6
[all …]
Dsub.ll2 ; RUN: -check-prefix=ALL -check-prefix=NOT-R2-R6 -check-prefix=GP32
4 ; RUN: -check-prefix=ALL -check-prefix=NOT-R2-R6 -check-prefix=GP32
6 ; RUN: -check-prefix=ALL -check-prefix=R2-R6 -check-prefix=GP32
8 ; RUN: -check-prefix=ALL -check-prefix=R2-R6 -check-prefix=GP32
10 ; RUN: -check-prefix=ALL -check-prefix=R2-R6 -check-prefix=GP32
12 ; RUN: -check-prefix=ALL -check-prefix=R2-R6 -check-prefix=GP32
14 ; RUN: -check-prefix=ALL -check-prefix=NOT-R2-R6 -check-prefix=GP64
16 ; RUN: -check-prefix=ALL -check-prefix=NOT-R2-R6 -check-prefix=GP64
18 ; RUN: -check-prefix=ALL -check-prefix=NOT-R2-R6 -check-prefix=GP64
20 ; RUN: -check-prefix=ALL -check-prefix=R2-R6 -check-prefix=GP64
[all …]
Dadd.ll2 ; RUN: -check-prefix=ALL -check-prefix=NOT-R2-R6 -check-prefix=GP32
4 ; RUN: -check-prefix=ALL -check-prefix=NOT-R2-R6 -check-prefix=GP32
6 ; RUN: -check-prefix=ALL -check-prefix=R2-R6 -check-prefix=GP32
8 ; RUN: -check-prefix=ALL -check-prefix=R2-R6 -check-prefix=GP32
10 ; RUN: -check-prefix=ALL -check-prefix=R2-R6 -check-prefix=GP32
12 ; RUN: -check-prefix=ALL -check-prefix=R2-R6 -check-prefix=GP32
14 ; RUN: -check-prefix=ALL -check-prefix=NOT-R2-R6 -check-prefix=GP64
16 ; RUN: -check-prefix=ALL -check-prefix=NOT-R2-R6 -check-prefix=GP64
18 ; RUN: -check-prefix=ALL -check-prefix=NOT-R2-R6 -check-prefix=GP64
20 ; RUN: -check-prefix=ALL -check-prefix=R2-R6 -check-prefix=GP64
[all …]
Durem.ll2 ; RUN: -check-prefix=GP32 -check-prefix=NOT-R6 -check-prefix=NOT-R2-R6
4 ; RUN: -check-prefix=GP32 -check-prefix=NOT-R6 -check-prefix=NOT-R2-R6
5 ; RUN: llc < %s -march=mips -mcpu=mips32r2 | FileCheck %s -check-prefix=GP32 \
6 ; RUN: -check-prefix=R2-R5 -check-prefix=R2-R6 -check-prefix=NOT-R6
7 ; RUN: llc < %s -march=mips -mcpu=mips32r3 | FileCheck %s -check-prefix=GP32 \
8 ; RUN: -check-prefix=R2-R5 -check-prefix=R2-R6 -check-prefix=NOT-R6
9 ; RUN: llc < %s -march=mips -mcpu=mips32r5 | FileCheck %s -check-prefix=GP32 \
10 ; RUN: -check-prefix=R2-R5 -check-prefix=R2-R6 -check-prefix=NOT-R6
12 ; RUN: -check-prefix=GP32 -check-prefix=R6 -check-prefix=R2-R6
14 ; RUN: -check-prefix=GP64-NOT-R6 -check-prefix=NOT-R6 -check-prefix=NOT-R2-R6
[all …]
Dshl.ll2 ; RUN: -check-prefix=ALL -check-prefix=GP32 \
3 ; RUN: -check-prefix=M2 -check-prefix=NOT-R2-R6
5 ; RUN: -check-prefix=ALL -check-prefix=GP32 -check-prefix=NOT-R2-R6 \
6 ; RUN: -check-prefix=32R1-R5
8 ; RUN: -check-prefix=ALL -check-prefix=GP32 \
9 ; RUN: -check-prefix=32R1-R5 -check-prefix=R2-R6
11 ; RUN: -check-prefix=ALL -check-prefix=GP32 \
12 ; RUN: -check-prefix=32R1-R5 -check-prefix=R2-R6
14 ; RUN: -check-prefix=ALL -check-prefix=GP32 \
15 ; RUN: -check-prefix=32R1-R5 -check-prefix=R2-R6
[all …]
Dret.ll10 …ps32 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check-prefix=GPR32 -check-prefix=NO-M…
11 …mips32r2 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check-prefix=GPR32 -check-prefix=MT…
12 …mips32r3 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check-prefix=GPR32 -check-prefix=MT…
13 …mips32r5 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check-prefix=GPR32 -check-prefix=MT…
14 …mips32r6 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check-prefix=GPR32 -check-prefix=MT…
15 …mips4 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check-prefix=GPR64 -check-prefix=DM…
16 …mips64 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check-prefix=GPR64 -check-prefix=DM…
17 …mips64r2 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check-prefix=GPR64 -check-prefix=DM…
18 …mips64r3 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check-prefix=GPR64 -check-prefix=DM…
19 …mips64r5 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check-prefix=GPR64 -check-prefix=DM…
[all …]
Dindirectbr.ll3 ; RUN: llc -march=mips -mcpu=mips32 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check
4 ; RUN: llc -march=mips -mcpu=mips32r2 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check
5 ; RUN: llc -march=mips -mcpu=mips32r3 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check
6 ; RUN: llc -march=mips -mcpu=mips32r5 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check
7 ; RUN: llc -march=mips -mcpu=mips32r6 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check
8 ; RUN: llc -march=mips64 -mcpu=mips4 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check
9 ; RUN: llc -march=mips64 -mcpu=mips64 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check
10 ; RUN: llc -march=mips64 -mcpu=mips64r2 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check
11 ; RUN: llc -march=mips64 -mcpu=mips64r3 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check
12 ; RUN: llc -march=mips64 -mcpu=mips64r5 -asm-show-inst < %s | FileCheck %s -check-prefix=ALL -check
[all …]
Dxor.ll2 ; RUN: -check-prefix=ALL -check-prefix=GP32
4 ; RUN: -check-prefix=ALL -check-prefix=GP32
6 ; RUN: -check-prefix=ALL -check-prefix=GP32
8 ; RUN: -check-prefix=ALL -check-prefix=GP32
10 ; RUN: -check-prefix=ALL -check-prefix=GP32
12 ; RUN: -check-prefix=ALL -check-prefix=GP32
14 ; RUN: -check-prefix=ALL -check-prefix=GP64
16 ; RUN: -check-prefix=ALL -check-prefix=GP64
18 ; RUN: -check-prefix=ALL -check-prefix=GP64
20 ; RUN: -check-prefix=ALL -check-prefix=GP64
[all …]
Dand.ll2 ; RUN: -check-prefix=ALL -check-prefix=GP32
4 ; RUN: -check-prefix=ALL -check-prefix=GP32
6 ; RUN: -check-prefix=ALL -check-prefix=GP32
8 ; RUN: -check-prefix=ALL -check-prefix=GP32
10 ; RUN: -check-prefix=ALL -check-prefix=GP32
12 ; RUN: -check-prefix=ALL -check-prefix=GP32
14 ; RUN: -check-prefix=ALL -check-prefix=GP64
16 ; RUN: -check-prefix=ALL -check-prefix=GP64
18 ; RUN: -check-prefix=ALL -check-prefix=GP64
20 ; RUN: -check-prefix=ALL -check-prefix=GP64
[all …]
Dor.ll2 ; RUN: -check-prefix=ALL -check-prefix=GP32
4 ; RUN: -check-prefix=ALL -check-prefix=GP32
6 ; RUN: -check-prefix=ALL -check-prefix=GP32
8 ; RUN: -check-prefix=ALL -check-prefix=GP32
10 ; RUN: -check-prefix=ALL -check-prefix=GP32
12 ; RUN: -check-prefix=ALL -check-prefix=GP32
14 ; RUN: -check-prefix=ALL -check-prefix=GP64
16 ; RUN: -check-prefix=ALL -check-prefix=GP64
18 ; RUN: -check-prefix=ALL -check-prefix=GP64
20 ; RUN: -check-prefix=ALL -check-prefix=GP64
[all …]
Dmul.ll1 ; RUN: llc < %s -march=mips -mcpu=mips2 | FileCheck %s -check-prefix=ALL \
2 ; RUN: -check-prefix=M2 -check-prefix=GP32
3 ; RUN: llc < %s -march=mips -mcpu=mips32 | FileCheck %s -check-prefix=ALL \
4 ; RUN: -check-prefix=32R1-R5 -check-prefix=GP32
5 ; RUN: llc < %s -march=mips -mcpu=mips32r2 | FileCheck %s -check-prefix=ALL \
6 ; RUN: -check-prefix=32R1-R5 -check-prefix=32R2-R5 -check-prefix=GP32
7 ; RUN: llc < %s -march=mips -mcpu=mips32r3 | FileCheck %s -check-prefix=ALL \
8 ; RUN: -check-prefix=32R1-R5 -check-prefix=32R2-R5 -check-prefix=GP32
9 ; RUN: llc < %s -march=mips -mcpu=mips32r5 | FileCheck %s -check-prefix=ALL \
10 ; RUN: -check-prefix=32R1-R5 -check-prefix=32R2-R5 -check-prefix=GP32
[all …]
/external/bison/tests/
DMakefile.am70 check-local: atconfig atlocal $(TESTSUITE)
80 .PHONY: maintainer-check-g++
81 maintainer-check-g++: atconfig atlocal $(TESTSUITE)
84 .PHONY: maintainer-check-posix
85 maintainer-check-posix: atconfig atlocal $(TESTSUITE)
88 .PHONY: maintainer-check-valgrind
89 maintainer-check-valgrind: atconfig atlocal $(TESTSUITE)
95 .PHONY: maintainer-check
96 maintainer-check: maintainer-check-posix maintainer-check-valgrind maintainer-check-g++
98 .PHONY: maintainer-push-check
[all …]
/external/llvm/test/CodeGen/R600/
Ddefault-fp-mode.ll1 …SI -mattr=-fp32-denormals,+fp64-denormals < %s | FileCheck -check-prefix=FP64-DENORMAL -check-pref…
2 …SI -mattr=+fp32-denormals,-fp64-denormals < %s | FileCheck -check-prefix=FP32-DENORMAL -check-pref…
3 …SI -mattr=+fp32-denormals,+fp64-denormals < %s | FileCheck -check-prefix=BOTH-DENORMAL -check-pref…
4 …=SI -mattr=-fp32-denormals,-fp64-denormals < %s | FileCheck -check-prefix=NO-DENORMAL -check-prefi…
5 ; RUN: llc -march=amdgcn -mcpu=SI < %s | FileCheck -check-prefix=DEFAULT -check-prefix=FUNC %s
6 …march=amdgcn -mcpu=SI -mattr=-fp32-denormals < %s | FileCheck -check-prefix=DEFAULT -check-prefix=…
7 …march=amdgcn -mcpu=SI -mattr=+fp64-denormals < %s | FileCheck -check-prefix=DEFAULT -check-prefix=…
8 …ga -mattr=-fp32-denormals,+fp64-denormals < %s | FileCheck -check-prefix=FP64-DENORMAL -check-pref…
9 …ga -mattr=+fp32-denormals,-fp64-denormals < %s | FileCheck -check-prefix=FP32-DENORMAL -check-pref…
10 …ga -mattr=+fp32-denormals,+fp64-denormals < %s | FileCheck -check-prefix=BOTH-DENORMAL -check-pref…
[all …]
/external/compiler-rt/lib/tsan/
Dcheck_analyze.sh11 check() { function
20 check $f rsp 1
21 check $f push 2
22 check $f pop 2
26 check $f rsp 1
27 check $f push 3
28 check $f pop 3
32 check $f rsp 1
33 check $f push 5
34 check $f pop 5
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckerDocumentation.cpp37 class CheckerDocumentation : public Checker< check::PreStmt<ReturnStmt>,
38 check::PostStmt<DeclStmt>,
39 check::PreObjCMessage,
40 check::PostObjCMessage,
41 check::PreCall,
42 check::PostCall,
43 check::BranchCondition,
44 check::Location,
45 check::Bind,
46 check::DeadSymbols,
[all …]
/external/llvm/test/CodeGen/Mips/cconv/
Darguments-struct.ll1 …linux-gnu -relocation-model=static < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --chec…
2 …linux-gnu -relocation-model=static < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --chec…
4 …ation-model=static -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --chec…
5 …ation-model=static -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --chec…
7 …ation-model=static -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --chec…
8 …ation-model=static -target-abi n32 < %s | FileCheck --check-prefix=ALL --check-prefix=SYM32 --chec…
10 …ation-model=static -target-abi n64 < %s | FileCheck --check-prefix=ALL --check-prefix=SYM64 --chec…
11 …ation-model=static -target-abi n64 < %s | FileCheck --check-prefix=ALL --check-prefix=SYM64 --chec…
/external/llvm/test/CodeGen/Mips/
Dcheck-adde-redundant-moves.ll2 ; RUN: -check-prefix=ALL -check-prefix=GP32
4 ; RUN: -check-prefix=ALL -check-prefix=GP32
6 ; RUN: -check-prefix=ALL -check-prefix=GP32
8 ; RUN: -check-prefix=ALL -check-prefix=GP32
10 ; RUN: -check-prefix=ALL -check-prefix=GP32
12 ; RUN: -check-prefix=ALL -check-prefix=GP32
13 ; RUN: llc < %s -march=mips64 -mcpu=mips3 | FileCheck %s -check-prefix=ALL
14 ; RUN: llc < %s -march=mips64 -mcpu=mips4 | FileCheck %s -check-prefix=ALL
15 ; RUN: llc < %s -march=mips64 -mcpu=mips64 | FileCheck %s -check-prefix=ALL
16 ; RUN: llc < %s -march=mips64 -mcpu=mips64r2 | FileCheck %s -check-prefix=ALL
[all …]

12345678910>>...157