/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/lib/StaticAnalyzer/Core/ |
Checker.cpp | 25 void Checker<check::_VoidCheck, check::_VoidCheck, check::_VoidCheck, 26 check::_VoidCheck, check::_VoidCheck, check::_VoidCheck, 27 check::_VoidCheck, check::_VoidCheck, check::_VoidCheck, 28 check::_VoidCheck, check::_VoidCheck, check::_VoidCheck [all...] |
/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/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/grub/stage2/ |
size_test | 3 # Check the sizes of Stage 2 and Stage 1.5's. 26 check () function 39 check ffs_stage1_5 7168 41 check ufs2_stage1_5 7168 45 check fat_stage1_5 31744 48 check e2fs_stage1_5 31744 51 check minix_stage1_5 31744
|
/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...] |
/art/test/064-field-access/src/ |
Main.java | 216 private static void check(boolean b) { method in class:SubClass 223 check(otherProtectedClassPublicBooleanInstanceField == true); method 224 check(otherProtectedClassPublicByteInstanceField == 2); method 225 check(otherProtectedClassPublicCharInstanceField == 3); method 226 check(otherProtectedClassPublicShortInstanceField == 4); method 227 check(otherProtectedClassPublicIntInstanceField == 5); method 228 check(otherProtectedClassPublicLongInstanceField == 6); method 229 check(otherProtectedClassPublicFloatInstanceField == 7.0f); method 230 check(otherProtectedClassPublicDoubleInstanceField == 8.0); method 231 check(otherProtectedClassPublicObjectInstanceField == "9") method 233 check(otherProtectedClassProtectedBooleanInstanceField == true); method 234 check(otherProtectedClassProtectedByteInstanceField == 10); method 235 check(otherProtectedClassProtectedCharInstanceField == 11); method 236 check(otherProtectedClassProtectedShortInstanceField == 12); method 237 check(otherProtectedClassProtectedIntInstanceField == 13); method 238 check(otherProtectedClassProtectedLongInstanceField == 14); method 239 check(otherProtectedClassProtectedFloatInstanceField == 15.0f); method 240 check(otherProtectedClassProtectedDoubleInstanceField == 16.0); method 241 check(otherProtectedClassProtectedObjectInstanceField == "17"); method 263 check(otherProtectedClassPublicBooleanStaticField == true); method 264 check(otherProtectedClassPublicByteStaticField == 34); method 265 check(otherProtectedClassPublicCharStaticField == 35); method 266 check(otherProtectedClassPublicShortStaticField == 36); method 267 check(otherProtectedClassPublicIntStaticField == 37); method 268 check(otherProtectedClassPublicLongStaticField == 38); method 269 check(otherProtectedClassPublicFloatStaticField == 39.0f); method 270 check(otherProtectedClassPublicDoubleStaticField == 40.0); method 271 check(otherProtectedClassPublicObjectStaticField == "41"); method 273 check(otherProtectedClassProtectedBooleanStaticField == true); method 274 check(otherProtectedClassProtectedByteStaticField == 42); method 275 check(otherProtectedClassProtectedCharStaticField == 43); method 276 check(otherProtectedClassProtectedShortStaticField == 44); method 277 check(otherProtectedClassProtectedIntStaticField == 45); method 278 check(otherProtectedClassProtectedLongStaticField == 46); method 279 check(otherProtectedClassProtectedFloatStaticField == 47.0f); method 280 check(otherProtectedClassProtectedDoubleStaticField == 48.0); method 281 check(otherProtectedClassProtectedObjectStaticField == "49"); method 303 check(otherPublicClassPublicBooleanInstanceField == true); method 304 check(otherPublicClassPublicByteInstanceField == -2); method 305 check(otherPublicClassPublicCharInstanceField == (char)-3); method 306 check(otherPublicClassPublicShortInstanceField == -4); method 307 check(otherPublicClassPublicIntInstanceField == -5); method 308 check(otherPublicClassPublicLongInstanceField == -6); method 309 check(otherPublicClassPublicFloatInstanceField == -7.0f); method 310 check(otherPublicClassPublicDoubleInstanceField == -8.0); method 311 check(otherPublicClassPublicObjectInstanceField == "-9"); method 313 check(otherPublicClassProtectedBooleanInstanceField == true); method 314 check(otherPublicClassProtectedByteInstanceField == -10); method 315 check(otherPublicClassProtectedCharInstanceField == (char)-11); method 316 check(otherPublicClassProtectedShortInstanceField == -12); method 317 check(otherPublicClassProtectedIntInstanceField == -13); method 318 check(otherPublicClassProtectedLongInstanceField == -14); method 319 check(otherPublicClassProtectedFloatInstanceField == -15.0f); method 320 check(otherPublicClassProtectedDoubleInstanceField == -16.0); method 321 check(otherPublicClassProtectedObjectInstanceField == "-17"); method 343 check(otherPublicClassPublicBooleanStaticField == true); method 344 check(otherPublicClassPublicByteStaticField == -34); method 345 check(otherPublicClassPublicCharStaticField == (char)-35); method 346 check(otherPublicClassPublicShortStaticField == -36); method 347 check(otherPublicClassPublicIntStaticField == -37); method 348 check(otherPublicClassPublicLongStaticField == -38); method 349 check(otherPublicClassPublicFloatStaticField == -39.0f); method 350 check(otherPublicClassPublicDoubleStaticField == -40.0); method 351 check(otherPublicClassPublicObjectStaticField == "-41"); method 353 check(otherPublicClassProtectedBooleanStaticField == true); method 354 check(otherPublicClassProtectedByteStaticField == -42); method 355 check(otherPublicClassProtectedCharStaticField == (char)-43); method 356 check(otherPublicClassProtectedShortStaticField == -44); method 357 check(otherPublicClassProtectedIntStaticField == -45); method 358 check(otherPublicClassProtectedLongStaticField == -46); method 359 check(otherPublicClassProtectedFloatStaticField == -47.0f); method 360 check(otherPublicClassProtectedDoubleStaticField == -48.0); method 361 check(otherPublicClassProtectedObjectStaticField == "-49"); method 384 check(s.samePackagePublicBooleanInstanceField == true); method 385 check(s.samePackagePublicByteInstanceField == 2); method 386 check(s.samePackagePublicCharInstanceField == 3); method 387 check(s.samePackagePublicShortInstanceField == 4); method 388 check(s.samePackagePublicIntInstanceField == 5); method 389 check(s.samePackagePublicLongInstanceField == 6); method 390 check(s.samePackagePublicFloatInstanceField == 7.0f); method 391 check(s.samePackagePublicDoubleInstanceField == 8.0); method 392 check(s.samePackagePublicObjectInstanceField == "9"); method 394 check(s.samePackageProtectedBooleanInstanceField == true); method 395 check(s.samePackageProtectedByteInstanceField == 10); method 396 check(s.samePackageProtectedCharInstanceField == 11); method 397 check(s.samePackageProtectedShortInstanceField == 12); method 398 check(s.samePackageProtectedIntInstanceField == 13); method 399 check(s.samePackageProtectedLongInstanceField == 14); method 400 check(s.samePackageProtectedFloatInstanceField == 15.0f); method 401 check(s.samePackageProtectedDoubleInstanceField == 16.0); method 402 check(s.samePackageProtectedObjectInstanceField == "17"); method 414 check(s.samePackagePackageBooleanInstanceField == true); method 415 check(s.samePackagePackageByteInstanceField == 26); method 416 check(s.samePackagePackageCharInstanceField == 27); method 417 check(s.samePackagePackageShortInstanceField == 28); method 418 check(s.samePackagePackageIntInstanceField == 29); method 419 check(s.samePackagePackageLongInstanceField == 30); method 420 check(s.samePackagePackageFloatInstanceField == 31.0f); method 421 check(s.samePackagePackageDoubleInstanceField == 32.0); method 422 check(s.samePackagePackageObjectInstanceField == "33"); method 424 check(SamePackage.samePackagePublicBooleanStaticField == true); method 425 check(SamePackage.samePackagePublicByteStaticField == 34); method 426 check(SamePackage.samePackagePublicCharStaticField == 35); method 427 check(SamePackage.samePackagePublicShortStaticField == 36); method 428 check(SamePackage.samePackagePublicIntStaticField == 37); method 429 check(SamePackage.samePackagePublicLongStaticField == 38); method 430 check(SamePackage.samePackagePublicFloatStaticField == 39.0f); method 431 check(SamePackage.samePackagePublicDoubleStaticField == 40.0); method 432 check(SamePackage.samePackagePublicObjectStaticField == "41"); method 434 check(SamePackage.samePackageProtectedBooleanStaticField == true); method 435 check(SamePackage.samePackageProtectedByteStaticField == 42); method 436 check(SamePackage.samePackageProtectedCharStaticField == 43); method 437 check(SamePackage.samePackageProtectedShortStaticField == 44); method 438 check(SamePackage.samePackageProtectedIntStaticField == 45); method 439 check(SamePackage.samePackageProtectedLongStaticField == 46); method 440 check(SamePackage.samePackageProtectedFloatStaticField == 47.0f); method 441 check(SamePackage.samePackageProtectedDoubleStaticField == 48.0); method 442 check(SamePackage.samePackageProtectedObjectStaticField == "49"); method 454 check(SamePackage.samePackagePackageBooleanStaticField == true); method 455 check(SamePackage.samePackagePackageByteStaticField == 58); method 456 check(SamePackage.samePackagePackageCharStaticField == 59); method 457 check(SamePackage.samePackagePackageShortStaticField == 60); method 458 check(SamePackage.samePackagePackageIntStaticField == 61); method 459 check(SamePackage.samePackagePackageLongStaticField == 62); method 460 check(SamePackage.samePackagePackageFloatStaticField == 63.0f); method 461 check(SamePackage.samePackagePackageDoubleStaticField == 64.0); method 462 check(SamePackage.samePackagePackageObjectStaticField == "65"); method 518 check(fields.length == 72); method 524 check(fields.length == 72); method 529 check(fields.length == 72); method [all...] |
/external/chromium_org/tools/gyp/test/mac/xcode-gcc/ |
aliasing.cc | 3 void check(int* h, long* k) { function 11 check((int*)&k, &k);
|
/external/compiler-rt/lib/tsan/ |
check_analyze.sh | 22 check() { function 31 check $f rsp 1 # To read caller pc. 32 check $f push 0 33 check $f pop 0 37 check $f rsp 0 38 check $f push 0 39 check $f pop 0 40 check $f call 1 # TraceSwitch()
|
/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/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/icu4c/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
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/wizards/templates/ |
FmClassNameToResourceMethodTest.java | 29 private void check(String s, String expected) throws TemplateModelException { method in class:FmClassNameToResourceMethodTest 36 check("FooActivity", "foo"); 40 check("FooActiv", "foo"); 44 check("Foo", "foo"); 48 check("", ""); 52 check("FooFragment", "foo"); 56 check("FooService", "foo"); 60 check("FooProvider", "foo"); 64 check("FooBar", "foo_bar");
|
FmEscapeXmlStringMethodTest.java | 29 private void check(String s, String expected) throws TemplateModelException { method in class:FmEscapeXmlStringMethodTest 36 check("", ""); 40 check("foo", "foo"); 44 check(" Foo Bar ", "\" Foo Bar \""); 48 check("@foo", "\\@foo"); 52 check("Hello\nWorld", "Hello\\nWorld"); 56 check("A & B", "A & B"); 60 check("Foo's Bar", "Foo\\'s Bar"); 64 check("'\"\\", "\\'\\\"\\\\");
|