Home
last modified time | relevance | path

Searched refs:witness (Results 1 – 25 of 34) sorted by relevance

12

/external/jemalloc/include/jemalloc/internal/
Dwitness.h73 void witness_init(witness_t *witness, const char *name, witness_rank_t rank,
80 const witness_t *witness);
86 void witness_owner_error(const witness_t *witness);
92 void witness_not_owner_error(const witness_t *witness);
112 bool witness_owner(tsd_t *tsd, const witness_t *witness);
113 void witness_assert_owner(tsdn_t *tsdn, const witness_t *witness);
114 void witness_assert_not_owner(tsdn_t *tsdn, const witness_t *witness);
116 void witness_lock(tsdn_t *tsdn, witness_t *witness);
117 void witness_unlock(tsdn_t *tsdn, witness_t *witness);
122 witness_owner(tsd_t *tsd, const witness_t *witness) in witness_owner() argument
[all …]
Dmutex.h51 witness_t witness; member
89 witness_assert_not_owner(tsdn, &mutex->witness); in malloc_mutex_lock()
103 witness_lock(tsdn, &mutex->witness); in malloc_mutex_lock()
112 witness_unlock(tsdn, &mutex->witness); in malloc_mutex_unlock()
134 witness_assert_owner(tsdn, &mutex->witness); in malloc_mutex_assert_owner()
142 witness_assert_not_owner(tsdn, &mutex->witness); in malloc_mutex_assert_not_owner()
Djemalloc_internal.h.in380 #include "jemalloc/internal/witness.h"
413 #include "jemalloc/internal/witness.h"
516 #include "jemalloc/internal/witness.h"
550 #include "jemalloc/internal/witness.h"
/external/jemalloc_new/include/jemalloc/internal/
Dwitness.h142 void witness_init(witness_t *witness, const char *name, witness_rank_t rank,
165 witness_owner(witness_tsd_t *witness_tsd, const witness_t *witness) { in witness_owner() argument
173 if (w == witness) { in witness_owner()
182 witness_assert_owner(witness_tsdn_t *witness_tsdn, const witness_t *witness) { in witness_assert_owner() argument
193 if (witness->rank == WITNESS_RANK_OMIT) { in witness_assert_owner()
197 if (witness_owner(witness_tsd, witness)) { in witness_assert_owner()
200 witness_owner_error(witness); in witness_assert_owner()
205 const witness_t *witness) { in witness_assert_not_owner() argument
218 if (witness->rank == WITNESS_RANK_OMIT) { in witness_assert_not_owner()
224 if (w == witness) { in witness_assert_not_owner()
[all …]
Dmutex.h56 witness_t witness; member
62 witness_t witness; member
164 witness_assert_not_owner(tsdn_witness_tsdp_get(tsdn), &mutex->witness); in malloc_mutex_trylock()
171 witness_lock(tsdn_witness_tsdp_get(tsdn), &mutex->witness); in malloc_mutex_trylock()
202 witness_assert_not_owner(tsdn_witness_tsdp_get(tsdn), &mutex->witness); in malloc_mutex_lock()
209 witness_lock(tsdn_witness_tsdp_get(tsdn), &mutex->witness); in malloc_mutex_lock()
214 witness_unlock(tsdn_witness_tsdp_get(tsdn), &mutex->witness); in malloc_mutex_unlock()
222 witness_assert_owner(tsdn_witness_tsdp_get(tsdn), &mutex->witness); in malloc_mutex_assert_owner()
227 witness_assert_not_owner(tsdn_witness_tsdp_get(tsdn), &mutex->witness); in malloc_mutex_assert_not_owner()
/external/jemalloc_new/src/
Dwitness.c9 witness_init(witness_t *witness, const char *name, witness_rank_t rank, in witness_init() argument
11 witness->name = name; in witness_init()
12 witness->rank = rank; in witness_init()
13 witness->comp = comp; in witness_init()
14 witness->opaque = opaque; in witness_init()
19 const witness_t *witness) { in witness_lock_error_impl() argument
26 malloc_printf(" %s(%u)\n", witness->name, witness->rank); in witness_lock_error_impl()
32 witness_owner_error_impl(const witness_t *witness) { in witness_owner_error_impl() argument
33 malloc_printf("<jemalloc>: Should own %s(%u)\n", witness->name, in witness_owner_error_impl()
34 witness->rank); in witness_owner_error_impl()
[all …]
Dmutex.c176 witness_init(&mutex->witness, name, rank, in malloc_mutex_init()
179 witness_init(&mutex->witness, name, rank, NULL, NULL); in malloc_mutex_init()
200 if (malloc_mutex_init(mutex, mutex->witness.name, in malloc_mutex_postfork_child()
201 mutex->witness.rank, mutex->lock_order)) { in malloc_mutex_postfork_child()
/external/jemalloc/src/
Dwitness.c5 witness_init(witness_t *witness, const char *name, witness_rank_t rank, in witness_init() argument
9 witness->name = name; in witness_init()
10 witness->rank = rank; in witness_init()
11 witness->comp = comp; in witness_init()
19 witness_lock_error(const witness_list_t *witnesses, const witness_t *witness) in witness_lock_error() argument
27 malloc_printf(" %s(%u)\n", witness->name, witness->rank); in witness_lock_error()
41 witness_owner_error(const witness_t *witness) in witness_owner_error() argument
44 malloc_printf("<jemalloc>: Should own %s(%u)\n", witness->name, in witness_owner_error()
45 witness->rank); in witness_owner_error()
59 witness_not_owner_error(const witness_t *witness) in witness_not_owner_error() argument
[all …]
Dmutex.c109 witness_init(&mutex->witness, name, rank, NULL); in malloc_mutex_init()
134 if (malloc_mutex_init(mutex, mutex->witness.name, in malloc_mutex_postfork_child()
135 mutex->witness.rank)) { in malloc_mutex_postfork_child()
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/
DBubbleSortTest.java89 int[] witness = new int[len]; in testRandom() local
93 witness[i] = r; in testRandom()
96 Arrays.sort(witness); in testRandom()
97 assertTrue(Arrays.equals(witness, a)); in testRandom()
/external/python/cpython3/Lib/
Dtabnanny.py298 witness = indents[-1].not_less_witness(thisguy)
299 msg = "indent not greater e.g. " + format_witnesses(witness)
327 witness = indents[-1].not_equal_witness(thisguy)
328 msg = "indent not equal e.g. " + format_witnesses(witness)
/external/python/cpython2/Lib/
Dtabnanny.py294 witness = indents[-1].not_less_witness(thisguy)
295 msg = "indent not greater e.g. " + format_witnesses(witness)
323 witness = indents[-1].not_equal_witness(thisguy)
324 msg = "indent not equal e.g. " + format_witnesses(witness)
/external/jemalloc/test/unit/
Dwitness.c15 const witness_t *witness) in witness_lock_error_intercept() argument
22 witness_owner_error_intercept(const witness_t *witness) in witness_owner_error_intercept() argument
29 witness_not_owner_error_intercept(const witness_t *witness) in witness_not_owner_error_intercept() argument
/external/llvm/test/CodeGen/X86/
D2009-02-21-ExtWeakInitializer.ll8 %struct.lock_object = type <{ i8*, i32, i32, %struct.witness* }>
15 %struct.witness = type opaque
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
D2009-02-21-ExtWeakInitializer.ll8 %struct.lock_object = type <{ i8*, i32, i32, %struct.witness* }>
15 %struct.witness = type opaque
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
D2009-02-21-ExtWeakInitializer.ll8 %struct.lock_object = type <{ i8*, i32, i32, %struct.witness* }>
15 %struct.witness = type opaque
/external/jemalloc_new/test/unit/
Dwitness.c15 const witness_t *witness) { in witness_lock_error_intercept() argument
20 witness_owner_error_intercept(const witness_t *witness) { in witness_owner_error_intercept() argument
25 witness_not_owner_error_intercept(const witness_t *witness) { in witness_not_owner_error_intercept() argument
/external/jemalloc/
DAndroid.bp144 "src/witness.c",
260 "test/unit/witness.c",
DMakefile.in112 $(srcroot)src/witness.c
193 $(srcroot)test/unit/witness.c \
/external/jemalloc_new/
DAndroid.bp140 "src/witness.c",
270 "test/unit/witness.c",
DMakefile.in121 $(srcroot)src/witness.c
211 $(srcroot)test/unit/witness.c \
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ScalarEvolution/
Davoid-infinite-recursion-1.ll85 %struct.lock_object = type <{ i8*, i32, i32, %struct.witness* }>
204 %struct.witness = type opaque
/external/llvm/test/Analysis/ScalarEvolution/
Davoid-infinite-recursion-1.ll84 %struct.lock_object = type <{ i8*, i32, i32, %struct.witness* }>
203 %struct.witness = type opaque
/external/swiftshader/third_party/LLVM/test/Analysis/ScalarEvolution/
Davoid-infinite-recursion-1.ll84 %struct.lock_object = type <{ i8*, i32, i32, %struct.witness* }>
203 %struct.witness = type opaque
/external/guava/guava-tests/test/com/google/common/io/testdata/
Dalice_in_wonderland.txt3103 `Call the first witness,' said the King; and the White Rabbit
3105 witness!'
3107 The first witness was the Hatter. He came in with a teacup in
3143 This did not seem to encourage the witness at all: he kept
3257 `Call the next witness!' said the King.
3259 The next witness was the Duchess's cook. She carried the
3269 low voice, `Your Majesty must cross-examine THIS witness.'
3289 `Call the next witness.' And he added in an undertone to the
3290 Queen, `Really, my dear, YOU must cross-examine the next witness.
3294 feeling very curious to see what the next witness would be like,

12