Searched refs:s_x (Results 1 - 4 of 4) sorted by relevance

/external/valgrind/main/drd/tests/
H A Datomic_var.c3 * Although another variable (s_x) is also modified by both threads, no race
32 static int s_x = 0; variable
33 /* g_dummy[] ensures that s_x and s_y are not in the same cache line. */
40 (void) sync_add_and_fetch(&s_x, 1);
46 while (sync_add_and_fetch(&s_x, 0) == 0)
H A Dtsan_unittest.cpp4093 static int s_x = 0; member in namespace:test84
4094 /* s_dummy[] ensures that s_x and s_y are not in the same cache line. */
4101 AtomicIncrement(&s_x, 1);
4106 while (AtomicIncrement(&s_x, 0) == 0)
/external/clang/test/Sema/
H A Dformat-strings-scanf.c17 unsigned short s_x; local
18 scanf ("%" "hu" "\n", &s_x); // no-warning
/external/valgrind/unittest/
H A Dracecheck_unittest.cc3906 static int s_x = 0; member in namespace:test84
3907 /* s_dummy[] ensures that s_x and s_y are not in the same cache line. */
3914 AtomicIncrement(&s_x, 1);
3919 while (AtomicIncrement(&s_x, 0) == 0)

Completed in 92 milliseconds