| /netbsd-src/games/trek/ |
| H A D | attack.c | 84 int cas; in attack() local 141 cas = (shldabsb * 100) / hit; in attack() 145 cas, hit); in attack() 156 cas = ranf(1000); in attack() 157 for (l = 0; cas >= 0; l++) in attack() 158 cas -= Param.damprob[l]; in attack() 179 cas = tothit * 0.015 * franf(); in attack() 180 if (cas >= 2) { in attack() 183 cas); in attack() 184 Game.deaths += cas; in attack() [all …]
|
| /netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| H A D | zrlock.c | 78 uint32_t cas = atomic_cas_32( in zrl_add_impl() local 80 if (cas == n) { in zrl_add_impl() 92 n = cas; in zrl_add_impl() 124 uint32_t cas = atomic_cas_32( in zrl_tryenter() local 126 if (cas == 0) { in zrl_tryenter()
|
| /netbsd-src/sys/arch/sh3/sh3/ |
| H A D | lock_stubs.S | 95 !! T bit still indicates if cas was successful 96 bf.s 1f ! hard case if cas failed 117 !! T bit still indicates if cas was successful 118 bf.s 1f ! hard case if cas failed
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/ |
| H A D | atomic.d | 287 template cas(MemoryOrder succ = MemoryOrder.seq, MemoryOrder fail = MemoryOrder.seq) 290 bool cas(T, V1, V2)(T* here, V1 ifThis, V2 writeThis) pure nothrow @nogc @trusted 309 bool cas(T, V1, V2)(shared(T)* here, V1 ifThis, V2 writeThis) pure nothrow @nogc @trusted 327 return cas(cast(T*)here, *cast(Thunk1*)&ifThis, *cast(Thunk2*)&writeThis); in atomicPtrIsProperlyAligned() 331 bool cas(T, V1, V2)(shared(T)* here, shared(V1) ifThis, shared(V2) writeThis) 341 bool cas(T, V)(T* here, T* ifThis, V writeThis) pure nothrow @nogc @trusted 359 bool cas(T, V1, V2)(shared(T)* here, V1* ifThis, V2 writeThis) pure nothrow @nogc @trusted 386 return cas(cast(T*)here, cast(Thunk1*)ifThis, *cast(Thunk2*)&writeThis); in atomicPtrIsProperlyAligned() 390 bool cas(T, V)(shared(T)* here, shared(T)* ifThis, shared(V) writeThis) 873 assert(cas(&atom, base, val), T.stringof); [all …]
|
| /netbsd-src/sys/modules/if_cas/ |
| H A D | if_cas.ioconf | 3 ioconf cas 10 cas* at pci? dev ? function ?
|
| /netbsd-src/common/lib/libc/arch/aarch64/atomic/ |
| H A D | Makefile.inc | 6 .for op in add and cas nand or sub swap xor 15 .for op in swp cas clr set eor add
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/ |
| H A D | spinlock.d | 31 if (cas(&val, size_t(0), size_t(1))) in lock() 40 if (cas(&val, size_t(0), size_t(1))) in lock()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/ |
| H A D | nouveau_dispnv04_arb.c | 61 int pagemiss, cas, bpp; in nv04_calc_arb() local 72 cas = arb->mem_latency; in nv04_calc_arb() 77 mclks = 13 + cas; in nv04_calc_arb()
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/config/aarch64/ |
| H A D | lse.S | 192 STARTFN NAME(cas) 197 # define CAS glue4(cas, A, L, S) s(0), s(1), [x2] 244 ENDFN NAME(cas)
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/aarch64/ |
| H A D | lse.S | 192 STARTFN NAME(cas) 197 # define CAS glue4(cas, A, L, S) s(0), s(1), [x2] 244 ENDFN NAME(cas)
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/experimental/allocator/building_blocks/ |
| H A D | region.d | 1089 import core.atomic : cas, atomicLoad; in allocate() 1103 } while (!cas(&_current, localCurrent, localNewCurrent)); in allocate() 1115 } while (!cas(&_current, localCurrent, localNewCurrent)); in allocate() 1134 import core.atomic : cas, atomicLoad; in deallocate() 1145 return cas(&_current, localCurrent, localNewCurrent); in deallocate() 1151 return cas(&_current, localCurrent, localNewCurrent); in deallocate() 1186 import core.atomic : cas, atomicLoad; in alignedAllocate() 1205 } while (!cas(&_current, localCurrent, localNewCurrent)); in alignedAllocate() 1219 } while (!cas(&_current, localCurrent, localNewCurrent)); in alignedAllocate()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/ |
| H A D | sparccpuid.S | 216 .word 0xd7e2100a !cas [%o0],%o2,%o3, compare [%o0] with %o2 and swap %o3 219 mov %o3,%o2 ! cas is always fetching to dest. register 495 .word 0xc9e2100c !cas [%o0],%o4,%g4 508 .word 0xc9e2100c !cas [%o0],%o4,%g4 535 .word 0xc9e2100c !cas [%o0],%o4,%g4 549 .word 0xc9e2100c !cas [%o0],%o4,%g4
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/ |
| H A D | sparccpuid.S | 221 .word 0xd7e2100a !cas [%o0],%o2,%o3, compare [%o0] with %o2 and swap %o3 224 mov %o3,%o2 ! cas is always fetching to dest. register 502 .word 0xc9e2100c !cas [%o0],%o4,%g4 515 .word 0xc9e2100c !cas [%o0],%o4,%g4 542 .word 0xc9e2100c !cas [%o0],%o4,%g4 556 .word 0xc9e2100c !cas [%o0],%o4,%g4
|
| /netbsd-src/sys/arch/m68k/060sp/dist/ |
| H A D | isp.doc | 55 cas (w/ a misaligned effective address) 181 Integrating cas/cas2: 183 The instructions "cas2" and "cas" (when used with a misaligned effective 200 If the "core" emulation routines of either "cas" or "cas2" perform some
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/ |
| H A D | tsp_auth.c | 34 TSS_BOOL cas, /* continue auth session */ in secret_PerformAuth_OIAP() argument 59 if ((result = Init_AuthNonce(tspContext, cas, auth))) in secret_PerformAuth_OIAP() 63 if (cas) { in secret_PerformAuth_OIAP() 340 Init_AuthNonce(TSS_HCONTEXT tspContext, TSS_BOOL cas, TPM_AUTH * auth) in Init_AuthNonce() argument 344 auth->fContinueAuthSession = cas; in Init_AuthNonce() 538 if ((result = Init_AuthNonce(tspContext, cas, auth))) 542 if (cas) {
|
| /netbsd-src/regress/sys/arch/m68k/060sp/ |
| H A D | goodoutput | 7 cas...passed
|
| /netbsd-src/external/gpl3/autoconf/dist/doc/ |
| H A D | Makefile.am | 32 autoconf.ca autoconf.CA autoconf.cas autoconf.CAs \
|
| /netbsd-src/common/lib/libc/arch/or1k/atomic/ |
| H A D | Makefile.inc | 3 .for op in add and cas nand or swap xor
|
| /netbsd-src/common/lib/libc/arch/riscv/atomic/ |
| H A D | Makefile.inc | 3 .for op in add and cas nand or sub swap xor
|
| /netbsd-src/common/lib/libc/arch/sparc64/atomic/ |
| H A D | atomic_cas.S | 37 cas [%o0], %o1, %o2
|
| H A D | atomic_swap.S | 39 cas [%o0], %o2, %o3
|
| H A D | atomic_inc.S | 39 cas [%o0], %o2, %o3
|
| H A D | atomic_dec.S | 39 cas [%o0], %o2, %o3
|
| /netbsd-src/sys/arch/sparc64/include/ |
| H A D | asm.h | 50 #define CASPTR cas
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/building_blocks/ |
| H A D | free_list.d | 767 import core.atomic : atomicOp, cas; 787 enforce(cas(&_min, chooseAtRuntime, x), in min() 797 enforce(cas(&_min, chooseAtRuntime, low), in setBounds() 799 enforce(cas(&_max, chooseAtRuntime, high), in setBounds() 823 enforce(cas(&_max, chooseAtRuntime, x), in max()
|