/external/skia/src/core/ |
SkExchange.h | 17 inline static T exchange(T& obj, U&& new_val) { 19 obj = std::forward<U>(new_val);
|
/frameworks/av/media/libeffects/loudness/common/core/ |
byte_swapper.h | 43 T new_val = val; local 44 char *first = &new_val, *last = first + kValSize - 1, x; 50 return new_val; 64 T new_val; local 66 char *p = reinterpret_cast<char *>(&new_val); 69 return new_val; 76 T new_val; local 78 char *p = reinterpret_cast<char *>(&new_val); 83 return new_val; 90 T new_val = val local [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_atomic_test.cc | 99 Type new_val = 24; local 101 EXPECT_TRUE(atomic_compare_exchange_strong((T*)&var, &old_val, new_val, 103 EXPECT_FALSE(atomic_compare_exchange_strong((T*)&var, &old_val, new_val, 105 EXPECT_EQ(new_val, old_val); 109 Type new_val = 24; local 111 EXPECT_TRUE(atomic_compare_exchange_weak((T*)&var, &old_val, new_val, 113 EXPECT_FALSE(atomic_compare_exchange_weak((T*)&var, &old_val, new_val, 115 EXPECT_EQ(new_val, old_val);
|
/external/libcxx/test/libcxx/utilities/memory/util.smartptr/ |
race_condition.pass.cpp | 64 int new_val = p.use_count(); local 66 assert(new_val >= 4); 67 if (last != new_val) ++shared_changes_count; 70 new_val = w.use_count(); 72 assert(new_val >= 4); 73 if (last != new_val) ++weak_changes_count;
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/libcxx/utilities/memory/util.smartptr/ |
race_condition.pass.cpp | 64 int new_val = p.use_count(); local 66 assert(new_val >= 4); 67 if (last != new_val) ++shared_changes_count; 70 new_val = w.use_count(); 72 assert(new_val >= 4); 73 if (last != new_val) ++weak_changes_count;
|
/external/clang/test/OpenMP/ |
atomic_codegen.cpp | 41 // CHECK: [[NEW_VAL:%.+]] = srem i32 [[OLD_PHI_VAL]], [[B_VAL]] 42 // CHECK: store i32 [[NEW_VAL]], i32* [[TEMP:%.+]], 43 // CHECK: [[NEW_VAL:%.+]] = load i32, i32* [[TEMP]], 44 // CHECK: [[RES:%.+]] = cmpxchg i32* [[SCALAR_ADDR]], i32 [[OLD_PHI_VAL]], i32 [[NEW_VAL]] monotonic monotonic 63 // CHECK: [[NEW_VAL:%.+]] = load i32, i32* [[TEMP]], 64 // CHECK: [[RES:%.+]] = cmpxchg i32* [[SCALAR_ADDR]], i32 [[OLD_PHI_VAL]], i32 [[NEW_VAL]] monotonic monotonic
|
atomic_write_codegen.c | 288 // CHECK: [[NEW_VAL:%.+]] = fptosi x86_fp80 %{{.+}} to i32 293 // CHECK: [[BF_VALUE:%.+]] = and i32 [[NEW_VAL]], 2147483647 306 // CHECK: [[NEW_VAL:%.+]] = fptosi x86_fp80 %{{.+}} to i32 314 // CHECK: [[BF_VALUE:%.+]] = and i32 [[NEW_VAL]], 2147483647 326 // CHECK: [[NEW_VAL:%.+]] = fptosi x86_fp80 %{{.+}} to i32 331 // CHECK: [[BF_AND:%.+]] = and i32 [[NEW_VAL]], 1 345 // CHECK: [[NEW_VAL:%.+]] = fptosi x86_fp80 %{{.+}} to i32 350 // CHECK: [[TRUNC:%.+]] = trunc i32 [[NEW_VAL]] to i8 365 // CHECK: [[NEW_VAL:%.+]] = fptosi x86_fp80 %{{.+}} to i32 370 // CHECK: [[BF_AND:%.+]] = and i32 [[NEW_VAL]], 1638 [all...] |
/external/google-benchmark/tools/gbench/ |
report.py | 58 def calculate_change(old_val, new_val): 60 Return a float representing the decimal change between old_val and new_val. 62 if old_val == 0 and new_val == 0: 65 return float(new_val - old_val) / (float(old_val + new_val) / 2) 66 return float(new_val - old_val) / abs(old_val)
|
/external/libcxx/utils/google-benchmark/tools/gbench/ |
report.py | 58 def calculate_change(old_val, new_val): 60 Return a float representing the decimal change between old_val and new_val. 62 if old_val == 0 and new_val == 0: 65 return float(new_val - old_val) / (float(old_val + new_val) / 2) 66 return float(new_val - old_val) / abs(old_val)
|
/device/google/wahoo/lisa/targetdev/ |
powerhint.py | 12 def set_touch_param(target, opcode, new_val): 23 tree.findall(xpath)[0].set('value', '{:#x}'.format(new_val))
|
/external/llvm/include/llvm/CodeGen/ |
AtomicExpandUtils.h | 19 /// (the builder, %addr, %loaded, %new_val, ordering, 46 /// %pair = cmpxchg iN* %addr, iN %loaded, iN %new_val
|
/hardware/intel/common/libmix/videoencoder/ |
bitstream.h | 104 unsigned int new_val; local 107 new_val = -2 * val; 109 new_val = 2 * val - 1; 111 bitstream_put_ue(bs, new_val); 118 int new_val; local 126 new_val = (1 << bit_left) - 1; 128 new_val = 0; 130 bitstream_put_ui(bs, new_val, bit_left);
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/CodeGen/ |
AtomicExpandUtils.h | 19 /// (the builder, %addr, %loaded, %new_val, ordering, 46 /// %pair = cmpxchg iN* %addr, iN %loaded, iN %new_val
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/CodeGen/ |
AtomicExpandUtils.h | 19 /// (the builder, %addr, %loaded, %new_val, ordering, 46 /// %pair = cmpxchg iN* %addr, iN %loaded, iN %new_val
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/CodeGen/ |
AtomicExpandUtils.h | 19 /// (the builder, %addr, %loaded, %new_val, ordering, 46 /// %pair = cmpxchg iN* %addr, iN %loaded, iN %new_val
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/ |
AtomicExpandUtils.h | 19 /// (the builder, %addr, %loaded, %new_val, ordering, 46 /// %pair = cmpxchg iN* %addr, iN %loaded, iN %new_val
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/CodeGen/ |
AtomicExpandUtils.h | 19 /// (the builder, %addr, %loaded, %new_val, ordering, 46 /// %pair = cmpxchg iN* %addr, iN %loaded, iN %new_val
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/CodeGen/ |
AtomicExpandUtils.h | 19 /// (the builder, %addr, %loaded, %new_val, ordering, 46 /// %pair = cmpxchg iN* %addr, iN %loaded, iN %new_val
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/CodeGen/ |
AtomicExpandUtils.h | 19 /// (the builder, %addr, %loaded, %new_val, ordering, 46 /// %pair = cmpxchg iN* %addr, iN %loaded, iN %new_val
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/CodeGen/ |
AtomicExpandUtils.h | 19 /// (the builder, %addr, %loaded, %new_val, ordering, 46 /// %pair = cmpxchg iN* %addr, iN %loaded, iN %new_val
|
/hardware/intel/img/psb_video/src/ |
vsp_cmdbuf.c | 225 uint32_t new_val = presumed_offset + buf_offset; local 227 new_val = ((new_val >> align_shift) << (align_shift << PSB_RELOC_ALSHIFT_SHIFT)); 228 new_val = (background & ~mask) | (new_val & mask); 229 *addr_in_dst_buffer = new_val;
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_interface_inl.h | 85 void __tsan_vptr_update(void **vptr_p, void *new_val) { 87 if (*vptr_p != new_val) {
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/binary_heap_/ |
insert_fn_imps.hpp | 164 swap_value_imp(entry_pointer p_e, value_type new_val, true_type) 165 { *p_e = new_val; }
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/binary_heap_/ |
insert_fn_imps.hpp | 164 swap_value_imp(entry_pointer p_e, value_type new_val, true_type) 165 { *p_e = new_val; }
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/binary_heap_/ |
insert_fn_imps.hpp | 164 swap_value_imp(entry_pointer p_e, value_type new_val, true_type) 165 { *p_e = new_val; }
|