Home | History | Annotate | Download | only in tests

Lines Matching defs:printf

149 #define printf(args...) \
176 printf ("Time: %4ldms\n", end-start);
240 printf("FLAGS [phb=%i, fm=%i]\n", Tsan_PureHappensBefore(), Tsan_FastMode());
325 printf("test00: negative\n");
326 printf("\tGLOB=%d\n", GLOB);
351 printf("test01: positive\n");
354 printf("\tGLOB=%d\n", tmp);
401 printf("test02: negative\n");
403 printf("\tGLOB=%d\n", GLOB);
446 printf("test03: negative\n");
448 printf("\tGLOB=%d\n", GLOB);
477 printf("test04: negative\n");
481 printf("\tGLOB=%d\n", GLOB);
533 printf("test05: unavoidable false positive\n");
535 printf("\tGLOB=%d\n", GLOB);
584 printf("test06: negative\n");
586 printf("\tGLOB=%d\n", GLOB);
631 printf("test07: negative\n");
633 printf("\tGLOB=%d\n", GLOB);
661 printf("test08: negative\n");
663 printf("\tGLOB=%d\n", GLOB);
687 printf("test09: positive\n");
691 printf("\tGLOB=%d\n", GLOB);
724 printf("test10: positive\n");
728 printf("\tGLOB=%d\n", GLOB);
778 printf("test11: negative\n");
780 printf("\tGLOB=%d\n", GLOB);
824 printf("test12: negative\n");
828 printf("\tGLOB=%d\n", GLOB);
876 printf("test13: negative\n");
883 printf("\tGLOB=%d\n", GLOB);
920 printf("test14: negative\n");
924 printf("\tGLOB=%d\n", GLOB);
961 printf("test15: negative\n");
965 printf("\tGLOB=%d\n", GLOB);
1013 printf("test16: negative\n");
1017 printf("\tGLOB=%d\n", GLOB);
1047 printf("test17: negative\n");
1051 printf("\tGLOB=%d\n", GLOB);
1084 printf("test18: negative\n");
1086 printf("\tGLOB=%d\n", GLOB);
1117 printf("test19: negative\n");
1119 printf("\tGLOB=%d\n", GLOB);
1148 printf("test20: positive\n");
1150 printf("\tGLOB=%d\n", GLOB);
1178 printf("test21: positive\n");
1180 printf("\tGLOB=%d\n", GLOB);
1214 printf("test22: positive\n");
1216 printf("\tGLOB=%d\n", GLOB);
1271 printf("test23: negative\n");
1279 printf("\tGLOB=%d\n", GLOB);
1309 printf("test24: negative\n");
1311 printf("\tGLOB=%d\n", GLOB);
1342 printf("test25: negative\n");
1344 printf("\tGLOB=%d\n", GLOB);
1372 printf("test26: positive\n");
1374 printf("\tGLOB=%d\n", GLOB);
1393 printf("test27: negative\n");
1397 printf("\tGLOB=%d\n", GLOB);
1439 printf("test28: negative\n");
1443 printf("\tGLOB=%d\n", GLOB);
1482 printf("test29: negative\n");
1488 printf("\tGLOB=%d\n", GLOB);
1550 printf("test30: negative\n");
1554 printf("\tGLOB=%d\n", GLOB[N-1]);
1605 printf("test31: negative\n");
1609 printf("\tGLOB=%d\n", GLOB[N-1]);
1667 printf("test32: negative\n");
1669 printf("\tGLOB=%d\n", GLOB);
1703 printf("test33:\n");
1720 printf("------------------\n");
1723 printf("\tGLOB=%d; ARR[1]=%d; ARR[7]=%d; ARR[N-1]=%d\n",
1750 printf("test34:\n");
1761 printf("------------------\n");
1763 printf("\tGLOB=%d\n", GLOB);
1786 printf("test35:\n");
1862 printf("test36: negative \n");
1866 printf("\tGLOB=%d\n", GLOB);
1898 printf("test37: negative\n");
1902 printf("\tGLOB=%d\n", GLOB);
1967 printf("test38: negative\n");
1973 printf("\tGLOB=%d\n", GLOB);
1999 printf("test39: negative\n");
2007 printf("\tGLOB=%d\n", GLOB);
2074 printf("test40: negative\n");
2080 printf("\tGLOB=%d\n", GLOB);
2093 printf("test41: negative\n");
2146 printf("test42: negative\n");
2150 printf("\tGLOB=%d\n", GLOB);
2178 printf("test43: negative\n");
2182 printf("\tGLOB=%d\n", GLOB);
2219 printf("test44: negative\n");
2223 printf("\tGLOB=%d\n", GLOB);
2259 printf("test45: negative\n");
2263 printf("\tGLOB=%d\n", GLOB);
2298 printf("\tGLOB=%d\n", GLOB);
2340 printf("test47: positive\n");
2344 printf("\tGLOB=%d\n", GLOB);
2378 printf("test48: positive\n");
2382 printf("\tGLOB=%d\n", GLOB);
2421 printf("test49: positive\n");
2425 printf("\tGLOB=%d\n", GLOB);
2485 printf("test50: positive\n");
2487 printf("\tGLOB=%d\n", GLOB);
2560 printf("test51: positive\n");
2562 printf("\tGLOB=%d\n", GLOB);
2631 printf("test52: positive\n");
2633 printf("\tGLOB=%d\n", GLOB);
2693 printf("test53: FP. false positive, Implicit semaphore\n");
2697 printf("\tGLOB=%d\n", GLOB);
2736 printf("test54: negative\n");
2740 printf("\tGLOB=%d\n", GLOB);
2775 printf("test55:\n");
2779 printf("\tGLOB=%d\n", GLOB);
2800 printf("test56: positive\n");
2804 printf("\tGLOB=%d\n", GLOB);
2823 printf("test57: negative\n");
2828 printf("\tGLOB=%d\n", GLOB);
2863 printf("test58:\n");
2867 printf("\tGLOB1=%d\n", GLOB1);
2868 printf("\tGLOB2=%d\n", GLOB2);
2902 printf("test59: negative\n");
2908 printf("\tGLOB1=%d\n", GLOB1);
2909 printf("\tGLOB2=%d\n", GLOB2);
2961 printf("test60: negative\n");
2965 printf("\tGLOB1=%d\n", GLOB1);
2966 printf("\tGLOB2=%d\n", GLOB2);
3008 printf("test61: negative\n");
3012 printf("\tGLOB=%d\n", GLOB);
3028 printf("i=%d\n", i);
3040 printf("test62:\n");
3059 printf("i=%d\n", i);
3069 printf("test63:\n");
3112 printf("test64: positive\n");
3116 printf("\tGLOB=%d\n", GLOB);
3167 printf("test65: positive\n");
3171 printf("\tGLOB=%d\n", GLOB);
3219 printf("test66: negative\n");
3223 printf("\tGLOB=%d/%d\n", GLOB1, GLOB2);
3275 printf("test67: positive\n");
3279 printf("\tGLOB=%d\n", GLOB);
3327 printf("test68: positive\n");
3331 printf("\tGLOB=%d\n", GLOB);
3380 printf("test69: negative\n");
3384 printf("\tGLOB=%d\n", GLOB);
3393 printf("test70: negative\n");
3396 printf("\tGLOB=%d\n", GLOB);
3442 printf("test71: negative (strlen & index)\n");
3449 printf("\tstrX=%s; strY=%s\n", str, str+5);
3482 //printf("Iter: %d; %ld %ld\n", it, clock() - t, clock() - t0);
3507 printf("test72:\n");
3528 /*printf("\tGLOB=%d; ARR[1]=%d; ARR[7]=%d; ARR[N-1]=%d\n",
3599 printf("test73:\n");
3620 /*printf("\tGLOB=%d; ARR[1]=%d; ARR[7]=%d; ARR[N-1]=%d\n",
3633 printf("test74: perf\n");
3669 printf("test75: negative\n");
3681 printf("\tGLOB=%d\n", GLOB);
3705 printf("\tRefCountedClass::data_ = %d\n", data_val);
3773 printf("test76: false positive (ref counting)\n");
3800 printf("test77: true negative (ref counting), mutex is annotated\n");
3827 printf("test78: true negative (ref counting), Unref is annotated\n");
3874 printf("test79: negative\n");
3898 printf("\tRefCountedClass::data_ = %d\n", data_val);
3952 printf("test80: false positive (ref counting)\n");
3978 printf("test81: negative (annotated ref counting)\n");
4044 printf("rd %d\n", i);
4054 printf("test82: positive\n");
4084 // printf("test83: positive\n");
4114 printf("y = %d\n", s_y);
4120 printf("test84: positive\n");
4135 printf("test85: RunningOnValgrind() = %d\n", RunningOnValgrind());
4175 A() { printf("A::A()\n"); }
4176 virtual ~A() { printf("A::~A()\n"); }
4183 B() { printf("B::B()\n"); }
4186 printf("B::~B()\n");
4190 printf("B::~B() done\n");
4199 printf("Waiter: B created\n");
4202 printf("Waiter: deleting B\n");
4204 printf("Waiter: B deleted\n");
4206 printf("Waiter: done\n");
4211 printf("Worker: got A\n");
4218 printf("Worker: done\n");
4222 printf("test86: positive, race inside DTOR\n");
4248 A() { printf("A::A()\n"); }
4249 virtual ~A() { printf("A::~A()\n"); }
4254 B() { printf("B::B()\n"); }
4257 printf("B::~B()\n");
4261 printf("B::~B() done\n");
4267 C() { printf("C::C()\n"); }
4268 virtual ~C() { printf("C::~C()\n"); }
4289 printf("test87: positive, race inside DTOR\n");
4308 printf("test88: negative, test for ANNOTATE_IGNORE_WRITES_*\n");
4313 printf("\tGLOB=%d\n", GLOB);
4371 printf("test89: negative\n");
4379 printf("Using 'a->a': %d\n", a->a);
4426 printf("test90: false positive (safely published pointer).\n");
4430 printf("\t*GLOB=%d\n", *GLOB);
4475 printf("test91: false positive (safely published pointer, read/write).\n");
4479 printf("\t*GLOB=%d\n", *GLOB);
4543 printf("test92: safely published pointer, read/write, annotated.\n");
4547 printf("\t*GLOB=%d\n", GLOB->arr[0]);
4568 printf("test93: positive, misuse of ANNOTATE_PUBLISH_MEMORY_RANGE\n");
4572 printf("\tGLOB=%d\n", GLOB);
4622 printf("test94: TP. Check do_cv_signal/fake segment logic\n");
4626 printf("\tGLOB=%d\n", GLOB);
4675 printf("test95: TP. Check do_cv_signal/fake segment logic\n");
4679 printf("\tGLOB=%d\n", GLOB);
4712 printf("test96: FP. tricky LockSet behaviour\n");
4718 printf("\tGLOB=%d\n", GLOB);
4746 printf("test97: This test shows false negative with --fast-mode=yes\n");
4783 printf("read: %s\n", buff);
4788 printf("test98: negative, synchronization via I/O\n");
4808 printf("\tGLOB=%d\n", GLOB);
4844 printf("test99: regression test for LockWhen*\n");
4881 printf("test100: test for initialization bit. \n");
4907 printf("signal\n");
4916 printf("signal\n");
4924 printf("wait\n");
4930 printf("wait\n");
4938 printf("test101: negative\n");
4942 printf("\tGLOB=%d\n", GLOB);
4973 printf("test102: --fast-mode=yes vs. --initialization-bit=yes\n");
5015 printf("test103: Access different memory locations with different LockSets\n");
5042 printf("test104: positive\n");
5044 printf("\tGLOB=%d\n", *GLOB);
5073 printf("test105: negative\n");
5078 printf("\tGLOB=%d\n", GLOB);
5105 printf("test106: negative\n");
5109 printf("\tGLOB=%d\n", *GLOB);
5119 printf("test107: negative\n");
5121 printf("\tGLOB=%d\n", GLOB);
5164 printf("test108: negative, initialization of static object\n");
5184 // printf("--Worker : %ld %p\n", (int*)a - GLOB, (void*)pthread_self());
5190 printf("test109: negative\n");
5199 // printf("--Started: %p\n", (void*)t[i]->tid());
5202 // printf("--Joining: %p\n", (void*)t[i]->tid());
5204 // printf("--Joined : %p\n", (void*)t[i]->tid());
5209 printf("\tGLOB=%d\n", GLOB[13]);
5301 printf("test110: positive (race on a stack object)\n");
5302 printf("\tSTACK=%d\n", *STACK);
5334 // printf("ArgIsTrue: %d tid=%d\n", *arg, (int)pthread_self());
5368 printf("test111: regression test\n");
5431 printf("test112: stability (ANNOTATE_PUBLISH_MEMORY_RANGE)\n");
5452 printf("GLOB = %d\n", (int)GLOB[0]);
5464 printf("test113: perf\n");
5493 printf("test114: stab\n");
5541 printf("test115: stab (sem_open())\n");
5592 printf("test116: negative (strings)\n");
5615 printf("test117: negative\n");
5649 printf("test118: perf\n");
5653 printf("\tGLOB=%d\n", GLOB);
5672 printf("test119: positive (checking if malloc creates HB arcs)\n");
5679 printf("\tGLOB=%d\n", GLOB);
5702 printf("test120: positive\n");
5707 printf("\tGLOB=%d\n", GLOB);
5747 printf("test121: TP. Example of double-checked-locking\n");
5780 printf("test122: positive (rw-lock)\n");
5926 printf("test123: positive (different sizes)\n");
5956 printf("test124: negative\n");
5960 printf("\tGLOB=%d\n", GLOB);
5999 printf("sum=%d\n", sum);
6003 printf("test125: negative\n");
6036 printf("test126: negative\n");
6043 printf("\tGLOB=%d\n", GLOB);
6060 printf("test127: unlocking a mutex locked by another thread.\n");
6083 printf("test128: Suppressed code in concurrent accesses.\n");
6113 printf("test129: Synchronization via ReaderLockWhen()\n");
6118 printf("\tGLOB=%d\n", GLOB);
6159 printf("test130: Per-thread\n");
6163 printf("\tper_thread_global=%d\n", per_thread_global[1]);
6190 printf("test131: stack\n");
6207 printf("test132: positive; &GLOB=%p\n", &GLOB);
6232 printf("test133: positive; &GLOB=%p\n", &GLOB);
6286 printf("test134: negative (swap)\n");
6316 printf("test135: negative (mmap)\n");
6327 printf("test136: unlock twice\n");
6338 printf(" pthread_mutex_unlock returned %d\n", ret_unlock);
6339 printf(" pthread_mutex_destroy returned %d\n", ret_destroy);
6364 printf("test137: TP. Races on stack variables.\n");
6386 printf("test138: FN. Two closures hit the same thread in ThreadPool.\n");
6421 printf("test139: FN. A true race hidden by reference counting annotation.\n");
6490 printf("test140: negative (swap) %p\n", &container);
6510 printf(" Deleting file...\n");
6520 printf(" ...file has been deleted\n");
6529 printf(" Deleting directory...\n");
6539 printf(" ...directory has been deleted\n");
6546 printf("test141: FP. unlink/fopen, rmdir/opendir.\n");
6629 printf("T=%zd: non_zero_received=%d\n",
6634 printf("test142: tests PCQ annotations\n");
6671 printf("test143: tests PCQ annotations (true positive)\n");
6708 printf("test301: simple race.\n");
6754 printf("test302: Complex race that happens twice.\n");
6773 printf("test303: a race that needs annotations.\n");
6812 printf("test304: a race where memory tracing does not work.\n");
6817 printf("%s\n", STR->c_str());
6847 printf("test305: simple race.\n");
6872 printf("test306: simple race.\n");
6913 printf("test307: simple race, code with control flow\n");
6955 printf("test308: Example of double-checked-locking\n");
6976 printf("test309: simple race on an STL object.\n");
7025 printf("test310: simple race.\n");
7088 printf("test311: simple race.\n");
7137 printf("test312: simple race with deep stack.\n");
7163 printf("test313: positive\n");
7165 printf("\tGLOB=%d\n", GLOB);
7327 printf("test501: Manually call PRINT_* annotations.\n");
7364 printf("test502: produce lots of segments without cross-thread relations\n");
7421 printf("test503: produce lots of segments with simple HB-relations\n");
7478 printf("test504: force massive CacheLineZ fetch-wback\n");
7529 printf("test505: force massive CacheLineF fetch-wback\n");
7560 printf("test506: massive HB's using Barriers\n");
7607 printf("test507: vgHelgrind_initIterAtFM/stackClear benchmark\n");
7646 printf("test508: cmp_WordVecs_for_FM benchmark\n");
7679 printf("test509: avl_find_node benchmark\n");
7709 printf("test510: SS-recycle test\n");
7798 printf("test513: --fast-mode benchmark\n");