Home
last modified time | relevance | path

Searched refs:Relaxed (Results 1 – 25 of 54) sorted by relevance

123

/third_party/rust/crates/rustix/src/backend/linux_raw/param/
Dauxv.rs22 use core::sync::atomic::Ordering::Relaxed;
32 let mut page_size = PAGE_SIZE.load(Relaxed); in page_size()
36 page_size = PAGE_SIZE.load(Relaxed); in page_size()
45 let mut ticks = CLOCK_TICKS_PER_SECOND.load(Relaxed); in clock_ticks_per_second()
49 ticks = CLOCK_TICKS_PER_SECOND.load(Relaxed); in clock_ticks_per_second()
58 let mut hwcap = HWCAP.load(Relaxed); in linux_hwcap()
59 let mut hwcap2 = HWCAP2.load(Relaxed); in linux_hwcap()
63 hwcap = HWCAP.load(Relaxed); in linux_hwcap()
64 hwcap2 = HWCAP2.load(Relaxed); in linux_hwcap()
73 let mut execfn = EXECFN.load(Relaxed); in linux_execfn()
[all …]
/third_party/rust/crates/rustix/src/backend/linux_raw/
Dvdso_wrappers.rs23 use core::sync::atomic::Ordering::Relaxed;
35 let callee = match transmute(CLOCK_GETTIME.load(Relaxed)) { in clock_gettime()
73 let callee = match transmute(CLOCK_GETTIME.load(Relaxed)) { in clock_gettime_dynamic()
88 use super::{transmute, ArgReg, Relaxed, RetReg, SyscallNumber, A0, A1, A2, A3, A4, A5, R0};
93 let callee = match transmute(super::SYSCALL.load(Relaxed)) { in syscall0()
105 let callee = match transmute(super::SYSCALL.load(Relaxed)) { in syscall1()
117 let callee = match transmute(super::SYSCALL.load(Relaxed)) { in syscall1_noreturn()
130 let callee = match transmute(super::SYSCALL.load(Relaxed)) { in syscall2()
144 let callee = match transmute(super::SYSCALL.load(Relaxed)) { in syscall3()
159 let callee = match transmute(super::SYSCALL.load(Relaxed)) { in syscall4()
[all …]
/third_party/rust/crates/proc-macro2/src/
Ddetection.rs8 match WORKS.load(Ordering::Relaxed) { in inside_proc_macro()
19 WORKS.store(1, Ordering::Relaxed); in force_fallback()
29 WORKS.store(available as usize + 1, Ordering::Relaxed); in initialize()
68 WORKS.store(works as usize + 1, Ordering::Relaxed); in initialize()
/third_party/rust/crates/rustix/src/fs/
Dstatx.rs47 match STATX_STATE.load(Ordering::Relaxed) { in _statx()
65 STATX_STATE.store(2, Ordering::Relaxed); in statx_init()
75 STATX_STATE.store(1, Ordering::Relaxed); in statx_error_nosys()
86 STATX_STATE.store(2, Ordering::Relaxed); in statx_error_perm()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/
DCodeEmitter.cpp26 MCInst Relaxed(Sequence[MCID]); in getOrCreateEncodingInfo() local
28 MAB.relaxInstruction(Inst, STI, Relaxed); in getOrCreateEncodingInfo()
31 MCE.encodeInstruction(Relaxed, VecOS, Fixups, STI); in getOrCreateEncodingInfo()
/third_party/rust/crates/regex/src/
Dpool.rs70 let next = COUNTER.fetch_add(1, Ordering::Relaxed);
207 let owner = self.owner.load(Ordering::Relaxed); in get()
221 use std::sync::atomic::Ordering::Relaxed; in get_slow()
228 let res = self.owner.compare_exchange(0, caller, Relaxed, Relaxed); in get_slow()
/third_party/rust/crates/once_cell/examples/
Dbench_acquire.rs22 println!("{:?}", OTHER.load(Ordering::Relaxed)); in main()
33 let k = OTHER.fetch_add(data[accum & 0x7F] as usize, Ordering::Relaxed); in thread_main()
/third_party/rust/crates/syn/tests/
Dtest_round_trip.rs70 let failed = failed.load(Ordering::Relaxed); in test_round_trip()
84 let prev_failed = failed.fetch_add(1, Ordering::Relaxed); in test()
146 let prev_failed = failed.fetch_add(1, Ordering::Relaxed); in test()
156 let counter = COUNTER.fetch_add(1, Ordering::Relaxed); in librustc_parse()
Dtest_precedence.rs139 passed.fetch_add(l_passed, Ordering::Relaxed); in test_rustc_precedence()
140 let prev_failed = failed.fetch_add(l_failed, Ordering::Relaxed); in test_rustc_precedence()
147 let passed = passed.load(Ordering::Relaxed); in test_rustc_precedence()
148 let failed = failed.load(Ordering::Relaxed); in test_rustc_precedence()
/third_party/rust/crates/memchr/src/memchr/x86/
Dmod.rs52 FN.store(fun as FnRaw, Ordering::Relaxed);
67 let fun = FN.load(Ordering::Relaxed);
/third_party/rust/crates/nix/test/sys/
Dtest_signal.rs89 SIGNALED.store(signal == Signal::SIGINT, Ordering::Relaxed); in test_sigaction_handler()
129 assert!(SIGNALED.load(Ordering::Relaxed)); in test_signal()
Dtest_aio.rs29 SIGNALED.store(true, Ordering::Relaxed); in sigfunc()
514 SIGNALED.store(false, Ordering::Relaxed); in sigev_signal()
535 while !SIGNALED.load(Ordering::Relaxed) { in sigev_signal()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCObjectStreamer.cpp400 MCInst Relaxed; in EmitInstructionImpl() local
401 getAssembler().getBackend().relaxInstruction(Inst, STI, Relaxed); in EmitInstructionImpl()
402 while (getAssembler().getBackend().mayNeedRelaxation(Relaxed, STI)) in EmitInstructionImpl()
403 getAssembler().getBackend().relaxInstruction(Relaxed, STI, Relaxed); in EmitInstructionImpl()
404 EmitInstToData(Relaxed, STI); in EmitInstructionImpl()
DMCAssembler.cpp920 MCInst Relaxed; in relaxInstruction() local
921 getBackend().relaxInstruction(F.getInst(), *F.getSubtargetInfo(), Relaxed); in relaxInstruction()
930 getEmitter().encodeInstruction(Relaxed, VecOS, Fixups, *F.getSubtargetInfo()); in relaxInstruction()
933 F.setInst(Relaxed); in relaxInstruction()
/third_party/rust/crates/syn/tests/crates/
Dmain.rs68 oversize_count.fetch_add(1, Ordering::Relaxed); in parse()
/third_party/rust/crates/once_cell/src/
Dimp_pl.rs156 || state.load(Ordering::Relaxed) == RUNNING, in initialize_inner()
Drace.rs285 write!(f, "OnceBox({:?})", self.inner.load(Ordering::Relaxed)) in fmt()
Dimp_std.rs234 Ordering::Relaxed, in wait()
/third_party/rust/crates/rustix/tests/process/
Dweak.rs66 match self.addr.load(Ordering::Relaxed) { in get()
/third_party/rust/crates/rustix/tests/param/
Dweak.rs66 match self.addr.load(Ordering::Relaxed) { in get()
/third_party/rust/crates/rustix/src/backend/libc/
Dweak.rs66 match self.addr.load(Ordering::Relaxed) { in get()
/third_party/rust/crates/autocfg/src/
Dlib.rs209 let id = ID.fetch_add(1, Ordering::Relaxed); in probe()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSpirvShaderGLSLstd450.cpp627 dst.move(i, Asin(val.Float(i), d.RelaxedPrecision ? Precision::Relaxed : Precision::Full)); in EmitExtGLSLstd450()
638 dst.move(i, Acos(val.Float(i), d.RelaxedPrecision ? Precision::Relaxed : Precision::Full)); in EmitExtGLSLstd450()
778 dst.move(i, RcpSqrt(val.Float(i), d.RelaxedPrecision ? Precision::Relaxed : Precision::Full)); in EmitExtGLSLstd450()
/third_party/rust/crates/log/src/
Dlib.rs1367 MAX_LOG_LEVEL_FILTER.store(level as usize, Ordering::Relaxed) in set_max_level()
1391 unsafe { mem::transmute(MAX_LOG_LEVEL_FILTER.load(Ordering::Relaxed)) } in max_level()
/third_party/json/docs/mkdocs/docs/home/
Dfaq.md43 ### Relaxed parsing

123