/bionic/libc/bionic/ |
pthread.c | 567 int newval = mvalue + MUTEX_COUNTER_BITS_ONE; local 568 if (__predict_true(__bionic_cmpxchg(mvalue, newval, &mutex->value) == 0)) { 610 int newval = MUTEX_OWNER_TO_BITS(tid) | mtype | MUTEX_STATE_BITS_LOCKED_UNCONTENDED; local 611 if (__bionic_cmpxchg(mvalue, newval, &mutex->value) == 0) { 620 int newval; local 629 newval = MUTEX_OWNER_TO_BITS(tid) | mtype | MUTEX_STATE_BITS_LOCKED_CONTENDED; 634 if (__predict_false(__bionic_cmpxchg(mvalue, newval, &mutex->value) != 0)) { 645 newval = MUTEX_STATE_BITS_FLIP_CONTENTION(mvalue); /* locked state 1 => state 2 */ 646 if (__predict_false(__bionic_cmpxchg(mvalue, newval, &mutex->value) != 0)) { 650 mvalue = newval; 703 int newval = mvalue - MUTEX_COUNTER_BITS_ONE; local 919 int newval = MUTEX_STATE_BITS_FLIP_CONTENTION(mvalue); local 1072 long newval = ((oldval - COND_COUNTER_INCREMENT) & COND_COUNTER_MASK) local 1218 int32_t oldval, newval; local [all...] |
/external/llvm/lib/Transforms/Utils/ |
SSAUpdater.cpp | 444 Value *NewVal = SSA.GetValueInMiddleOfBlock(ALoad->getParent()); 445 replaceLoadWithValue(ALoad, NewVal); 448 if (NewVal == ALoad) NewVal = UndefValue::get(NewVal->getType()); 449 ALoad->replaceAllUsesWith(NewVal); 450 ReplacedLoads[ALoad] = NewVal; 466 Value *NewVal = ReplacedLoads[User]; 467 assert(NewVal && "not a replaced load?"); 472 DenseMap<Value*, Value*>::iterator RLI = ReplacedLoads.find(NewVal); [all...] |
/dalvik/vm/test/ |
AtomicTest.cpp | 93 static int compareAndSwap(int oldVal, int newVal, int* addr) __attribute__((noinline)); 94 static int compareAndSwapWide(int64_t oldVal, int64_t newVal, int64_t* addr) __attribute__((noinline)); 108 static int compareAndSwap(int32_t oldVal, int32_t newVal, int32_t* addr) 111 *addr = newVal; 116 static int compareAndSwapWide(int64_t oldVal, int64_t newVal, int64_t* addr) 119 *addr = newVal;
|
/external/llvm/lib/Target/Mips/ |
MipsJITInfo.cpp | 166 intptr_t NewVal = (intptr_t) JITCompilerFunction((void*) StubAddr); 171 // lui $t9, %hi(NewVal) 172 // addiu $t9, $t9, %lo(NewVal) 176 int Hi = ((unsigned)NewVal & 0xffff0000) >> 16; 177 if ((NewVal & 0x8000) != 0) 179 int Lo = (int)(NewVal & 0xffff);
|
/external/lzma/CPP/Windows/ |
Registry.cpp | 211 UInt32 newVal;
212 LONG res = QueryValue(name, newVal);
214 value = newVal;
220 bool newVal;
221 LONG res = QueryValue(name, newVal);
223 value = newVal;
|
/dalvik/vm/ |
DvmDex.h | 103 bool dvmDexChangeDex1(DvmDex* pDvmDex, u1* addr, u1 newVal); 104 bool dvmDexChangeDex2(DvmDex* pDvmDex, u2* addr, u2 newVal);
|
/external/opencv/cvaux/src/ |
cvsegment.cpp | 87 int* newVal, int d_lw, int d_up, 191 newVal[0] = cvRound( sum[0] * inv_area ); 192 newVal[1] = cvRound( sum[1] * inv_area ); 193 newVal[2] = cvRound( sum[2] * inv_area ); 208 CvSize /*roi*/, int* newVal, 213 uchar uv[] = { (uchar)newVal[0], (uchar)newVal[1], (uchar)newVal[2] };
|
/art/test/MyClassNatives/ |
MyClassNatives.java | 34 native boolean compareAndSwapInt(Object obj, long offset, int expected, int newval);
|
/external/chromium_org/chrome/browser/resources/signin_internals/ |
signin_internals.js | 18 // Accepts a DOM node and sets its highlighted attribute oldVal != newVal 19 function highlightIfChanged(node, oldVal, newVal) { 21 var newStr = newVal.toString();
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
_darwin.h | 96 extern PRInt32 _PR_DarwinPPC_AtomicSet(PRInt32 *val, PRInt32 newval); 97 #define _MD_ATOMIC_SET(val, newval) _PR_DarwinPPC_AtomicSet(val, newval)
|
/external/chromium_org/third_party/sqlite/src/test/ |
descidx2.test | 29 # to $newval. Also, the schema cookie is incremented. 31 proc set_file_format {newval} { 32 hexio_write test.db 44 [hexio_render_int32 $newval]
|
descidx3.test | 32 # to $newval. Also, the schema cookie is incremented. 34 proc set_file_format {newval} { 35 hexio_write test.db 44 [hexio_render_int32 $newval]
|
/external/llvm/include/llvm/Support/ |
IntegersSubset.h | 48 Constant *NewVal = ConstantInt::get(ConstantIntVal->getContext(), res); \ 49 return IntItem(cast<ConstantInt>(NewVal)); \ 55 Constant *NewVal = ConstantInt::get(ConstantIntVal->getContext(), res); \ 56 return IntItem(cast<ConstantInt>(NewVal)); \ 63 Constant *NewVal = ConstantInt::get(ConstantIntVal->getContext(), res); \ 64 ConstantIntVal = cast<ConstantInt>(NewVal); \ 72 Constant *NewVal = ConstantInt::get(ConstantIntVal->getContext(), res); \ 73 ConstantIntVal = cast<ConstantInt>(NewVal); \ 81 Constant *NewVal = ConstantInt::get(ConstantIntVal->getContext(), res); \ 83 ConstantIntVal = cast<ConstantInt>(NewVal); \ [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerDecoder.cpp | 165 int32_t oldVal, newVal; 166 if (!mFormat->findInt32(keys[i], &oldVal) || !targetFormat->findInt32(keys[i], &newVal) 167 || oldVal != newVal) {
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
DerOutputStream.java | 109 Object[][] newVal = new Object[val.length * 2][]; 110 System.arraycopy(val, 0, newVal, 0, val.length); 111 val = newVal;
|
/external/llvm/lib/IR/ |
DebugLoc.cpp | 259 MDNode *NewVal = dyn_cast<MDNode>(NewVa); 260 if (NewVal == 0) return deleted(); 276 setValPtr(NewVal); 278 int NewEntry = Ctx->getOrAddScopeRecordIdxEntry(NewVal, Idx); 280 // If NewVal already has an entry, this becomes a non-canonical reference, 305 setValPtr(NewVal); 309 // If NewVal already has an entry, this becomes a non-canonical reference,
|
/frameworks/base/core/java/android/widget/ |
TimePicker.java | 154 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { 157 if ((oldVal == HOURS_IN_HALF_DAY - 1 && newVal == HOURS_IN_HALF_DAY) 158 || (oldVal == HOURS_IN_HALF_DAY && newVal == HOURS_IN_HALF_DAY - 1)) { 182 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { 186 if (oldVal == maxValue && newVal == minValue) { 193 } else if (oldVal == minValue && newVal == maxValue) { 231 public void onValueChange(NumberPicker picker, int oldVal, int newVal) {
|
/external/llvm/test/CodeGen/Mips/ |
atomic.ll | 52 define i32 @AtomicSwap32(i32 %newval) nounwind { 54 %newval.addr = alloca i32, align 4 55 store i32 %newval, i32* %newval.addr, align 4 56 %tmp = load i32* %newval.addr, align 4 75 define i32 @AtomicCmpSwap32(i32 %oldval, i32 %newval) nounwind { 77 %newval.addr = alloca i32, align 4 78 store i32 %newval, i32* %newval.addr, align 4 79 %tmp = load i32* %newval.addr, align [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
DatePicker.java | 108 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { 109 mDay = newVal; 137 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { 142 mMonth = newVal - 1; 152 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { 153 mYear = newVal;
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePicker.java | 120 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { 121 mDay = newVal; 150 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { 155 mMonth = newVal - 1; 166 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { 167 mYear = newVal;
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
HashCountedSet.h | 175 unsigned newVal = oldVal - 1; 176 if (newVal) { 177 it->value = newVal;
|
/external/chromium/base/memory/ |
singleton.h | 220 Type* newval = Traits::New(); local 227 &instance_, reinterpret_cast<base::subtle::AtomicWord>(newval)); 229 if (newval != NULL && Traits::kRegisterAtExit) 232 return newval;
|
/external/chromium_org/base/memory/ |
singleton.h | 245 Type* newval = Traits::New(); local 252 &instance_, reinterpret_cast<base::subtle::AtomicWord>(newval)); 254 if (newval != NULL && Traits::kRegisterAtExit) 257 return newval;
|
/external/chromium_org/tools/android/memconsumer/java/src/org/chromium/memconsumer/ |
MemConsumer.java | 51 public void onValueChange(NumberPicker picker, int oldVal, int newVal) {
|
/external/llvm/include/llvm/ADT/ |
TinyPtrVector.h | 180 void push_back(EltTy NewVal) { 181 assert(NewVal != 0 && "Can't add a null value"); 185 Val = NewVal; 196 Val.template get<VecTy*>()->push_back(NewVal);
|