Home
last modified time | relevance | path

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

12345678910>>...58

/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/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/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/ltp/
Dgen.bp21 local_include_dirs: ["include/old"],
30 local_include_dirs: ["include/old"],
39 local_include_dirs: ["include/old"],
48 local_include_dirs: ["include/old"],
57 local_include_dirs: ["include/old"],
66 local_include_dirs: ["include/old"],
76 "include/old",
88 "include/old",
100 "include/old",
112 "include/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/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/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/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 …]
/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/llvm/test/CodeGen/ARM/
Datomicrmw_minmax.ll7 ; CHECK: cmp [[old:r[0-9]*]], [[val:r[0-9]*]]
8 ; CHECK: movhi {{r[0-9]*}}, [[old]]
9 %old = atomicrmw umax i32* %ptr, i32 %val monotonic
10 ret i32 %old
17 ; CHECK: cmp [[old:r[0-9]*]], [[val:r[0-9]*]]
18 ; CHECK: movls {{r[0-9]*}}, [[old]]
19 %old = atomicrmw umin i32* %ptr, i32 %val monotonic
20 ret i32 %old
/external/toybox/lib/
Dllist.c29 void *old = list; in llist_traverse() local
36 if (old == list) break; in llist_traverse()
119 struct num_cache *old = get_num_cache(*cache, num); in add_num_cache() local
121 if (old) return old; in add_num_cache()
123 old = xzalloc(sizeof(struct num_cache)+len); in add_num_cache()
124 old->next = *cache; in add_num_cache()
125 old->num = num; in add_num_cache()
126 memcpy(old->data, data, len); in add_num_cache()
127 *cache = old; in add_num_cache()
/external/valgrind/helgrind/tests/
Dannotate_hbefore.c29 UWord old, success; in do_acasW() local
34 : /*out*/ "=b"(old) in do_acasW()
40 if (old != expected) return 0; in do_acasW()
62 UWord old, success; in do_acasW() local
67 : /*out*/ "=b"(old) in do_acasW()
73 if (old != expected) return 0; in do_acasW()
143 UWord old, success; in do_acasW() local
149 : /*out*/ "=r"(old) in do_acasW()
154 if (old != expected) return 0; in do_acasW()
176 UWord old, success; in do_acasW() local
[all …]
/external/syslinux/com32/libupload/
Dserial.c78 sif->old.lcr = inb(port + LCR); in serial_init()
79 sif->old.mcr = inb(port + MCR); in serial_init()
80 sif->old.iir = inb(port + IIR); in serial_init()
84 sif->old.dll = inb(port + DLL); in serial_init()
85 sif->old.dlm = inb(port + DLM); in serial_init()
95 sif->old.ier = inb(port + IER); in serial_init()
156 outb(sif->old.dll, port + DLL); in serial_cleanup()
157 outb(sif->old.dlm, port + DLM); in serial_cleanup()
159 outb(sif->old.lcr & 0x7f, port + LCR); in serial_cleanup()
161 outb(sif->old.mcr, port + MCR); in serial_cleanup()
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/
Datomic-op.ll13 %old = alloca i32 ; <i32*> [#uses=18]
28 store i32 %0, i32* %old
33 store i32 %1, i32* %old
38 store i32 %2, i32* %old
43 store i32 %3, i32* %old
48 store i32 %4, i32* %old
53 store i32 %5, i32* %old
58 store i32 %6, i32* %old
63 store i32 %7, i32* %old
69 store i32 %8, i32* %old
[all …]
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/
Dnacl-atomic-cmpxchg-optimization.ll23 %expected_loop = phi i32 [ %expected, %entry ], [ %old, %loop ]
26 %old = call i32 @llvm.nacl.atomic.cmpxchg.i32(i32* %ptr, i32 %expected_loop,
28 %success = icmp eq i32 %expected_loop, %old
32 call void @use_value(i32 %old)
55 %expected_loop = phi i32 [ %expected, %entry ], [ %old, %loop ]
57 %old = call i32 @llvm.nacl.atomic.cmpxchg.i32(i32* %ptr, i32 %expected_loop,
59 %success = icmp eq i32 %old, %expected_loop
63 ret i32 %old
79 %old = call i32 @llvm.nacl.atomic.cmpxchg.i32(i32* %ptr, i32 0,
81 %success = icmp eq i32 %old, 0
[all …]
/external/javassist/src/main/javassist/bytecode/analysis/
DAnalyzer.java277 Frame old = frames[target]; in merge() local
280 if (old == null) { in merge()
284 changed = old.merge(frame); in merge()
310 Frame old = frames[next]; in mergeJsr() local
313 if (old == null) { in mergeJsr()
314 old = frames[next] = frame.copy(); in mergeJsr()
320 Type oldType = old.getLocal(i); in mergeJsr()
323 old.setLocal(i, newType); in mergeJsr()
330 old.setLocal(i, newType); in mergeJsr()
337 if (! old.isJsrMerged()) { in mergeJsr()
[all …]
/external/ipsec-tools/src/racoon/
Ddebugrm.h47 #define racoon_realloc(old, sz) realloc((old), (sz)) argument
65 #define racoon_realloc(old, sz) \ argument
66 DRM_realloc(__FILE__, __LINE__, __func__, (old), (sz))
89 #define vdup(old) \ argument
90 DRM_vdup(__FILE__, __LINE__, __func__, (old))
91 #define vrealloc(old, sz) \ argument
92 DRM_vrealloc(__FILE__, __LINE__, __func__, (old), (sz))
/external/strace/tests/
Dsigaction.c104 unsigned long old[1]; in main() member
147 memcpy(new_act->mask, mask.old, sizeof(mask.old)); in main()
160 memcpy(new_act->mask, mask.old, sizeof(mask.old)); in main()
169 memset(mask.old, -1, sizeof(mask.old)); in main()
172 memcpy(new_act->mask, mask.old, sizeof(mask.old)); in main()
/external/strace/tests-mx32/
Dsigaction.c104 unsigned long old[1]; in main() member
147 memcpy(new_act->mask, mask.old, sizeof(mask.old)); in main()
160 memcpy(new_act->mask, mask.old, sizeof(mask.old)); in main()
169 memset(mask.old, -1, sizeof(mask.old)); in main()
172 memcpy(new_act->mask, mask.old, sizeof(mask.old)); in main()
/external/strace/tests-m32/
Dsigaction.c104 unsigned long old[1]; in main() member
147 memcpy(new_act->mask, mask.old, sizeof(mask.old)); in main()
160 memcpy(new_act->mask, mask.old, sizeof(mask.old)); in main()
169 memset(mask.old, -1, sizeof(mask.old)); in main()
172 memcpy(new_act->mask, mask.old, sizeof(mask.old)); in main()

12345678910>>...58