Home
last modified time | relevance | path

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

1234

/external/v8/src/
Datomicops_internals_x86_macosx.h40 Atomic32 new_value) { in NoBarrier_CompareAndSwap() argument
43 if (OSAtomicCompareAndSwap32(old_value, new_value, in NoBarrier_CompareAndSwap()
53 Atomic32 new_value) { in NoBarrier_AtomicExchange() argument
57 } while (!OSAtomicCompareAndSwap32(old_value, new_value, in NoBarrier_AtomicExchange()
78 Atomic32 new_value) { in Acquire_CompareAndSwap() argument
81 if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, in Acquire_CompareAndSwap()
92 Atomic32 new_value) { in Release_CompareAndSwap() argument
93 return Acquire_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap()
131 Atomic64 new_value) { in NoBarrier_CompareAndSwap() argument
134 if (OSAtomicCompareAndSwap64(old_value, new_value, in NoBarrier_CompareAndSwap()
[all …]
Datomicops_internals_x86_gcc.h53 Atomic32 new_value) { in NoBarrier_CompareAndSwap() argument
57 : "q" (new_value), "m" (*ptr), "0" (old_value) in NoBarrier_CompareAndSwap()
63 Atomic32 new_value) { in NoBarrier_AtomicExchange() argument
65 : "=r" (new_value) in NoBarrier_AtomicExchange()
66 : "m" (*ptr), "0" (new_value) in NoBarrier_AtomicExchange()
68 return new_value; // Now it's the previous value. in NoBarrier_AtomicExchange()
96 Atomic32 new_value) { in Acquire_CompareAndSwap() argument
97 Atomic32 x = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap()
106 Atomic32 new_value) { in Release_CompareAndSwap() argument
107 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap()
[all …]
Datomicops_internals_x86_msvc.h41 Atomic32 new_value) { in NoBarrier_CompareAndSwap() argument
44 static_cast<LONG>(new_value), in NoBarrier_CompareAndSwap()
50 Atomic32 new_value) { in NoBarrier_AtomicExchange() argument
53 static_cast<LONG>(new_value)); in NoBarrier_AtomicExchange()
79 Atomic32 new_value) { in Acquire_CompareAndSwap() argument
80 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap()
85 Atomic32 new_value) { in Release_CompareAndSwap() argument
86 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap()
125 Atomic64 new_value) { in NoBarrier_CompareAndSwap() argument
128 reinterpret_cast<PVOID>(new_value), reinterpret_cast<PVOID>(old_value)); in NoBarrier_CompareAndSwap()
[all …]
Datomicops_internals_arm_gcc.h44 Atomic32 new_value,
56 Atomic32 new_value) { in NoBarrier_CompareAndSwap() argument
59 if (!pLinuxKernelCmpxchg(old_value, new_value, in NoBarrier_CompareAndSwap()
69 Atomic32 new_value) { in NoBarrier_AtomicExchange() argument
73 } while (pLinuxKernelCmpxchg(old_value, new_value, in NoBarrier_AtomicExchange()
88 Atomic32 new_value = old_value + increment; in Barrier_AtomicIncrement() local
89 if (pLinuxKernelCmpxchg(old_value, new_value, in Barrier_AtomicIncrement()
92 return new_value; in Barrier_AtomicIncrement()
100 Atomic32 new_value) { in Acquire_CompareAndSwap() argument
101 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap()
[all …]
Datomicops_internals_mips_gcc.h50 Atomic32 new_value) { in NoBarrier_CompareAndSwap() argument
64 : "Ir" (old_value), "r" (new_value), "m" (*ptr) in NoBarrier_CompareAndSwap()
72 Atomic32 new_value) { in NoBarrier_AtomicExchange() argument
84 : "r" (new_value), "m" (*ptr) in NoBarrier_AtomicExchange()
128 Atomic32 new_value) { in Acquire_CompareAndSwap() argument
130 Atomic32 res = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap()
137 Atomic32 new_value) { in Release_CompareAndSwap() argument
139 Atomic32 res = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap()
Datomicops.h86 Atomic32 new_value);
90 Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, Atomic32 new_value);
110 Atomic32 new_value);
113 Atomic32 new_value);
128 Atomic64 new_value);
129 Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, Atomic64 new_value);
135 Atomic64 new_value);
138 Atomic64 new_value);
Ddiy-fp.h105 void set_f(uint64_t new_value) { f_ = new_value; } in set_f() argument
106 void set_e(int new_value) { e_ = new_value; } in set_e() argument
/external/chromium/webkit/glue/
Dcpp_variant.cc105 void CppVariant::Set(const NPVariant& new_value) { in Set() argument
107 switch (new_value.type) { in Set()
109 Set(new_value.value.boolValue); in Set()
112 Set(new_value.value.intValue); in Set()
115 Set(new_value.value.doubleValue); in Set()
118 Set(new_value.value.stringValue); in Set()
122 type = new_value.type; in Set()
125 Set(new_value.value.objectValue); in Set()
135 void CppVariant::Set(bool new_value) { in Set() argument
138 value.boolValue = new_value; in Set()
[all …]
Dcpp_variant.h42 void Set(const NPString& new_value);
43 void Set(const NPVariant& new_value);
50 void Set(NPObject* new_value);
/external/chromium/base/
Datomicops_internals_x86_gcc.h31 Atomic32 new_value) { in NoBarrier_CompareAndSwap() argument
35 : "q" (new_value), "m" (*ptr), "0" (old_value) in NoBarrier_CompareAndSwap()
41 Atomic32 new_value) { in NoBarrier_AtomicExchange() argument
43 : "=r" (new_value) in NoBarrier_AtomicExchange()
44 : "m" (*ptr), "0" (new_value) in NoBarrier_AtomicExchange()
46 return new_value; // Now it's the previous value. in NoBarrier_AtomicExchange()
74 Atomic32 new_value) { in Acquire_CompareAndSwap() argument
75 Atomic32 x = NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap()
84 Atomic32 new_value) { in Release_CompareAndSwap() argument
85 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap()
[all …]
Datomicops_internals_x86_msvc.h18 Atomic32 new_value) { in NoBarrier_CompareAndSwap() argument
21 static_cast<LONG>(new_value), in NoBarrier_CompareAndSwap()
27 Atomic32 new_value) { in NoBarrier_AtomicExchange() argument
30 static_cast<LONG>(new_value)); in NoBarrier_AtomicExchange()
56 Atomic32 new_value) { in Acquire_CompareAndSwap() argument
57 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap()
62 Atomic32 new_value) { in Release_CompareAndSwap() argument
63 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap()
102 Atomic64 new_value) { in NoBarrier_CompareAndSwap() argument
105 reinterpret_cast<PVOID>(new_value), reinterpret_cast<PVOID>(old_value)); in NoBarrier_CompareAndSwap()
[all …]
Datomicops_internals_arm_gcc.h22 Atomic32 new_value,
34 Atomic32 new_value) { in NoBarrier_CompareAndSwap() argument
37 if (!pLinuxKernelCmpxchg(old_value, new_value, in NoBarrier_CompareAndSwap()
47 Atomic32 new_value) { in NoBarrier_AtomicExchange() argument
51 } while (pLinuxKernelCmpxchg(old_value, new_value, in NoBarrier_AtomicExchange()
66 Atomic32 new_value = old_value + increment; in Barrier_AtomicIncrement() local
67 if (pLinuxKernelCmpxchg(old_value, new_value, in Barrier_AtomicIncrement()
70 return new_value; in Barrier_AtomicIncrement()
79 Atomic32 new_value) { in Acquire_CompareAndSwap() argument
80 return NoBarrier_CompareAndSwap(ptr, old_value, new_value); in Acquire_CompareAndSwap()
[all …]
Datomicops_internals_x86_macosx.h18 Atomic32 new_value) { in NoBarrier_CompareAndSwap() argument
21 if (OSAtomicCompareAndSwap32(old_value, new_value, in NoBarrier_CompareAndSwap()
31 Atomic32 new_value) { in NoBarrier_AtomicExchange() argument
35 } while (!OSAtomicCompareAndSwap32(old_value, new_value, in NoBarrier_AtomicExchange()
56 Atomic32 new_value) { in Acquire_CompareAndSwap() argument
59 if (OSAtomicCompareAndSwap32Barrier(old_value, new_value, in Acquire_CompareAndSwap()
70 Atomic32 new_value) { in Release_CompareAndSwap() argument
71 return Acquire_CompareAndSwap(ptr, old_value, new_value); in Release_CompareAndSwap()
109 Atomic64 new_value) { in NoBarrier_CompareAndSwap() argument
112 if (OSAtomicCompareAndSwap64(old_value, new_value, in NoBarrier_CompareAndSwap()
[all …]
Datomicops_internals_atomicword_compat.h29 AtomicWord new_value) { in NoBarrier_CompareAndSwap() argument
31 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in NoBarrier_CompareAndSwap()
35 AtomicWord new_value) { in NoBarrier_AtomicExchange() argument
37 reinterpret_cast<volatile Atomic32*>(ptr), new_value); in NoBarrier_AtomicExchange()
54 AtomicWord new_value) { in Acquire_CompareAndSwap() argument
56 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Acquire_CompareAndSwap()
61 AtomicWord new_value) { in Release_CompareAndSwap() argument
63 reinterpret_cast<volatile Atomic32*>(ptr), old_value, new_value); in Release_CompareAndSwap()
Datomicops.h71 Atomic32 new_value);
75 Atomic32 NoBarrier_AtomicExchange(volatile Atomic32* ptr, Atomic32 new_value);
95 Atomic32 new_value);
98 Atomic32 new_value);
113 Atomic64 new_value);
114 Atomic64 NoBarrier_AtomicExchange(volatile Atomic64* ptr, Atomic64 new_value);
120 Atomic64 new_value);
123 Atomic64 new_value);
Denvironment.cc43 virtual bool SetVar(const char* variable_name, const std::string& new_value) { in SetVar() argument
44 return SetVarImpl(variable_name, new_value); in SetVar()
78 bool SetVarImpl(const char* variable_name, const std::string& new_value) { in SetVarImpl() argument
81 return !setenv(variable_name, new_value.c_str(), 1); in SetVarImpl()
85 UTF8ToWide(new_value).c_str()); in SetVarImpl()
Datomicops_unittest.cc111 AtomicType new_value = base::subtle::NoBarrier_AtomicExchange(&value, 1); in TestAtomicExchange() local
113 EXPECT_EQ(0, new_value); in TestAtomicExchange()
120 new_value = base::subtle::NoBarrier_AtomicExchange(&value, k_test_val); in TestAtomicExchange()
122 EXPECT_EQ(k_test_val, new_value); in TestAtomicExchange()
125 new_value = base::subtle::NoBarrier_AtomicExchange(&value, 5); in TestAtomicExchange()
127 EXPECT_EQ(k_test_val, new_value); in TestAtomicExchange()
137 AtomicType new_value = base::subtle::NoBarrier_AtomicIncrement(&value, 1); in TestAtomicIncrementBounds() local
139 EXPECT_EQ(value, new_value); in TestAtomicIncrementBounds()
147 new_value = base::subtle::NoBarrier_AtomicIncrement(&value, 1); in TestAtomicIncrementBounds()
149 EXPECT_EQ(value, new_value); in TestAtomicIncrementBounds()
/external/valgrind/tsan/
Dts_lock.h76 ALWAYS_INLINE uintptr_t AtomicExchange(uintptr_t *ptr, uintptr_t new_value) { in AtomicExchange() argument
78 *ptr = new_value; in AtomicExchange()
96 ALWAYS_INLINE uintptr_t AtomicExchange(uintptr_t *ptr, uintptr_t new_value) { in AtomicExchange() argument
97 return __sync_lock_test_and_set(ptr, new_value); in AtomicExchange()
114 uintptr_t AtomicExchange(uintptr_t *ptr, uintptr_t new_value);
/external/chromium/chrome/browser/sync/engine/
Dsyncapi.h432 const sync_pb::AppSpecifics& new_value);
434 const sync_pb::AutofillSpecifics& new_value);
436 const sync_pb::AutofillProfileSpecifics& new_value);
438 const sync_pb::BookmarkSpecifics& new_value);
440 const sync_pb::NigoriSpecifics& new_value);
442 const sync_pb::PasswordSpecifics& new_value);
444 const sync_pb::PreferenceSpecifics& new_value);
446 const sync_pb::ThemeSpecifics& new_value);
448 const sync_pb::TypedUrlSpecifics& new_value);
450 const sync_pb::ExtensionSpecifics& new_value);
[all …]
Dsyncapi.cc490 sync_pb::BookmarkSpecifics new_value = GetBookmarkSpecifics(); in SetURL() local
491 new_value.set_url(url.spec()); in SetURL()
492 SetBookmarkSpecifics(new_value); in SetURL()
496 const sync_pb::AppSpecifics& new_value) { in SetAppSpecifics() argument
498 PutAppSpecificsAndMarkForSyncing(new_value); in SetAppSpecifics()
502 const sync_pb::AutofillSpecifics& new_value) { in SetAutofillSpecifics() argument
504 PutAutofillSpecificsAndMarkForSyncing(new_value); in SetAutofillSpecifics()
508 const sync_pb::AutofillSpecifics& new_value) { in PutAutofillSpecificsAndMarkForSyncing() argument
510 entity_specifics.MutableExtension(sync_pb::autofill)->CopyFrom(new_value); in PutAutofillSpecificsAndMarkForSyncing()
516 const sync_pb::AutofillProfileSpecifics& new_value) { in SetAutofillProfileSpecifics() argument
[all …]
/external/llvm/lib/Support/
DAtomic.cpp42 sys::cas_flag new_value, in CompareAndSwap() argument
47 *ptr = new_value; in CompareAndSwap()
50 return __atomic_cmpxchg(old_value, new_value, (volatile int*)ptr); in CompareAndSwap()
52 return __sync_val_compare_and_swap(ptr, old_value, new_value); in CompareAndSwap()
54 return InterlockedCompareExchange(ptr, new_value, old_value); in CompareAndSwap()
/external/chromium/chrome/browser/prefs/
Dpref_service_unittest.cc382 StringValue new_value(kValue); in TEST_F() local
383 observer_.Expect(&prefs_, kName, &new_value); in TEST_F()
384 prefs_.Set(kName, new_value); in TEST_F()
398 DictionaryValue new_value; in TEST_F() local
399 new_value.SetString(kName, kValue); in TEST_F()
400 observer_.Expect(&prefs_, kName, &new_value); in TEST_F()
401 prefs_.Set(kName, new_value); in TEST_F()
405 prefs_.Set(kName, new_value); in TEST_F()
424 ListValue new_value; in TEST_F() local
425 new_value.Append(Value::CreateStringValue(kValue)); in TEST_F()
[all …]
/external/e2fsprogs/lib/blkid/
Ddev.c131 char *new_type, *new_value; in blkid_dev_set_search() local
137 new_value = malloc(strlen(search_value)+1); in blkid_dev_set_search()
138 if (!new_type || !new_value) { in blkid_dev_set_search()
140 free(new_value); in blkid_dev_set_search()
144 strcpy(new_value, search_value); in blkid_dev_set_search()
148 iter->search_value = new_value; in blkid_dev_set_search()
/external/chromium/net/spdy/
Dspdy_http_utils.cc93 std::string new_value = (*headers)[name]; in CreateSpdyHeadersFromHttpRequest() local
94 new_value.append(1, '\0'); // +=() doesn't append 0's in CreateSpdyHeadersFromHttpRequest()
95 new_value += it.value(); in CreateSpdyHeadersFromHttpRequest()
96 (*headers)[name] = new_value; in CreateSpdyHeadersFromHttpRequest()
/external/chromium/chrome/browser/sync/glue/
Dpreference_model_associator.cc72 scoped_ptr<Value> new_value(MergePreference(*pref, *value)); in InitPrefNodeAndAssociate() local
76 if (new_value->IsType(Value::TYPE_NULL)) { in InitPrefNodeAndAssociate()
78 } else if (!new_value->IsType(pref->GetType())) { in InitPrefNodeAndAssociate()
80 << " is of type " << new_value->GetType() in InitPrefNodeAndAssociate()
82 } else if (!pref->GetValue()->Equals(new_value.get())) { in InitPrefNodeAndAssociate()
83 pref_service->Set(pref_name.c_str(), *new_value); in InitPrefNodeAndAssociate()
90 if (!value->Equals(new_value.get()) && in InitPrefNodeAndAssociate()
91 !WritePreferenceToNode(pref->name(), *new_value, &node)) in InitPrefNodeAndAssociate()

1234