Home
last modified time | relevance | path

Searched full:storage (Results 1 – 25 of 10861) sorted by relevance

12345678910>>...435

/external/sdv/vsomeip/third_party/boost/atomic/include/boost/atomic/detail/
Dextra_ops_gcc_x86.hpp48 "lock; cmpxchgb %b2, %[storage]\n\t"\
50 : [orig] "+a" (original), [storage] "+m" (storage), "=&q" (result)\
55 …static BOOST_FORCEINLINE storage_type fetch_negate(storage_type volatile& storage, memory_order) B… in fetch_negate()
57 storage_type original = storage; in fetch_negate()
63 …static BOOST_FORCEINLINE storage_type fetch_complement(storage_type volatile& storage, memory_orde… in fetch_complement()
65 storage_type original = storage; in fetch_complement()
71 …static BOOST_FORCEINLINE storage_type negate(storage_type volatile& storage, memory_order) BOOST_N… in negate()
73 storage_type original = storage; in negate()
79 …static BOOST_FORCEINLINE storage_type bitwise_complement(storage_type volatile& storage, memory_or… in bitwise_complement()
81 storage_type original = storage; in bitwise_complement()
[all …]
Dextra_ops_generic.hpp42 …static BOOST_FORCEINLINE storage_type fetch_negate(storage_type volatile& storage, memory_order or… in fetch_negate()
45 atomics::detail::non_atomic_load(storage, old_val); in fetch_negate()
46 …while (!base_type::compare_exchange_weak(storage, old_val, atomics::detail::integral_extend< Signe… in fetch_negate()
50 …static BOOST_FORCEINLINE storage_type negate(storage_type volatile& storage, memory_order order) B… in negate()
53 atomics::detail::non_atomic_load(storage, old_val); in negate()
58 … while (!base_type::compare_exchange_weak(storage, old_val, new_val, order, memory_order_relaxed)); in negate()
62 …static BOOST_FORCEINLINE storage_type add(storage_type volatile& storage, storage_type v, memory_o… in add()
64 return base_type::fetch_add(storage, v, order) + v; in add()
67 …static BOOST_FORCEINLINE storage_type sub(storage_type volatile& storage, storage_type v, memory_o… in sub()
69 return base_type::fetch_sub(storage, v, order) - v; in sub()
[all …]
Dcore_arch_ops_gcc_aarch64.hpp59 …static BOOST_FORCEINLINE void store(storage_type volatile& storage, storage_type v, memory_order o… in store()
65 "stlrb %w[value], %[storage]\n\t" in store()
66 : [storage] "=Q" (storage) in store()
73 storage = v; in store()
77 …static BOOST_FORCEINLINE storage_type load(storage_type const volatile& storage, memory_order orde… in load()
87 "ldaprb %w[value], %[storage]\n\t" in load()
89 : [storage] "Q" (storage) in load()
98 "ldarb %w[value], %[storage]\n\t" in load()
100 : [storage] "Q" (storage) in load()
107 v = storage; in load()
[all …]
Dextra_ops_gcc_aarch64.hpp48 …static BOOST_FORCEINLINE void opaque_negate(storage_type volatile& storage, memory_order order) BO… in opaque_negate()
50 base_type::negate(storage, order); in opaque_negate()
53 …static BOOST_FORCEINLINE void opaque_complement(storage_type volatile& storage, memory_order order… in opaque_complement()
55 base_type::bitwise_complement(storage, order); in opaque_complement()
58 …static BOOST_FORCEINLINE void opaque_add(storage_type volatile& storage, storage_type v, memory_or… in opaque_add()
60 base_type::add(storage, v, order); in opaque_add()
63 …static BOOST_FORCEINLINE void opaque_sub(storage_type volatile& storage, storage_type v, memory_or… in opaque_sub()
65 base_type::sub(storage, v, order); in opaque_sub()
68 …static BOOST_FORCEINLINE void opaque_and(storage_type volatile& storage, storage_type v, memory_or… in opaque_and()
70 base_type::bitwise_and(storage, v, order); in opaque_and()
[all …]
Dcore_arch_ops_msvc_arm.hpp130 …static BOOST_FORCEINLINE storage_type fetch_sub(storage_type volatile& storage, storage_type v, me… in fetch_sub()
133 …return Derived::fetch_add(storage, static_cast< storage_type >(-static_cast< signed_storage_type >… in fetch_sub()
137 …storage_type volatile& storage, storage_type& expected, storage_type desired, memory_order success… in compare_exchange_weak()
139 … return Derived::compare_exchange_strong(storage, expected, desired, success_order, failure_order); in compare_exchange_weak()
142 …static BOOST_FORCEINLINE bool test_and_set(storage_type volatile& storage, memory_order order) BOO… in test_and_set()
144 return !!Derived::exchange(storage, (storage_type)1, order); in test_and_set()
147 …static BOOST_FORCEINLINE void clear(storage_type volatile& storage, memory_order order) BOOST_NOEX… in clear()
149 Derived::store(storage, (storage_type)0, order); in clear()
160 …static BOOST_FORCEINLINE void store(storage_type volatile& storage, storage_type v, memory_order o… in store()
163 BOOST_ATOMIC_DETAIL_ARM_STORE8(&storage, v); in store()
[all …]
Dextra_ops_gcc_aarch32.hpp46 …static BOOST_FORCEINLINE void opaque_negate(storage_type volatile& storage, memory_order order) BO… in opaque_negate()
48 base_type::negate(storage, order); in opaque_negate()
51 …static BOOST_FORCEINLINE void opaque_complement(storage_type volatile& storage, memory_order order… in opaque_complement()
53 base_type::bitwise_complement(storage, order); in opaque_complement()
56 …static BOOST_FORCEINLINE void opaque_add(storage_type volatile& storage, storage_type v, memory_or… in opaque_add()
58 base_type::add(storage, v, order); in opaque_add()
61 …static BOOST_FORCEINLINE void opaque_sub(storage_type volatile& storage, storage_type v, memory_or… in opaque_sub()
63 base_type::sub(storage, v, order); in opaque_sub()
66 …static BOOST_FORCEINLINE void opaque_and(storage_type volatile& storage, storage_type v, memory_or… in opaque_and()
68 base_type::bitwise_and(storage, v, order); in opaque_and()
[all …]
Dextra_ops_gcc_arm.hpp45 …static BOOST_FORCEINLINE void opaque_negate(storage_type volatile& storage, memory_order order) BO… in opaque_negate()
47 base_type::fetch_negate(storage, order); in opaque_negate()
50 …static BOOST_FORCEINLINE void opaque_complement(storage_type volatile& storage, memory_order order… in opaque_complement()
52 base_type::fetch_complement(storage, order); in opaque_complement()
55 …static BOOST_FORCEINLINE bool negate_and_test(storage_type volatile& storage, memory_order order) … in negate_and_test()
57 return !!base_type::negate(storage, order); in negate_and_test()
60 …static BOOST_FORCEINLINE bool add_and_test(storage_type volatile& storage, storage_type v, memory_… in add_and_test()
62 return !!base_type::add(storage, v, order); in add_and_test()
65 …static BOOST_FORCEINLINE bool sub_and_test(storage_type volatile& storage, storage_type v, memory_… in sub_and_test()
67 return !!base_type::sub(storage, v, order); in sub_and_test()
[all …]
Dextra_ops_msvc_x86.hpp43 …static BOOST_FORCEINLINE storage_type fetch_negate(storage_type volatile& storage, memory_order or… in fetch_negate()
49 mov ecx, storage in fetch_negate()
63 …static BOOST_FORCEINLINE storage_type negate(storage_type volatile& storage, memory_order order) B… in negate()
69 mov ecx, storage in negate()
83 …static BOOST_FORCEINLINE bool negate_and_test(storage_type volatile& storage, memory_order order) … in negate_and_test()
89 mov ecx, storage in negate_and_test()
104 …static BOOST_FORCEINLINE void opaque_negate(storage_type volatile& storage, memory_order order) BO… in opaque_negate()
109 mov ecx, storage in opaque_negate()
121 …static BOOST_FORCEINLINE storage_type bitwise_and(storage_type volatile& storage, storage_type v, … in bitwise_and()
126 mov edi, storage in bitwise_and()
[all …]
Dcore_arch_ops_gcc_arm.hpp70 …static BOOST_FORCEINLINE void store(storage_type volatile& storage, storage_type v, memory_order o… in store()
73 storage = v; in store()
77 …static BOOST_FORCEINLINE storage_type load(storage_type const volatile& storage, memory_order orde… in load()
79 storage_type v = storage; in load()
84 …static BOOST_FORCEINLINE storage_type exchange(storage_type volatile& storage, storage_type v, mem… in exchange()
93 "ldrex %[original], %[storage]\n\t" // load the original value in exchange()
94 … "strex %[tmp], %[value], %[storage]\n\t" // store the replacement, tmp = store failed in exchange()
98 : [tmp] "=&l" (tmp), [original] "=&r" (original), [storage] "+Q" (storage) in exchange()
107 …storage_type volatile& storage, storage_type& expected, storage_type desired, memory_order success… in compare_exchange_weak()
118 "ldrex %[original], %[storage]\n\t" // original = *(&storage) in compare_exchange_weak()
[all …]
Dcore_arch_ops_gcc_aarch32.hpp63 …static BOOST_FORCEINLINE void store(storage_type volatile& storage, storage_type v, memory_order o… in store()
69 "stlb %[value], %[storage]\n\t" in store()
70 : [storage] "=Q" (storage) in store()
77 storage = v; in store()
81 …static BOOST_FORCEINLINE storage_type load(storage_type const volatile& storage, memory_order orde… in load()
88 "ldab %[value], %[storage]\n\t" in load()
90 : [storage] "Q" (storage) in load()
96 v = storage; in load()
102 …static BOOST_FORCEINLINE storage_type exchange(storage_type volatile& storage, storage_type v, mem… in exchange()
110 "ld" ld_mo "exb %[original], %[storage]\n\t"\ in exchange()
[all …]
Dcore_arch_ops_msvc_x86.hpp103 …static BOOST_FORCEINLINE void store(storage_type volatile& storage, storage_type v, memory_order o… in store()
108 storage = v; in store()
113 Derived::exchange(storage, v, order); in store()
117 …static BOOST_FORCEINLINE storage_type load(storage_type const volatile& storage, memory_order orde… in load()
119 storage_type v = storage; in load()
124 …static BOOST_FORCEINLINE storage_type fetch_sub(storage_type volatile& storage, storage_type v, me… in fetch_sub()
127 …return Derived::fetch_add(storage, static_cast< storage_type >(-static_cast< signed_storage_type >… in fetch_sub()
131 …storage_type volatile& storage, storage_type& expected, storage_type desired, memory_order success… in compare_exchange_weak()
133 … return Derived::compare_exchange_strong(storage, expected, desired, success_order, failure_order); in compare_exchange_weak()
136 …static BOOST_FORCEINLINE bool test_and_set(storage_type volatile& storage, memory_order order) BOO… in test_and_set()
[all …]
Dcore_arch_ops_gcc_x86.hpp70 …static BOOST_FORCEINLINE void store(storage_type volatile& storage, storage_type v, memory_order o… in store()
75 storage = v; in store()
80 Derived::exchange(storage, v, order); in store()
84 …static BOOST_FORCEINLINE storage_type load(storage_type const volatile& storage, memory_order orde… in load()
86 storage_type v = storage; in load()
91 …static BOOST_FORCEINLINE storage_type fetch_sub(storage_type volatile& storage, storage_type v, me… in fetch_sub()
93 return Derived::fetch_add(storage, -v, order); in fetch_sub()
97 …storage_type volatile& storage, storage_type& expected, storage_type desired, memory_order success… in compare_exchange_weak()
99 … return Derived::compare_exchange_strong(storage, expected, desired, success_order, failure_order); in compare_exchange_weak()
102 …static BOOST_FORCEINLINE bool test_and_set(storage_type volatile& storage, memory_order order) BOO… in test_and_set()
[all …]
Dextra_ops_emulated.hpp42 static storage_type fetch_negate(storage_type volatile& storage, memory_order) BOOST_NOEXCEPT in fetch_negate()
45 storage_type& s = const_cast< storage_type& >(storage); in fetch_negate()
46 scoped_lock lock(&storage); in fetch_negate()
52 static storage_type negate(storage_type volatile& storage, memory_order) BOOST_NOEXCEPT in negate()
55 storage_type& s = const_cast< storage_type& >(storage); in negate()
56 scoped_lock lock(&storage); in negate()
62 …static storage_type add(storage_type volatile& storage, storage_type v, memory_order) BOOST_NOEXCE… in add()
65 storage_type& s = const_cast< storage_type& >(storage); in add()
66 scoped_lock lock(&storage); in add()
73 …static storage_type sub(storage_type volatile& storage, storage_type v, memory_order) BOOST_NOEXCE… in sub()
[all …]
/external/angle/src/common/
DFixedVector.h7 // A vector class with a maximum size and fixed storage.
21 template <class T, size_t N, class Storage = std::array<T, N>>
25 using value_type = typename Storage::value_type;
26 using size_type = typename Storage::size_type;
27 using reference = typename Storage::reference;
28 using const_reference = typename Storage::const_reference;
29 using pointer = typename Storage::pointer;
30 using const_pointer = typename Storage::const_pointer;
31 using iterator = typename Storage::iterator;
32 using const_iterator = typename Storage::const_iterator;
[all …]
DCircularBuffer.h20 template <class T, size_t N, class Storage = std::array<T, N>>
24 using value_type = typename Storage::value_type;
25 using size_type = typename Storage::size_type;
26 using reference = typename Storage::reference;
27 using const_reference = typename Storage::const_reference;
28 using pointer = typename Storage::pointer;
29 using const_pointer = typename Storage::const_pointer;
30 using iterator = typename Storage::iterator;
31 using const_iterator = typename Storage::const_iterator;
36 CircularBuffer(const CircularBuffer<T, N, Storage> &other);
[all …]
DFastVector.h87 template <class T, size_t N, class Storage = std::array<T, N>>
91 using value_type = typename Storage::value_type;
92 using size_type = typename Storage::size_type;
93 using reference = typename Storage::reference;
94 using const_reference = typename Storage::const_reference;
95 using pointer = typename Storage::pointer;
96 using const_pointer = typename Storage::const_pointer;
107 FastVector(const FastVector<T, N, Storage> &other);
108 FastVector(FastVector<T, N, Storage> &&other);
114 FastVector<T, N, Storage> &operator=(const FastVector<T, N, Storage> &other);
[all …]
/external/cronet/third_party/protobuf/js/experimental/runtime/kernel/
Dbinary_storage_test.js2 * @fileoverview Tests for storage.js.
28 * @param {!BinaryStorage} storage
31 function getStorageSize(storage) { argument
33 storage.forEach(() => void size++);
39 const storage = new BinaryStorage(DEFAULT_PIVOT); constant
41 storage.set(1, field1);
42 storage.set(DEFAULT_PIVOT, field2);
44 expect(storage.getPivot()).toBe(DEFAULT_PIVOT);
45 expect(storage.get(1)).toBe(field1);
46 expect(storage.get(DEFAULT_PIVOT)).toBe(field2);
[all …]
/external/libchrome/base/
Dvalue_iterators_unittest.cc60 DictStorage storage; in TEST() local
61 storage.emplace("0", std::make_unique<Value>(0)); in TEST()
64 iterator iter(storage.begin()); in TEST()
69 EXPECT_EQ(Value(1), *storage["0"]); in TEST()
73 DictStorage storage; in TEST() local
74 storage.emplace("0", std::make_unique<Value>(0)); in TEST()
77 iterator iter(storage.begin()); in TEST()
82 EXPECT_EQ(Value(1), *storage["0"]); in TEST()
86 DictStorage storage; in TEST() local
87 storage.emplace("0", std::make_unique<Value>(0)); in TEST()
[all …]
/external/cronet/base/
Dvalue_iterators_unittest.cc55 DictStorage storage; in TEST() local
56 storage.emplace("0", std::make_unique<Value>(0)); in TEST()
59 iterator iter(storage.begin()); in TEST()
64 EXPECT_EQ(Value(1), *storage["0"]); in TEST()
68 DictStorage storage; in TEST() local
69 storage.emplace("0", std::make_unique<Value>(0)); in TEST()
72 iterator iter(storage.begin()); in TEST()
77 EXPECT_EQ(Value(1), *storage["0"]); in TEST()
81 DictStorage storage; in TEST() local
82 storage.emplace("0", std::make_unique<Value>(0)); in TEST()
[all …]
/external/sdv/vsomeip/third_party/boost/asio/include/boost/asio/impl/
Dserial_port_base.ipp42 BOOST_ASIO_OPTION_STORAGE& storage, boost::system::error_code& ec) const
45 storage.BaudRate = value_;
118 ::cfsetspeed(&storage, baud);
120 ::cfsetispeed(&storage, baud);
121 ::cfsetospeed(&storage, baud);
129 const BOOST_ASIO_OPTION_STORAGE& storage, boost::system::error_code& ec)
132 value_ = storage.BaudRate;
134 speed_t baud = ::cfgetospeed(&storage);
222 BOOST_ASIO_OPTION_STORAGE& storage, boost::system::error_code& ec) const
225 storage.fOutxCtsFlow = FALSE;
[all …]
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/
DBackendTestBase.java57 * to exercise backend-specific behavior using the provided {@link #storage}.
69 private SynchronousFileStorage storage; field in BackendTestBase
139 storage = new SynchronousFileStorage(ImmutableList.of(backend()), ImmutableList.of()); in setUpStorage()
142 /** Returns the storage instance used in testing. */
143 protected SynchronousFileStorage storage() { in storage() method in BackendTestBase
144 return storage; in storage()
155 assertThrows(FileNotFoundException.class, () -> storage.open(uri, ReadStreamOpener.create())); in openForRead_withMissingFile_throwsFileNotFound()
161 assertThrows(MalformedUriException.class, () -> storage.open(uri, ReadStreamOpener.create())); in openForRead_withIllegalUri_throwsIllegalArgumentException()
168 createFile(storage, uri, TEST_CONTENT); in openForRead_readsWrittenContent()
169 assertThat(readFileInBytes(storage, uri)).isEqualTo(TEST_CONTENT); in openForRead_readsWrittenContent()
[all …]
/external/google-cloud-java/java-storage-transfer/
DCHANGELOG.md3 …oogleapis/google-cloud-java/compare/google-cloud-storage-transfer-v1.4.1-SNAPSHOT...google-cloud-s…
27 …om/googleapis/google-cloud-java/compare/google-cloud-storage-transfer-v1.3.2...google-cloud-storag…
51 ## [1.3.2](https://github.com/googleapis/java-storage-transfer/compare/v1.3.1...v1.3.2) (2022-10-05)
56 * update protobuf to v3.21.7 ([509c36f](https://github.com/googleapis/java-storage-transfer/commit/…
58 ## [1.3.1](https://github.com/googleapis/java-storage-transfer/compare/v1.3.0...v1.3.1) (2022-10-03)
63 …https://github.com/googleapis/java-storage-transfer/issues/217)) ([468669e](https://github.com/goo…
64 …https://github.com/googleapis/java-storage-transfer/issues/197)) ([9cdf490](https://github.com/goo…
65 …https://github.com/googleapis/java-storage-transfer/issues/202)) ([7bd1826](https://github.com/goo…
66 …https://github.com/googleapis/java-storage-transfer/issues/203)) ([5f26fa8](https://github.com/goo…
67 …https://github.com/googleapis/java-storage-transfer/issues/220)) ([d46b389](https://github.com/goo…
[all …]
/external/sdk-platform-java/test/integration/goldens/storage/src/com/google/storage/v2/stub/
DStorageStub.java17 package com.google.storage.v2.stub;
19 import static com.google.storage.v2.StorageClient.ListBucketsPagedResponse;
20 import static com.google.storage.v2.StorageClient.ListHmacKeysPagedResponse;
21 import static com.google.storage.v2.StorageClient.ListNotificationsPagedResponse;
22 import static com.google.storage.v2.StorageClient.ListObjectsPagedResponse;
34 import com.google.storage.v2.Bucket;
35 import com.google.storage.v2.CancelResumableWriteRequest;
36 import com.google.storage.v2.CancelResumableWriteResponse;
37 import com.google.storage.v2.ComposeObjectRequest;
38 import com.google.storage.v2.CreateBucketRequest;
[all …]
/external/perfetto/src/trace_processor/importers/common/
Dargs_translation_table_unittest.cc29 TraceStorage storage; in TEST() local
30 ArgsTranslationTable table(&storage); in TEST()
36 TraceStorage storage; in TEST() local
37 ArgsTranslationTable table(&storage); in TEST()
48 TraceStorage storage; in TEST() local
49 ArgsTranslationTable table(&storage); in TEST()
60 TraceStorage storage; in TEST() local
61 ArgsTranslationTable table(&storage); in TEST()
73 TraceStorage storage; in TEST() local
74 ArgsTranslationTable table(&storage); in TEST()
[all …]
/external/google-cloud-java/java-notification/src/main/java/com/google/cloud/notification/
DNotificationImpl.java23 import com.google.cloud.storage.Storage;
24 import com.google.cloud.storage.StorageException;
25 import com.google.cloud.storage.spi.v1.StorageRpc;
32 private final Storage storage; field in NotificationImpl
34 private NotificationImpl(Storage storage) { in NotificationImpl() argument
35 this.storage = storage; in NotificationImpl()
39 public Notification create(Storage storage) { in create() argument
40 return new NotificationImpl(storage); in create()
44 public Notification create(Storage storage) { in create() argument
45 return new NotificationImpl(storage); in create()
[all …]

12345678910>>...435