Home
last modified time | relevance | path

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

12345678910>>...190

/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.cpp10 #define check(macro, cxx98, cxx11, cxx1y) cxx98 == 0 ? defined(__cpp_##macro) : __cpp_##macro != cx… macro
12 #define check(macro, cxx98, cxx11, cxx1y) cxx11 == 0 ? defined(__cpp_##macro) : __cpp_##macro != cx… macro
14 #define check(macro, cxx98, cxx11, cxx1y) cxx1y == 0 ? defined(__cpp_##macro) : __cpp_##macro != cx… macro
17 #if check(binary_literals, 0, 0, 201304)
21 #if check(digit_separators, 0, 0, 201309)
25 #if check(init_captures, 0, 0, 201304)
29 #if check(generic_lambdas, 0, 0, 201304)
33 #if check(sized_deallocation, 0, 0, 201309)
37 #if check(constexpr, 0, 200704, 201304)
41 #if check(decltype_auto, 0, 0, 201304)
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/profiling/
DGL30Profiler.java37 private void check () { in check() method in GL30Profiler
49 check(); in glActiveTexture()
57 check(); in glBindTexture()
64 check(); in glBlendFunc()
71 check(); in glClear()
78 check(); in glClearColor()
85 check(); in glClearDepthf()
92 check(); in glClearStencil()
99 check(); in glColorMask()
107 check(); in glCompressedTexImage2D()
[all …]
DGL20Profiler.java36 private void check () { in check() method in GL20Profiler
48 check(); in glActiveTexture()
56 check(); in glBindTexture()
63 check(); in glBlendFunc()
70 check(); in glClear()
77 check(); in glClearColor()
84 check(); in glClearDepthf()
91 check(); in glClearStencil()
98 check(); in glColorMask()
106 check(); in glCompressedTexImage2D()
[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/v8/test/mjsunit/
Darray-methods-read-only-length.js11 function check(f) { function
23 check(push);
24 check(push);
25 check(push);
27 check(push);
33 check(unshift);
34 check(unshift);
35 check(unshift);
37 check(unshift);
43 check(splice);
[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/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/compiler-rt/lib/tsan/
Dcheck_analyze.sh21 check() { function
30 check $f rsp 1
31 check $f push 2
32 check $f pop 2
36 check $f rsp 1
37 check $f push 4
38 check $f pop 4
42 check $f rsp 1
43 check $f push 3
44 check $f pop 3
[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 …]
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 …]
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 …]
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 …]
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 …]
/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/AMDGPU/
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/elfutils/tests/
Delfshphehdr.c34 check (const char *msg, bool statement) in check() function
70 check ("e_shnum == 0", ehdr.e_shnum == 0); in test()
71 check ("e_phnum == 0", ehdr.e_phnum == 0); in test()
72 check ("e_shoff == 0", ehdr.e_shoff == 0); in test()
73 check ("e_phoff == 0", ehdr.e_phoff == 0); in test()
77 check ("shnum == 0", shnum == 0); in test()
81 check ("phnum == 0", phnum == 0); in test()
93 check ("EI_DATA", ehdr.e_ident[EI_DATA] != ELFDATANONE); in test()
94 check ("e_version", ehdr.e_version == EV_CURRENT); in test()
97 check ("e_shnum == 0", ehdr.e_shnum == 0); in test()
[all …]
/external/chromium-trace/catapult/third_party/typ/typ/tests/
Dmain_test.py262 _, out, _, _ = self.check(
280 self.check(['--bad-arg'], ret=2, out='',
282 self.check(['-help'], ret=2, out='',
287 self.check(['--metadata', 'foo'], ret=2, err='',
291 self.check([], files=PASS_TEST_FILES,
303 self.check(['-c', 'pass_test'], files=files, ret=0, err='',
318 self.check(['-c'], files=PASS_TEST_FILES, ret=1,
325 _, out, _, _ = self.check(['-d'], stdin='quit()\n',
330 self.check(['-n'], files=PASS_TEST_FILES, ret=0, err='',
343 _, out, _, _ = self.check([''], files=files, ret=1, err='')
[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::ObjCMessageNil,
42 check::PreCall,
43 check::PostCall,
44 check::BranchCondition,
45 check::Location,
46 check::Bind,
[all …]
/external/v8/test/mjsunit/compiler/
Dreceiver-conversion.js12 function test(outer, inner, check) { argument
13 check(outer());
14 check(outer());
16 check(outer());
23 function check(x) { function in UndefinedSloppy
34 test(outer, inner, check);
41 function check(x) { function in UndefinedStrict
53 test(outer, inner, check);
60 function check(x) { function in NumberSloppy
71 test(outer, inner, check);
[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/tools/dsymutil/
Darch-option.test4 …/Inputs/fat-test.arm.dylib | FileCheck %s -check-prefix=ARM64 -check-prefix=ARMV7S -check-prefix=A…
5 …t-test.arm.dylib -arch all | FileCheck %s -check-prefix=ARM64 -check-prefix=ARMV7S -check-prefix=A…
6 …t-test.arm.dylib -arch='*' | FileCheck %s -check-prefix=ARM64 -check-prefix=ARMV7S -check-prefix=A…
7 …ug-map %p/Inputs/fat-test.arm.dylib -arch arm64 | FileCheck %s -check-prefix=ARM64 -check-prefix=C…
8 …/Inputs/fat-test.arm.dylib -arch arm | FileCheck %s -check-prefix=ARMV7S -check-prefix=ARMV7 -chec…
9 …ug-map %p/Inputs/fat-test.arm.dylib -arch armv7 | FileCheck %s -check-prefix=ARMV7 -check-prefix=C…
10 …t.arm.dylib -arch arm64 -arch armv7s | FileCheck %s -check-prefix=ARM64 -check-prefix=ARMV7S -chec…
11 … -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch arm42 2>&1 | FileCheck %s -check-prefix=BADARCH
12 … %p -dump-debug-map %p/Inputs/fat-test.arm.dylib -arch i386 2>&1 | FileCheck %s -check-prefix=EMPTY

12345678910>>...190