Home
last modified time | relevance | path

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

123

/netbsd-src/external/gpl3/gcc.old/dist/libhsail-rt/rt/
H A Datomics.c33 T old_value; \
37 old_value = *ptr; \
39 done = __sync_bool_compare_and_swap (ptr, old_value, new_value); \
41 return old_value
46 DO_ATOMICALLY (int32_t, (old_value < a) ? old_value : a); in __hsail_atomic_min_s32()
52 DO_ATOMICALLY (int64_t, (old_value < a) ? old_value : a); in __hsail_atomic_min_s64()
58 DO_ATOMICALLY (uint32_t, (old_value < a) ? old_value : a); in __hsail_atomic_min_u32()
64 DO_ATOMICALLY (uint64_t, (old_value < a) ? old_value : a); in __hsail_atomic_min_u64()
70 DO_ATOMICALLY (uint32_t, (old_value > a) ? old_value : a); in __hsail_atomic_max_u32()
76 DO_ATOMICALLY (int32_t, (old_value > a) ? old_value : a); in __hsail_atomic_max_s32()
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/
H A Drelocwrapper.c131 const char *old_value; in activate_libdirs() local
137 old_value = getenv (LIBPATHVAR); in activate_libdirs()
138 if (old_value == NULL) in activate_libdirs()
139 old_value = ""; in activate_libdirs()
144 total += strlen (old_value) + 1; in activate_libdirs()
160 if (old_value[0] != '\0') in activate_libdirs()
161 strcpy (p, old_value); in activate_libdirs()
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Drelocwrapper.c131 const char *old_value; in activate_libdirs() local
137 old_value = getenv (LIBPATHVAR); in activate_libdirs()
138 if (old_value == NULL) in activate_libdirs()
139 old_value = ""; in activate_libdirs()
144 total += strlen (old_value) + 1; in activate_libdirs()
160 if (old_value[0] != '\0') in activate_libdirs()
161 strcpy (p, old_value); in activate_libdirs()
/netbsd-src/external/gpl2/gettext/dist/gnulib-local/lib/
H A Drelocwrapper.c131 const char *old_value; in activate_libdirs() local
137 old_value = getenv (LIBPATHVAR); in activate_libdirs()
138 if (old_value == NULL) in activate_libdirs()
139 old_value = ""; in activate_libdirs()
144 total += strlen (old_value) + 1; in activate_libdirs()
160 if (old_value[0] != '\0') in activate_libdirs()
161 strcpy (p, old_value); in activate_libdirs()
/netbsd-src/external/bsd/elftoolchain/dist/libdwarf/
H A Ddwarf_frame.c556 Dwarf_Half old_value; in dwarf_set_frame_rule_table_size() local
558 old_value = dbg->dbg_frame_rule_table_size; in dwarf_set_frame_rule_table_size()
561 return (old_value); in dwarf_set_frame_rule_table_size()
567 Dwarf_Half old_value; in dwarf_set_frame_rule_initial_value() local
569 old_value = dbg->dbg_frame_rule_initial_value; in dwarf_set_frame_rule_initial_value()
572 return (old_value); in dwarf_set_frame_rule_initial_value()
578 Dwarf_Half old_value; in dwarf_set_frame_cfa_value() local
580 old_value = dbg->dbg_frame_cfa_value; in dwarf_set_frame_cfa_value()
583 return (old_value); in dwarf_set_frame_cfa_value()
589 Dwarf_Half old_value; in dwarf_set_frame_same_value() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DAtomic.cpp46 sys::cas_flag old_value) { in CompareAndSwap() argument
49 if (result == old_value) in CompareAndSwap()
53 return __sync_val_compare_and_swap(ptr, old_value, new_value); in CompareAndSwap()
55 return InterlockedCompareExchange(ptr, new_value, old_value); in CompareAndSwap()
/netbsd-src/external/mit/libuv/dist/src/win/
H A Datomicops-inl.h48 char old_value; in uv__atomic_exchange_set() local
50 : "=r"(old_value), "=m"(*target) in uv__atomic_exchange_set()
53 return old_value; in uv__atomic_exchange_set()
/netbsd-src/sys/ddb/
H A Ddb_write_cmd.c49 db_expr_t old_value; in db_write_cmd() local
89 old_value = db_get_value(addr, size, false); in db_write_cmd()
90 db_printf("\t\t%s = ", db_num_to_str(old_value)); in db_write_cmd()
H A Ddb_variables.c322 db_expr_t old_value; in db_set_cmd() local
349 db_read_variable(vp, &old_value); in db_set_cmd()
350 db_printf("$%s\t\t%s = ", vp->name, db_num_to_str(old_value)); in db_set_cmd()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/
H A Dtsan_interceptors_mac.cc98 TSAN_INTERCEPTOR(bool, f, t old_value, t new_value, t volatile *ptr) { \ in OSATOMIC_INTERCEPTORS_ARITHMETIC()
99 SCOPED_TSAN_INTERCEPTOR(f, old_value, new_value, ptr); \ in OSATOMIC_INTERCEPTORS_ARITHMETIC()
101 (volatile tsan_t *)ptr, (tsan_t *)&old_value, (tsan_t)new_value, \ in OSATOMIC_INTERCEPTORS_ARITHMETIC()
105 TSAN_INTERCEPTOR(bool, f##Barrier, t old_value, t new_value, \
107 SCOPED_TSAN_INTERCEPTOR(f##Barrier, old_value, new_value, ptr); \
109 (volatile tsan_t *)ptr, (tsan_t *)&old_value, (tsan_t)new_value, \
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A Dtsan_interceptors_mac.cc102 TSAN_INTERCEPTOR(bool, f, t old_value, t new_value, t volatile *ptr) { \ in OSATOMIC_INTERCEPTORS_ARITHMETIC()
103 SCOPED_TSAN_INTERCEPTOR(f, old_value, new_value, ptr); \ in OSATOMIC_INTERCEPTORS_ARITHMETIC()
105 (volatile tsan_t *)ptr, (tsan_t *)&old_value, (tsan_t)new_value, \ in OSATOMIC_INTERCEPTORS_ARITHMETIC()
109 TSAN_INTERCEPTOR(bool, f##Barrier, t old_value, t new_value, \
111 SCOPED_TSAN_INTERCEPTOR(f##Barrier, old_value, new_value, ptr); \
113 (volatile tsan_t *)ptr, (tsan_t *)&old_value, (tsan_t)new_value, \
/netbsd-src/sys/kern/
H A Dsys_timerfd.c593 const struct itimerspec *new_value, struct itimerspec *old_value, in do_timerfd_settime() argument
623 if (old_value != NULL) { in do_timerfd_settime()
624 itimer_gettime(it, old_value); in do_timerfd_settime()
676 syscallarg(struct itimerspec *) old_value; in sys_timerfd_settime()
687 if (SCARG(uap, old_value) != NULL) { in sys_timerfd_settime()
694 error = copyout(oitsp, SCARG(uap, old_value), sizeof(*oitsp));
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/
H A Dtsan_interceptors_mac.cpp110 TSAN_INTERCEPTOR(bool, f, t old_value, t new_value, t volatile *ptr) { \ in OSATOMIC_INTERCEPTORS_ARITHMETIC()
111 SCOPED_TSAN_INTERCEPTOR(f, old_value, new_value, ptr); \ in OSATOMIC_INTERCEPTORS_ARITHMETIC()
113 (volatile tsan_t *)ptr, (tsan_t *)&old_value, (tsan_t)new_value, \ in OSATOMIC_INTERCEPTORS_ARITHMETIC()
117 TSAN_INTERCEPTOR(bool, f##Barrier, t old_value, t new_value, \
119 SCOPED_TSAN_INTERCEPTOR(f##Barrier, old_value, new_value, ptr); \
121 (volatile tsan_t *)ptr, (tsan_t *)&old_value, (tsan_t)new_value, \
/netbsd-src/external/gpl3/gdb.old/dist/readline/readline/
H A Dhistory.c383 HIST_ENTRY *temp, *old_value; in replace_history_entry() local
389 old_value = the_history[which]; in replace_history_entry()
393 temp->timestamp = savestring (old_value->timestamp); in replace_history_entry()
396 return (old_value); in replace_history_entry()
/netbsd-src/external/gpl3/gdb/dist/readline/readline/
H A Dhistory.c383 HIST_ENTRY *temp, *old_value; in replace_history_entry() local
389 old_value = the_history[which]; in replace_history_entry()
393 temp->timestamp = savestring (old_value->timestamp); in replace_history_entry()
396 return (old_value); in replace_history_entry()
/netbsd-src/external/bsd/ntp/dist/sntp/unity/
H A Dunity_fixture.c278 void * old_value; member
296 pointer_store[pointer_index].old_value = *pointer; in UnityPointer_Set()
307 pointer_store[pointer_index].old_value; in UnityPointer_UndoAllSets()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Delfxx-loongarch.c2108 bfd_vma old_value = bfd_get (howto->bitsize, abfd, in loongarch_elf_add_sub_reloc() local
2118 relocation = old_value + relocation; in loongarch_elf_add_sub_reloc()
2126 relocation = old_value - relocation; in loongarch_elf_add_sub_reloc()
2169 bfd_vma old_value = _bfd_read_unsigned_leb128 (abfd, p, &len); in loongarch_elf_add_sub_reloc_uleb128() local
2174 relocation = old_value + relocation; in loongarch_elf_add_sub_reloc_uleb128()
2178 relocation = old_value - relocation; in loongarch_elf_add_sub_reloc_uleb128()
H A Delfxx-riscv.c1030 bfd_vma old_value = bfd_get (howto->bitsize, abfd, in riscv_elf_add_sub_reloc() local
1039 relocation = old_value + relocation; in riscv_elf_add_sub_reloc()
1042 relocation = (old_value & ~howto->dst_mask) in riscv_elf_add_sub_reloc()
1043 | (((old_value & howto->dst_mask) - relocation) in riscv_elf_add_sub_reloc()
1050 relocation = old_value - relocation; in riscv_elf_add_sub_reloc()
/netbsd-src/sys/external/mit/xen-include-public/dist/xen/include/public/
H A Dvm_event.h247 uint64_t old_value; member
264 uint64_t old_value; member
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DAtomic.h38 cas_flag old_value);
/netbsd-src/external/gpl3/gcc/dist/libobjc/
H A Daccessors.m151 id old_value;
179 old_value = *pointer_to_ivar;
189 old_value = *pointer_to_ivar;
195 RELEASE (old_value);
/netbsd-src/external/gpl3/gcc.old/dist/libobjc/
H A Daccessors.m151 id old_value;
179 old_value = *pointer_to_ivar;
189 old_value = *pointer_to_ivar;
195 RELEASE (old_value);
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/linux/
H A Dtimerfd.d19 int timerfd_settime(int fd, int flags, const itimerspec* new_value, itimerspec* old_value);
/netbsd-src/external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/
H A Dbrig-basic-inst-handler.cc652 tree old_value; in operator ()() local
659 old_value = build_h2f_conversion in operator ()()
662 old_value in operator ()()
690 = build3 (VEC_PERM_EXPR, arith_type, old_value, new_value, mask); in operator ()()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/hwasan/
H A Dhwasan_linux.cpp303 uptr old_value = *tls_ptr; in AndroidTestTlsSlot() local
312 *tls_ptr = old_value; in AndroidTestTlsSlot()

123