/external/syslinux/com32/lib/ |
chrreplace.c | 3 /* Replace char 'old' by char 'new' in source */ 4 void chrreplace(char *source, char old, char new) 8 if (source[0] == old) source[0]=new;
|
/external/clang/test/CodeGen/ |
atomic.c | 5 int old; local 13 old = __sync_fetch_and_add(&val, 1); 16 old = __sync_fetch_and_sub(&valc, 2); 19 old = __sync_fetch_and_min(&val, 3); 22 old = __sync_fetch_and_max(&val, 4); 25 old = __sync_fetch_and_umin(&uval, 5u); 28 old = __sync_fetch_and_umax(&uval, 6u); 31 old = __sync_lock_test_and_set(&val, 7); 34 old = __sync_swap(&val, 8); 37 old = __sync_val_compare_and_swap(&val, 4, 1976) [all...] |
/external/icu/icu4c/source/tools/tzcode/ |
ialloc.c | 11 icatalloc(char *const old, const char *const new) 17 if (old == NULL) 20 return old; 21 else oldsize = strlen(old); 22 if ((result = realloc(old, oldsize + newsize + 1)) != NULL)
|
/device/google/contexthub/firmware/os/cpu/x86/ |
atomic.c | 21 uint32_t old; local 24 old = *val; 25 } while (!atomicCmpXchg32bits(val, old, old + addend)); 27 return old; 32 uint8_t old; local 35 old = *val; 36 } while (!atomicCmpXchgByte(val, old, old + addend)); 38 return old; [all...] |
atomicBitset.c | 49 uint32_t old, new; local 56 old = *wordPtr; 57 new = old &~ mask; 58 } while (!atomicCmpXchg32bits(wordPtr, old, new)); 67 uint32_t old, new; local 70 old = *wordPtr; 71 if (!(old + 1)) /* no work for words with no clear bits */ 74 pos = __builtin_ctz(~old); /* This will allocate in diff order than ARM. Since we never made any promises on order of bits returned, this is ok */ 75 new = old | (1 << pos); 77 if (atomicCmpXchg32bits(wordPtr, old, new) [all...] |
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/ |
acpi_func.h | 78 uint32_t new, old;
81 old = *lock;
82 new = ((old & ~GL_BIT_MASK) | GL_BIT_OWNED) |
83 ((old >> 1) & GL_BIT_PENDING);
84 } while (atomic_cmpset_acq_int(lock, old, new) == 0);
97 uint32_t new, old;
100 old = *lock;
101 new = old & ~GL_BIT_MASK;
102 } while (atomic_cmpset_rel_int(lock, old, new) == 0);
104 return (old & GL_BIT_PENDING); [all...] |
/external/e2fsprogs/lib/ext2fs/ |
brel.h | 37 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)) 80 #define ext2fs_brel_get(brel, old, ent) ((brel)->get((brel), old, ent)) 82 #define ext2fs_brel_next(brel, old, ent) ((brel)->next((brel), old, ent) [all...] |
irel.h | 35 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)) 104 #define ext2fs_irel_get(irel, old, ent) ((irel)->get((irel), old, ent) [all...] |
brel_ma.c | 30 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, 111 if (old > ma->max_block) 113 ma->entries[(unsigned)old] = *ent; 117 static errcode_t bma_get(ext2_brel brel, blk64_t old, 123 if (old > ma->max_block [all...] |
/external/clang/test/SemaCXX/ |
constexpr-turing.cpp | 19 constexpr Tape(const Tape &old, bool write) : 20 l(old.l), val(write), r(old.r) {} 21 constexpr Tape(const Tape &old, Dir dir) : 22 l(dir == L ? old.l ? old.l->l : 0 : &old), 23 val(dir == L ? old.l ? old.l->val : false 24 : old.r ? old.r->val : false) [all...] |
/bionic/libc/arch-arm/bionic/ |
atomics_arm.c | 61 __atomic_cmpxchg(int old, int _new, volatile int *ptr) 64 return __sync_val_compare_and_swap(ptr, old, _new) != old;
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_update_shadow_word_inl.h | 20 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/libcxx/test/libcxx/depr/exception.unexpected/ |
set_unexpected.pass.cpp | 28 std::unexpected_handler old = std::set_unexpected(f1); local 30 assert(old); 35 (*old)();
|
get_unexpected.pass.cpp | 30 std::unexpected_handler old = std::get_unexpected(); local 32 assert(old); 40 (*old)();
|
/external/libcxx/test/std/depr/exception.unexpected/set.unexpected/ |
set_unexpected.pass.cpp | 28 std::unexpected_handler old = std::set_unexpected(f1); local 30 assert(old); 35 (*old)();
|
get_unexpected.pass.cpp | 29 std::unexpected_handler old = std::get_unexpected(); local 31 assert(old); 39 (*old)();
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/depr/exception.unexpected/ |
set_unexpected.pass.cpp | 28 std::unexpected_handler old = std::set_unexpected(f1); local 30 assert(old); 35 (*old)();
|
get_unexpected.pass.cpp | 30 std::unexpected_handler old = std::get_unexpected(); local 32 assert(old); 40 (*old)();
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/depr/exception.unexpected/set.unexpected/ |
set_unexpected.pass.cpp | 28 std::unexpected_handler old = std::set_unexpected(f1); local 30 assert(old); 35 (*old)();
|
get_unexpected.pass.cpp | 29 std::unexpected_handler old = std::get_unexpected(); local 31 assert(old); 39 (*old)();
|
/external/tcpdump/ |
setsignal.c | 72 struct sigaction old, new; local 78 if (sigaction(sig, &new, &old) < 0) 80 return (old.sa_handler);
|
/device/linaro/bootloader/edk2/StdLib/LibC/Softfloat/ |
fpsetmask.c | 56 const fp_except old = float_exception_mask;
58 return old;
|
fpsetround.c | 56 const fp_rnd old = float_rounding_mode;
58 return old;
|
fpsetsticky.c | 56 const fp_except old = float_exception_flags;
58 return old;
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
signal_segv_handler.cc | 32 struct sigaction a, old; local 34 memset(&old, 0, sizeof(old)); 37 sigaction(SIGSEGV, &a, &old); 44 sigaction(SIGSEGV, &old, 0);
|