Home
last modified time | relevance | path

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

12345678910>>...92

/external/python/cpython3/Include/
Dpyatomic.h288 __int64 old; in _Py_atomic_load_64bit() local
293 old = *value; in _Py_atomic_load_64bit()
294 } while(_InterlockedCompareExchange64_HLEAcquire((volatile __int64*)value, old, old) != old); in _Py_atomic_load_64bit()
300 old = *value; in _Py_atomic_load_64bit()
301 } while(_InterlockedCompareExchange64_HLERelease((volatile __int64*)value, old, old) != old); in _Py_atomic_load_64bit()
305 old = *value; in _Py_atomic_load_64bit()
310 old = *value; in _Py_atomic_load_64bit()
311 } while(_InterlockedCompareExchange64((volatile __int64*)value, old, old) != old); in _Py_atomic_load_64bit()
315 return old; in _Py_atomic_load_64bit()
323 long old; in _Py_atomic_load_32bit() local
[all …]
/external/clang/test/CodeGen/
Datomic.c5 int old; in atomic() local
13 old = __sync_fetch_and_add(&val, 1); in atomic()
16 old = __sync_fetch_and_sub(&valc, 2); in atomic()
19 old = __sync_fetch_and_min(&val, 3); in atomic()
22 old = __sync_fetch_and_max(&val, 4); in atomic()
25 old = __sync_fetch_and_umin(&uval, 5u); in atomic()
28 old = __sync_fetch_and_umax(&uval, 6u); in atomic()
31 old = __sync_lock_test_and_set(&val, 7); in atomic()
34 old = __sync_swap(&val, 8); in atomic()
37 old = __sync_val_compare_and_swap(&val, 4, 1976); in atomic()
[all …]
/external/e2fsprogs/lib/ext2fs/
Direl_ma.c27 static errcode_t ima_put(ext2_irel irel, ext2_ino_t old,
29 static errcode_t ima_get(ext2_irel irel, ext2_ino_t old,
31 static errcode_t ima_get_by_orig(ext2_irel irel, ext2_ino_t orig, ext2_ino_t *old,
34 static errcode_t ima_next(ext2_irel irel, ext2_ino_t *old,
40 static errcode_t ima_move(ext2_irel irel, ext2_ino_t old, ext2_ino_t new);
41 static errcode_t ima_delete(ext2_irel irel, ext2_ino_t old);
140 static errcode_t ima_put(ext2_irel irel, ext2_ino_t old,
149 if (old > ma->max_inode)
156 if (ma->entries[(unsigned) old].new == 0)
157 ent->orig = old;
[all …]
Dbrel_ma.c30 static errcode_t bma_put(ext2_brel brel, blk64_t old,
32 static errcode_t bma_get(ext2_brel brel, blk64_t old,
35 static errcode_t bma_next(ext2_brel brel, blk64_t *old,
37 static errcode_t bma_move(ext2_brel brel, blk64_t old, blk64_t new);
38 static errcode_t bma_delete(ext2_brel brel, blk64_t old);
105 static errcode_t bma_put(ext2_brel brel, blk64_t old, in bma_put() argument
111 if (old > ma->max_block) in bma_put()
113 ma->entries[(unsigned)old] = *ent; in bma_put()
117 static errcode_t bma_get(ext2_brel brel, blk64_t old, in bma_get() argument
123 if (old > ma->max_block) in bma_get()
[all …]
Direl.h35 errcode_t (*put)(ext2_irel irel, ext2_ino_t old,
40 errcode_t (*get)(ext2_irel irel, ext2_ino_t old,
46 errcode_t (*get_by_orig)(ext2_irel irel, ext2_ino_t orig, ext2_ino_t *old,
58 errcode_t (*next)(ext2_irel irel, ext2_ino_t *old,
86 errcode_t (*move)(ext2_irel irel, ext2_ino_t old, ext2_ino_t new);
92 errcode_t (*delete)(ext2_irel irel, ext2_ino_t old);
103 #define ext2fs_irel_put(irel, old, ent) ((irel)->put((irel), old, ent)) argument
104 #define ext2fs_irel_get(irel, old, ent) ((irel)->get((irel), old, ent)) argument
105 #define ext2fs_irel_get_by_orig(irel, orig, old, ent) \ argument
106 ((irel)->get_by_orig((irel), orig, old, ent))
[all …]
Dbrel.h37 errcode_t (*put)(ext2_brel brel, blk64_t old,
43 errcode_t (*get)(ext2_brel brel, blk64_t old,
55 errcode_t (*next)(ext2_brel brel, blk64_t *old,
62 errcode_t (*move)(ext2_brel brel, blk64_t old, blk_t new);
67 errcode_t (*delete)(ext2_brel brel, blk64_t old);
79 #define ext2fs_brel_put(brel, old, ent) ((brel)->put((brel), old, ent)) argument
80 #define ext2fs_brel_get(brel, old, ent) ((brel)->get((brel), old, ent)) argument
82 #define ext2fs_brel_next(brel, old, ent) ((brel)->next((brel), old, ent)) argument
83 #define ext2fs_brel_move(brel, old, new) ((brel)->move((brel), old, new)) argument
84 #define ext2fs_brel_delete(brel, old) ((brel)->delete((brel), old)) argument
/external/clang/test/SemaCXX/
Dconstexpr-turing.cpp19 constexpr Tape(const Tape &old, bool write) : in Tape()
20 l(old.l), val(write), r(old.r) {} in Tape()
21 constexpr Tape(const Tape &old, Dir dir) : in Tape()
22 l(dir == L ? old.l ? old.l->l : 0 : &old), in Tape()
23 val(dir == L ? old.l ? old.l->val : false in Tape()
24 : old.r ? old.r->val : false), in Tape()
25 r(dir == R ? old.r ? old.r->r : 0 : &old) {} in Tape()
30 constexpr Tape update(const Tape &old, bool write) { return Tape(old, write); } in update() argument
31 constexpr Tape move(const Tape &old, Dir dir) { return Tape(old, dir); } in move() argument
/external/ltp/
Dgen.bp21 "include/old",
36 "include/old",
54 "include/old",
71 "include/old",
87 "include/old",
105 "include/old",
171 "include/old",
189 local_include_dirs: ["include/old"],
199 local_include_dirs: ["include/old"],
209 local_include_dirs: ["include/old"],
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dmemory-legalizer-atomic-cmpxchg.ll10 i32* %out, i32 %in, i32 %old) {
13 %val = cmpxchg volatile i32* %gep, i32 %old, i32 %in monotonic monotonic
23 i32* %out, i32 %in, i32 %old) {
26 %val = cmpxchg volatile i32* %gep, i32 %old, i32 %in acquire monotonic
36 i32* %out, i32 %in, i32 %old) {
39 %val = cmpxchg volatile i32* %gep, i32 %old, i32 %in release monotonic
49 i32* %out, i32 %in, i32 %old) {
52 %val = cmpxchg volatile i32* %gep, i32 %old, i32 %in acq_rel monotonic
62 i32* %out, i32 %in, i32 %old) {
65 %val = cmpxchg volatile i32* %gep, i32 %old, i32 %in seq_cst monotonic
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/WebAssembly/
Datomic-rmw.ll18 %old = atomicrmw add i32* %p, i32 %v seq_cst
19 ret i32 %old
27 %old = atomicrmw sub i32* %p, i32 %v seq_cst
28 ret i32 %old
36 %old = atomicrmw and i32* %p, i32 %v seq_cst
37 ret i32 %old
45 %old = atomicrmw or i32* %p, i32 %v seq_cst
46 ret i32 %old
54 %old = atomicrmw xor i32* %p, i32 %v seq_cst
55 ret i32 %old
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_update_shadow_word_inl.h20 old = LoadShadow(sp);
21 if (old.IsZero()) {
30 if (Shadow::Addr0AndSizeAreEqual(cur, old)) {
33 if (Shadow::TidsAreEqual(old, cur)) {
35 if (old.IsRWWeakerOrEqual(kAccessIsWrite, kIsAtomic))
40 if (HappensBefore(old, thr)) {
41 if (old.IsRWWeakerOrEqual(kAccessIsWrite, kIsAtomic))
45 if (old.IsBothReadsOrAtomic(kAccessIsWrite, kIsAtomic))
50 if (Shadow::TwoRangesIntersect(old, cur, kAccessSize)) {
52 if (Shadow::TidsAreEqual(old, cur)) {
[all …]
/external/grpc-grpc/include/grpc/impl/codegen/
Datm_windows.h97 gpr_atm old; in gpr_atm_no_barrier_fetch_add() local
99 old = *p; in gpr_atm_no_barrier_fetch_add()
100 } while (!gpr_atm_no_barrier_cas(p, old, old + delta)); in gpr_atm_no_barrier_fetch_add()
101 return old; in gpr_atm_no_barrier_fetch_add()
106 gpr_atm old; in gpr_atm_full_fetch_add() local
109 old = *p; in gpr_atm_full_fetch_add()
110 } while (old != (gpr_atm)InterlockedCompareExchange64((volatile LONGLONG*)p, in gpr_atm_full_fetch_add()
111 (LONGLONG)old + delta, in gpr_atm_full_fetch_add()
112 (LONGLONG)old)); in gpr_atm_full_fetch_add()
115 old = *p; in gpr_atm_full_fetch_add()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/
Datomic-ops-lse.ll19 %old = atomicrmw add i8* @var8, i8 %offset seq_cst
27 ret i8 %old
32 %old = atomicrmw add i16* @var16, i16 %offset seq_cst
40 ret i16 %old
45 %old = atomicrmw add i32* @var32, i32 %offset seq_cst
53 ret i32 %old
58 %old = atomicrmw add i64* @var64, i64 %offset seq_cst
66 ret i64 %old
95 %old = atomicrmw or i8* @var8, i8 %offset seq_cst
103 ret i8 %old
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dand-08.ll17 %old = load i8, i8 *%ptr2
18 %and = and i8 %val, %old
30 %old = load i8, i8 *%ptr2
31 %and = and i8 %old, %val
45 %old = load i8, i8 *%ptr2
46 %extold = sext i8 %old to i32
61 %old = load i8, i8 *%ptr2
62 %extold = zext i8 %old to i32
77 %old = load i8, i8 *%ptr2
78 %extold = sext i8 %old to i32
[all …]
/external/llvm/test/CodeGen/SystemZ/
Dand-08.ll17 %old = load i8 , i8 *%ptr2
18 %and = and i8 %val, %old
30 %old = load i8 , i8 *%ptr2
31 %and = and i8 %old, %val
45 %old = load i8 , i8 *%ptr2
46 %extold = sext i8 %old to i32
61 %old = load i8 , i8 *%ptr2
62 %extold = zext i8 %old to i32
77 %old = load i8 , i8 *%ptr2
78 %extold = sext i8 %old to i32
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Datomic-ops-ancient-64.ll7 %old = atomicrmw add i64* %addr, i64 %inc seq_cst
8 ret i64 %old
14 %old = atomicrmw sub i64* %addr, i64 %inc seq_cst
15 ret i64 %old
21 %old = atomicrmw and i64* %andr, i64 %inc seq_cst
22 ret i64 %old
28 %old = atomicrmw or i64* %orr, i64 %inc seq_cst
29 ret i64 %old
35 %old = atomicrmw xor i64* %xorr, i64 %inc seq_cst
36 ret i64 %old
[all …]
Datomic_op.ll14 %old = alloca i32 ; <i32*> [#uses=18]
29 store i32 %0, i32* %old
33 store i32 %1, i32* %old
37 store i32 %2, i32* %old
41 store i32 %3, i32* %old
46 store i32 %4, i32* %old
51 store i32 %5, i32* %old
56 store i32 %6, i32* %old
61 store i32 %7, i32* %old
67 store i32 %8, i32* %old
[all …]
/external/llvm/test/CodeGen/X86/
Datomic-ops-ancient-64.ll7 %old = atomicrmw add i64* %addr, i64 %inc seq_cst
8 ret i64 %old
14 %old = atomicrmw sub i64* %addr, i64 %inc seq_cst
15 ret i64 %old
21 %old = atomicrmw and i64* %andr, i64 %inc seq_cst
22 ret i64 %old
28 %old = atomicrmw or i64* %orr, i64 %inc seq_cst
29 ret i64 %old
35 %old = atomicrmw xor i64* %xorr, i64 %inc seq_cst
36 ret i64 %old
[all …]
Datomic_op.ll14 %old = alloca i32 ; <i32*> [#uses=18]
29 store i32 %0, i32* %old
33 store i32 %1, i32* %old
37 store i32 %2, i32* %old
41 store i32 %3, i32* %old
46 store i32 %4, i32* %old
51 store i32 %5, i32* %old
56 store i32 %6, i32* %old
61 store i32 %7, i32* %old
67 store i32 %8, i32* %old
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Datomic_op.ll14 %old = alloca i32 ; <i32*> [#uses=18]
28 store i32 %0, i32* %old
32 store i32 %1, i32* %old
36 store i32 %2, i32* %old
40 store i32 %3, i32* %old
45 store i32 %4, i32* %old
50 store i32 %5, i32* %old
55 store i32 %6, i32* %old
60 store i32 %7, i32* %old
66 store i32 %8, i32* %old
[all …]
/external/u-boot/arch/nios2/include/asm/bitops/
Datomic.h131 unsigned long old; in test_and_set_bit() local
135 old = *p; in test_and_set_bit()
136 *p = old | mask; in test_and_set_bit()
139 return (old & mask) != 0; in test_and_set_bit()
155 unsigned long old; in test_and_clear_bit() local
159 old = *p; in test_and_clear_bit()
160 *p = old & ~mask; in test_and_clear_bit()
163 return (old & mask) != 0; in test_and_clear_bit()
178 unsigned long old; in test_and_change_bit() local
182 old = *p; in test_and_change_bit()
[all …]
Dnon-atomic.h65 unsigned long old = *p; in __test_and_set_bit() local
67 *p = old | mask; in __test_and_set_bit()
68 return (old & mask) != 0; in __test_and_set_bit()
84 unsigned long old = *p; in __test_and_clear_bit() local
86 *p = old & ~mask; in __test_and_clear_bit()
87 return (old & mask) != 0; in __test_and_clear_bit()
96 unsigned long old = *p; in __test_and_change_bit() local
98 *p = old ^ mask; in __test_and_change_bit()
99 return (old & mask) != 0; in __test_and_change_bit()
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dcompat.c168 SymInterpInfo *old; in FindMatchingInterp() local
170 darray_foreach(old, info->interps) in FindMatchingInterp()
171 if (old->interp.sym == new->interp.sym && in FindMatchingInterp()
172 old->interp.mods == new->interp.mods && in FindMatchingInterp()
173 old->interp.match == new->interp.match) in FindMatchingInterp()
174 return old; in FindMatchingInterp()
180 UseNewInterpField(enum si_field field, SymInterpInfo *old, SymInterpInfo *new, in UseNewInterpField() argument
183 if (!(old->defined & field)) in UseNewInterpField()
200 SymInterpInfo *old = FindMatchingInterp(info, new); in AddInterp() local
201 if (old) { in AddInterp()
[all …]
/external/e2fsprogs/tests/progs/
Dtest_rel.c93 static void display_brel_entry(blk_t old, in display_brel_entry() argument
96 printf("Old= %u, New= %u, Owner= %u:%u\n", old, ent->new, in display_brel_entry()
103 static void display_irel_entry(ext2_ino_t old, in display_irel_entry() argument
111 printf("Old= %lu, New= %lu, Original=%lu, Max_refs=%u\n", old, in display_irel_entry()
116 retval = ext2fs_irel_start_iter_ref(irel, old); in display_irel_entry()
178 blk_t old, new, offset=0, owner=0; in do_brel_put() local
187 if (parse_block(argv[0], "old block", argv[1], &old)) in do_brel_put()
206 retval = ext2fs_brel_put(brel, old, &ent); in do_brel_put()
308 blk_t old, new; in do_brel_move() local
316 if (parse_block(argv[0], "old block", argv[1], &old)) in do_brel_move()
[all …]
/external/libcxx/utils/libcxx/sym_check/
Ddiff.py31 def added_symbols(old, new): argument
32 return _symbol_difference(new, old)
35 def removed_symbols(old, new): argument
36 return _symbol_difference(old, new)
39 def changed_symbols(old, new): argument
41 for old_sym in old:
45 if (new_sym is not None and not new_sym in old
51 def diff(old, new): argument
52 added = added_symbols(old, new)
53 removed = removed_symbols(old, new)
[all …]

12345678910>>...92