HomeSort by relevance Sort by last modified time
    Searched refs:newval (Results 1 - 25 of 196) sorted by null

1 2 3 4 5 6 7 8

  /external/linux-kselftest/tools/testing/selftests/futex/include/
atomic.h 35 * @newval: The new value to try and assign the futex
40 atomic_cmpxchg(atomic_t *addr, int oldval, int newval)
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)
79 addr->val = newval;
80 return newval;
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)
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)
262 *uaddr = newval;
263 return newval;
  /external/swiftshader/third_party/subzero/crosstest/
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);
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/curl/lib/
strtoofft.c 62 curl_off_t newval; local
113 newval = base * value + i;
114 if(newval < value) {
120 value = newval;
  /external/ltp/testcases/kernel/syscalls/sysctl/
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));
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));
sysctl04.c 63 void *newval, size_t newlen)
66 { name, nlen, oldval, oldlenp, newval, newlen };
sysctl03.c 81 void *newval, size_t newlen)
84 { name, nlen, oldval, oldlenp, newval, newlen };
  /external/selinux/python/sepolicy/
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/libchrome/base/memory/
singleton.h 249 Type* newval = Traits::New(); local
253 reinterpret_cast<subtle::AtomicWord>(newval));
255 if (newval != NULL && Traits::kRegisterAtExit)
258 return newval;
  /external/strace/
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/
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.tri = expr_calc_value(prop->expr)
464 tristate oldval, newval; local
    [all...]
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));
  /toolchain/binutils/binutils-2.25/gold/testsuite/
tls_test.cc 200 struct int128 newval = { 335, 345 }; local
203 v12 = newval;
  /external/ltp/testcases/kernel/syscalls/futex/
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)
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)
293 *uaddr = newval;
294 return newval;
  /prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/
SDL_atomic.h 190 extern DECLSPEC SDL_bool SDLCALL SDL_AtomicCAS(SDL_atomic_t *a, int oldval, int newval);
237 extern DECLSPEC SDL_bool SDLCALL SDL_AtomicCASPtr(void **a, void *oldval, void *newval);
  /prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/
SDL_atomic.h 190 extern DECLSPEC SDL_bool SDLCALL SDL_AtomicCAS(SDL_atomic_t *a, int oldval, int newval);
237 extern DECLSPEC SDL_bool SDLCALL SDL_AtomicCASPtr(void **a, void *oldval, void *newval);
  /prebuilts/misc/windows/sdl2/include/
SDL_atomic.h 190 extern DECLSPEC SDL_bool SDLCALL SDL_AtomicCAS(SDL_atomic_t *a, int oldval, int newval);
237 extern DECLSPEC SDL_bool SDLCALL SDL_AtomicCASPtr(void **a, void *oldval, void *newval);
  /prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/
SDL_atomic.h 190 extern DECLSPEC SDL_bool SDLCALL SDL_AtomicCAS(SDL_atomic_t *a, int oldval, int newval);
237 extern DECLSPEC SDL_bool SDLCALL SDL_AtomicCASPtr(void **a, void *oldval, void *newval);
  /external/mesa3d/src/mesa/main/
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/
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 == oldval)
86 unsigned int newval = oldval; local
    [all...]
  /external/mesa3d/src/gallium/drivers/radeonsi/glsl_tests/
amdgcn_glslc.c 176 char *newval; local
177 (void)!asprintf(&newval, "%s,%s", orig, value);
178 setenv(name, newval, 1);
179 free(newval);
  /hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
AnnOverlayPlane.cpp 311 uint32_t newval; local
418 newval = (xscaleInt << 15) |
420 if (newval != backBuffer->YRGBSCALE) {
422 backBuffer->YRGBSCALE = newval;
425 newval = (xscaleIntUV << 15) | ((xscaleFractUV & 0xFFF) << 3) |
427 if (newval != backBuffer->UVSCALE) {
429 backBuffer->UVSCALE = newval;
432 newval = yscaleInt << 16 | yscaleIntUV;
433 if (newval != backBuffer->UVSCALEV) {
435 backBuffer->UVSCALEV = newval;
    [all...]
  /external/autotest/client/site_tests/network_EthernetStressPlug/
network_EthernetStressPlug.py 236 newval = val | 1
238 newval = val & ~1
240 if val != newval:
243 fp.write('0x%x' % newval)
247 (newval, self.eth_flagspath))
248 logging.debug("eth flags: 0x%x to 0x%x" % (val, newval))

Completed in 1204 milliseconds

1 2 3 4 5 6 7 8