/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/ |
D | abi-atomics.ll | 209 define internal i32 @test_cmpxchg_invalid_7(i32 %oldval, i32 %newval) { 211 %1 = call i32 @llvm.nacl.atomic.cmpxchg.i32(i32* %ptr, i32 %oldval, i32 %newval, i32 7, i32 7) 216 define internal i32 @test_cmpxchg_invalid_0(i32 %oldval, i32 %newval) { 218 %1 = call i32 @llvm.nacl.atomic.cmpxchg.i32(i32* %ptr, i32 %oldval, i32 %newval, i32 0, i32 0) 225 define internal i32 @test_cmpxchg_seqcst_seqcst(i32 %oldval, i32 %newval) { 227 %1 = call i32 @llvm.nacl.atomic.cmpxchg.i32(i32* %ptr, i32 %oldval, i32 %newval, i32 6, i32 6) 232 define internal i32 @test_cmpxchg_seqcst_acqrel(i32 %oldval, i32 %newval) { 234 %1 = call i32 @llvm.nacl.atomic.cmpxchg.i32(i32* %ptr, i32 %oldval, i32 %newval, i32 6, i32 5) 239 define internal i32 @test_cmpxchg_seqcst_release(i32 %oldval, i32 %newval) { 241 %1 = call i32 @llvm.nacl.atomic.cmpxchg.i32(i32* %ptr, i32 %oldval, i32 %newval, i32 6, i32 4) [all …]
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | socket_utils_common_posix.cc | 73 int newval; in grpc_set_socket_no_sigpipe_if_possible() local 74 socklen_t intlen = sizeof(newval); in grpc_set_socket_no_sigpipe_if_possible() 78 if (0 != getsockopt(fd, SOL_SOCKET, SO_NOSIGPIPE, &newval, &intlen)) { in grpc_set_socket_no_sigpipe_if_possible() 81 if ((newval != 0) != (val != 0)) { in grpc_set_socket_no_sigpipe_if_possible() 147 int newval; in grpc_set_socket_reuse_addr() local 148 socklen_t intlen = sizeof(newval); in grpc_set_socket_reuse_addr() 152 if (0 != getsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &newval, &intlen)) { in grpc_set_socket_reuse_addr() 155 if ((newval != 0) != val) { in grpc_set_socket_reuse_addr() 169 int newval; in grpc_set_socket_reuse_port() 170 socklen_t intlen = sizeof(newval); in grpc_set_socket_reuse_port() [all …]
|
/external/selinux/python/sepolicy/ |
D | sepolicy.py | 66 newval = getattr(namespace, self.dest) 67 if not newval: 68 newval = [] 71 newval.append(v) 72 setattr(namespace, self.dest, newval) 79 newval = getattr(namespace, self.dest) 80 if not newval: 81 newval = [] 87 newval.append(v) 88 setattr(namespace, self.dest, newval) [all …]
|
/external/toybox/kconfig/ |
D | symbol.c | 265 struct symbol_value newval, oldval; in sym_calc_value() local 282 newval = symbol_empty.curr; in sym_calc_value() 286 newval = symbol_no.curr; in sym_calc_value() 299 sym->curr = newval; in sym_calc_value() 306 newval.tri = (prop_get_symbol(prop)->curr.val == sym) ? yes : no; in sym_calc_value() 310 newval.tri = sym->def[S_DEF_USER].tri; in sym_calc_value() 314 newval.tri = expr_calc_value(prop->expr); in sym_calc_value() 316 newval.tri = E_OR(E_AND(newval.tri, sym->visible), sym->rev_dep.tri); in sym_calc_value() 321 newval.tri = expr_calc_value(prop->expr); in sym_calc_value() 324 if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN) in sym_calc_value() [all …]
|
/external/python/cpython3/Python/ |
D | ast_opt.c | 124 PyObject *newval = ops[node->v.UnaryOp.op](get_const_value(arg)); in fold_unaryop() local 125 return make_const(node, newval, arena); in fold_unaryop() 266 PyObject *newval; in fold_binop() local 270 newval = PyNumber_Add(lv, rv); in fold_binop() 273 newval = PyNumber_Subtract(lv, rv); in fold_binop() 276 newval = safe_multiply(lv, rv); in fold_binop() 279 newval = PyNumber_TrueDivide(lv, rv); in fold_binop() 282 newval = PyNumber_FloorDivide(lv, rv); in fold_binop() 285 newval = safe_mod(lv, rv); in fold_binop() 288 newval = safe_power(lv, rv); in fold_binop() [all …]
|
/external/linux-kselftest/tools/testing/selftests/futex/include/ |
D | atomic.h | 40 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) in atomic_cmpxchg() argument 42 return __sync_val_compare_and_swap(&addr->val, oldval, newval); in atomic_cmpxchg() 77 atomic_set(atomic_t *addr, int newval) in atomic_set() argument 79 addr->val = newval; in atomic_set() 80 return newval; in atomic_set()
|
D | futextest.h | 223 futex_cmpxchg(futex_t *uaddr, u_int32_t oldval, u_int32_t newval) in futex_cmpxchg() argument 225 return __sync_val_compare_and_swap(uaddr, oldval, newval); in futex_cmpxchg() 260 futex_set(futex_t *uaddr, u_int32_t newval) in futex_set() argument 262 *uaddr = newval; in futex_set() 263 return newval; in futex_set()
|
/external/u-boot/scripts/kconfig/ |
D | symbol.c | 359 struct symbol_value newval, oldval; in sym_calc_value() local 384 newval = symbol_empty.curr; in sym_calc_value() 388 newval = symbol_no.curr; in sym_calc_value() 403 sym->curr = newval; in sym_calc_value() 410 newval.tri = (prop_get_symbol(prop)->curr.val == sym) ? yes : no; in sym_calc_value() 417 newval.tri = EXPR_AND(sym->def[S_DEF_USER].tri, in sym_calc_value() 427 newval.tri = EXPR_AND(expr_calc_value(prop->expr), in sym_calc_value() 429 if (newval.tri != no) in sym_calc_value() 434 newval.tri = EXPR_OR(newval.tri, sym->implied.tri); in sym_calc_value() 440 newval.tri = EXPR_OR(newval.tri, sym->rev_dep.tri); in sym_calc_value() [all …]
|
/external/swiftshader/third_party/LLVM/test/CodeGen/Mips/ |
D | atomic.ll | 34 define i32 @AtomicSwap32(i32 %newval) nounwind { 36 %newval.addr = alloca i32, align 4 37 store i32 %newval, i32* %newval.addr, align 4 38 %tmp = load i32* %newval.addr, align 4 50 define i32 @AtomicCmpSwap32(i32 %oldval, i32 %newval) nounwind { 52 %newval.addr = alloca i32, align 4 53 store i32 %newval, i32* %newval.addr, align 4 54 %tmp = load i32* %newval.addr, align 4 166 define signext i8 @AtomicSwap8(i8 signext %newval) nounwind { 168 %0 = atomicrmw xchg i8* @y, i8 %newval monotonic [all …]
|
/external/python/cpython3/Lib/tkinter/test/test_ttk/ |
D | test_extensions.py | 151 newval = x.value + 1 152 x.value = newval 156 self.assertEqual(x.value, newval) 158 newval if self.wantobjects else str(newval)) 159 self.assertEqual(float(x.scale.get()), newval) 171 self.assertEqual(x.value, newval) 172 self.assertEqual(conv(x.label['text']), newval) 173 self.assertEqual(float(x.scale.get()), newval) 178 x.value = newval = newval + 1.5 180 self.assertEqual(x.value, int(newval)) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/AtomicExpand/ARM/ |
D | atomic-expansion-v8.ll | 85 define i8 @test_cmpxchg_i8_seqcst_seqcst(i8* %ptr, i8 %desired, i8 %newval) { 97 ; CHECK: [[NEWVAL32:%.*]] = zext i8 %newval to i32 118 %pairold = cmpxchg i8* %ptr, i8 %desired, i8 %newval seq_cst seq_cst 123 define i16 @test_cmpxchg_i16_seqcst_monotonic(i16* %ptr, i16 %desired, i16 %newval) { 135 ; CHECK: [[NEWVAL32:%.*]] = zext i16 %newval to i32 156 %pairold = cmpxchg i16* %ptr, i16 %desired, i16 %newval seq_cst monotonic 161 define i32 @test_cmpxchg_i32_acquire_acquire(i32* %ptr, i32 %desired, i32 %newval) { 172 ; CHECK: [[TRYAGAIN:%.*]] = call i32 @llvm.arm.strex.p0i32(i32 %newval, i32* %ptr) 192 %pairold = cmpxchg i32* %ptr, i32 %desired, i32 %newval acquire acquire 197 define i64 @test_cmpxchg_i64_monotonic_monotonic(i64* %ptr, i64 %desired, i64 %newval) { [all …]
|
/external/llvm/test/Transforms/AtomicExpand/ARM/ |
D | atomic-expansion-v8.ll | 85 define i8 @test_cmpxchg_i8_seqcst_seqcst(i8* %ptr, i8 %desired, i8 %newval) { 97 ; CHECK: [[NEWVAL32:%.*]] = zext i8 %newval to i32 118 %pairold = cmpxchg i8* %ptr, i8 %desired, i8 %newval seq_cst seq_cst 123 define i16 @test_cmpxchg_i16_seqcst_monotonic(i16* %ptr, i16 %desired, i16 %newval) { 135 ; CHECK: [[NEWVAL32:%.*]] = zext i16 %newval to i32 156 %pairold = cmpxchg i16* %ptr, i16 %desired, i16 %newval seq_cst monotonic 161 define i32 @test_cmpxchg_i32_acquire_acquire(i32* %ptr, i32 %desired, i32 %newval) { 172 ; CHECK: [[TRYAGAIN:%.*]] = call i32 @llvm.arm.strex.p0i32(i32 %newval, i32* %ptr) 192 %pairold = cmpxchg i32* %ptr, i32 %desired, i32 %newval acquire acquire 197 define i64 @test_cmpxchg_i64_monotonic_monotonic(i64* %ptr, i64 %desired, i64 %newval) { [all …]
|
/external/swiftshader/third_party/subzero/crosstest/ |
D | test_sync_atomic.cpp | 59 type test_val_cmp_swap(volatile type *ptr, type oldval, type newval) { \ 60 return __sync_val_compare_and_swap(ptr, oldval, newval); \ 62 type test_val_cmp_swap_loop(volatile type *ptr, type oldval, type newval) { \ 66 prev = __sync_val_compare_and_swap(ptr, oldval, newval); \
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/ |
D | bitfield-insert.ll | 34 %newval = load volatile i32, i32* %new 35 %newval_shifted = shl i32 %newval, 26 53 %newval = load volatile i64, i64* %new 54 %newval_shifted = shl i64 %newval, 26 74 %newval = load volatile i64, i64* %new 75 %newval_masked = and i64 %newval, 65535 ; = 0xffff 92 %newval = load volatile i32, i32* %new 93 %newval_shifted = shl i32 %newval, 3 110 %newval = load volatile i64, i64* %new 111 %newval_shifted = shl i64 %newval, 40 [all …]
|
/external/llvm/test/CodeGen/AArch64/ |
D | bitfield-insert.ll | 34 %newval = load volatile i32, i32* %new 35 %newval_shifted = shl i32 %newval, 26 53 %newval = load volatile i64, i64* %new 54 %newval_shifted = shl i64 %newval, 26 74 %newval = load volatile i64, i64* %new 75 %newval_masked = and i64 %newval, 65535 ; = 0xffff 92 %newval = load volatile i32, i32* %new 93 %newval_shifted = shl i32 %newval, 3 110 %newval = load volatile i64, i64* %new 111 %newval_shifted = shl i64 %newval, 40 [all …]
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorReductionCuda.h | 30 unsigned int newval = oldval; in atomicReduce() local 31 reducer.reduce(accum, reinterpret_cast<T*>(&newval)); in atomicReduce() 32 if (newval == oldval) { in atomicReduce() 36 while ((readback = atomicCAS((unsigned int*)output, oldval, newval)) != oldval) { in atomicReduce() 38 newval = oldval; in atomicReduce() 39 reducer.reduce(accum, reinterpret_cast<T*>(&newval)); in atomicReduce() 40 if (newval == oldval) { in atomicReduce() 47 unsigned long long newval = oldval; in atomicReduce() local 48 reducer.reduce(accum, reinterpret_cast<T*>(&newval)); in atomicReduce() 49 if (newval == oldval) { in atomicReduce() [all …]
|
/external/ltp/testcases/kernel/syscalls/futex/ |
D | futextest.h | 254 futex_cmpxchg(futex_t *uaddr, u_int32_t oldval, u_int32_t newval) in futex_cmpxchg() argument 256 return __sync_val_compare_and_swap(uaddr, oldval, newval); in futex_cmpxchg() 291 futex_set(futex_t *uaddr, u_int32_t newval) in futex_set() argument 293 *uaddr = newval; in futex_set() 294 return newval; in futex_set()
|
/external/grpc-grpc/test/core/iomgr/ |
D | socket_utils_test.cc | 44 int newval; in mutate_fd() local 45 socklen_t intlen = sizeof(newval); in mutate_fd() 53 if (0 != getsockopt(fd, IPPROTO_IP, IP_TOS, &newval, &intlen)) { in mutate_fd() 56 if (newval != m->option_value) { in mutate_fd()
|
/external/pdfium/core/fxcrt/ |
D | cfx_decimal.cpp | 274 float newval = fabs(val); in CFX_Decimal() local 278 plo = static_cast<uint64_t>(newval); in CFX_Decimal() 279 pmid = static_cast<uint64_t>(newval / 1e32); in CFX_Decimal() 280 phi = static_cast<uint64_t>(newval / 1e64); in CFX_Decimal() 281 newval = fmod(newval, 1.0f); in CFX_Decimal() 284 newval *= 10; in CFX_Decimal() 285 plo += static_cast<uint64_t>(newval); in CFX_Decimal() 286 newval = fmod(newval, 1.0f); in CFX_Decimal() 289 plo += FXSYS_round(newval); in CFX_Decimal()
|
/external/curl/lib/ |
D | strtoofft.c | 84 curl_off_t newval; in strtooff() local 135 newval = base * value + i; in strtooff() 136 if(newval < value) { in strtooff() 142 value = newval; in strtooff()
|
/external/llvm/test/CodeGen/PowerPC/ |
D | pr15630.ll | 8 %newval = alloca i8 10 store i8 %newval_arg, i8* %newval 11 %tmp = load i8, i8* %newval
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/ |
D | pr15630.ll | 8 %newval = alloca i8 10 store i8 %newval_arg, i8* %newval 11 %tmp = load i8, i8* %newval
|
/external/u-boot/drivers/mmc/ |
D | bcm2835_sdhci.c | 110 u32 newval = (oldval & ~mask) | (val << word_shift); in bcm2835_sdhci_writew() local 113 shadow = newval; in bcm2835_sdhci_writew() 115 bcm2835_sdhci_raw_writel(host, newval, reg & ~3); in bcm2835_sdhci_writew() 124 u32 newval = (oldval & ~mask) | (val << byte_shift); in bcm2835_sdhci_writeb() local 126 bcm2835_sdhci_raw_writel(host, newval, reg & ~3); in bcm2835_sdhci_writeb()
|
/external/strace/ |
D | sysctl.c | 64 info.oldlenp, info.newval, (unsigned long)info.newlen); in SYS_FUNC() 182 if (info.newval == NULL) in SYS_FUNC() 185 tprintf("%p", info.newval); in SYS_FUNC() 187 printpath(tcp, ptr_to_kulong(info.newval)); in SYS_FUNC()
|
/external/mesa3d/src/mesa/main/ |
D | scissor.c | 266 struct gl_scissor_rect newval[MAX_WINDOW_RECTANGLES]; in _mesa_WindowRectanglesEXT() local 297 newval[i].X = box[0]; in _mesa_WindowRectanglesEXT() 298 newval[i].Y = box[1]; in _mesa_WindowRectanglesEXT() 299 newval[i].Width = box[2]; in _mesa_WindowRectanglesEXT() 300 newval[i].Height = box[3]; in _mesa_WindowRectanglesEXT() 307 memcpy(ctx->Scissor.WindowRects, newval, in _mesa_WindowRectanglesEXT()
|