| /external/sg3_utils/doc/ |
| D | sg_write_x.8 | 1 .TH SG_WRITE_X "8" "October 2021" "sg3_utils\-1.47" SG3_UTILS 3 sg_write_x \- SCSI WRITE normal/ATOMIC/SAME/SCATTERED/STREAM, ORWRITE commands 6 [\fI\-\-16\fR] [\fI\-\-32\fR] [\fI\-\-app\-tag=AT\fR] [\fI\-\-atomic=AB\fR] 7 [\fI\-\-bmop=OP,PGP\fR] [\fI\-\-bs=BS\fR] [\fI\-\-combined=DOF\fR] 8 [\fI\-\-dld=DLD\fR] [\fI\-\-dpo\fR] [\fI\-\-dry\-run\fR] [\fI\-\-fua\fR] 9 [\fI\-\-generation=EOG,NOG\fR] [\fI\-\-grpnum=GN\fR] [\fI\-\-help\fR] 10 \fI\-\-in=IF\fR [\fI\-\-lba=LBA[,LBA...]\fR] [\fI\-\-normal\fR] 11 [\fI\-\-num=NUM[,NUM...]\fR] [\fI\-\-offset=OFF[,DLEN]\fR] [\fI\-\-or\fR] 12 [\fI\-\-quiet\fR] [\fI\-\-ref\-tag=RT\fR] [\fI\-\-same=NDOB\fR] 13 [\fI\-\-scat\-file=SF\fR] [\fI\-\-scat\-raw\fR] [\fI\-\-scattered=RD\fR] [all …]
|
| /external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/main/java/com/google/android/exoplayer2/util/ |
| D | AtomicFile.java | 5 * you may not use this file except in compliance with the License. 8 * http://www.apache.org/licenses/LICENSE-2.0 18 import java.io.File; 27 * A helper class for performing atomic operations on a file by creating a backup file until a write 30 * <p>Atomic file guarantees file integrity by ensuring that a file has been completely written and 31 * synced to disk before removing its backup. As long as the backup file exists, the original file 32 * is considered to be invalid (left over from a previous attempt to write the file). 34 * <p>Atomic file does not confer any file locking semantics. Do not use this class when the file 36 * responsible for ensuring appropriate mutual exclusion invariants whenever it accesses the file. 42 private final File baseName; [all …]
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/main/java/com/google/android/exoplayer2/util/ |
| D | AtomicFile.java | 5 * you may not use this file except in compliance with the License. 8 * http://www.apache.org/licenses/LICENSE-2.0 18 import java.io.File; 27 * A helper class for performing atomic operations on a file by creating a backup file until a write 30 * <p>Atomic file guarantees file integrity by ensuring that a file has been completely written and 31 * synced to disk before removing its backup. As long as the backup file exists, the original file 32 * is considered to be invalid (left over from a previous attempt to write the file). 34 * <p>Atomic file does not confer any file locking semantics. Do not use this class when the file 36 * responsible for ensuring appropriate mutual exclusion invariants whenever it accesses the file. 42 private final File baseName; [all …]
|
| /external/kotlinx.atomicfu/atomicfu/src/jvmMain/kotlin/kotlinx/atomicfu/ |
| D | AtomicFU.kt | 2 …* Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen… 5 @file:JvmName("AtomicFU") 6 @file:Suppress("NOTHING_TO_INLINE", "RedundantVisibilityModifier") 10 import java.util.concurrent.atomic.AtomicIntegerFieldUpdater 11 import java.util.concurrent.atomic.AtomicLongFieldUpdater 12 import java.util.concurrent.atomic.AtomicReferenceFieldUpdater 17 * Creates atomic reference with a given [initial] value. 19 * It can only be used in initialize of private read-only property, like this: 22 * private val f = atomic<Type>(initial) 25 public actual fun <T> atomic(initial: T, trace: TraceBase): AtomicRef<T> = AtomicRef<T>(initial, tr… in atomic() method [all …]
|
| /external/libtextclassifier/abseil-cpp/absl/flags/internal/ |
| D | sequence_lock.h | 5 // you may not use this file except in compliance with the License. 8 // https://www.apache.org/licenses/LICENSE-2.0 22 #include <atomic> 34 return align * ((x + align - 1) / align); in AlignUp() 37 // A SequenceLock implements lock-free reads. A sequence counter is incremented 38 // before and after each write, and readers access the counter before and after 41 // that the read was race-free and valid. Otherwise, the reader must fall back 42 // to a Mutex-based code path. 50 // `TryRead()` and `Write()` functions. These functions behave similarly to 52 // `std::atomic<uint64>`. This is to comply with the C++ standard, which [all …]
|
| /external/webrtc/third_party/abseil-cpp/absl/flags/internal/ |
| D | sequence_lock.h | 5 // you may not use this file except in compliance with the License. 8 // https://www.apache.org/licenses/LICENSE-2.0 22 #include <atomic> 34 return align * ((x + align - 1) / align); in AlignUp() 37 // A SequenceLock implements lock-free reads. A sequence counter is incremented 38 // before and after each write, and readers access the counter before and after 41 // that the read was race-free and valid. Otherwise, the reader must fall back 42 // to a Mutex-based code path. 50 // `TryRead()` and `Write()` functions. These functions behave similarly to 52 // `std::atomic<uint64>`. This is to comply with the C++ standard, which [all …]
|
| /external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/flags/internal/ |
| D | sequence_lock.h | 5 // you may not use this file except in compliance with the License. 8 // https://www.apache.org/licenses/LICENSE-2.0 22 #include <atomic> 34 return align * ((x + align - 1) / align); in AlignUp() 37 // A SequenceLock implements lock-free reads. A sequence counter is incremented 38 // before and after each write, and readers access the counter before and after 41 // that the read was race-free and valid. Otherwise, the reader must fall back 42 // to a Mutex-based code path. 50 // `TryRead()` and `Write()` functions. These functions behave similarly to 52 // `std::atomic<uint64>`. This is to comply with the C++ standard, which [all …]
|
| /external/abseil-cpp/absl/flags/internal/ |
| D | sequence_lock.h | 5 // you may not use this file except in compliance with the License. 8 // https://www.apache.org/licenses/LICENSE-2.0 22 #include <atomic> 34 return align * ((x + align - 1) / align); in AlignUp() 37 // A SequenceLock implements lock-free reads. A sequence counter is incremented 38 // before and after each write, and readers access the counter before and after 41 // that the read was race-free and valid. Otherwise, the reader must fall back 42 // to a Mutex-based code path. 50 // `TryRead()` and `Write()` functions. These functions behave similarly to 52 // `std::atomic<uint64>`. This is to comply with the C++ standard, which [all …]
|
| /external/tensorflow/third_party/absl/abseil-cpp/absl/flags/internal/ |
| D | sequence_lock.h | 5 // you may not use this file except in compliance with the License. 8 // https://www.apache.org/licenses/LICENSE-2.0 22 #include <atomic> 34 return align * ((x + align - 1) / align); in AlignUp() 37 // A SequenceLock implements lock-free reads. A sequence counter is incremented 38 // before and after each write, and readers access the counter before and after 41 // that the read was race-free and valid. Otherwise, the reader must fall back 42 // to a Mutex-based code path. 50 // `TryRead()` and `Write()` functions. These functions behave similarly to 52 // `std::atomic<uint64>`. This is to comply with the C++ standard, which [all …]
|
| /external/angle/third_party/abseil-cpp/absl/flags/internal/ |
| D | sequence_lock.h | 5 // you may not use this file except in compliance with the License. 8 // https://www.apache.org/licenses/LICENSE-2.0 22 #include <atomic> 34 return align * ((x + align - 1) / align); in AlignUp() 37 // A SequenceLock implements lock-free reads. A sequence counter is incremented 38 // before and after each write, and readers access the counter before and after 41 // that the read was race-free and valid. Otherwise, the reader must fall back 42 // to a Mutex-based code path. 50 // `TryRead()` and `Write()` functions. These functions behave similarly to 52 // `std::atomic<uint64>`. This is to comply with the C++ standard, which [all …]
|
| /external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/flags/internal/ |
| D | sequence_lock.h | 5 // you may not use this file except in compliance with the License. 8 // https://www.apache.org/licenses/LICENSE-2.0 22 #include <atomic> 34 return align * ((x + align - 1) / align); in AlignUp() 37 // A SequenceLock implements lock-free reads. A sequence counter is incremented 38 // before and after each write, and readers access the counter before and after 41 // that the read was race-free and valid. Otherwise, the reader must fall back 42 // to a Mutex-based code path. 50 // `TryRead()` and `Write()` functions. These functions behave similarly to 52 // `std::atomic<uint64>`. This is to comply with the C++ standard, which [all …]
|
| /external/cronet/third_party/abseil-cpp/absl/flags/internal/ |
| D | sequence_lock.h | 5 // you may not use this file except in compliance with the License. 8 // https://www.apache.org/licenses/LICENSE-2.0 22 #include <atomic> 34 return align * ((x + align - 1) / align); in AlignUp() 37 // A SequenceLock implements lock-free reads. A sequence counter is incremented 38 // before and after each write, and readers access the counter before and after 41 // that the read was race-free and valid. Otherwise, the reader must fall back 42 // to a Mutex-based code path. 50 // `TryRead()` and `Write()` functions. These functions behave similarly to 52 // `std::atomic<uint64>`. This is to comply with the C++ standard, which [all …]
|
| /external/crosvm/cros_tracing/src/ |
| D | trace_marker.rs | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 7 use std::fs::File; 9 use std::io::Write; 17 static TRACE_MARKER_FILE: Mutex<Option<File>> = Mutex::new(None); 20 /// This macro is used as a placeholder to let us iterate over the compile-time 40 /// If we run crosvm without `--disable-sandbox`, we need to add the `trace_marker` 41 /// file descriptor to the list of file descriptors allowed to be accessed by the 42 /// sandboxed process. We call this macro to add the file descriptor to the list 51 /// Prints a single non-scoped message without creating a trace context. [all …]
|
| /external/kotlinx.atomicfu/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/ |
| D | AtomicFU.common.kt | 2 …* Copyright 2017-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licen… 5 @file:Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER") 15 …* Creates atomic reference with a given [initial] value and a [trace] object to [trace modificatio… 17 * It can only be used to initialize a private or internal read-only property, like this: 20 * private val f = atomic<Type>(initial, trace) 23 public expect fun <T> atomic(initial: T, trace: TraceBase = None): AtomicRef<T> in atomic() method 28 * Creates atomic reference with a given [initial] value. in atomic() 30 * It can only be used to initialize a private or internal read-only property, like this: in atomic() 33 * private val f = atomic<Type>(initial) in atomic() 36 public expect fun <T> atomic(initial: T): AtomicRef<T> in atomic() method [all …]
|
| /external/kotlinx.atomicfu/ |
| D | README.md | 3 [](https://kotlinlang.org/docs/components-stability.… 5 …ps://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](https://www.apache.… 6 [](https://s… 9 >We do provide a compatibility of atomicfu-transformed artifacts between releases, but we do not pr… 12 …iplatform library that provides the idiomatic and effective way of using atomic operations in Kotl… 15 - [Features](#features) 16 - [Example](#example) 17 - [Quickstart](#quickstart) 18 - [Apply plugin to a project](#apply-plugin) 19 - [Gradle configuration](#gradle-configuration) [all …]
|
| /external/deqp/doc/testspecs/GLES31/ |
| D | functional.synchronization.txt | 1 ------------------------------------------------------------------------- 3 ----------------------------------------------- 8 you may not use this file except in compliance with the License. 11 http://www.apache.org/licenses/LICENSE-2.0 18 ------------------------------------------------------------------------- 22 + dEQP-GLES31.functional.synchronization.* 26 + In-invocation synchronization 27 - Test synchronization primitives within a single invocation. 29 + Inter-invocation synchronization 30 - Test synchronization between work group invocations. [all …]
|
| /external/cronet/base/profiler/ |
| D | metadata_recorder.h | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 9 #include <atomic> 17 #include "third_party/abseil-cpp/absl/types/optional.h" 29 // write metadata from many Chrome threads within the same process. These other 42 // - When retrieving items, lock acquisition (through 47 // is because, on many operating systems, there's a process-wide heap lock 55 // - We hold and retrieve the metadata using a fixed-size array, which 67 // - We use two locks to guard the metadata: a read lock and a write 68 // lock. Only the write lock is required to write into the metadata, and [all …]
|
| /external/compiler-rt/lib/tsan/rtl/ |
| D | tsan_report.cc | 1 //===-- tsan_report.cc ----------------------------------------------------===// 5 // This file is distributed under the University of Illinois Open Source 8 //===----------------------------------------------------------------------===// 10 // This file is a part of ThreadSanitizer (TSan), a race detector. 12 //===----------------------------------------------------------------------===// 90 return "heap-use-after-free"; in ReportTypeString() 92 return "heap-use-after-free (virtual call vs free)"; in ReportTypeString() 104 return "read lock of a write locked mutex"; in ReportTypeString() 106 return "read unlock of a write locked mutex"; in ReportTypeString() 108 return "signal-unsafe call inside of a signal"; in ReportTypeString() [all …]
|
| /external/perfetto/src/profiling/memory/ |
| D | shared_ring_buffer.h | 5 * you may not use this file except in compliance with the License. 8 * http://www.apache.org/licenses/LICENSE-2.0 26 #include <atomic> 37 // A concurrent, multi-writer single-reader ring buffer FIFO, based on a 41 // - Writes are atomic, data is either written fully in the buffer or not. 42 // - New writes are discarded if the buffer is full. 43 // - If a write succeeds, the reader is guaranteed to see the whole buffer. 44 // - Reads are atomic, no fragmentation. 45 // - The reader sees writes in write order (% discarding). 49 // other end modifies arbitrary shared memory without holding the spin-lock. [all …]
|
| /external/mesa3d/src/intel/compiler/elk/ |
| D | elk_disasm.c | 42 if (devinfo->ver < 6) in elk_has_jip() 57 if (devinfo->ver < 6) in elk_has_uip() 60 return (devinfo->ver >= 7 && opcode == ELK_OPCODE_IF) || in elk_has_uip() 61 (devinfo->ver >= 8 && opcode == ELK_OPCODE_ELSE) || in elk_has_uip() 70 if (devinfo->ver < 8) in has_branch_ctrl() 99 if (devinfo->ver >= 12) in is_split_send() 121 [1] = "-", 205 [1] = "-" 242 [ELK_THREAD_ATOMIC] = "atomic", 301 /* SFIDs on Gfx4-5 */ [all …]
|
| /external/fastrpc/inc/ |
| D | AEEatomic.h | 19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT 35 FILE: AEEatomic.h 37 SERVICES: atomic 39 DESCRIPTION: Fast Atomic ops 64 atomic Interface 66 The atomic interface provides fast "atomic" operations. The 67 operations are defined to be atomic with respect to each other. 77 Performs an atomic sum operation. 105 Atomic exchange of 32bit value. Performs an atomic operation of : 106 write uVal to *puDest [all …]
|
| /external/rust/crates/moveit/src/new/ |
| D | impls.rs | 4 // you may not use this file except in compliance with the License. 7 // http://www.apache.org/licenses/LICENSE-2.0 35 this.write(MoveRef::into_inner(src)); 60 this.write(MoveRef::into_inner(src)); 80 this.write(src.clone()); 89 core::sync::atomic::AtomicI8, 90 core::sync::atomic::AtomicI16, 91 core::sync::atomic::AtomicI32, 92 core::sync::atomic::AtomicI64, 93 core::sync::atomic::AtomicIsize, [all …]
|
| /external/okio/okio/src/commonMain/kotlin/okio/ |
| D | FileSystem.kt | 5 * you may not use this file except in compliance with the License. 8 * http://www.apache.org/licenses/LICENSE-2.0 19 * Read and write access to a hierarchical collection of files, addressed by [paths][Path]. This 20 * is a natural interface to the current computer's local file system. 24 * * `FakeFileSystem` is an in-memory file system suitable for testing. Note that this class is 25 * included in the `okio-fakefilesystem` artifact. 27 * * [ForwardingFileSystem] is a file system decorator. Use it to apply monitoring, encryption, 28 * compression, or filtering to another file system. 30 * * A ZIP file system could provide access to the contents of a `.zip` file. 36 * --------- [all …]
|
| /external/rust/crates/atomic/src/ |
| D | fallback.rs | 3 // Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or 4 // http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or 5 // http://opensource.org/licenses/MIT>, at your option. This file may not be 13 use core::sync::atomic::{AtomicUsize, Ordering}; 18 // on architectures that don't have byte-sized atomics. 42 // A big array of spinlocks which we use to guard atomic accesses. A spinlock is 43 // chosen based on a hash of the address of the atomic object, which helps to 46 (@accum (0, $($_es:expr),*) -> ($($body:tt)*)) 48 (@accum (1, $($es:expr),*) -> ($($body:tt)*)) 49 => {array!(@accum (0, $($es),*) -> ($($body)* $($es,)*))}; [all …]
|
| /external/oboe/include/oboe/ |
| D | FifoBuffer.h | 5 * you may not use this file except in compliance with the License. 8 * http://www.apache.org/licenses/LICENSE-2.0 46 * @param writeCounterAddress address of write counter 51 std::atomic<uint64_t> *readCounterAddress, 52 std::atomic<uint64_t> *writeCounterAddress, 74 * Write framesToWrite or, if too enough, then write as many as the fifo are not empty. 78 * @return number of frames actually write 80 int32_t write(const void *source, int32_t framesToWrite); 105 return mFifo->getFullFramesAvailable(); in getFullFramesAvailable() 123 return mFifo->getReadCounter(); in getReadCounter() [all …]
|