/external/clang/test/Sema/ |
builtin-unary-fp.c | 2 void check(int); 4 check(__builtin_isfinite(1.0f)); 5 check(__builtin_isinf(1.0)); 6 check(__builtin_isinf_sign(1.0L)); 7 check(__builtin_isnan(1.0f)); 8 check(__builtin_isnormal(1.0f)); 9 check(__builtin_isfinite(1)); // expected-error{{requires argument of floating point type}} 10 check(__builtin_isinf()); // expected-error{{too few arguments}} 11 check(__builtin_isnan(1,2)); // expected-error{{too many arguments}} 12 check(__builtin_fpclassify(0, 0, 0, 0, 0, 1.0)) [all...] |
pragma-pack-5.c | 4 // Check #pragma pack handling with bitfields. 14 extern int check[sizeof(struct s0) == 6 ? 1 : -1]; 21 extern int check[sizeof(struct s1) == 5 ? 1 : -1]; 29 extern int check[sizeof(struct s2) == 6 ? 1 : -1]; 37 extern int check[sizeof(struct s3) == 8 ? 1 : -1]; 38 extern int check[offsetof(struct s3, f4) == 6 ? 1 : -1]; 45 extern int check[sizeof(struct s4) == 4 ? 1 : -1]; 46 extern int check[offsetof(struct s4, f3) == 2 ? 1 : -1];
|
arm-layout.c | 5 #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...] |
pragma-pack-6.c | 15 extern int check[__alignof(struct X) == 2 ? 1 : -1]; 16 extern int check[__alignof(struct Y) == 4 ? 1 : -1];
|
/external/clang/test/SemaCXX/ |
goto2.cpp | 12 bool check = true; local 14 if (check) 18 if (check) 22 if (check) 28 check = !check; 30 while (check); 36 if (check)
|
/external/oprofile/libutil++/tests/ |
path_filter_tests.cpp | 19 #define check(filter, str, result) \ macro 29 check(f1, "foo/barfoobar", true); 30 check(f1, "foo/bar", true); 31 check(f1, "/foo/foobar/foo", false); 32 check(f1, "fooobar1", false); 33 check(f1, "foo1", false); 34 check(f1, "foobar", false); 35 check(f1, "bar1", false); 38 check(f2, "foo", true); 39 check(f2, "foo1", false) [all...] |
comma_list_tests.cpp | 19 #define check(clist, val, result) \ macro 30 check(c1, 1, true); 34 check(c1, 2, true); 35 check(c1, 3, false); 39 check(c1, 2, false); 40 check(c1, 3, true); 44 check(c1, 2, true); 45 check(c1, 3, true); 46 check(c1, 4, false); 50 check(c1, 2, true) [all...] |
string_filter_tests.cpp | 19 #define check(filter, str, result) \ macro 29 check(f1, "", true); 30 check(f1, "ok", true); 33 check(f2, "ok", true); 34 check(f2, "no", false); 37 check(f3, "ok", true); 38 check(f3, "no", false); 41 check(f4, "ok", true); 42 check(f4, "ok2", true); 43 check(f4, "no", false) [all...] |
glob_filter_tests.cpp | 19 #define check(filter, str, result) \ macro 29 check(f1, "foo/barfoobar", true); 30 check(f1, "foo/bar", true); 31 check(f1, "/foo/foobar/foo", false); 32 check(f1, "fooobar1", false); 33 check(f1, "foo1", false); 34 check(f1, "foobar", false); 35 check(f1, "bar1", false); 38 check(f2, "foo", true); 39 check(f2, "foo1", false) [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
Checker.cpp | 40 void Checker<check::_VoidCheck, check::_VoidCheck, check::_VoidCheck, 41 check::_VoidCheck, check::_VoidCheck, check::_VoidCheck, 42 check::_VoidCheck, check::_VoidCheck, check::_VoidCheck, 43 check::_VoidCheck, check::_VoidCheck, check::_VoidCheck [all...] |
/external/libunwind/tests/ |
run-check-namespace | 2 chmod +x ./check-namespace.sh 3 ./check-namespace.sh $*
|
/external/clang/test/Driver/ |
debug-options.c | 0 // Check to make sure clang is somewhat picky about -g options. 5 | FileCheck -check-prefix=G %s 7 | FileCheck -check-prefix=G %s 9 | FileCheck -check-prefix=G %s 11 | FileCheck -check-prefix=G %s 13 | FileCheck -check-prefix=G %s 15 | FileCheck -check-prefix=G %s 18 | FileCheck -check-prefix=G_DARWIN %s 20 | FileCheck -check-prefix=G_DARWIN %s 22 | FileCheck -check-prefix=G_DARWIN % [all...] |
/external/clang/test/Lexer/ |
cxx-features.cpp | 8 #define check(macro, cxx98, cxx11, cxx1y) cxx98 == 0 ? defined(__cpp_##macro) : __cpp_##macro != cxx98 macro 10 #define check(macro, cxx98, cxx11, cxx1y) cxx11 == 0 ? defined(__cpp_##macro) : __cpp_##macro != cxx11 macro 12 #define check(macro, cxx98, cxx11, cxx1y) cxx1y == 0 ? defined(__cpp_##macro) : __cpp_##macro != cxx1y macro 15 #if check(binary_literals, 0, 0, 201304) 19 #if check(init_captures, 0, 0, 201304) 23 #if check(generic_lambdas, 0, 0, 201304) 27 #if check(constexpr, 0, 200704, 201304) 31 #if check(decltype_auto, 0, 0, 201304) 35 #if check(return_type_deduction, 0, 0, 201304) 39 #if check(runtime_arrays, 0, 0, 0 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_fnmatch.py | 26 check = self.check_match 27 check('abc', 'abc') 28 check('abc', '?*?') 29 check('abc', '???*') 30 check('abc', '*???') 31 check('abc', '???') 32 check('abc', '*') 33 check('abc', 'ab[cd]') 34 check('abc', 'ab[!de]') 35 check('abc', 'ab[de]', 0 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_fnmatch.py | 26 check = self.check_match 27 check('abc', 'abc') 28 check('abc', '?*?') 29 check('abc', '???*') 30 check('abc', '*???') 31 check('abc', '???') 32 check('abc', '*') 33 check('abc', 'ab[cd]') 34 check('abc', 'ab[!de]') 35 check('abc', 'ab[de]', 0 [all...] |
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
checks.spec | 22 glBufferData nullAllowed check data size 23 glBufferSubData check data size 26 glClipPlanef check eqn 4 27 glClipPlanex check eqn 4 28 glDeleteBuffers check buffers n 29 glDeleteFramebuffers check framebuffers n 30 glDeleteFramebuffersOES check framebuffers n 31 glDeleteRenderbuffers check renderbuffers n 32 glDeleteRenderbuffersOES check renderbuffers n 33 glDeleteTextures check textures [all...] |
/external/clang/test/CXX/lex/lex.literal/lex.ext/ |
p12.cpp | 3 template<typename T, T... cs> struct check; // expected-note {{template is declared here}} expected-note {{template is declared here}} 5 struct check<char, 34, -47, -126, -48, -75, -47, -127, -47, -126, 32, -16, -112, -128, -128>{}; struct 7 struct check<char16_t, 34, 1090, 1077, 1089, 1090, 32, 55296, 56320>{}; struct 9 struct check<char32_t, 34, 1090, 1077, 1089, 1090, 32, 65536>{}; struct 11 check<T, str...> chars; // expected-error {{implicit instantiation of undefined template 'check<char, 't', 'e', 's', 't'>'}} expected-error {{implicit instantiation of undefined template 'check<char32_t, 34, 1090, 1077, 1089, 1090, 95, 65536>'}}
|
/external/chromium_org/tools/gyp/test/mac/xcode-gcc/ |
aliasing.cc | 3 void check(int* h, long* k) { function 11 check((int*)&k, &k);
|
/art/test/044-proxy/src/ |
ReturnsAndArgPassing.java | 22 static void check(boolean x) { method in class:ReturnsAndArgPassing 24 throw new AssertionError(testName + " Check failed"); 57 check(proxy instanceof Proxy); 58 check(method.getDeclaringClass() == MyInterface.class); 61 check(args == null); method 64 check(args == null); method 76 check(args.length == 6); method 84 check(name.endsWith("Bar")); 101 check(fooInvocations == 0); method 103 check(fooInvocations == 1) method 105 check(barInvocations == 0); method 107 check(barInvocations == 1); method 109 check(fooInvocations == 1); method 112 check(fooInvocations == 2); method 114 check(barInvocations == 1); method 116 check(barInvocations == 2); method 118 check(fooInvocations == 2); method 121 check(fooInvocations == 3); method 123 check(barInvocations == 2); method 125 check(barInvocations == 3); method 127 check(fooInvocations == 3); method 130 check(fooInvocations == 4); method 132 check(barInvocations == 3); method 134 check(barInvocations == 4); method 136 check(fooInvocations == 4); method 139 check(fooInvocations == 5); method 141 check(barInvocations == 4); method 143 check(barInvocations == 5); method 145 check(fooInvocations == 5); method 148 check(fooInvocations == 6); method 150 check(barInvocations == 5); method 152 check(barInvocations == 6); method 154 check(fooInvocations == 6); method 157 check(fooInvocations == 7); method 159 check(barInvocations == 6); method 161 check(barInvocations == 7); method 163 check(fooInvocations == 7); method 166 check(fooInvocations == 8); method 168 check(barInvocations == 7); method 170 check(barInvocations == 8); method 172 check(fooInvocations == 8); method 175 check(fooInvocations == 9); method 177 check(barInvocations == 8); method 179 check(barInvocations == 9); method 184 check(fooInvocations == 9); method 190 check(fooInvocations == 10); method 192 check(barInvocations == 9); method 198 check(barInvocations == 10); method 200 check(fooInvocations == 10); method 206 check(fooInvocations == 11); method 208 check(barInvocations == 10); method 214 check(barInvocations == 11); method 216 check(fooInvocations == 11); method 222 check(fooInvocations == 12); method 224 check(barInvocations == 11); method 230 check(barInvocations == 12); method 232 check(fooInvocations == 12); method 238 check(fooInvocations == 13); method 240 check(barInvocations == 12); method 246 check(barInvocations == 13); method 248 check(fooInvocations == 13); method 254 check(fooInvocations == 14); method 256 check(barInvocations == 13); method 262 check(barInvocations == 14); method 264 check(fooInvocations == 14); method 270 check(fooInvocations == 15); method 272 check(barInvocations == 14); method 278 check(barInvocations == 15); method 280 check(fooInvocations == 15); method 286 check(fooInvocations == 16); method 288 check(barInvocations == 15); method 294 check(barInvocations == 16); method 296 check(fooInvocations == 16); method 302 check(fooInvocations == 17); method 304 check(barInvocations == 16); method 310 check(barInvocations == 17); method 315 check(fooInvocations == 17); method 322 check(fooInvocations == 18); method 324 check(barInvocations == 17); method 330 check(barInvocations == 18); method 332 check(fooInvocations == 18); method 339 check(fooInvocations == 19); method 341 check(barInvocations == 18); method 347 check(barInvocations == 19); method 349 check(fooInvocations == 19); method 356 check(fooInvocations == 20); method 358 check(barInvocations == 19); method 364 check(barInvocations == 20); method 366 check(fooInvocations == 20); method 373 check(fooInvocations == 21); method 375 check(barInvocations == 20); method 381 check(barInvocations == 21); method 383 check(fooInvocations == 21); method 390 check(fooInvocations == 22); method 392 check(barInvocations == 21); method 398 check(barInvocations == 22); method 400 check(fooInvocations == 22); method 407 check(fooInvocations == 23); method 409 check(barInvocations == 22); method 415 check(barInvocations == 23); method 417 check(fooInvocations == 23); method 424 check(fooInvocations == 24); method 426 check(barInvocations == 23); method 432 check(barInvocations == 24); method 445 check((Integer)proxyMyInterface.selectArg(0, Integer.MAX_VALUE, Long.MAX_VALUE, method 447 check((Integer)proxyMyInterface.selectArg(1, Integer.MAX_VALUE, Long.MAX_VALUE, method 449 check((Long)proxyMyInterface.selectArg(2, Integer.MAX_VALUE, Long.MAX_VALUE, method 451 check((Float)proxyMyInterface.selectArg(3, Integer.MAX_VALUE, Long.MAX_VALUE, method 453 check((Double)proxyMyInterface.selectArg(4, Integer.MAX_VALUE, Long.MAX_VALUE, method [all...] |
/external/compiler-rt/lib/tsan/ |
check_analyze.sh | 22 check() { function 31 check $f rsp 3 32 check $f push 1 33 check $f pop 5 37 check $f rsp 3 38 check $f push 1 39 check $f pop 4 43 check $f rsp 0 44 check $f push 0 45 check $f pop [all...] |
/external/chromium_org/media/base/ |
gmock_callback_support_unittest.cc | 24 MockFunction<void(const TestCallback&)> check; local 25 EXPECT_CALL(check, Call(IsNullCallback())); 26 check.Call(TestCallback()); 30 MockFunction<void(const TestCallback&)> check; local 31 EXPECT_CALL(check, Call(IsNotNullCallback())); 32 check.Call(base::Bind(&SetBool)); 36 MockFunction<void(const base::Closure&)> check; local 38 EXPECT_CALL(check, Call(IsNotNullCallback())) 40 check.Call(base::Bind(&SetBool, true, &dst)); 45 MockFunction<void(const TestCallback&)> check; local 54 MockFunction<void(int, const TestCallback&)> check; local 63 MockFunction<void(const TestCallback&)> check; local 74 MockFunction<void(const TestCallback&)> check; local [all...] |
/external/chromium_org/third_party/icu/source/test/threadtest/ |
threadtest.h | 32 // check() will be called periodically in a single threaded 41 virtual void check() = 0;
|
/external/icu/icu4c/source/test/threadtest/ |
threadtest.h | 32 // check() will be called periodically in a single threaded 41 virtual void check() = 0;
|
/frameworks/native/opengl/tools/glgen/specs/egl/ |
checks.spec | 1 eglInitialize check major 1 check minor 1 2 eglGetConfigs check configs config_size 3 eglChooseConfig check configs config_size check num_config 1 sentinel attrib_list EGL_NONE 4 eglGetConfigAttrib check value 1 10 eglQuerySurface check value 1 13 eglQueryContext check value 1
|
/pdk/apps/CameraITS/tests/scene0/ |
test_metadata.py | 47 check('props.has_key("android.info.supportedHardwareLevel")') 48 check('props["android.info.supportedHardwareLevel"] is not None') 49 check('props["android.info.supportedHardwareLevel"] in [0,1,2]') 55 check('md.has_key("android.sensor.frameDuration")') 56 check('md["android.sensor.frameDuration"] is not None') 57 check('md.has_key("android.sensor.rollingShutterSkew")') 58 check('md["android.sensor.rollingShutterSkew"] is not None') 59 check('md["android.sensor.frameDuration"] > ' 63 check('props.has_key("android.sensor.info.timestampSource")') 64 check('props["android.sensor.info.timestampSource"] is not None' 84 def check(expr): function [all...] |