/third_party/boost/boost/atomic/detail/ |
D | extra_ops_gcc_x86.hpp | 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() 97 : [orig] "+a" (original), [storage] "+m" (storage), "=&q" (result)\ [all …]
|
D | ops_msvc_arm.hpp | 113 …static BOOST_FORCEINLINE storage_type fetch_sub(storage_type volatile& storage, storage_type v, me… in fetch_sub() 116 …return Derived::fetch_add(storage, static_cast< storage_type >(-static_cast< signed_storage_type >… in fetch_sub() 120 …storage_type volatile& storage, storage_type& expected, storage_type desired, memory_order success… in compare_exchange_weak() 122 … return Derived::compare_exchange_strong(storage, expected, desired, success_order, failure_order); in compare_exchange_weak() 125 …static BOOST_FORCEINLINE bool test_and_set(storage_type volatile& storage, memory_order order) BOO… in test_and_set() 127 return !!Derived::exchange(storage, (storage_type)1, order); in test_and_set() 130 …static BOOST_FORCEINLINE void clear(storage_type volatile& storage, memory_order order) BOOST_NOEX… in clear() 132 Derived::store(storage, (storage_type)0, order); in clear() 143 …static BOOST_FORCEINLINE void store(storage_type volatile& storage, storage_type v, memory_order o… in store() 146 BOOST_ATOMIC_DETAIL_ARM_STORE8(&storage, v); in store() [all …]
|
D | extra_ops_generic.hpp | 42 …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 …]
|
D | core_arch_ops_gcc_aarch64.hpp | 59 …static BOOST_FORCEINLINE void store(storage_type volatile& storage, storage_type v, memory_order o… 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() 89 : [storage] "Q" (storage) in load() 100 : [storage] "Q" (storage) in load() 107 v = storage; in load() 113 …static BOOST_FORCEINLINE storage_type exchange(storage_type volatile& storage, storage_type v, mem… in exchange() 121 : [storage] "+Q" (storage), [original] "=r" (original)\ in exchange() 135 : [tmp] "=&r" (tmp), [storage] "+Q" (storage), [original] "=&r" (original)\ in exchange() [all …]
|
D | core_arch_ops_msvc_arm.hpp | 130 …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 …]
|
D | core_arch_ops_gcc_x86.hpp | 70 …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 …]
|
D | core_arch_ops_gcc_aarch32.hpp | 63 …static BOOST_FORCEINLINE void store(storage_type volatile& storage, storage_type v, memory_order o… 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() 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() 114 : [tmp] "=&r" (tmp), [original] "=&r" (original), [storage] "+Q" (storage)\ in exchange() 126 …storage_type volatile& storage, storage_type& expected, storage_type desired, memory_order success… in compare_exchange_weak() 141 : [original] "=&r" (original), [success] "=&r" (success), [storage] "+Q" (storage)\ in compare_exchange_weak() [all …]
|
D | extra_ops_gcc_aarch64.hpp | 48 …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 …]
|
D | extra_ops_emulated.hpp | 42 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 …]
|
D | extra_ops_gcc_aarch32.hpp | 46 …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 …]
|
D | ops_gcc_ppc.hpp | 92 …static BOOST_FORCEINLINE void store(storage_type volatile& storage, storage_type v, memory_order o… in store() 98 : "+m" (storage) in store() 103 …static BOOST_FORCEINLINE storage_type load(storage_type const volatile& storage, memory_order orde… in load() 118 : "m" (storage) in load() 128 : "m" (storage) in load() 134 …static BOOST_FORCEINLINE storage_type exchange(storage_type volatile& storage, storage_type v, mem… in exchange() 144 : "=&b" (original), "+Z" (storage) in exchange() 153 …storage_type volatile& storage, storage_type& expected, storage_type desired, memory_order success… in compare_exchange_weak() 167 : "=&b" (expected), "=&b" (success), "+Z" (storage) in compare_exchange_weak() 179 …storage_type volatile& storage, storage_type& expected, storage_type desired, memory_order success… in compare_exchange_strong() [all …]
|
D | ops_gcc_x86_dcas.hpp | 54 …static BOOST_FORCEINLINE void store(storage_type volatile& storage, storage_type v, memory_order) … in store() 56 if (BOOST_LIKELY((((uint32_t)&storage) & 0x00000007) == 0u)) in store() 74 : [storage] "=m" (storage), [xmm_scratch] "=x" (xmm_scratch) in store() 83 : [storage] "=m" (storage) in store() 103 : "a" ((uint32_t)v), "c" ((uint32_t)(v >> 32)), [dest] "D" (&storage) in store() 114 …: [dest_lo] "=m" (storage), [dest_hi] "=m" (reinterpret_cast< volatile aliasing_uint32_t* >(&stora… in store() 122 …static BOOST_FORCEINLINE storage_type load(storage_type const volatile& storage, memory_order) BOO… in load() 126 if (BOOST_LIKELY((((uint32_t)&storage) & 0x00000007) == 0u)) in load() 145 : [storage] "m" (storage) in load() 154 : [storage] "m" (storage) in load() [all …]
|
D | ops_gcc_x86.hpp | 62 …static BOOST_FORCEINLINE void store(storage_type volatile& storage, storage_type v, memory_order o… in store() 67 storage = v; in store() 72 Derived::exchange(storage, v, order); in store() 76 …static BOOST_FORCEINLINE storage_type load(storage_type const volatile& storage, memory_order orde… in load() 78 storage_type v = storage; in load() 83 …static BOOST_FORCEINLINE storage_type fetch_sub(storage_type volatile& storage, storage_type v, me… in fetch_sub() 85 return Derived::fetch_add(storage, -v, order); in fetch_sub() 89 …storage_type volatile& storage, storage_type& expected, storage_type desired, memory_order success… in compare_exchange_weak() 91 … return Derived::compare_exchange_strong(storage, expected, desired, success_order, failure_order); in compare_exchange_weak() 94 …static BOOST_FORCEINLINE bool test_and_set(storage_type volatile& storage, memory_order order) BOO… in test_and_set() [all …]
|
D | core_arch_ops_gcc_arm.hpp | 70 …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() 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() 129 [storage] "+Q" (storage) in compare_exchange_weak() 143 …storage_type volatile& storage, storage_type& expected, storage_type desired, memory_order success… in compare_exchange_strong() 168 [storage] "+Q" (storage) in compare_exchange_strong() [all …]
|
D | ops_gcc_arm.hpp | 69 …static BOOST_FORCEINLINE void store(storage_type volatile& storage, storage_type v, memory_order o… in store() 72 storage = v; in store() 76 …static BOOST_FORCEINLINE storage_type load(storage_type const volatile& storage, memory_order orde… in load() 78 storage_type v = storage; in load() 83 …static BOOST_FORCEINLINE storage_type exchange(storage_type volatile& storage, storage_type v, mem… in exchange() 97 : [tmp] "=&l" (tmp), [original] "=&r" (original), [storage] "+Q" (storage) in exchange() 106 …storage_type volatile& storage, storage_type& expected, storage_type desired, memory_order success… in compare_exchange_weak() 125 [storage] "+Q" (storage) // %3 in compare_exchange_weak() 139 …storage_type volatile& storage, storage_type& expected, storage_type desired, memory_order success… in compare_exchange_strong() 161 [storage] "+Q" (storage) // %3 in compare_exchange_strong() [all …]
|
D | extra_ops_gcc_ppc.hpp | 42 …static BOOST_FORCEINLINE void opaque_negate(storage_type volatile& storage, memory_order order) BO… in opaque_negate() 44 base_type::fetch_negate(storage, order); in opaque_negate() 47 …static BOOST_FORCEINLINE void opaque_complement(storage_type volatile& storage, memory_order order… in opaque_complement() 49 base_type::fetch_complement(storage, order); in opaque_complement() 52 …static BOOST_FORCEINLINE bool negate_and_test(storage_type volatile& storage, memory_order order) … in negate_and_test() 54 return !!base_type::negate(storage, order); in negate_and_test() 57 …static BOOST_FORCEINLINE bool add_and_test(storage_type volatile& storage, storage_type v, memory_… in add_and_test() 59 return !!base_type::add(storage, v, order); in add_and_test() 62 …static BOOST_FORCEINLINE bool sub_and_test(storage_type volatile& storage, storage_type v, memory_… in sub_and_test() 64 return !!base_type::sub(storage, v, order); in sub_and_test() [all …]
|
D | core_arch_ops_gcc_ppc.hpp | 94 …static BOOST_FORCEINLINE void store(storage_type volatile& storage, storage_type v, memory_order o… in store() 100 : "+m" (storage) in store() 105 …static BOOST_FORCEINLINE storage_type load(storage_type const volatile& storage, memory_order orde… in load() 120 : "m" (storage) in load() 130 : "m" (storage) in load() 136 …static BOOST_FORCEINLINE storage_type exchange(storage_type volatile& storage, storage_type v, mem… in exchange() 146 : "=&b" (original), "+Z" (storage) in exchange() 155 …storage_type volatile& storage, storage_type& expected, storage_type desired, memory_order success… in compare_exchange_weak() 169 : "=&b" (expected), "=&b" (success), "+Z" (storage) in compare_exchange_weak() 181 …storage_type volatile& storage, storage_type& expected, storage_type desired, memory_order success… in compare_exchange_strong() [all …]
|
D | ops_emulated.hpp | 45 …static BOOST_FORCEINLINE void store(storage_type volatile& storage, storage_type v, memory_order) … in store() 47 lockpool::scoped_lock lock(&storage); in store() 48 const_cast< storage_type& >(storage) = v; in store() 51 …static BOOST_FORCEINLINE storage_type load(storage_type const volatile& storage, memory_order) BOO… in load() 53 lockpool::scoped_lock lock(&storage); in load() 54 return const_cast< storage_type const& >(storage); in load() 57 …static BOOST_FORCEINLINE storage_type fetch_add(storage_type volatile& storage, storage_type v, me… in fetch_add() 59 storage_type& s = const_cast< storage_type& >(storage); in fetch_add() 60 lockpool::scoped_lock lock(&storage); in fetch_add() 66 …static BOOST_FORCEINLINE storage_type fetch_sub(storage_type volatile& storage, storage_type v, me… in fetch_sub() [all …]
|
/third_party/protobuf/js/experimental/runtime/kernel/ |
D | binary_storage_test.js | 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); 50 const storage = new BinaryStorage(DEFAULT_PIVOT); constant 52 storage.set(DEFAULT_PIVOT + 1, field1); [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | jsDeclarationsFunctionLikeClasses2.types | 12 this.storage = new Array(len); 13 >this.storage = new Array(len) : any[] 14 >this.storage : number[] 16 >storage : number[] 23 …storage.length !== this.storage.length) { throw new Error(`Dot product only applicable … 27 …storage.length !== this.storage.length) { throw new Error(`Dot product only applicable … 36 if (other.storage.length !== this.storage.length) { 37 >other.storage.length !== this.storage.length : boolean 38 >other.storage.length : number 39 >other.storage : number[] [all …]
|
/third_party/grpc/src/core/lib/transport/ |
D | metadata_batch.cc | 108 grpc_linked_mdelem* storage, in link_callout() argument 113 batch->idx.array[idx] = storage; in link_callout() 116 return error_with_md(storage->md); in link_callout() 120 grpc_linked_mdelem* storage) 124 grpc_linked_mdelem* storage) { in maybe_link_callout() argument 126 GRPC_BATCH_INDEX_OF(GRPC_MDKEY(storage->md)); in maybe_link_callout() 130 return link_callout(batch, storage, idx); in maybe_link_callout() 134 grpc_linked_mdelem* storage) { in maybe_unlink_callout() argument 136 GRPC_BATCH_INDEX_OF(GRPC_MDKEY(storage->md)); in maybe_unlink_callout() 146 grpc_linked_mdelem* storage, in grpc_metadata_batch_add_head() argument [all …]
|
/third_party/skia/third_party/externals/expat/expat/tests/ |
D | structdata.c | 67 StructData_Init(StructData *storage) { in StructData_Init() argument 68 assert(storage != NULL); in StructData_Init() 69 storage->count = 0; in StructData_Init() 70 storage->max_count = 0; in StructData_Init() 71 storage->entries = NULL; in StructData_Init() 75 StructData_AddItem(StructData *storage, const XML_Char *s, int data0, int data1, in StructData_AddItem() argument 79 assert(storage != NULL); in StructData_AddItem() 81 if (storage->count == storage->max_count) { in StructData_AddItem() 84 storage->max_count += STRUCT_EXTENSION_COUNT; in StructData_AddItem() 85 new = realloc(storage->entries, in StructData_AddItem() [all …]
|
D | chardata.c | 56 CharData_Init(CharData *storage) { in CharData_Init() argument 57 assert(storage != NULL); in CharData_Init() 58 storage->count = -1; in CharData_Init() 62 CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len) { in CharData_AppendXMLChars() argument 65 assert(storage != NULL); in CharData_AppendXMLChars() 67 maxchars = sizeof(storage->data) / sizeof(storage->data[0]); in CharData_AppendXMLChars() 68 if (storage->count < 0) in CharData_AppendXMLChars() 69 storage->count = 0; in CharData_AppendXMLChars() 72 if ((len + storage->count) > maxchars) { in CharData_AppendXMLChars() 73 len = (maxchars - storage->count); in CharData_AppendXMLChars() [all …]
|
/third_party/expat/tests/ |
D | structdata.c | 67 StructData_Init(StructData *storage) { in StructData_Init() argument 68 assert(storage != NULL); in StructData_Init() 69 storage->count = 0; in StructData_Init() 70 storage->max_count = 0; in StructData_Init() 71 storage->entries = NULL; in StructData_Init() 75 StructData_AddItem(StructData *storage, const XML_Char *s, int data0, int data1, in StructData_AddItem() argument 79 assert(storage != NULL); in StructData_AddItem() 81 if (storage->count == storage->max_count) { in StructData_AddItem() 84 storage->max_count += STRUCT_EXTENSION_COUNT; in StructData_AddItem() 85 new = realloc(storage->entries, in StructData_AddItem() [all …]
|
D | chardata.c | 56 CharData_Init(CharData *storage) { in CharData_Init() argument 57 assert(storage != NULL); in CharData_Init() 58 storage->count = -1; in CharData_Init() 62 CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len) { in CharData_AppendXMLChars() argument 65 assert(storage != NULL); in CharData_AppendXMLChars() 67 maxchars = sizeof(storage->data) / sizeof(storage->data[0]); in CharData_AppendXMLChars() 68 if (storage->count < 0) in CharData_AppendXMLChars() 69 storage->count = 0; in CharData_AppendXMLChars() 72 if ((len + storage->count) > maxchars) { in CharData_AppendXMLChars() 73 len = (maxchars - storage->count); in CharData_AppendXMLChars() [all …]
|