/external/u-boot/arch/arm/mach-mvebu/ |
D | efuse.c | 69 struct efuse_val *new_val, u32 mask0, u32 mask1) in do_prog_efuse() argument 80 val.dwords.d[0] |= (new_val->dwords.d[0] & mask0); in do_prog_efuse() 81 val.dwords.d[1] |= (new_val->dwords.d[1] & mask1); in do_prog_efuse() 82 val.lock |= new_val->lock; in do_prog_efuse() 94 static int prog_efuse(int nr, struct efuse_val *new_val, u32 mask0, u32 mask1) in prog_efuse() argument 107 if (!new_val) in prog_efuse() 111 if (!new_val->lock) in prog_efuse() 115 if (new_val->bytes.d[7] & 0xFE) in prog_efuse() 118 if (!new_val->dwords.d[0] && !new_val->dwords.d[1] && (mask0 | mask1)) in prog_efuse() 123 res = do_prog_efuse(efuse, new_val, mask0, mask1); in prog_efuse()
|
/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/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
D | time_log.h | 72 inline static float Blend(float old_val, float new_val) { in Blend() argument 73 return ALPHA * old_val + (1.0f - ALPHA) * new_val; in Blend() 77 inline static float UpdateAverage(const char* str, const float new_val) { in UpdateAverage() argument 81 entry->average_duration = Blend(entry->average_duration, new_val); in UpdateAverage() 92 avg_entries[num_avg_entries].average_duration = new_val; in UpdateAverage() 95 return new_val; in UpdateAverage()
|
/external/tensorflow/tensorflow/contrib/opt/python/training/ |
D | shampoo_test.py | 76 new_val = sess.run(var) 85 self.assertAllCloseAccordingToType(new_val_np, new_val, 90 new_val = sess.run(var) 96 self.assertAllCloseAccordingToType(new_val_np, new_val, 127 new_val = sess.run(var) 138 self.assertAllCloseAccordingToType(new_val_np, new_val, 143 new_val = sess.run(var) 151 self.assertAllCloseAccordingToType(new_val_np, new_val, 187 new_val = sess.run(var) 210 self.assertAllCloseAccordingToType(new_val_np, new_val, [all …]
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/sched/sched_reset_all_window_stats/ |
D | format | 14 field:unsigned int new_val; offset:40; size:4; signed:0; 16 …d_val %u new_val %u", REC->time_taken, REC->window_start, REC->window_size, sched_window_reset_rea…
|
/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/grpc-grpc/src/core/lib/iomgr/ |
D | exec_ctx.h | 190 void TestOnlySetNow(grpc_millis new_val) { in TestOnlySetNow() argument 191 now_ = new_val; in TestOnlySetNow() 195 static void TestOnlyGlobalInit(gpr_timespec new_val);
|
/external/python/cpython3/Lib/ |
D | locale.py | 218 new_val = [] 221 new_val.append('%') 223 new_val.append(_format(perc.group(), val, grouping, monetary)) 227 new_val = [] 231 new_val.append('%') 234 new_val.append(_format(perc.group(), 240 val = tuple(new_val)
|
/external/skqp/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/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/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
D | flow_control.cc | 45 static char* fmt_int64_diff_str(int64_t old_val, int64_t new_val) { in fmt_int64_diff_str() argument 47 if (old_val != new_val) { in fmt_int64_diff_str() 48 gpr_asprintf(&str, "%" PRId64 " -> %" PRId64 "", old_val, new_val); in fmt_int64_diff_str() 57 static char* fmt_uint32_diff_str(uint32_t old_val, uint32_t new_val) { in fmt_uint32_diff_str() argument 59 if (old_val != new_val) { in fmt_uint32_diff_str() 60 gpr_asprintf(&str, "%" PRIu32 " -> %" PRIu32 "", old_val, new_val); in fmt_uint32_diff_str()
|
/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/libcxx/test/std/input.output/filesystems/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/ |
D | BPFISelDAGToDAG.cpp | 259 } new_val; // hold up the constant values replacing loads. in PreprocessLoad() local 287 getConstantFieldValue(GADN, CDN->getZExtValue(), size, new_val.c); in PreprocessLoad() 295 to_replace = getConstantFieldValue(GADN, 0, size, new_val.c); in PreprocessLoad() 304 val = new_val.c[0]; in PreprocessLoad() 306 val = new_val.s; in PreprocessLoad() 308 val = new_val.i; in PreprocessLoad() 310 val = new_val.d; in PreprocessLoad()
|
/external/jemalloc_new/test/unit/ |
D | background_thread.c | 6 test_switch_background_thread_ctl(bool new_val) { in test_switch_background_thread_ctl() argument 10 e1 = new_val; in test_switch_background_thread_ctl()
|
/external/u-boot/tools/buildman/ |
D | kconfiglib.py | 1935 new_val = DEFAULT_VALUE[self.type] 1952 new_val = "y" if choice.get_selection() is self \ 1956 new_val = "m" 1967 new_val = self.config._eval_min(self.user_val, vis) 1975 new_val = self.config._eval_min(val_expr, 1983 new_val = self.config._eval_max(new_val, 1990 new_val = self.config._eval_max(new_val, rev_dep_val) 1995 if new_val == "m" and \ 1998 new_val = "y" 2034 new_val = self.user_val [all …]
|
/external/selinux/libsepol/src/ |
D | kernel_to_conf.c | 34 char *new_val; in cond_expr_to_str() local 46 new_val = create_str("%s", 1, val1); in cond_expr_to_str() 79 new_val = create_str("(%s %s %s)", 3, val1, op, val2); in cond_expr_to_str() 82 new_val = create_str("%s %s", 2, op, val1); in cond_expr_to_str() 86 if (!new_val) { in cond_expr_to_str() 90 rc = strs_stack_push(stack, new_val); in cond_expr_to_str() 97 new_val = strs_stack_pop(stack); in cond_expr_to_str() 98 if (!new_val || !strs_stack_empty(stack)) { in cond_expr_to_str() 103 str = new_val; in cond_expr_to_str() 109 while ((new_val = strs_stack_pop(stack)) != NULL) { in cond_expr_to_str() [all …]
|
D | kernel_to_cil.c | 35 char *new_val; in cond_expr_to_str() local 47 new_val = create_str("%s", 1, val1); in cond_expr_to_str() 81 new_val = create_str("(%s %s %s)", 3, op, val1, val2); in cond_expr_to_str() 84 new_val = create_str("(%s %s)", 2, op, val1); in cond_expr_to_str() 88 if (!new_val) { in cond_expr_to_str() 92 rc = strs_stack_push(stack, new_val); in cond_expr_to_str() 99 new_val = strs_stack_pop(stack); in cond_expr_to_str() 100 if (!new_val || !strs_stack_empty(stack)) { in cond_expr_to_str() 105 str = new_val; in cond_expr_to_str() 111 while ((new_val = strs_stack_pop(stack)) != NULL) { in cond_expr_to_str() [all …]
|
D | module_to_cil.c | 1269 char *new_val = NULL; in cond_expr_to_cil() local 1288 new_val = malloc(len); in cond_expr_to_cil() 1289 if (new_val == NULL) { in cond_expr_to_cil() 1294 rlen = snprintf(new_val, len, "(%s)", val1); in cond_expr_to_cil() 1342 new_val = malloc(len); in cond_expr_to_cil() 1343 if (new_val == NULL) { in cond_expr_to_cil() 1352 rlen = snprintf(new_val, len, fmt_str, op, val1, val2); in cond_expr_to_cil() 1365 rc = stack_push(stack, new_val); in cond_expr_to_cil() 1370 new_val = NULL; in cond_expr_to_cil() 1393 free(new_val); in cond_expr_to_cil() [all …]
|
/external/google-benchmark/tools/gbench/ |
D | report.py | 71 def calculate_change(old_val, new_val): argument 75 if old_val == 0 and new_val == 0: 78 return float(new_val - old_val) / (float(old_val + new_val) / 2) 79 return float(new_val - old_val) / abs(old_val)
|
/external/libcxx/utils/google-benchmark/tools/gbench/ |
D | report.py | 71 def calculate_change(old_val, new_val): argument 75 if old_val == 0 and new_val == 0: 78 return float(new_val - old_val) / (float(old_val + new_val) / 2) 79 return float(new_val - old_val) / abs(old_val)
|
/external/grpc-grpc/src/core/lib/gpr/ |
D | string.cc | 143 uint32_t new_val; in gpr_parse_bytes_to_uint32() local 150 new_val = 10 * out + static_cast<uint32_t>(buf[i] - '0'); in gpr_parse_bytes_to_uint32() 151 if (new_val < out) return 0; /* overflow */ in gpr_parse_bytes_to_uint32() 152 out = new_val; in gpr_parse_bytes_to_uint32()
|
/external/python/cpython3/Include/ |
D | pyatomic.h | 160 __typeof__(atomic_val->_value) new_val = NEW_VAL;\ 161 volatile __typeof__(new_val) *volatile_data = &atomic_val->_value; \ 172 *volatile_data = new_val; \ 179 : "+r"(new_val) \
|
/external/skqp/src/ports/ |
D | SkFontConfigInterface_direct.cpp | 382 SkScalar new_val; member 388 return ranges[0].new_val; in map_ranges() 395 ranges[i].new_val, ranges[i+1].new_val); in map_ranges() 401 return ranges[rangesCount-1].new_val; in map_ranges()
|