HomeSort by relevance Sort by last modified time
    Searched refs:witness (Results 1 - 14 of 14) sorted by null

  /external/jemalloc_new/src/
witness.c 9 witness_init(witness_t *witness, const char *name, witness_rank_t rank,
11 witness->name = name;
12 witness->rank = rank;
13 witness->comp = comp;
14 witness->opaque = opaque;
19 const witness_t *witness) {
26 malloc_printf(" %s(%u)\n", witness->name, witness->rank);
32 witness_owner_error_impl(const witness_t *witness) {
33 malloc_printf("<jemalloc>: Should own %s(%u)\n", witness->name
    [all...]
mutex.c 176 witness_init(&mutex->witness, name, rank,
179 witness_init(&mutex->witness, name, rank, NULL, NULL);
200 if (malloc_mutex_init(mutex, mutex->witness.name,
201 mutex->witness.rank, mutex->lock_order)) {
  /external/jemalloc/include/jemalloc/internal/
witness.h 11 * the witness machinery.
53 * Witness rank, where 0 is lowest and UINT_MAX is highest. Witnesses
73 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);
    [all...]
mutex.h 51 witness_t witness; member in struct:malloc_mutex_s
89 witness_assert_not_owner(tsdn, &mutex->witness);
103 witness_lock(tsdn, &mutex->witness);
112 witness_unlock(tsdn, &mutex->witness);
134 witness_assert_owner(tsdn, &mutex->witness);
142 witness_assert_not_owner(tsdn, &mutex->witness);
  /external/jemalloc/src/
witness.c 5 witness_init(witness_t *witness, const char *name, witness_rank_t rank,
9 witness->name = name;
10 witness->rank = rank;
11 witness->comp = comp;
19 witness_lock_error(const witness_list_t *witnesses, const witness_t *witness)
27 malloc_printf(" %s(%u)\n", witness->name, witness->rank);
41 witness_owner_error(const witness_t *witness)
44 malloc_printf("<jemalloc>: Should own %s(%u)\n", witness->name,
45 witness->rank)
    [all...]
mutex.c 109 witness_init(&mutex->witness, name, rank, NULL);
134 if (malloc_mutex_init(mutex, mutex->witness.name,
135 mutex->witness.rank)) {
  /external/jemalloc_new/include/jemalloc/internal/
witness.h 11 * Witnesses with rank WITNESS_RANK_OMIT are completely ignored by the witness
65 /* PER-WITNESS DATA */
84 * Witness rank, where 0 is lowest and UINT_MAX is highest. Witnesses
142 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) {
173 if (w == witness) {
182 witness_assert_owner(witness_tsdn_t *witness_tsdn, const witness_t *witness) {
193 if (witness->rank == WITNESS_RANK_OMIT) {
197 if (witness_owner(witness_tsd, witness)) {
200 witness_owner_error(witness);
    [all...]
mutex.h 7 #include "jemalloc/internal/witness.h"
10 /* Can only acquire one mutex of a given witness rank at a time. */
13 * Can acquire multiple mutexes of the same witness rank, but in
50 * We only touch witness when configured w/ debug. However we
56 witness_t witness; member in union:malloc_mutex_s::__anon25134
62 witness_t witness; member in struct:malloc_mutex_s
164 witness_assert_not_owner(tsdn_witness_tsdp_get(tsdn), &mutex->witness);
171 witness_lock(tsdn_witness_tsdp_get(tsdn), &mutex->witness);
202 witness_assert_not_owner(tsdn_witness_tsdp_get(tsdn), &mutex->witness);
209 witness_lock(tsdn_witness_tsdp_get(tsdn), &mutex->witness);
    [all...]
  /external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/
BubbleSortTest.java 89 int[] witness = new int[len]; local
93 witness[i] = r;
96 Arrays.sort(witness);
97 assertTrue(Arrays.equals(witness, a));
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
tabnanny.py 294 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/python/cpython2/Lib/
tabnanny.py 294 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/python/cpython3/Lib/
tabnanny.py 298 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/jemalloc/test/unit/
witness.c 15 const witness_t *witness)
22 witness_owner_error_intercept(const witness_t *witness)
29 witness_not_owner_error_intercept(const witness_t *witness)
116 assert_false(saw_lock_error, "Unexpected witness lock error");
118 assert_true(saw_lock_error, "Expected witness lock error");
125 assert_false(saw_lock_error, "Unexpected witness lock error");
127 assert_true(saw_lock_error, "Expected witness lock error");
157 assert_false(saw_lock_error, "Unexpected witness lock error");
159 assert_true(saw_lock_error, "Expected witness lock error");
192 assert_false(saw_lock_error, "Unexpected witness lock error")
    [all...]
  /external/jemalloc_new/test/unit/
witness.c 15 const witness_t *witness) {
20 witness_owner_error_intercept(const witness_t *witness) {
25 witness_not_owner_error_intercept(const witness_t *witness) {
124 assert_false(saw_lock_error, "Unexpected witness lock error");
126 assert_true(saw_lock_error, "Expected witness lock error");
134 assert_false(saw_lock_error, "Unexpected witness lock error");
136 assert_true(saw_lock_error, "Expected witness lock error");
165 assert_false(saw_lock_error, "Unexpected witness lock error");
167 assert_true(saw_lock_error, "Expected witness lock error");
198 assert_false(saw_lock_error, "Unexpected witness lock error")
    [all...]

Completed in 240 milliseconds