/external/llvm/test/MC/Hexagon/ |
empty_asm.s | 4 barrier label 6 barrier label 8 # CHECK-NEXT: barrier 12 # CHECK-NEXT: barrier
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Hexagon/ |
empty_asm.s | 4 barrier label 6 barrier label 8 # CHECK-NEXT: barrier 12 # CHECK-NEXT: barrier
|
/external/llvm/test/MC/Hexagon/instructions/ |
system_user.s | 16 # Memory barrier 18 barrier label
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_init/ |
3-1.c | 29 pthread_barrier_t barrier; local 31 /* Intilized barrier with count 0 (it should return EINVAL) */ 33 rc = pthread_barrier_init(&barrier, NULL, COUNT); 37 ("Test FAILED: pthread_barrier_init() does not return EINVAL when initializing a barrier with count=0,"
|
1-1.c | 11 * required to use the barrier referenced by barrier and shall initialize 12 * the barrier with attributes referenced by attr. If attr is NULL, 13 * the default barrier attributes shall be used; 14 * the effect is the same as passing the address of a default barrier attributes object. 29 static pthread_barrier_t barrier; variable 36 /* Intilized barrier with NULL attribute, check that this can be done. */ 37 rc = pthread_barrier_init(&barrier, NULL, COUNT); 46 if (pthread_barrier_destroy(&barrier) != 0) { 52 /* Initialize a barrier attribute object * [all...] |
4-1.c | 10 * [EBUSY] The implementation has detected an attempt to reinitialize a barrier while it is 17 * 1. Main initialize barrier with count 2 31 static pthread_barrier_t barrier; variable 46 printf("thread: barrier wait\n"); 47 rc = pthread_barrier_wait(&barrier); 64 printf("Test PASSED: main blocked on barrier init\n"); 81 printf("main: Initialize barrier with count = 2\n"); 82 if (pthread_barrier_init(&barrier, NULL, 2) != 0) { 113 printf("main: reinitilize barrier while thread is blocking on it\n"); 114 rc = pthread_barrier_init(&barrier, NULL, 2) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Hexagon/instructions/ |
system_user.s | 16 # Memory barrier 18 barrier label
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/ |
xf-sys.h | 46 #define barrier() \ macro 49 /* ...memory barrier */ 55 ({ if ((length)) { xthal_dcache_region_invalidate((buf), (length)); barrier(); } buf; }) 59 ({ if ((length)) { barrier(); xthal_dcache_region_writeback((buf), (length)); XF_PROXY_BARRIER(); } buf; })
|
/external/deqp/external/vulkancts/framework/vulkan/ |
vkBarrierUtil.cpp | 36 const VkBufferMemoryBarrier barrier = local 48 return barrier; 60 const VkImageMemoryBarrier barrier = local 73 return barrier; 79 const VkMemoryBarrier barrier = local 86 return barrier;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_destroy/ |
1-1.c | 10 * The pthread_barrier_destroy() function shall destroy the barrier 11 * referenced by barrier and release any resources used by the barrier. 14 * 1. Main initialize barrier with count 2 15 * 2. Main destroy the barrier 26 static pthread_barrier_t barrier; variable 35 if (pthread_barrier_init(&barrier, NULL, 2) != 0) { 41 rc = pthread_barrier_destroy(&barrier);
|
2-1.c | 10 * Attempt to destroy a barrier which has a waiter. The standard recommends 13 * barrier. 35 static pthread_barrier_t barrier; variable 48 printf("child: barrier wait\n"); 50 rc = pthread_barrier_wait(&barrier); 70 rc = pthread_barrier_wait(&barrier); 85 printf("main: Initialize barrier with count = 2\n"); 86 if (pthread_barrier_init(&barrier, NULL, 2) != 0) { 121 printf("main: destroy barrier while child is waiting\n"); 122 rc = pthread_barrier_destroy(&barrier); [all...] |
/external/compiler-rt/test/tsan/ |
must_deadlock.cc | 13 pthread_barrier_t barrier; variable 18 pthread_barrier_wait(&barrier); 29 pthread_barrier_init(&barrier, 0, 2); 39 pthread_barrier_wait(&barrier); 48 pthread_barrier_destroy(&barrier);
|
barrier.cc | 16 pthread_barrier_t barrier; variable 26 pthread_barrier_wait(&barrier); 32 pthread_barrier_init(&barrier, 0, kSize); 38 pthread_barrier_destroy(&barrier);
|
test.h | 14 // TSan-invisible barrier. 22 void __tsan_testonly_barrier_init(invisible_barrier_t *barrier, 24 void __tsan_testonly_barrier_wait(invisible_barrier_t *barrier); 29 static inline void barrier_init(invisible_barrier_t *barrier, unsigned count) { 30 __tsan_testonly_barrier_init(barrier, count); 33 static inline void barrier_wait(invisible_barrier_t *barrier) { 34 __tsan_testonly_barrier_wait(barrier); 37 // Default instance of the barrier, but a test can declare more manually. 38 invisible_barrier_t barrier; variable
|
/external/u-boot/include/linux/ |
compiler-intel.h | 16 #undef barrier macro 21 #define barrier() __memory_barrier() macro 22 #define barrier_data(ptr) barrier() 29 /* This should act as an optimization barrier on var. 30 * Given that this compiler does not have inline assembly, a compiler barrier 33 #define OPTIMIZER_HIDE_VAR(var) barrier()
|
/external/antlr/tool/src/main/java/org/antlr/analysis/ |
NFAConversionThread.java | 30 import org.antlr.misc.Barrier; 38 Barrier barrier; field in class:NFAConversionThread 40 Barrier barrier, 45 this.barrier = barrier; 59 barrier.waitForRelease();
|
/art/test/033-class-init-deadlock/src/ |
Main.java | 28 public static CyclicBarrier barrier = new CyclicBarrier(3); field in class:Main 40 try { barrier.await(); } catch (Exception e) { System.out.println(e); } 56 try { Main.barrier.await(); } catch (Exception e) { System.out.println(e); } 66 try { Main.barrier.await(); } catch (Exception e) { System.out.println(e); }
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
test_pkt_access.c | 20 #define barrier() __asm__ __volatile__("": : :"memory") macro 57 barrier(); /* to force ordering of checks */
|
/external/linux-kselftest/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/ |
barriers.h | 5 #define barrier() __asm__ __volatile__("" : : : "memory") macro
|
/external/ltp/lib/newlib_tests/ |
test08.c | 27 static pthread_barrier_t barrier; variable 31 pthread_barrier_init(&barrier, NULL, THREADS); 52 pthread_barrier_wait(&barrier);
|
/art/test/952-invoke-custom/src/ |
TestInvokeCustomWithConcurrentThreads.java | 49 // Synchronization barrier all threads will wait on in the bootstrap method. 50 private static final CyclicBarrier barrier = new CyclicBarrier(NUMBER_OF_THREADS); field in class:TestInvokeCustomWithConcurrentThreads 99 barrier.await();
|
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/ |
ExecutorFactoryTest.java | 79 final CyclicBarrier barrier = new CyclicBarrier(CONCURRENCY_LEVEL + 1); local 92 barrier.await(); 102 barrier.await();
|
/external/capstone/bindings/python/capstone/ |
arm64.py | 30 ('barrier', ctypes.c_int), 73 def barrier(self): member in class:Arm64Op 74 return self.value.barrier
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_barrier_wait/ |
1-1.c | 10 * at the barrier referenced by barrier. The calling thread shall block 12 * specifying the barrier. 15 * 1. Main initialize barrier with count 2 29 static pthread_barrier_t barrier; variable 40 printf("child: barrier wait\n"); 41 rc = pthread_barrier_wait(&barrier); 59 printf("Test FAILED: main blocked on barrier wait\n"); 76 printf("Initialize barrier with count = 2\n"); 77 if (pthread_barrier_init(&barrier, NULL, 2) != 0) [all...] |
2-1.c | 10 * specifying the barrier, the constant PTHREAD_BARRIER_SERIAL_THREAD shall 12 * to each of the remaining threads. At this point, the barrier shall 18 * 2. In each loop, Main thread initialize barrier, with count set to THREAD_NUM 37 static pthread_barrier_t barrier; variable 47 printf("child[%d]: barrier wait\n", thread_num); 48 rc = pthread_barrier_wait(&barrier); 74 printf("Initialize barrier with count = %d\n", THREAD_NUM); 75 if (pthread_barrier_init(&barrier, NULL, THREAD_NUM) != 0) { 114 if (pthread_barrier_destroy(&barrier) != 0) {
|