Home
last modified time | relevance | path

Searched refs:borrow (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/rust/alloc/
H A Dslice.rs17 use core::borrow::{Borrow, BorrowMut};
31 use crate::borrow::ToOwned;
713 let size = slice.iter().map(|slice| slice.borrow().len()).sum(); in concat()
716 result.extend_from_slice(v.borrow()) in concat()
733 let size = slice.iter().map(|v| v.borrow().len()).sum::<usize>() + slice.len() - 1; in join()
735 result.extend_from_slice(first.borrow()); in join()
739 result.extend_from_slice(v.borrow()) in join()
757 slice.iter().map(|v| v.borrow().len()).sum::<usize>() + sep.len() * (slice.len() - 1); in join()
759 result.extend_from_slice(first.borrow()); in join()
763 result.extend_from_slice(v.borrow()) in join()
[all …]
H A Dboxed.rs153 use core::borrow;
174 use crate::borrow::Cow;
2061 impl<T: ?Sized, A: Allocator> borrow::Borrow<T> for Box<T, A> {
2062 fn borrow(&self) -> &T { in borrow() method
2068 impl<T: ?Sized, A: Allocator> borrow::BorrowMut<T> for Box<T, A> {
H A Dlib.rs245 pub mod borrow; module
/openbmc/qemu/target/hexagon/
H A Dfma_emu.c154 static Int128 int128_sub_borrow(Int128 a, Int128 b, int borrow) in int128_sub_borrow() argument
157 if (borrow != 0) { in int128_sub_borrow()
233 int borrow; in accum_sub() local
272 borrow = (b.round << 2) | (b.guard << 1) | b.sticky; in accum_sub()
273 ret.mant = int128_sub_borrow(a.mant, b.mant, (borrow != 0)); in accum_sub()
274 borrow = 0 - borrow; in accum_sub()
275 ret.guard = (borrow >> 2) & 1; in accum_sub()
276 ret.round = (borrow >> 1) & 1; in accum_sub()
277 ret.sticky = (borrow >> 0) & 1; in accum_sub()
H A Dattribs_def.h.inc72 DEF_ATTRIB(CVI_VS_3SRC, "This shift needs to borrow a source register", "", "")
/openbmc/linux/rust/kernel/
H A Dtypes.rs38 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> Self::Borrowed<'a>; in borrow() method
58 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> &'a T { in borrow() method
80 unsafe fn borrow<'a>(_: *const core::ffi::c_void) -> Self::Borrowed<'a> {} in borrow() method
/openbmc/linux/arch/powerpc/boot/
H A Ddevtree.c159 int i, borrow = 0; in sub_reg() local
162 int prev_borrow = borrow; in sub_reg()
163 borrow = reg[i] < sub[i] + prev_borrow; in sub_reg()
167 return !borrow; in sub_reg()
/openbmc/linux/crypto/
H A Decc.c313 u64 borrow = 0; in vli_sub() local
319 diff = left[i] - right[i] - borrow; in vli_sub()
321 borrow = (diff > left[i]); in vli_sub()
326 return borrow; in vli_sub()
334 u64 borrow = right; in vli_usub() local
340 diff = left[i] - borrow; in vli_usub()
342 borrow = (diff > left[i]); in vli_usub()
347 return borrow; in vli_usub()
517 if (borrow) in vli_mod_sub()
636 u64 borrow = 0; in vli_mmod_slow() local
[all …]
/openbmc/linux/Documentation/admin-guide/blockdev/
H A Dnbd.rst13 to borrow disk space from another computer.
/openbmc/linux/rust/alloc/vec/
H A Dpartial_eq.rs5 use crate::borrow::Cow;
H A Dmod.rs72 use crate::borrow::{Cow, ToOwned};
/openbmc/linux/lib/crypto/mpi/
H A Dec.c204 mpi_limb_t borrow; in ec_addm_25519() local
215 borrow = mpihelp_sub_n(wp, wp, ctx->p->d, wsize); in ec_addm_25519()
216 mpih_set_cond(n, ctx->p->d, wsize, (borrow != 0UL)); in ec_addm_25519()
226 mpi_limb_t borrow; in ec_subm_25519() local
236 borrow = mpihelp_sub_n(wp, up, vp, wsize); in ec_subm_25519()
237 mpih_set_cond(n, ctx->p->d, wsize, (borrow != 0UL)); in ec_subm_25519()
331 mpi_limb_t borrow; in ec_subm_448() local
341 borrow = mpihelp_sub_n(wp, up, vp, wsize); in ec_subm_448()
342 mpih_set_cond(n, ctx->p->d, wsize, (borrow != 0UL)); in ec_subm_448()
/openbmc/linux/arch/m68k/fpsp040/
H A Dsrem_mod.S236 |..use the borrow of the previous compare
237 bcss R_LT_Y | ...borrow is set iff R < Y
/openbmc/linux/rust/kernel/sync/
H A Darc.rs243 unsafe fn borrow<'a>(ptr: *const core::ffi::c_void) -> ArcBorrow<'a, T> { in borrow() method
/openbmc/linux/Documentation/arch/parisc/
H A Dregisters.rst78 C/B (carry/borrow bits) used by C code
/openbmc/linux/arch/arm/nwfpe/
H A Dsoftfloat-macros399 2^128, so any borrow out (carry out) is lost. The result is broken into two
418 Subtraction is modulo 2^192, so any borrow out (carry out) is lost. The
/openbmc/openbmc/poky/meta/recipes-bsp/v86d/v86d/
H A DUpdate-x86emu-from-X.org.patch15217 - /* calculate the borrow chain. See note at top */
15223 + /* calculate the borrow chain. See note at top */
15253 - /* calculate the borrow chain. See note at top */
15288 - /* calculate the borrow chain. See note at top */
15393 - /* calculate the borrow chain. See note at top */
17374 - /* calculate the borrow chain. See note at top */
17412 - /* calculate the borrow chain. See note at top */
17451 - /* calculate the borrow chain. See note at top */
17487 - /* calculate the borrow chain. See note at top */
17521 - /* calculate the borrow chain. See note at top */
[all …]
/openbmc/docs/designs/
H A Dvirtual-media.md93 > diskless - if you use an initrd) to borrow disk space from other computers.
/openbmc/qemu/target/riscv/insn_trans/
H A Dtrans_rvi.c.inc133 /* borrow in to second word */
/openbmc/linux/Documentation/driver-api/
H A Dparport-lowlevel.rst641 driver to temporarily ``borrow`` it. ``parport_yield`` does not block;
/openbmc/qemu/tcg/s390x/
H A Dtcg-target.c.inc1338 * As above, but we're looking for borrow, or !carry.
1339 * The second insn computes d - d - borrow, or -1 for true
/openbmc/linux/arch/m68k/ifpsp060/src/
H A Dfplsp.S9559 #..use the borrow of the previous compare
9560 bcs.b R_LT_Y # borrow is set iff R < Y