/external/chromium_org/ui/gfx/animation/ |
linear_animation.cc | 48 void LinearAnimation::SetCurrentValue(double new_value) { 49 new_value = std::max(0.0, std::min(1.0, new_value)); 51 duration_.InMicroseconds() * (new_value - state_)); 53 state_ = new_value;
|
/art/runtime/gc/accounting/ |
card_table-inl.h | 30 static inline bool byte_cas(byte old_value, byte new_value, byte* address) { 33 return byte_atomic->CompareExchangeWeakRelaxed(old_value, new_value); 46 const uintptr_t new_word = cur_word | (static_cast<uintptr_t>(new_value) << shift_in_bits); 137 byte expected, new_value; local 140 new_value = visitor(expected); 141 } while (expected != new_value && UNLIKELY(!byte_cas(expected, new_value, card_cur))); 142 if (expected != new_value) { 143 modified(card_cur, expected, new_value); 151 byte expected, new_value; local [all...] |
/art/runtime/entrypoints/portable/ |
portable_field_entrypoints.cc | 26 int32_t new_value) 34 field->Set32<false>(field->GetDeclaringClass(), new_value); 41 field->Set32<false>(field->GetDeclaringClass(), new_value); 49 int64_t new_value) 54 field->Set64<false>(field->GetDeclaringClass(), new_value); 61 field->Set64<false>(field->GetDeclaringClass(), new_value); 69 mirror::Object* new_value) 75 field->SetObj<false>(field->GetDeclaringClass(), new_value); 82 field->SetObj<false>(field->GetDeclaringClass(), new_value); 136 mirror::Object* obj, uint32_t new_value) [all...] |
/external/chromium_org/v8/src/base/ |
atomicops_internals_tsan.h | 201 Atomic32 new_value) { 203 __tsan_atomic32_compare_exchange_strong(ptr, &cmp, new_value, 209 Atomic32 new_value) { 210 return __tsan_atomic32_exchange(ptr, new_value, 215 Atomic32 new_value) { 216 return __tsan_atomic32_exchange(ptr, new_value, 221 Atomic32 new_value) { 222 return __tsan_atomic32_exchange(ptr, new_value, 240 Atomic32 new_value) { 242 __tsan_atomic32_compare_exchange_strong(ptr, &cmp, new_value, [all...] |
/system/core/include/cutils/ |
atomic-arm.h | 70 int android_atomic_cas(int32_t old_value, int32_t new_value, 83 : "r" (ptr), "Ir" (old_value), "r" (new_value) 90 int android_atomic_acquire_cas(int32_t old_value, int32_t new_value, 93 int status = android_atomic_cas(old_value, new_value, ptr); 99 int android_atomic_release_cas(int32_t old_value, int32_t new_value, 103 return android_atomic_cas(old_value, new_value, ptr);
|
atomic-arm64.h | 85 int android_atomic_cas(int32_t old_value, int32_t new_value, 88 return __sync_val_compare_and_swap(ptr, old_value, new_value) != old_value; 92 int android_atomic_acquire_cas(int32_t old_value, int32_t new_value, 95 int status = android_atomic_cas(old_value, new_value, ptr); 101 int android_atomic_release_cas(int32_t old_value, int32_t new_value, 105 return android_atomic_cas(old_value, new_value, ptr);
|
/external/chromium_org/base/json/ |
json_file_value_serializer.h | 70 void set_allow_trailing_comma(bool new_value) { 71 allow_trailing_comma_ = new_value;
|
/external/chromium_org/chrome/browser/ |
logging_chrome_unittest.cc | 15 // variable and sets the variable to new_value. 16 void SaveEnvironmentVariable(std::string new_value) { 21 env->SetVar(env_vars::kLogFileName, new_value);
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
atomicops.h | 85 // *ptr = new_value; 88 // I.e., replace "*ptr" with "new_value" if "*ptr" used to be "old_value". 94 Atomic32 new_value); 96 // Atomically store new_value into *ptr, returning the previous value held in 98 Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, Atomic32 new_value); 118 Atomic32 new_value); 121 Atomic32 new_value); 136 Atomic64 new_value); 137 Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, Atomic64 new_value); 143 Atomic64 new_value); [all...] |
/external/chromium_org/third_party/webrtc/system_wrappers/source/ |
atomic32_posix.cc | 49 bool Atomic32::CompareExchange(int32_t new_value, int32_t compare_value) { 50 return __sync_bool_compare_and_swap(&value_, compare_value, new_value);
|
atomic32_win.cc | 51 bool Atomic32::CompareExchange(int32_t new_value, int32_t compare_value) { 54 new_value,
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
atomicops-internals-windows.h | 133 Atomic32 new_value) { 136 static_cast<LONG>(new_value), 142 Atomic32 new_value) { 145 static_cast<LONG>(new_value)); 185 Atomic32 new_value) { 186 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); 191 Atomic32 new_value) { 192 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); 291 Atomic64 new_value) { 294 reinterpret_cast<PVOID>(new_value), reinterpret_cast<PVOID>(old_value)) [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
atomicops-internals-windows.h | 124 Atomic32 new_value) { 127 static_cast<LONG>(new_value), 133 Atomic32 new_value) { 136 static_cast<LONG>(new_value)); 176 Atomic32 new_value) { 177 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); 182 Atomic32 new_value) { 183 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); 282 Atomic64 new_value) { 285 reinterpret_cast<PVOID>(new_value), reinterpret_cast<PVOID>(old_value)) [all...] |
/external/chromium_org/android_webview/browser/ |
browser_view_renderer_client.h | 37 // Try to set the view's scroll offset to |new_value|. 38 virtual void ScrollContainerViewTo(gfx::Vector2d new_value) = 0;
|
/external/chromium_org/chrome/browser/ui/website_settings/ |
permission_bubble_view.h | 25 virtual void ToggleAccept(int index, bool new_value) = 0;
|
/external/chromium_org/third_party/webrtc/system_wrappers/interface/ |
atomic32.h | 41 // Sets the value atomically to new_value if the value equals compare value. 43 bool CompareExchange(int32_t new_value, int32_t compare_value);
|
/external/chromium_org/chrome/browser/prefs/tracked/ |
tracked_atomic_preference.cc | 54 const base::Value* new_value = NULL; local 55 pref_store_contents->Get(pref_path_, &new_value); 56 transaction->StoreHash(pref_path_, new_value);
|
/frameworks/base/media/mca/filterfw/native/core/ |
value.h | 65 int SetIntValue(Value* value, int new_value); 66 int SetFloatValue(Value* value, float new_value); 67 int SetStringValue(Value* value, const char* new_value);
|
/external/lldb/test/functionalities/register/ |
TestRegisters.py | 132 def vector_write_and_read(self, frame, register, new_value, must_exist = True): 139 self.runCmd("register write " + register + " \'" + new_value + "\'") 141 substrs = [register + ' = ', new_value]) 173 new_value = "{0x01 0x02 0x03 0x00 0x00 0x00 0x00 0x00 0x00 0x00}" 174 self.vector_write_and_read(currentFrame, "stmm0", new_value) 175 new_value = "{0x01 0x02 0x03 0x00 0x00 0x00 0x00 0x00 0x09 0x0a}" 176 self.vector_write_and_read(currentFrame, "stmm7", new_value) 178 new_value = "{0x01 0x02 0x03 0x00 0x00 0x00 0x00 0x00 0x09 0x0a 0x2f 0x2f 0x2f 0x2f 0x2f 0x2f}" 179 self.vector_write_and_read(currentFrame, "xmm0", new_value) 180 new_value = "{0x01 0x02 0x03 0x00 0x00 0x00 0x00 0x00 0x09 0x0a 0x2f 0x2f 0x2f 0x2f 0x0e 0x0f} [all...] |
/art/runtime/entrypoints/quick/ |
quick_field_entrypoints.cc | 151 extern "C" int artSet32StaticFromCode(uint32_t field_idx, uint32_t new_value, 159 field->Set32<false>(field->GetDeclaringClass(), new_value); 166 field->Set32<false>(field->GetDeclaringClass(), new_value); 173 uint64_t new_value, Thread* self, 180 field->Set64<false>(field->GetDeclaringClass(), new_value); 187 field->Set64<false>(field->GetDeclaringClass(), new_value); 193 extern "C" int artSetObjStaticFromCode(uint32_t field_idx, mirror::Object* new_value, 202 field->SetObj<false>(field->GetDeclaringClass(), new_value); 211 field->SetObj<false>(field->GetDeclaringClass(), new_value); 217 extern "C" int artSet32InstanceFromCode(uint32_t field_idx, mirror::Object* obj, uint32_t new_value, [all...] |
/external/chromium_org/v8/test/cctest/ |
test-atomicops.cc | 138 AtomicType new_value = NoBarrier_AtomicExchange(&value, 1); local 140 CHECK_EQU(0, new_value); 147 new_value = NoBarrier_AtomicExchange(&value, k_test_val); 149 CHECK_EQU(k_test_val, new_value); 152 new_value = NoBarrier_AtomicExchange(&value, 5); 154 CHECK_EQU(k_test_val, new_value); 164 AtomicType new_value = NoBarrier_AtomicIncrement(&value, 1); local 166 CHECK_EQU(value, new_value); 174 new_value = NoBarrier_AtomicIncrement(&value, 1); 176 CHECK_EQU(value, new_value); [all...] |
/external/chromium_org/base/prefs/ |
pref_service_unittest.cc | 262 base::StringValue new_value(kValue); 263 observer_.Expect(kName, &new_value); 264 prefs_.Set(kName, new_value); 278 base::DictionaryValue new_value; local 279 new_value.SetString(kName, kValue); 280 observer_.Expect(kName, &new_value); 281 prefs_.Set(kName, new_value); 285 prefs_.Set(kName, new_value); 304 base::ListValue new_value; local 305 new_value.Append(new base::StringValue(kValue)) [all...] |
/art/runtime/mirror/ |
object-inl.h | 431 inline void Object::SetField32(MemberOffset field_offset, int32_t new_value) { 446 reinterpret_cast<Atomic<int32_t>*>(word_addr)->StoreSequentiallyConsistent(new_value); 448 reinterpret_cast<Atomic<int32_t>*>(word_addr)->StoreJavaData(new_value); 453 inline void Object::SetField32Volatile(MemberOffset field_offset, int32_t new_value) { 454 SetField32<kTransactionActive, kCheckTransaction, kVerifyFlags, true>(field_offset, new_value); 461 int32_t old_value, int32_t new_value) { 474 return atomic_addr->CompareExchangeWeakSequentiallyConsistent(old_value, new_value); 479 int32_t old_value, int32_t new_value) { 492 return atomic_addr->CompareExchangeWeakRelaxed(old_value, new_value); 497 int32_t old_value, int32_t new_value) { [all...] |
/external/chromium_org/tools/deep_memory_profiler/lib/ |
range_dict.py | 92 new_value = bound_value[1] 93 self._tree[bound_begin] = (begin, new_value.copy()) 94 self._tree[begin] = (new_end, new_value.copy()) 114 new_value = bound_value[1] 115 self._tree[bound_begin] = (end, new_value.copy()) 116 self._tree[end] = (new_end, new_value.copy())
|
/external/e2fsprogs/lib/blkid/ |
dev.c | 131 char *new_type, *new_value; local 137 new_value = malloc(strlen(search_value)+1); 138 if (!new_type || !new_value) { 140 free(new_value); 144 strcpy(new_value, search_value); 148 iter->search_value = new_value;
|