Home
last modified time | relevance | path

Searched refs:old (Results 1 - 25 of 600) sorted by relevance

12345678910>>...24

/third_party/musl/porting/liteos_a/kernel/src/internal/
H A Datomic.h22 int old; in a_cas() local
24 do old = a_ll(p); in a_cas()
25 while (old==t && !a_sc(p, s)); in a_cas()
27 return old; in a_cas()
35 int old; in a_swap() local
37 do old = a_ll(p); in a_swap()
40 return old; in a_swap()
48 int old; in a_fetch_add() local
50 do old = a_ll(p); in a_fetch_add()
51 while (!a_sc(p, (unsigned)old in a_fetch_add()
61 int old; a_fetch_and() local
74 int old; a_fetch_or() local
91 void *old; a_cas_p() local
110 int old; a_swap() local
121 int old; a_fetch_add() local
132 int old; a_fetch_and() local
142 int old; a_fetch_or() local
[all...]
/third_party/musl/porting/liteos_m/user/src/internal/
H A Datomic.h22 int old; in a_cas() local
24 do old = a_ll(p); in a_cas()
25 while (old==t && !a_sc(p, s)); in a_cas()
27 return old; in a_cas()
35 int old; in a_swap() local
37 do old = a_ll(p); in a_swap()
40 return old; in a_swap()
48 int old; in a_fetch_add() local
50 do old = a_ll(p); in a_fetch_add()
51 while (!a_sc(p, (unsigned)old in a_fetch_add()
61 int old; a_fetch_and() local
74 int old; a_fetch_or() local
91 void *old; a_cas_p() local
110 int old; a_swap() local
121 int old; a_fetch_add() local
132 int old; a_fetch_and() local
142 int old; a_fetch_or() local
[all...]
/third_party/musl/porting/liteos_m/kernel/src/internal/
H A Datomic.h22 int old; in a_cas() local
24 do old = a_ll(p); in a_cas()
25 while (old==t && !a_sc(p, s)); in a_cas()
27 return old; in a_cas()
35 int old; in a_swap() local
37 do old = a_ll(p); in a_swap()
40 return old; in a_swap()
48 int old; in a_fetch_add() local
50 do old = a_ll(p); in a_fetch_add()
51 while (!a_sc(p, (unsigned)old in a_fetch_add()
61 int old; a_fetch_and() local
74 int old; a_fetch_or() local
91 void *old; a_cas_p() local
110 int old; a_swap() local
121 int old; a_fetch_add() local
132 int old; a_fetch_and() local
142 int old; a_fetch_or() local
[all...]
/third_party/musl/porting/uniproton/kernel/src/internal/
H A Datomic.h22 int old; in a_cas() local
24 do old = a_ll(p); in a_cas()
25 while (old==t && !a_sc(p, s)); in a_cas()
27 return old; in a_cas()
35 int old; in a_swap() local
37 do old = a_ll(p); in a_swap()
40 return old; in a_swap()
48 int old; in a_fetch_add() local
50 do old = a_ll(p); in a_fetch_add()
51 while (!a_sc(p, (unsigned)old in a_fetch_add()
61 int old; a_fetch_and() local
74 int old; a_fetch_or() local
91 void *old; a_cas_p() local
110 int old; a_swap() local
121 int old; a_fetch_add() local
132 int old; a_fetch_and() local
142 int old; a_fetch_or() local
[all...]
/third_party/musl/src/internal/
H A Datomic.h22 int old; in a_cas() local
24 do old = a_ll(p); in a_cas()
25 while (old==t && !a_sc(p, s)); in a_cas()
27 return old; in a_cas()
35 int old; in a_swap() local
37 do old = a_ll(p); in a_swap()
40 return old; in a_swap()
48 int old; in a_fetch_add() local
50 do old = a_ll(p); in a_fetch_add()
51 while (!a_sc(p, (unsigned)old in a_fetch_add()
61 int old; a_fetch_and() local
74 int old; a_fetch_or() local
91 void *old; a_cas_p() local
110 int old; a_swap() local
121 int old; a_fetch_add() local
132 int old; a_fetch_and() local
142 int old; a_fetch_or() local
[all...]
/third_party/skia/third_party/externals/imgui/backends/
H A Dimgui_impl_dx10.cpp24 // 2018-06-08: Misc: Extracted imgui_impl_dx10.cpp/.h away from the old combined DX10+Win32 example.
213 BACKUP_DX10_STATE old = {}; in ImGui_ImplDX10_RenderDrawData() local
214 old.ScissorRectsCount = old.ViewportsCount = D3D10_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE; in ImGui_ImplDX10_RenderDrawData()
215 ctx->RSGetScissorRects(&old.ScissorRectsCount, old.ScissorRects); in ImGui_ImplDX10_RenderDrawData()
216 ctx->RSGetViewports(&old.ViewportsCount, old.Viewports); in ImGui_ImplDX10_RenderDrawData()
217 ctx->RSGetState(&old.RS); in ImGui_ImplDX10_RenderDrawData()
218 ctx->OMGetBlendState(&old in ImGui_ImplDX10_RenderDrawData()
[all...]
H A Dimgui_impl_dx11.cpp26 // 2018-06-08: Misc: Extracted imgui_impl_dx11.cpp/.h away from the old combined DX11+Win32 example.
221 BACKUP_DX11_STATE old = {}; in ImGui_ImplDX11_RenderDrawData() local
222 old.ScissorRectsCount = old.ViewportsCount = D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE; in ImGui_ImplDX11_RenderDrawData()
223 ctx->RSGetScissorRects(&old.ScissorRectsCount, old.ScissorRects); in ImGui_ImplDX11_RenderDrawData()
224 ctx->RSGetViewports(&old.ViewportsCount, old.Viewports); in ImGui_ImplDX11_RenderDrawData()
225 ctx->RSGetState(&old.RS); in ImGui_ImplDX11_RenderDrawData()
226 ctx->OMGetBlendState(&old in ImGui_ImplDX11_RenderDrawData()
[all...]
/third_party/python/Include/internal/
H A Dpycore_atomic.h295 __int64 old; in _Py_atomic_load_64bit_impl() local
300 old = *value; in _Py_atomic_load_64bit_impl()
301 } while(_InterlockedCompareExchange64_HLEAcquire((volatile __int64*)value, old, old) != old); in _Py_atomic_load_64bit_impl()
307 old = *value; in _Py_atomic_load_64bit_impl()
308 } while(_InterlockedCompareExchange64_HLERelease((volatile __int64*)value, old, old) != old); in _Py_atomic_load_64bit_impl()
312 old in _Py_atomic_load_64bit_impl()
333 long old; _Py_atomic_load_32bit_impl() local
431 uintptr_t old; _Py_atomic_load_64bit_impl() local
469 int old; _Py_atomic_load_32bit_impl() local
[all...]
H A Dpycore_atomic_funcs.h47 __int64 old; in _Py_atomic_size_get() local
49 old = *volatile_var; in _Py_atomic_size_get()
50 } while(_InterlockedCompareExchange64(volatile_var, old, old) != old); in _Py_atomic_size_get()
54 long old; in _Py_atomic_size_get()
56 old = *volatile_var; in _Py_atomic_size_get()
57 } while(_InterlockedCompareExchange(volatile_var, old, old) != old); in _Py_atomic_size_get()
[all...]
/third_party/ffmpeg/compat/atomics/suncc/
H A Dstdatomic.h110 intptr_t old = *expected; in atomic_compare_exchange_strong() local
111 *expected = (intptr_t)atomic_cas_ptr(object, (void *)old, (void *)desired); in atomic_compare_exchange_strong()
112 return *expected == old; in atomic_compare_exchange_strong()
134 intptr_t old; in atomic_fetch_or() local
136 old = atomic_load(object); in atomic_fetch_or()
137 } while (!atomic_compare_exchange_strong(object, old, old | operand)); in atomic_fetch_or()
138 return old; in atomic_fetch_or()
143 intptr_t old; in atomic_fetch_xor() local
145 old in atomic_fetch_xor()
152 intptr_t old; atomic_fetch_and() local
[all...]
/third_party/backends/backend/
H A Dhp-hpmem.c113 Alloc * old = VOID_TO_ALLOCP(ptr); in sanei_hp_realloc() local
114 Alloc copy = *old; in sanei_hp_realloc()
115 Alloc * new = realloc(old, ALLOCSIZE(sz)); in sanei_hp_realloc()
118 if (new != old) in sanei_hp_realloc()
129 Alloc * old = VOID_TO_ALLOCP(ptr); in sanei_hp_free() local
131 assert(old && old != head); in sanei_hp_free()
132 (old->next->prev = old->prev)->next = old in sanei_hp_free()
[all...]
/third_party/musl/porting/linux/user/src/signal/
H A Dsigaction.c26 extern bool intercept_sigaction(int signo, const struct sigaction *restrict sa, struct sigaction *restrict old);
44 int __libc_sigaction(int sig, const struct sigaction *restrict sa, struct sigaction *restrict old) in __libc_sigaction() argument
84 int r = __syscall(SYS_rt_sigaction, sig, sa?&ksa:0, old?&ksa_old:0, _NSIG/8); in __libc_sigaction()
89 if (old && !r) { in __libc_sigaction()
90 old->sa_handler = ksa_old.handler; in __libc_sigaction()
91 old->sa_flags = ksa_old.flags; in __libc_sigaction()
92 memcpy(&old->sa_mask, &ksa_old.mask, _NSIG/8); in __libc_sigaction()
97 int __sigaction(int sig, const struct sigaction *restrict sa, struct sigaction *restrict old) in __sigaction() argument
104 if (intercept_sigaction(sig, sa, old)) { in __sigaction()
108 return __libc_sigaction(sig, sa, old); in __sigaction()
[all...]
/third_party/musl/src/signal/linux/
H A Dsigaction.c26 extern bool intercept_sigaction(int signo, const struct sigaction *restrict sa, struct sigaction *restrict old);
44 int __libc_sigaction(int sig, const struct sigaction *restrict sa, struct sigaction *restrict old) in __libc_sigaction() argument
87 int r = __syscall(SYS_rt_sigaction, sig, sa?&ksa:0, old?&ksa_old:0, _NSIG/8); in __libc_sigaction()
92 if (old && !r) { in __libc_sigaction()
93 old->sa_handler = ksa_old.handler; in __libc_sigaction()
94 old->sa_flags = ksa_old.flags; in __libc_sigaction()
95 memcpy(&old->sa_mask, &ksa_old.mask, _NSIG/8); in __libc_sigaction()
100 int __sigaction(int sig, const struct sigaction *restrict sa, struct sigaction *restrict old) in __sigaction() argument
107 if (intercept_sigaction(sig, sa, old)) { in __sigaction()
111 return __libc_sigaction(sig, sa, old); in __sigaction()
[all...]
/third_party/alsa-lib/src/control/
H A Dsetup.c48 snd_ctl_elem_value_t *old; member
68 snd_ctl_elem_value_free(elem->old); in free_elems()
100 err = snd_ctl_elem_read(h->ctl, elem->old); in snd_sctl_install()
110 int old, val, mask; in snd_sctl_install() local
111 old = snd_ctl_elem_value_get_boolean(elem->old, k); in snd_sctl_install()
113 old &= ~mask; in snd_sctl_install()
114 if (old) { in snd_sctl_install()
116 val |= old; in snd_sctl_install()
123 long old, va in snd_sctl_install() local
136 unsigned int old, val, mask; snd_sctl_install() local
152 unsigned char old, val, mask; snd_sctl_install() local
[all...]
/third_party/musl/src/thread/
H A Dpthread_sigmask.c5 int pthread_sigmask(int how, const sigset_t *restrict set, sigset_t *restrict old) in pthread_sigmask() argument
9 ret = -__syscall(SYS_rt_sigprocmask, how, set, old, _NSIG/8); in pthread_sigmask()
10 if (!ret && old) { in pthread_sigmask()
11 if (sizeof old->__bits[0] == 8) { in pthread_sigmask()
12 old->__bits[0] &= ~0x380000000ULL; in pthread_sigmask()
14 old->__bits[0] &= ~0x80000000UL; in pthread_sigmask()
15 old->__bits[1] &= ~0x3UL; in pthread_sigmask()
/third_party/musl/src/linux/
H A Dtimerfd.c12 int timerfd_settime(int fd, int flags, const struct itimerspec *new, struct itimerspec *old) in timerfd_settime() argument
19 || !IS32BIT(is) || !IS32BIT(vs) || (sizeof(time_t)>4 && old)) in timerfd_settime()
21 ((long long[]){is, ins, vs, vns}), old); in timerfd_settime()
29 if (!r && old) { in timerfd_settime()
30 old->it_interval.tv_sec = old32[0]; in timerfd_settime()
31 old->it_interval.tv_nsec = old32[1]; in timerfd_settime()
32 old->it_value.tv_sec = old32[2]; in timerfd_settime()
33 old->it_value.tv_nsec = old32[3]; in timerfd_settime()
37 return syscall(SYS_timerfd_settime, fd, flags, new, old); in timerfd_settime()
/third_party/musl/src/time/
H A Dtimer_settime.c7 int timer_settime(timer_t t, int flags, const struct itimerspec *restrict val, struct itimerspec *restrict old) in timer_settime() argument
18 || !IS32BIT(is) || !IS32BIT(vs) || (sizeof(time_t)>4 && old)) in timer_settime()
20 ((long long[]){is, ins, vs, vns}), old); in timer_settime()
28 if (!r && old) { in timer_settime()
29 old->it_interval.tv_sec = old32[0]; in timer_settime()
30 old->it_interval.tv_nsec = old32[1]; in timer_settime()
31 old->it_value.tv_sec = old32[2]; in timer_settime()
32 old->it_value.tv_nsec = old32[3]; in timer_settime()
36 return syscall(SYS_timer_settime, t, flags, val, old); in timer_settime()
/third_party/musl/porting/linux/user/src/thread/
H A Dpthread_sigmask.c51 int pthread_sigmask(int how, const sigset_t *restrict set, sigset_t *restrict old) in pthread_sigmask() argument
60 ret = -__syscall(SYS_rt_sigprocmask, how, new_set_ptr, old, _NSIG/8); in pthread_sigmask()
62 ret = -__syscall(SYS_rt_sigprocmask, how, set, old, _NSIG/8); in pthread_sigmask()
65 if (!ret && old) { in pthread_sigmask()
66 if (sizeof old->__bits[0] == 8) { in pthread_sigmask()
67 old->__bits[0] &= ~0x380000000ULL; in pthread_sigmask()
69 old->__bits[0] &= ~0x80000000UL; in pthread_sigmask()
70 old->__bits[1] &= ~0x3UL; in pthread_sigmask()
/third_party/musl/arch/aarch64/
H A Datomic_arch.h34 int old; in a_cas() local
36 old = a_ll(p); in a_cas()
37 if (old != t) { in a_cas()
42 return old; in a_cas()
64 void *old; in a_cas_p() local
66 old = a_ll_p(p); in a_cas_p()
67 if (old != t) { in a_cas_p()
72 return old; in a_cas_p()
/third_party/musl/src/signal/
H A Dsetitimer.c7 int setitimer(int which, const struct itimerval *restrict new, struct itimerval *restrict old) in setitimer() argument
18 if (!r && old) { in setitimer()
19 old->it_interval.tv_sec = old32[0]; in setitimer()
20 old->it_interval.tv_usec = old32[1]; in setitimer()
21 old->it_value.tv_sec = old32[2]; in setitimer()
22 old->it_value.tv_usec = old32[3]; in setitimer()
27 return syscall(SYS_setitimer, which, new, old); in setitimer()
/third_party/toybox/lib/
H A Dllist.c29 void *old = list; in llist_traverse() local
36 if (old == list) break; in llist_traverse()
137 struct num_cache *old = get_num_cache(*cache, num); in add_num_cache() local
139 if (old) return old; in add_num_cache()
141 old = xzalloc(sizeof(struct num_cache)+len); in add_num_cache()
142 old->next = *cache; in add_num_cache()
143 old->num = num; in add_num_cache()
144 memcpy(old->data, data, len); in add_num_cache()
145 *cache = old; in add_num_cache()
[all...]
/third_party/musl/porting/liteos_m_iccarm/kernel/src/include/
H A Dfeatures.h9 #define weak_alias(old, new) \
10 extern __typeof(old) new __attribute__((weak, alias(#old)))
13 #define strong_alias(old, new) \
14 extern __typeof(old) new __attribute__((alias(#old)))
/third_party/musl/src/unistd/
H A Ddup2.c6 int dup2(int old, int new) in dup2() argument
10 while ((r=__syscall(SYS_dup2, old, new))==-EBUSY); in dup2()
12 if (old==new) { in dup2()
13 r = __syscall(SYS_fcntl, old, F_GETFD); in dup2()
14 if (r >= 0) return old; in dup2()
16 while ((r=__syscall(SYS_dup3, old, new, 0))==-EBUSY); in dup2()
/third_party/musl/porting/liteos_m/user/src/include/
H A Dfeatures.h9 #define weak_alias(old, new) \
10 extern __typeof(old) new __attribute__((__weak__, __alias__(#old)))
13 #define strong_alias(old, new) \
14 extern __typeof(old) new __attribute__((__alias__(#old)))
/third_party/musl/porting/liteos_m/kernel/src/include/
H A Dfeatures.h9 #define weak_alias(old, new) \
10 extern __typeof(old) new __attribute__((__weak__, __alias__(#old)))
13 #define strong_alias(old, new) \
14 extern __typeof(old) new __attribute__((__alias__(#old)))

Completed in 12 milliseconds

12345678910>>...24