/external/libcxx/test/libcxx/utilities/memory/util.smartptr/ |
D | race_condition.pass.cpp | 64 int new_val = p.use_count(); in run_test() local 66 assert(new_val >= 4); in run_test() 67 if (last != new_val) ++shared_changes_count; in run_test() 70 new_val = w.use_count(); in run_test() 72 assert(new_val >= 4); in run_test() 73 if (last != new_val) ++weak_changes_count; in run_test()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_atomic_test.cc | 99 Type new_val = 24; in CheckAtomicCompareExchange() local 101 EXPECT_TRUE(atomic_compare_exchange_strong((T*)&var, &old_val, new_val, in CheckAtomicCompareExchange() 103 EXPECT_FALSE(atomic_compare_exchange_strong((T*)&var, &old_val, new_val, in CheckAtomicCompareExchange() 105 EXPECT_EQ(new_val, old_val); in CheckAtomicCompareExchange() 109 Type new_val = 24; in CheckAtomicCompareExchange() local 111 EXPECT_TRUE(atomic_compare_exchange_weak((T*)&var, &old_val, new_val, in CheckAtomicCompareExchange() 113 EXPECT_FALSE(atomic_compare_exchange_weak((T*)&var, &old_val, new_val, in CheckAtomicCompareExchange() 115 EXPECT_EQ(new_val, old_val); in CheckAtomicCompareExchange()
|
/external/libcxx/utils/google-benchmark/tools/gbench/ |
D | report.py | 58 def calculate_change(old_val, new_val): argument 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/google-benchmark/tools/gbench/ |
D | report.py | 58 def calculate_change(old_val, new_val): argument 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/skia/src/core/ |
D | SkExchange.h | 17 inline static T exchange(T& obj, U&& new_val) { in exchange() argument 19 obj = std::forward<U>(new_val); in exchange()
|
/external/python/cpython2/Lib/ |
D | locale.py | 232 new_val = [] 235 new_val.append('%') 237 new_val.append(format(perc.group(), val, grouping)) 241 new_val = [] 245 new_val.append('%') 248 new_val.append(_format(perc.group(), 254 val = tuple(new_val)
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.space/ |
D | space.pass.cpp | 95 std::uintmax_t new_val = val * fsize; in TEST_CASE() local 96 TEST_CHECK(new_val / fsize == val); // Test for overflow in TEST_CASE() 97 return new_val; in TEST_CASE()
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorIndexList.h | 86 EIGEN_DEVICE_FUNC void update_value(T& val, DenseIndex new_val) { 87 val = new_val; 90 EIGEN_DEVICE_FUNC void update_value(type2index<n>& val, DenseIndex new_val) { 91 val.set(new_val); 95 EIGEN_DEVICE_FUNC void update_value(T& val, IndexPair<DenseIndex> new_val) { 96 val = new_val; 99 EIGEN_DEVICE_FUNC void update_value(type2indexpair<f, s>& val, IndexPair<DenseIndex> new_val) { 100 val.set(new_val); 186 EIGEN_DEVICE_FUNC static void set_val(IndexTuple<T, O...>& val, V& new_val) { 187 IndexTupleExtractor<N-1, O...>::set_val(val.others, new_val); [all …]
|
/external/ltp/include/ |
D | tst_atomic.h | 89 int old_val, new_val; in tst_atomic_add_return() local 98 : "=&d" (old_val), "=&d" (new_val), "+Q" (*v) in tst_atomic_add_return()
|
/external/fio/ |
D | steadystate.c | 61 uint64_t new_val; in steadystate_slope() local 67 new_val = iops; in steadystate_slope() 69 new_val = bw; in steadystate_slope() 88 ss->sum_y += new_val; in steadystate_slope() 89 ss->sum_xy = ss->sum_xy - ss->sum_y + ss->dur * new_val; in steadystate_slope()
|
/external/selinux/libsepol/src/ |
D | kernel_to_cil.c | 32 char *new_val; in cond_expr_to_str() local 44 new_val = create_str("%s", 1, val1); in cond_expr_to_str() 78 new_val = create_str("(%s %s %s)", 3, op, val1, val2); in cond_expr_to_str() 81 new_val = create_str("(%s %s)", 2, op, val1); in cond_expr_to_str() 85 if (!new_val) { in cond_expr_to_str() 89 rc = stack_push(stack, new_val); in cond_expr_to_str() 96 new_val = stack_pop(stack); in cond_expr_to_str() 97 if (!new_val || !stack_empty(stack)) { in cond_expr_to_str() 102 str = new_val; in cond_expr_to_str() 108 while ((new_val = stack_pop(stack)) != NULL) { in cond_expr_to_str() [all …]
|
D | kernel_to_conf.c | 31 char *new_val; in cond_expr_to_str() local 43 new_val = create_str("%s", 1, val1); in cond_expr_to_str() 76 new_val = create_str("(%s %s %s)", 3, val1, op, val2); in cond_expr_to_str() 79 new_val = create_str("%s %s", 2, op, val1); in cond_expr_to_str() 83 if (!new_val) { in cond_expr_to_str() 87 rc = stack_push(stack, new_val); in cond_expr_to_str() 94 new_val = stack_pop(stack); in cond_expr_to_str() 95 if (!new_val || !stack_empty(stack)) { in cond_expr_to_str() 100 str = new_val; in cond_expr_to_str() 106 while ((new_val = stack_pop(stack)) != NULL) { in cond_expr_to_str() [all …]
|
D | module_to_cil.c | 1236 char *new_val = NULL; in cond_expr_to_cil() local 1255 new_val = malloc(len); in cond_expr_to_cil() 1256 if (new_val == NULL) { in cond_expr_to_cil() 1261 rlen = snprintf(new_val, len, "(%s)", val1); in cond_expr_to_cil() 1310 new_val = malloc(len); in cond_expr_to_cil() 1311 if (new_val == NULL) { in cond_expr_to_cil() 1320 rlen = snprintf(new_val, len, fmt_str, op, val1, val2); in cond_expr_to_cil() 1333 rc = stack_push(stack, new_val); in cond_expr_to_cil() 1338 new_val = NULL; in cond_expr_to_cil() 1361 free(new_val); in cond_expr_to_cil() [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interface_inl.h | 85 void __tsan_vptr_update(void **vptr_p, void *new_val) { in __tsan_vptr_update() argument 87 if (*vptr_p != new_val) { in __tsan_vptr_update()
|
/external/autotest/frontend/afe/json_rpc/ |
D | serviceHandler.py | 55 new_val = customConvertJson(val) 56 new_dict[new_key] = new_val
|
/external/bison/src/ |
D | muscle-tab.c | 159 char *new_val; in muscle_grow() local 165 new_val = obstack_finish (&muscle_obstack); in muscle_grow() 166 entry->value = entry->storage = xstrdup (new_val); in muscle_grow() 167 obstack_free (&muscle_obstack, new_val); in muscle_grow()
|
/external/skia/src/ports/ |
D | SkFontConfigInterface_direct.cpp | 382 SkFixed new_val; member 388 return ranges[0].new_val; in map_ranges_fixed() 395 ranges[i].new_val, ranges[i+1].new_val); in map_ranges_fixed() 401 return ranges[rangesCount-1].new_val; in map_ranges_fixed()
|
D | SkFontMgr_fontconfig.cpp | 287 SkFixed new_val; member 293 return ranges[0].new_val; in map_ranges_fixed() 300 ranges[i].new_val, ranges[i+1].new_val); in map_ranges_fixed() 306 return ranges[rangesCount-1].new_val; in map_ranges_fixed()
|
/external/fio/tools/hist/ |
D | fiologparser_hist.py | 184 def update_extreme(val, fncn, new_val): argument 186 if val is None: return new_val 187 else: return fncn(val, new_val)
|
/external/flac/libFLAC/ |
D | cpu.c | 296 FLAC__uint32 old_val, new_val; in FLAC__cpu_info() 304 …new_val = fxsr.buff[50]; /* == old_val if FXRSTOR didn't change SS… in FLAC__cpu_info() 308 if ((old_val^new_val) == 0x0013c0de) in FLAC__cpu_info()
|
/external/mksh/src/ |
D | funcs.c | 1437 int positions, new_val; in c_umask() local 1468 new_val = 0; in c_umask() 1471 case 'r': new_val |= 04; break; in c_umask() 1472 case 'w': new_val |= 02; break; in c_umask() 1473 case 'x': new_val |= 01; break; in c_umask() 1475 new_val |= old_umask >> 6; in c_umask() 1478 new_val |= old_umask >> 3; in c_umask() 1481 new_val |= old_umask >> 0; in c_umask() 1485 new_val |= 01; in c_umask() 1491 new_val = (new_val & 07) * positions; in c_umask() [all …]
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Attributes.cpp | 145 sys::cas_flag new_val = --RefCount; in DropRef() local 146 if (new_val == 0) in DropRef()
|
/external/v8/src/arm64/ |
D | simulator-arm64.cc | 929 T new_val; in AddSubWithCarry() local 935 new_val = AddWithCarry<T>(instr->FlagsUpdate(), in AddSubWithCarry() 940 set_reg<T>(instr->Rd(), new_val); in AddSubWithCarry() 1424 T new_val = 0; in AddSubHelper() local 1430 new_val = AddWithCarry<T>(set_flags, in AddSubHelper() 1437 new_val = AddWithCarry<T>(set_flags, in AddSubHelper() 1446 set_reg<T>(instr->Rd(), new_val, instr->RdMode()); in AddSubHelper() 1972 uint64_t new_val = xreg(instr->Rn()); in VisitConditionalSelect() local 1974 new_val = xreg(instr->Rm()); in VisitConditionalSelect() 1981 new_val++; in VisitConditionalSelect() [all …]
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_test_util.h | 98 void VptrUpdate(const MemLoc &vptr, const MemLoc &new_val,
|
D | tsan_test_util_posix.cc | 449 const MemLoc &new_val, in VptrUpdate() argument 451 Event event(Event::VPTR_UPDATE, vptr.loc(), (uptr)new_val.loc()); in VptrUpdate()
|