Home
last modified time | relevance | path

Searched refs:jptr (Results 1 – 19 of 19) sorted by relevance

/external/compiler-rt/test/tsan/
Djava.h4 typedef unsigned long jptr; // NOLINT typedef
6 void __tsan_java_init(jptr heap_begin, jptr heap_size);
8 void __tsan_java_alloc(jptr ptr, jptr size);
9 void __tsan_java_free(jptr ptr, jptr size);
10 void __tsan_java_move(jptr src, jptr dst, jptr size);
12 void __tsan_java_mutex_lock(jptr addr);
13 void __tsan_java_mutex_unlock(jptr addr);
14 void __tsan_java_mutex_read_lock(jptr addr);
15 void __tsan_java_mutex_read_unlock(jptr addr);
16 void __tsan_java_mutex_lock_rec(jptr addr, int rec);
[all …]
Djava_move_overlap.cc6 jptr varaddr1_old;
7 jptr varaddr2_old;
8 jptr lockaddr1_old;
9 jptr lockaddr2_old;
10 jptr varaddr1_new;
11 jptr varaddr2_new;
12 jptr lockaddr1_new;
13 jptr lockaddr2_new;
31 __tsan_java_init((jptr)jheap, kHeapSize); in main()
34 varaddr1_old = (jptr)jheap; in main()
[all …]
Djava_symbolization.cc5 extern "C" bool __tsan_symbolize_external(jptr pc, in __tsan_symbolize_external()
6 char *func_buf, jptr func_siz, in __tsan_symbolize_external()
7 char *file_buf, jptr file_siz, in __tsan_symbolize_external()
21 __tsan_write1_pc((jptr)p, 1234 | kExternalPCBit); in Thread()
28 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main()
34 __tsan_write1_pc((jptr)jheap, 1234 | kExternalPCBit); in main()
Djava_move_overlap_race.cc6 jptr varaddr1_old;
7 jptr varaddr2_old;
8 jptr varaddr1_new;
9 jptr varaddr2_new;
23 __tsan_java_init((jptr)jheap, kHeapSize); in main()
26 varaddr1_old = (jptr)jheap; in main()
27 varaddr2_old = (jptr)jheap + kBlockSize - 1; in main()
Djava_race_pc.cc16 __tsan_read1_pc((jptr)p, (jptr)foobar + 1); in Thread()
23 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main()
29 __tsan_write1_pc((jptr)jheap, (jptr)barbaz + 1); in main()
Djava_alloc.cc6 void stress(jptr addr) { in stress()
7 for (jptr sz = 8; sz <= 32; sz <<= 1) { in stress()
8 for (jptr i = 0; i < kHeapSize / 4 / sz; i++) { in stress()
17 stress((jptr)p); in Thread()
22 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main()
Djava_lock_move.cc4 jptr varaddr;
5 jptr lockaddr;
6 jptr varaddr2;
7 jptr lockaddr2;
20 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main()
Djava_heap_init.cc11 jptr jheap = (jptr)mmap(0, kHeapSize, PROT_READ | PROT_WRITE, in main()
13 if (jheap == (jptr)MAP_FAILED) in main()
17 jheap = (jptr)mmap((void*)jheap, kHeapSize, PROT_READ | PROT_WRITE, in main()
19 if (jheap == (jptr)MAP_FAILED) in main()
Djava_race_move.cc4 jptr varaddr;
5 jptr varaddr2;
16 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main()
Djava_lock.cc4 jptr varaddr;
5 jptr lockaddr;
18 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main()
Djava_rwlock.cc4 jptr varaddr;
5 jptr lockaddr;
18 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main()
Djava_volatile.cc4 jptr varaddr;
5 jptr lockaddr;
18 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main()
Djava_lock_rec_race.cc4 jptr varaddr;
5 jptr lockaddr;
29 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main()
Djava_lock_rec.cc4 jptr varaddr;
5 jptr lockaddr;
31 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main()
Djava_race.cc13 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main()
Djava_finalizer.cc14 jptr jheap = (jptr)malloc(kHeapSize + 8) + 8; in main()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interface_java.h35 typedef unsigned long jptr; // NOLINT typedef
38 void __tsan_java_init(jptr heap_begin, jptr heap_size) INTERFACE_ATTRIBUTE;
47 void __tsan_java_alloc(jptr ptr, jptr size) INTERFACE_ATTRIBUTE;
50 void __tsan_java_free(jptr ptr, jptr size) INTERFACE_ATTRIBUTE;
54 void __tsan_java_move(jptr src, jptr dst, jptr size) INTERFACE_ATTRIBUTE;
64 void __tsan_java_mutex_lock(jptr addr) INTERFACE_ATTRIBUTE;
66 void __tsan_java_mutex_unlock(jptr addr) INTERFACE_ATTRIBUTE;
68 void __tsan_java_mutex_read_lock(jptr addr) INTERFACE_ATTRIBUTE;
70 void __tsan_java_mutex_read_unlock(jptr addr) INTERFACE_ATTRIBUTE;
74 void __tsan_java_mutex_lock_rec(jptr addr, int rec) INTERFACE_ATTRIBUTE;
[all …]
Dtsan_interface_java.cc25 const jptr kHeapAlignment = 8;
33 JavaContext(jptr heap_begin, jptr heap_size) in JavaContext()
69 void __tsan_java_init(jptr heap_begin, jptr heap_size) { in __tsan_java_init()
91 void __tsan_java_alloc(jptr ptr, jptr size) { in __tsan_java_alloc()
104 void __tsan_java_free(jptr ptr, jptr size) { in __tsan_java_free()
117 void __tsan_java_move(jptr src, jptr dst, jptr size) { in __tsan_java_move()
159 void __tsan_java_mutex_lock(jptr addr) { in __tsan_java_mutex_lock()
170 void __tsan_java_mutex_unlock(jptr addr) { in __tsan_java_mutex_unlock()
180 void __tsan_java_mutex_read_lock(jptr addr) { in __tsan_java_mutex_read_lock()
191 void __tsan_java_mutex_read_unlock(jptr addr) { in __tsan_java_mutex_read_unlock()
[all …]
/external/eigen/Eigen/src/SparseLU/
DSparseLU_column_dfs.h117 Index fsupc, jptr, jm1ptr, ito, ifrom, istop; in column_dfs() local
130 jptr = glu.xlsub(jcol); // Not yet compressed in column_dfs()
134 if ( (nextl-jptr != jptr-jm1ptr-1) ) jsuper = emptyIdxLU; in column_dfs()
151 istop = ito + jptr - jm1ptr; in column_dfs()