Home
last modified time | relevance | path

Searched refs:new_val (Results 1 – 25 of 25) sorted by relevance

/external/libcxx/test/libcxx/utilities/memory/util.smartptr/
Drace_condition.pass.cpp64 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/
Dsanitizer_atomic_test.cc99 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/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sdb/db/
Dsequence.py161 new_val = {}
162 new_val['timestamp'] = now
164 new_val['last_value'] = self._value
166 new_val['current_value'] = val
168 self.db.put_attributes(self.id, new_val, expected_value=expected_value)
169 self.timestamp = new_val['timestamp']
/external/lldb/test/functionalities/watchpoint/hello_watchlocation/
Dmain.cpp24 do_bad_thing_with_location(char *char_ptr, char new_val) in do_bad_thing_with_location() argument
26 unsigned what = new_val; in do_bad_thing_with_location()
28 *char_ptr = new_val; in do_bad_thing_with_location()
/external/lldb/test/functionalities/watchpoint/watchpoint_set_command/
Dmain.cpp24 do_bad_thing_with_location(unsigned index, char *char_ptr, char new_val) in do_bad_thing_with_location() argument
26 unsigned what = new_val; in do_bad_thing_with_location()
28 char_ptr[index] = new_val; in do_bad_thing_with_location()
/external/lldb/test/python_api/watchpoint/watchlocation/
Dmain.cpp24 do_bad_thing_with_location(char *char_ptr, char new_val) in do_bad_thing_with_location() argument
26 *char_ptr = new_val; in do_bad_thing_with_location()
/external/skia/src/ports/
DSkFontMgr_fontconfig.cpp273 SkFixed new_val; member
279 return ranges[0].new_val; in map_ranges_fixed()
286 ranges[i].new_val, ave(ranges[i].new_val, ranges[i+1].new_val)); in map_ranges_fixed()
290 ave(ranges[i].new_val, ranges[i+1].new_val), ranges[i+1].new_val); in map_ranges_fixed()
296 return ranges[rangesCount-1].new_val; in map_ranges_fixed()
/external/selinux/libsepol/src/
Dmodule_to_cil.c1121 char *new_val = NULL; in cond_expr_to_cil() local
1140 new_val = malloc(len); in cond_expr_to_cil()
1141 if (new_val == NULL) { in cond_expr_to_cil()
1146 rlen = snprintf(new_val, len, "(%s)", val1); in cond_expr_to_cil()
1195 new_val = malloc(len); in cond_expr_to_cil()
1196 if (new_val == NULL) { in cond_expr_to_cil()
1205 rlen = snprintf(new_val, len, fmt_str, op, val1, val2); in cond_expr_to_cil()
1218 rc = stack_push(stack, new_val); in cond_expr_to_cil()
1223 new_val = NULL; in cond_expr_to_cil()
1246 free(new_val); in cond_expr_to_cil()
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interface_inl.h85 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()
Dtsan_interface.h68 void __tsan_vptr_update(void **vptr_p, void *new_val);
/external/autotest/frontend/afe/json_rpc/
DserviceHandler.py56 new_val = customConvertJson(val)
57 new_dict[new_key] = new_val
/external/bison/src/
Dmuscle-tab.c159 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/flac/libFLAC/
Dcpu.c296 FLAC__uint32 old_val, new_val; in FLAC__cpu_info()
304new_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/
Dfuncs.c1708 int positions, new_val; in c_umask() local
1739 new_val = 0; in c_umask()
1742 case 'r': new_val |= 04; break; in c_umask()
1743 case 'w': new_val |= 02; break; in c_umask()
1744 case 'x': new_val |= 01; break; in c_umask()
1746 new_val |= old_umask >> 6; in c_umask()
1749 new_val |= old_umask >> 3; in c_umask()
1752 new_val |= old_umask >> 0; in c_umask()
1756 new_val |= 01; in c_umask()
1762 new_val = (new_val & 07) * positions; in c_umask()
[all …]
/external/v8/src/arm64/
Dsimulator-arm64.cc930 T new_val; in AddSubWithCarry() local
936 new_val = AddWithCarry<T>(instr->FlagsUpdate(), in AddSubWithCarry()
941 set_reg<T>(instr->Rd(), new_val); in AddSubWithCarry()
1422 T new_val = 0; in AddSubHelper() local
1428 new_val = AddWithCarry<T>(set_flags, in AddSubHelper()
1435 new_val = AddWithCarry<T>(set_flags, in AddSubHelper()
1444 set_reg<T>(instr->Rd(), new_val, instr->RdMode()); in AddSubHelper()
1968 uint64_t new_val = xreg(instr->Rn()); in VisitConditionalSelect() local
1970 new_val = xreg(instr->Rm()); in VisitConditionalSelect()
1977 new_val++; in VisitConditionalSelect()
[all …]
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_test_util.h98 void VptrUpdate(const MemLoc &vptr, const MemLoc &new_val,
Dtsan_test_util_posix.cc449 const MemLoc &new_val, in VptrUpdate() argument
451 Event event(Event::VPTR_UPDATE, vptr.loc(), (uptr)new_val.loc()); in VptrUpdate()
/external/vixl/src/vixl/a64/
Dsimulator-a64.cc891 int64_t new_val = 0; in AddSubHelper() local
897 new_val = AddWithCarry(reg_size, in AddSubHelper()
905 new_val = AddWithCarry(reg_size, in AddSubHelper()
915 set_reg(reg_size, instr->Rd(), new_val, LogRegWrites, instr->RdMode()); in AddSubHelper()
948 int64_t new_val; in VisitAddSubWithCarry() local
954 new_val = AddWithCarry(reg_size, in VisitAddSubWithCarry()
960 set_reg(reg_size, instr->Rd(), new_val); in VisitAddSubWithCarry()
1567 uint64_t new_val = xreg(instr->Rn()); in VisitConditionalSelect() local
1570 new_val = xreg(instr->Rm()); in VisitConditionalSelect()
1575 case CSINC_x: new_val++; break; in VisitConditionalSelect()
[all …]
/external/v8/test/mjsunit/wasm/
Dasm-wasm.js1007 function setVal(new_val) { argument
1008 val = new_val;
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py305 new_val = 20
306 setattr(composite_field, scalar_field_name, new_val)
307 self.assertEqual(new_val, getattr(composite_field, scalar_field_name))
325 setattr(old_composite_field, scalar_field_name, new_val)
/external/llvm/test/Transforms/InstCombine/
Dicmp.ll1516 ; CHECK-NEXT: %[[xchg:.*]] = cmpxchg i32* %sc, i32 %old_val, i32 %new_val seq_cst seq_cst
1519 define zeroext i1 @icmp_cmpxchg_strong(i32* %sc, i32 %old_val, i32 %new_val) {
1520 %xchg = cmpxchg i32* %sc, i32 %old_val, i32 %new_val seq_cst seq_cst
/external/opencv/cv/include/
Dcv.h976 CvScalar new_val, CvScalar lo_diff CV_DEFAULT(cvScalarAll(0)), in LOAD_CHDL()
/external/valgrind/VEX/priv/
Dguest_mips_toIR.c2190 static void mips_irgen_load_and_add32(IRTemp op1addr, IRTemp new_val, in mips_irgen_load_and_add32() argument
2202 NULL, mkexpr(new_val) /* new value */); in mips_irgen_load_and_add32()
2213 static void mips_irgen_load_and_add64(IRTemp op1addr, IRTemp new_val, in mips_irgen_load_and_add64() argument
2225 NULL, mkexpr(new_val) /* new value */); in mips_irgen_load_and_add64()
Dguest_x86_toIR.c3622 IRTemp new_val = newTemp(Ity_F64); in maybe_put_ST() local
3623 assign(new_val, in maybe_put_ST()
3632 put_ST_UNCHECKED(i, mkexpr(new_val)); in maybe_put_ST()
Dguest_amd64_toIR.c5103 IRTemp new_val = newTemp(Ity_F64); in maybe_put_ST() local
5104 assign(new_val, in maybe_put_ST()
5113 put_ST_UNCHECKED(i, mkexpr(new_val)); in maybe_put_ST()