/external/linux-kselftest/tools/testing/selftests/futex/include/ |
H A D | atomic.h | 35 * @newval: The new value to try and assign the futex 40 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) argument 42 return __sync_val_compare_and_swap(&addr->val, oldval, newval); 72 * @newval: New value for the atomic_t 77 atomic_set(atomic_t *addr, int newval) argument 79 addr->val = newval; 80 return newval;
|
H A D | futextest.h | 215 * @newval: The new value to try and assign the futex 223 futex_cmpxchg(futex_t *uaddr, u_int32_t oldval, u_int32_t newval) argument 225 return __sync_val_compare_and_swap(uaddr, oldval, newval); 255 * @newval: New value for the atomic_t 260 futex_set(futex_t *uaddr, u_int32_t newval) argument 262 *uaddr = newval; 263 return newval;
|
/external/swiftshader/third_party/subzero/crosstest/ |
H A D | test_sync_atomic.h | 26 type test_val_cmp_swap(volatile type *ptr, type oldval, type newval); \ 27 type test_val_cmp_swap_loop(volatile type *ptr, type oldval, type newval);
|
H A D | test_sync_atomic.cpp | 59 type test_val_cmp_swap(volatile type *ptr, type oldval, type newval) { \ 60 return __sync_val_compare_and_swap(ptr, oldval, newval); \ 62 type test_val_cmp_swap_loop(volatile type *ptr, type oldval, type newval) { \ 66 prev = __sync_val_compare_and_swap(ptr, oldval, newval); \
|
/external/ltp/testcases/kernel/syscalls/sysctl/ |
H A D | sysctl05.c | 65 void *newval, size_t newlen) 68 { name, nlen, oldval, oldlenp, newval, newlen }; 84 void *newval; member in struct:testcases 122 testcases[i].newval, testcases[i].newlen)); 64 sysctl(int *name, int nlen, void *oldval, size_t * oldlenp, void *newval, size_t newlen) argument
|
H A D | sysctl01.c | 62 void *newval, size_t newlen) 65 { name, nlen, oldval, oldlenp, newval, newlen }; 82 void *newval; member in struct:test_case_t 131 TC[i].oldlen, TC[i].newval, TC[i].newlen)); 61 sysctl(int *name, int nlen, void *oldval, size_t * oldlenp, void *newval, size_t newlen) argument
|
H A D | sysctl04.c | 63 void *newval, size_t newlen) 66 { name, nlen, oldval, oldlenp, newval, newlen }; 62 sysctl(int *name, int nlen, void *oldval, size_t * oldlenp, void *newval, size_t newlen) argument
|
H A D | sysctl03.c | 82 void *newval, size_t newlen) 85 { name, nlen, oldval, oldlenp, newval, newlen }; 81 sysctl(int *name, int nlen, void *oldval, size_t * oldlenp, void *newval, size_t newlen) argument
|
/external/selinux/python/sepolicy/ |
H A D | sepolicy.py | 68 newval = getattr(namespace, self.dest) 69 if not newval: 70 newval = [] 73 newval.append(v) 74 setattr(namespace, self.dest, newval) 81 newval = getattr(namespace, self.dest) 82 if not newval: 83 newval = [] 89 newval.append(v) 90 setattr(namespace, self.dest, newval) [all...] |
/external/curl/lib/ |
H A D | strtoofft.c | 84 curl_off_t newval; local 135 newval = base * value + i; 136 if(newval < value) { 142 value = newval;
|
/external/libchrome/base/memory/ |
H A D | singleton.h | 260 Type* newval = Traits::New(); local 264 reinterpret_cast<subtle::AtomicWord>(newval)); 266 if (newval != NULL && Traits::kRegisterAtExit) 269 return newval;
|
/external/strace/ |
H A D | sysctl.c | 64 info.oldlenp, info.newval, (unsigned long)info.newlen); 182 if (info.newval == NULL) 185 tprintf("%p", info.newval); 187 printpath(tcp, ptr_to_kulong(info.newval));
|
/external/toybox/kconfig/ |
H A D | symbol.c | 265 struct symbol_value newval, oldval; local 282 newval = symbol_empty.curr; 286 newval = symbol_no.curr; 299 sym->curr = newval; 306 newval.tri = (prop_get_symbol(prop)->curr.val == sym) ? yes : no; 310 newval.tri = sym->def[S_DEF_USER].tri; 314 newval.tri = expr_calc_value(prop->expr); 316 newval.tri = E_OR(E_AND(newval.tri, sym->visible), sym->rev_dep.tri); 321 newval 464 tristate oldval, newval; local 570 sym_set_string_value(struct symbol *sym, const char *newval) argument [all...] |
H A D | lkc_proto.h | 30 P(sym_string_valid,bool,(struct symbol *sym, const char *newval)); 32 P(sym_set_string_value,bool,(struct symbol *sym, const char *newval));
|
H A D | conf.c | 209 tristate oldval, newval; local 245 newval = no; 251 newval = mod; 257 newval = yes; 262 newval = oldval; 269 if (sym_set_tristate_value(sym, newval))
|
/external/python/cpython3/Lib/tkinter/test/test_ttk/ |
H A D | test_extensions.py | 151 newval = x.value + 1 152 x.value = newval 156 self.assertEqual(x.value, newval) 158 newval if self.wantobjects else str(newval)) 159 self.assertEqual(float(x.scale.get()), newval) 171 self.assertEqual(x.value, newval) 172 self.assertEqual(conv(x.label['text']), newval) 173 self.assertEqual(float(x.scale.get()), newval) 178 x.value = newval [all...] |
/external/ltp/testcases/kernel/syscalls/futex/ |
H A D | futextest.h | 246 * @newval: The new value to try and assign the futex 254 futex_cmpxchg(futex_t *uaddr, u_int32_t oldval, u_int32_t newval) argument 256 return __sync_val_compare_and_swap(uaddr, oldval, newval); 286 * @newval: New value for the atomic_t 291 futex_set(futex_t *uaddr, u_int32_t newval) argument 293 *uaddr = newval; 294 return newval;
|
/external/mesa3d/src/mesa/main/ |
H A D | scissor.c | 218 struct gl_scissor_rect newval[MAX_WINDOW_RECTANGLES]; local 249 newval[i].X = box[0]; 250 newval[i].Y = box[1]; 251 newval[i].Width = box[2]; 252 newval[i].Height = box[3]; 257 memcpy(ctx->Scissor.WindowRects, newval,
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
H A D | TensorReductionCuda.h | 30 unsigned int newval = oldval; local 31 reducer.reduce(accum, reinterpret_cast<T*>(&newval)); 32 if (newval == oldval) { 36 while ((readback = atomicCAS((unsigned int*)output, oldval, newval)) != oldval) { 38 newval = oldval; 39 reducer.reduce(accum, reinterpret_cast<T*>(&newval)); 40 if (newval == oldval) { 47 unsigned long long newval = oldval; local 48 reducer.reduce(accum, reinterpret_cast<T*>(&newval)); 49 if (newval 86 unsigned int newval = oldval; local [all...] |
/external/autotest/client/site_tests/network_EthernetStressPlug/ |
H A D | network_EthernetStressPlug.py | 235 newval = val | 1 237 newval = val & ~1 239 if val != newval: 242 fp.write('0x%x' % newval) 246 (newval, self.eth_flagspath)) 247 logging.debug("eth flags: 0x%x to 0x%x" % (val, newval))
|
/external/pdfium/core/fxcrt/ |
H A D | cfx_decimal.cpp | 274 float newval = fabs(val); local 278 plo = static_cast<uint64_t>(newval); 279 pmid = static_cast<uint64_t>(newval / 1e32); 280 phi = static_cast<uint64_t>(newval / 1e64); 281 newval = fmod(newval, 1.0f); 284 newval *= 10; 285 plo += static_cast<uint64_t>(newval); 286 newval = fmod(newval, 1. [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/glsl_tests/ |
H A D | amdgcn_glslc.c | 176 char *newval; local 177 (void)!asprintf(&newval, "%s,%s", orig, value); 178 setenv(name, newval, 1); 179 free(newval);
|
/external/compiler-rt/test/tsan/ |
H A D | real_deadlock_detector_stress_test.cc | 36 bool cas(int *a, int oldval, int newval) { argument 37 return __atomic_compare_exchange_n(a, &oldval, newval, false,
|
/external/v8/src/runtime/ |
H A D | runtime-atomics.cc | 29 inline T CompareExchangeSeqCst(T* p, T oldval, T newval) { argument 30 (void)__atomic_compare_exchange_n(p, &oldval, newval, 0, __ATOMIC_SEQ_CST, 103 inline type CompareExchangeSeqCst(type* p, type oldval, type newval) { \ 105 bit_cast<vctype>(newval), \ 194 T newval = FromObject<T>(newobj); local 196 CompareExchangeSeqCst(static_cast<T*>(buffer) + index, oldval, newval); 270 uint8_t newval = ClampToUint8(FromObject<convert_type>(newobj)); local 272 oldval, newval);
|
/external/python/cpython2/Lib/lib-tk/test/test_ttk/ |
H A D | test_extensions.py | 155 newval = x.value + 1 156 x.value = newval 161 newval if self.wantobjects else str(newval)) 173 self.assertEqual(conv(x.label['text']), newval)
|