HomeSort by: relevance | last modified time | path
    Searched refs:cas (Results 1 - 25 of 44) sorted by relevancy

1 2

  /src/games/trek/
attack.c 84 int cas; local
141 cas = (shldabsb * 100) / hit;
145 cas, hit);
156 cas = ranf(1000);
157 for (l = 0; cas >= 0; l++)
158 cas -= Param.damprob[l];
179 cas = tothit * 0.015 * franf();
180 if (cas >= 2) {
183 cas);
184 Game.deaths += cas;
    [all...]
  /src/external/cddl/osnet/dist/uts/common/fs/zfs/
zrlock.c 78 uint32_t cas = atomic_cas_32( local
80 if (cas == n) {
92 n = cas;
124 uint32_t cas = atomic_cas_32( local
126 if (cas == 0) {
  /src/sys/arch/sh3/sh3/
lock_stubs.S 53 * T - still reflects cas success status (to avoid another test)
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
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/internal/
spinlock.d 31 if (cas(&val, size_t(0), size_t(1)))
33 // Try to reduce the chance of another cas failure
40 if (cas(&val, size_t(0), size_t(1)))
  /src/common/lib/libc/arch/sparc64/atomic/
atomic_cas.S 37 cas [%o0], %o1, %o2
atomic_dec.S 39 cas [%o0], %o2, %o3
atomic_inc.S 39 cas [%o0], %o2, %o3
atomic_swap.S 39 cas [%o0], %o2, %o3
atomic_and.S 39 cas [%o0], %o2, %o3
atomic_or.S 39 cas [%o0], %o2, %o3
atomic_add.S 39 cas [%o0], %o2, %o3
  /src/sys/arch/sparc64/include/
asm.h 50 #define CASPTR cas
  /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/
nouveau_dispnv04_arb.c 61 int pagemiss, cas, bpp; local
72 cas = arb->mem_latency;
77 mclks = 13 + cas;
  /src/external/gpl3/gcc/dist/libgcc/config/aarch64/
lse.S 195 STARTFN NAME(cas)
200 # define CAS glue4(cas, A, L, S) s(0), s(1), [x2]
202 # define CAS .inst 0x08a07c41 + B + M
205 CAS /* s(0), s(1), [x2] */
248 ENDFN NAME(cas)
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/
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);
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);
390 bool cas(T, V)(shared(T)* here, shared(T)* ifThis, shared(V) writeThis)
403 * The 'weak' version of cas may spuriously fail. It is recommended t
    [all...]
  /src/external/gpl3/gcc.old/dist/libgcc/config/aarch64/
lse.S 192 STARTFN NAME(cas)
197 # define CAS glue4(cas, A, L, S) s(0), s(1), [x2]
199 # define CAS .inst 0x08a07c41 + B + M
202 CAS /* s(0), s(1), [x2] */
244 ENDFN NAME(cas)
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/allocator/building_blocks/
region.d 993 Allocations and deallocations are lock-free based using $(REF cas, core,atomic).
1089 import core.atomic : cas, atomicLoad;
1103 } while (!cas(&_current, localCurrent, localNewCurrent));
1115 } while (!cas(&_current, localCurrent, localNewCurrent));
1134 import core.atomic : cas, atomicLoad;
1139 // The cas is done only once, because only the last allocation can be reverted
1145 return cas(&_current, localCurrent, localNewCurrent);
1151 return cas(&_current, localCurrent, localNewCurrent);
1186 import core.atomic : cas, atomicLoad;
1205 } while (!cas(&_current, localCurrent, localNewCurrent))
    [all...]
free_list.d 878 import core.atomic : atomicOp, cas;
898 enforce(cas(&_min, chooseAtRuntime, x),
908 enforce(cas(&_min, chooseAtRuntime, low),
910 enforce(cas(&_max, chooseAtRuntime, high),
934 enforce(cas(&_max, chooseAtRuntime, x),
  /src/crypto/external/apache2/openssl/dist/crypto/
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
  /src/crypto/external/bsd/openssl/dist/crypto/
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
  /src/crypto/external/bsd/openssl.old/dist/crypto/
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
  /src/crypto/external/cpl/trousers/dist/src/tspi/
tsp_auth.c 34 TSS_BOOL cas, /* continue auth session */
59 if ((result = Init_AuthNonce(tspContext, cas, auth)))
63 if (cas) {
340 Init_AuthNonce(TSS_HCONTEXT tspContext, TSS_BOOL cas, TPM_AUTH * auth)
344 auth->fContinueAuthSession = cas;
538 if ((result = Init_AuthNonce(tspContext, cas, auth)))
542 if (cas) {
  /src/common/lib/libc/arch/aarch64/atomic/
__aarch64_lse.S 129 #define CAS _CONCAT4(cas, ACQ, REL, OPSFX)
169 CAS R0, R1, [x2]
  /src/sys/arch/m68k/060sp/dist/
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
iskeletn.s 154 # Entry point for the selected cas emulation code implementation.
177 # from being paged out. This routine is needed by the cas/cas2

Completed in 29 milliseconds

1 2