Home
last modified time | relevance | path

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

12

/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/llvm-project/mlir/test/Conversion/ShapeToStandard/
Dconvert-shape-constraints.mlir6 // CHECK-SAME: %[[RHS:.*]]: tensor<?xindex>) -> !shape.witness {
29 // CHECK: return %[[RET]] : !shape.witness
31 func @cstr_broadcastable(%arg0: tensor<?xindex>, %arg1: tensor<?xindex>) -> !shape.witness {
32 %witness = shape.cstr_broadcastable %arg0, %arg1 : tensor<?xindex>, tensor<?xindex>
33 return %witness : !shape.witness
37 func @cstr_require(%arg0: i1) -> !shape.witness {
41 %witness = shape.cstr_require %arg0, "msg"
42 return %witness : !shape.witness
Dshape-to-standard.mlir426 func @broadcast(%a : tensor<?xindex>, %b : tensor<?xindex>) -> !shape.witness {
428 return %0 : !shape.witness
433 // CHECK-SAME: %[[RHS:.*]]: tensor<?xindex>) -> !shape.witness {
460 // CHECK: return %[[RESULT]] : !shape.witness
/external/llvm-project/mlir/test/Dialect/Shape/
Dcanonicalize.mlir338 // CHECK-NEXT: consume.witness
341 "consume.witness"(%0) : (!shape.witness) -> ()
350 // CHECK-NEXT: consume.witness
356 "consume.witness"(%0) : (!shape.witness) -> ()
367 // CHECK-NEXT: consume.witness
372 "consume.witness"(%0) : (!shape.witness) -> ()
381 // CHECK-NEXT: consume.witness
384 "consume.witness"(%0) : (!shape.witness) -> ()
393 // CHECK-NEXT: consume.witness
397 "consume.witness"(%0) : (!shape.witness) -> ()
[all …]
/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/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/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/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/tests/
Dbufferize.mlir62 // CHECK-SAME: (%[[WITNESS:.*]]: !shape.witness, %[[ARG:.*]]: memref<?xf32>)
64 func @assuming(%witness: !shape.witness, %arg : memref<?xf32>)
71 %assuming_result = shape.assuming %witness -> (tensor<?xf32>) {
/external/llvm-project/llvm/test/CodeGen/X86/
D2009-02-21-ExtWeakInitializer.ll11 %struct.lock_object = type <{ i8*, i32, i32, %struct.witness* }>
18 %struct.witness = type opaque
/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/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/auto/value/src/test/java/com/google/auto/value/processor/
DSimplifyWithAnnotationsTest.java159 ExecutableElement witness = in testTypeSpellings() local
164 if (witness.getReturnType().getAnnotationMirrors().isEmpty()) { in testTypeSpellings()
/external/llvm-project/mlir/lib/Dialect/Shape/Transforms/
DStructuralTypeConversions.cpp34 rewriter.create<AssumingOp>(op.getLoc(), newResultTypes, op.witness()); in matchAndRewrite()
/external/llvm-project/mlir/include/mlir/Dialect/Shape/Transforms/
DPasses.td15 let summary = "Replace all cstr_ ops with a true witness";
/external/llvm-project/mlir/lib/Dialect/Shape/IR/
DShape.cpp203 p << AssumingOp::getOperationName() << " " << op.witness(); in print()
220 auto witness = op.witness().getDefiningOp<ConstWitnessOp>(); in matchAndRewrite() local
221 if (!witness || !witness.passingAttr()) in matchAndRewrite()
/external/usrsctp/usrsctplib/
Duser_malloc.h130 struct witness *_lo_witness;
/external/llvm-project/mlir/include/mlir/Dialect/Shape/IR/
DShapeBase.td130 CPred<"$_self.isa<::mlir::shape::WitnessType>()">, "witness">,
133 A witness is a structural device in the compiler to maintain ordering of
DShapeOps.td652 let arguments = (ins Shape_WitnessType:$witness);
691 Given two input shapes or extent tensors, return a witness specifying if
737 let summary = "An operation that returns a statically known witness value";
739 This operation represents a statically known witness result. This can be
763 !shape.witness to order this assertion.
/external/okio/docs/
Dcode_of_conduct.md61 If you experience or witness unacceptable behavior — or have any other concerns — please report it …
75 If you experience or witness unacceptable behavior — or have any other concerns — please report it …
/external/boringssl/src/crypto/fipsmodule/bn/
Dmiller_rabin_tests.txt2 # witness for W. W must be odd and B must satisfy 1 <= B <= W-1.
14 # # b is a composite witness for w iff the following are true:
/external/jemalloc_new/
DAndroid.bp174 "src/witness.c",
310 "test/unit/witness.c",
/external/mesa3d/docs/relnotes/
D18.0.5.rst40 - The witness + dxvk suffers flickering garbage

12