Home
last modified time | relevance | path

Searched refs:synchronized (Results 1 – 25 of 227) sorted by relevance

12345678910

/external/okio/okio/src/jvmMain/kotlin/okio/
DPipe.kt54 synchronized(buffer) { in write()
61 return@synchronized in write()
85 synchronized(buffer) { in flush()
91 return@synchronized in flush()
104 synchronized(buffer) { in close()
109 return@synchronized in close()
128 synchronized(buffer) { in timeout()
145 synchronized(buffer) { in timeout()
169 synchronized(buffer) { in fold()
200 synchronized(buffer) { in fold()
[all …]
D-Platform.kt27 internal actual inline fun <R> synchronized(lock: Any, block: () -> R): R { in toUtf8String() method
28 return kotlin.synchronized(lock, block) in toUtf8String()
/external/llvm-project/compiler-rt/test/tsan/Darwin/
Dobjc-synchronize-nested-recursive.mm11 @synchronized(obj1) {
12 @synchronized(obj1) {
18 @synchronized(obj1) {
19 @synchronized(obj2) {
20 @synchronized(obj1) {
21 @synchronized(obj2) {
Dobjc-synchronize-cycle.mm14 @synchronized(obj1) {
15 @synchronized(obj2) {
20 @synchronized(obj2) {
21 @synchronized(obj1) {
Dobjc-synchronize-cycle-tagged.mm25 @synchronized(obj) {
26 @synchronized(num1) {
31 @synchronized(num2) {
32 @synchronized(obj) {
/external/clang/test/SemaObjC/
Dsynchronized.m8 @synchronized (self) {
18 …@synchronized (b) { // expected-error {{@synchronized requires an Objective-C object type ('struc…
21 …@synchronized (42) { // expected-error {{@synchronized requires an Objective-C object type ('int'…
/external/llvm-project/clang/test/SemaObjC/
Dsynchronized.m8 @synchronized (self) {
18 …@synchronized (b) { // expected-error {{@synchronized requires an Objective-C object type ('struc…
21 …@synchronized (42) { // expected-error {{@synchronized requires an Objective-C object type ('int'…
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
DThreadSafeHeap.kt35 public fun clear(): Unit = synchronized(this) { in <lambda>()
40 public fun peek(): T? = synchronized(this) { firstImpl() } in <lambda>()
42 public fun removeFirstOrNull(): T? = synchronized(this) { in <lambda>()
51 public inline fun removeFirstIf(predicate: (T) -> Boolean): T? = synchronized(this) { in <lambda>()
60 public fun addLast(node: T): Unit = synchronized(this) { addImpl(node) } in <lambda>()
64 public inline fun addLastIf(node: T, cond: (T?) -> Boolean): Boolean = synchronized(this) { in <lambda>()
73 public fun remove(node: T): Boolean = synchronized(this) { in <lambda>()
/external/llvm-project/clang/test/CodeGenObjC/
Dsynchronized.m17 @synchronized(self) {
33 @synchronized(a) {
53 // either that x isn't stored to within the synchronized block or
54 // that the synchronized block can't longjmp.
59 @synchronized((x++, a)) {
76 @synchronized(({ return; }), a) {
/external/clang/test/CodeGenObjC/
Dsynchronized.m17 @synchronized(self) {
33 @synchronized(a) {
53 // either that x isn't stored to within the synchronized block or
54 // that the synchronized block can't longjmp.
59 @synchronized((x++, a)) {
76 @synchronized(({ return; }), a) {
/external/clang/test/Rewriter/
Drewrite-modern-synchronized.m18 @synchronized (SYNCH_EXPR()) {
23 @synchronized ([sem self]) {
31 @synchronized (foo) {
43 @synchronized(self) {
Dobjc-synchronized-1.m11 @synchronized (SYNCH_EXPR()) {
16 @synchronized ([sem self]) {
/external/llvm-project/clang/test/Rewriter/
Drewrite-modern-synchronized.m18 @synchronized (SYNCH_EXPR()) {
23 @synchronized ([sem self]) {
31 @synchronized (foo) {
43 @synchronized(self) {
Dobjc-synchronized-1.m11 @synchronized (SYNCH_EXPR()) {
16 @synchronized ([sem self]) {
/external/clang/test/SemaObjCXX/
Dsynchronized.mm15 @synchronized (a) {
18 …@synchronized (b) { // expected-error {{@synchronized requires an Objective-C object type ('struc…
/external/llvm-project/clang/test/SemaObjCXX/
Dsynchronized.mm15 @synchronized (a) {
18 …@synchronized (b) { // expected-error {{@synchronized requires an Objective-C object type ('struc…
/external/kotlinx.coroutines/kotlinx-coroutines-test/src/
DTestCoroutineExceptionHandler.kt45 synchronized(_exceptions) { in cleanupTestCoroutines()
52 get() = synchronized(_exceptions) { _exceptions.toList() } in cleanupTestCoroutines()
56 synchronized(_exceptions) { in cleanupTestCoroutines()
/external/walt/ios/WALT/
DWALTLogger.m40 @synchronized (_buffer) {
54 @synchronized (_buffer) {
60 @synchronized (_buffer) {
69 @synchronized (_buffer) {
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/
DExceptions.kt42 …override fun handleException(context: CoroutineContext, exception: Throwable) = synchronized<Unit>… in <lambda>()
46 fun getExceptions(): List<Throwable> = synchronized(this) { in getExceptions()
50 fun getException(): Throwable = synchronized(this) { in <lambda>()
/external/grpc-grpc/src/objective-c/GRPCClient/private/
DGRPCOpBatchLog.m28 @synchronized(opBatchLog) {
42 @synchronized(opBatchLog) {
48 @synchronized(opBatchLog) {
DGRPCHost.m81 @synchronized(kHostCache) {
105 @synchronized(kHostCache) {
114 @synchronized(kHostCache) {
123 // The __block attribute is to allow channel take refcount inside @synchronized block. Without
128 @synchronized(self) {
204 @synchronized(self) {
276 @synchronized(self) {
303 @synchronized(self) {
/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/bytecode_test/
DSynchronizedObjectTest.kt9 val result = synchronized(this) { bar() } in testSync()
14 synchronized(this) { in bar()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/
DSynchronized.kt19 public actual inline fun <T> synchronized(lock: SynchronizedObject, block: () -> T): T = method
20 kotlin.synchronized(lock, block)
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/internal/
DAbstractSharedFlow.kt32 get() = synchronized(this) { in <lambda>()
47 val slot = synchronized(this) { in createSlot()
78 val resumes = synchronized(this) { in freeSlot()
/external/kotlinx.atomicfu/atomicfu/src/jvmMain/kotlin/kotlinx/atomicfu/locks/
DSynchronized.kt25 public actual inline fun <T> synchronized(lock: SynchronizedObject, block: () -> T): T = method
26 kotlin.synchronized(lock, block)

12345678910