Home
last modified time | relevance | path

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

/third_party/node/deps/uv/src/unix/
Datomic-ops.h25 UV_UNUSED(static int cmpxchgi(int* ptr, int oldval, int newval));
31 UV_UNUSED(static int cmpxchgi(int* ptr, int oldval, int newval)) { in UV_UNUSED() argument
36 : "r" (newval), "0" (oldval) in UV_UNUSED()
43 __asm(" cs %0,%2,%1 \n " : "+r"(oldval), "+m"(*ptr) : "r"(newval) :); in UV_UNUSED()
44 return oldval; in UV_UNUSED()
46 return atomic_cas_uint((uint_t *)ptr, (uint_t)oldval, (uint_t)newval); in UV_UNUSED()
48 return __sync_val_compare_and_swap(ptr, oldval, newval); in UV_UNUSED()
Drandom-sysctl-linux.c35 void* oldval; member
59 args.oldval = uuid; in uv__random_sysctl()
/third_party/libuv/src/unix/
Datomic-ops.h25 UV_UNUSED(static int cmpxchgi(int* ptr, int oldval, int newval));
31 UV_UNUSED(static int cmpxchgi(int* ptr, int oldval, int newval)) { in UV_UNUSED() argument
36 : "r" (newval), "0" (oldval) in UV_UNUSED()
43 __asm(" cs %0,%2,%1 \n " : "+r"(oldval), "+m"(*ptr) : "r"(newval) :); in UV_UNUSED()
44 return oldval; in UV_UNUSED()
46 return atomic_cas_uint((uint_t *)ptr, (uint_t)oldval, (uint_t)newval); in UV_UNUSED()
48 return __sync_val_compare_and_swap(ptr, oldval, newval); in UV_UNUSED()
Drandom-sysctl-linux.c35 void* oldval; member
59 args.oldval = uuid; in uv__random_sysctl()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
Dtest_sync_atomic.cpp59 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); \
67 if (prev == oldval) \
70 oldval = prev; \
Dtest_sync_atomic.h26 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);
/third_party/toybox/kconfig/
Dsymbol.c267 struct symbol_value newval, oldval; in sym_calc_value() local
278 oldval = sym->curr; in sym_calc_value()
358 if (memcmp(&oldval, &sym->curr, sizeof(oldval))) { in sym_calc_value()
430 tristate oldval = sym_get_tristate_value(sym); in sym_set_tristate_value() local
432 if (oldval != val && !sym_tristate_within_range(sym, val)) in sym_set_tristate_value()
458 if (oldval != val) in sym_set_tristate_value()
466 tristate oldval, newval; in sym_toggle_tristate_value() local
468 oldval = newval = sym_get_tristate_value(sym); in sym_toggle_tristate_value()
483 } while (oldval != newval); in sym_toggle_tristate_value()
574 const char *oldval; in sym_set_string_value() local
[all …]
Dconf.c209 tristate oldval, newval; in conf_sym() local
218 oldval = sym_get_tristate_value(sym); in conf_sym()
219 switch (oldval) { in conf_sym()
230 if (oldval != no && sym_tristate_within_range(sym, no)) in conf_sym()
232 if (oldval != mod && sym_tristate_within_range(sym, mod)) in conf_sym()
234 if (oldval != yes && sym_tristate_within_range(sym, yes)) in conf_sym()
262 newval = oldval; in conf_sym()
/third_party/ffmpeg/libavutil/
Ddict.c75 char *oldval = NULL, *copy_key = NULL, *copy_value = NULL; in av_dict_set() local
100 oldval = tag->value; in av_dict_set()
115 if (oldval && flags & AV_DICT_APPEND) { in av_dict_set()
116 size_t len = strlen(oldval) + strlen(copy_value) + 1; in av_dict_set()
120 av_strlcat(newval, oldval, len); in av_dict_set()
121 av_freep(&oldval); in av_dict_set()
/third_party/ltp/testcases/kernel/syscalls/sysctl/
Dsysctl04.c32 void *oldval; member
48 .oldval = tc->oldval, in verify_sysctl()
Dsysctl01.c49 .oldval = osname, in verify_sysctl()
/third_party/node/deps/v8/src/runtime/
Druntime-atomics.cc36 inline T CompareExchangeSeqCst(T* p, T oldval, T newval) { in CompareExchangeSeqCst() argument
91 inline T CompareExchangeSeqCst(T* p, T oldval, T newval) {
92 (void)__atomic_compare_exchange_n(p, &oldval, newval, 0, __ATOMIC_SEQ_CST,
94 return oldval;
148 inline type CompareExchangeSeqCst(type* p, type oldval, type newval) { \
151 bit_cast<vctype>(oldval)); \
313 T oldval = FromObject<T>(oldobj); in DoCompareExchange() local
316 CompareExchangeSeqCst(static_cast<T*>(buffer) + index, oldval, newval); in DoCompareExchange()
/third_party/mesa3d/src/util/
Du_atomic.c105 __sync_val_compare_and_swap_8(uint64_t *ptr, uint64_t oldval, uint64_t newval) in __sync_val_compare_and_swap_8() argument
111 if (*ptr == oldval) in __sync_val_compare_and_swap_8()
/third_party/ltp/testcases/kernel/syscalls/futex/
Dfutextest.h237 futex_cmpxchg(futex_t *uaddr, u_int32_t oldval, u_int32_t newval) in futex_cmpxchg() argument
239 return __sync_val_compare_and_swap(uaddr, oldval, newval); in futex_cmpxchg()
/third_party/python/Modules/
D_collectionsmodule.c2314 PyObject *it, *oldval; in _collections__count_elements_impl() local
2365 oldval = _PyDict_GetItem_KnownHash(mapping, key, hash); in _collections__count_elements_impl()
2366 if (oldval == NULL) { in _collections__count_elements_impl()
2372 newval = PyNumber_Add(oldval, one); in _collections__count_elements_impl()
2392 oldval = PyObject_CallFunctionObjArgs(bound_get, key, zero, NULL); in _collections__count_elements_impl()
2393 if (oldval == NULL) in _collections__count_elements_impl()
2395 newval = PyNumber_Add(oldval, one); in _collections__count_elements_impl()
2396 Py_DECREF(oldval); in _collections__count_elements_impl()
/third_party/pulseaudio/src/pulsecore/
Datomic.h507 typedef int (__kernel_cmpxchg_t)(int oldval, int newval, volatile int *ptr);
511 typedef int (__kernel_cmpxchg_u_t)(unsigned long oldval, unsigned long newval, volatile unsigned lo…
/third_party/mksh/
Dmisc.c247 unsigned char oldval = Flag(f); in change_flag() local
254 if (!oldval) in change_flag()
261 } else if (oldval != 3) in change_flag()
323 if (what != OF_CMDLINE && newval != oldval) in change_flag()
/third_party/libinput/tools/
Dlibinput-record.c267 int oldval = 0; in print_evdev_event() local
300 oldval = libevdev_get_event_value(dev->evdev_prev, in print_evdev_event()
310 oldval = libevdev_get_slot_value(dev->evdev_prev, in print_evdev_event()
324 delta = ev->value - oldval; in print_evdev_event()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DGenericOpcodes.td845 let OutOperandList = (outs type0:$oldval, type1:$success);
855 let OutOperandList = (outs type0:$oldval);
865 let OutOperandList = (outs type0:$oldval);
/third_party/ffmpeg/libavformat/
Dmovenc.c251 int index = 0, oldval = -1, i; in mov_write_stsc_tag() local
261 if (oldval != track->cluster[i].samples_in_chunk && track->cluster[i].chunkNum) { in mov_write_stsc_tag()
265 oldval = track->cluster[i].samples_in_chunk; in mov_write_stsc_tag()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIInstructions.td2068 let OutOperandList = (outs type0:$oldval);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp11493 Register oldval = MI.getOperand(3).getReg(); in EmitInstrWithCustomInserter() local
11528 .addReg(oldval) in EmitInstrWithCustomInserter()
11572 Register oldval = MI.getOperand(3).getReg(); in EmitInstrWithCustomInserter() local
11677 .addReg(oldval) in EmitInstrWithCustomInserter()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h30022 long long int oldval; member
/third_party/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi22696 <!-- void* __sanitizer::__sanitizer___sysctl_args::oldval -->
22697 …<var-decl name='oldval' type-id='type-id-3' visibility='default' filepath='../../.././libsanitizer…
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi12800 …<var-decl name='oldval' type-id='type-id-3' visibility='default' filepath='../../.././libsanitizer…