Home
last modified time | relevance | path

Searched refs:is_zero (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/rust/alloc/vec/
H A Dis_zero.rs11 fn is_zero(&self) -> bool; in is_zero() method
15 ($t:ty, $is_zero:expr) => {
19 $is_zero(*self)
47 fn is_zero(&self) -> bool { in is_zero() method
54 fn is_zero(&self) -> bool { in is_zero() method
61 fn is_zero(&self) -> bool { in is_zero() method
108 fn is_zero(&self) -> bool { in is_zero() method
115 fn is_zero(&self) -> bool { in is_zero() method
172 fn is_zero(&self) -> bool { in is_zero() method
173 self.0.is_zero() in is_zero()
[all …]
H A Dmod.rs106 use self::is_zero::IsZero;
108 mod is_zero; module
/openbmc/u-boot/scripts/coccinelle/null/
H A Dbadzero.cocci102 @ r disable is_zero,isnt_zero exists @
124 @ depends on patch disable is_zero,isnt_zero @
148 @t2 depends on !patch disable is_zero,isnt_zero @
194 @ depends on patch disable is_zero,isnt_zero @
216 @ t3 depends on !patch disable is_zero,isnt_zero @
/openbmc/linux/scripts/coccinelle/null/
H A Dbadzero.cocci100 @ r disable is_zero,isnt_zero exists @
122 @ depends on patch disable is_zero,isnt_zero @
146 @t2 depends on !patch disable is_zero,isnt_zero @
192 @ depends on patch disable is_zero,isnt_zero @
214 @ t3 depends on !patch disable is_zero,isnt_zero @
/openbmc/linux/fs/ntfs3/
H A Dlznt.c324 bool is_zero = true; in compress_lznt() local
341 if (is_zero && err != LZNT_ERROR_ALL_ZEROS) in compress_lznt()
342 is_zero = false; in compress_lznt()
350 return is_zero ? 0 : PtrOffset(cmpr, p); in compress_lznt()
/openbmc/qemu/tests/image-fuzzer/qcow2/
H A Dfuzz.py353 is_zero = random.randint(0, 1)
355 (is_compressed << UINT64_M - 1) + is_zero
/openbmc/linux/drivers/md/
H A Ddm-verity.h133 sector_t block, u8 *digest, bool *is_zero);
H A Ddm-verity-target.c371 sector_t block, u8 *digest, bool *is_zero) in verity_hash_for_block() argument
397 *is_zero = !memcmp(v->zero_digest, digest, v->digest_size); in verity_hash_for_block()
399 *is_zero = false; in verity_hash_for_block()
566 bool is_zero; in verity_verify_io() local
598 &is_zero); in verity_verify_io()
602 if (is_zero) { in verity_verify_io()
H A Ddm-verity-fec.c204 bool is_zero; in fec_read_bufs() local
268 &is_zero) == 0) { in fec_read_bufs()
270 if (is_zero) in fec_read_bufs()
/openbmc/linux/rust/kernel/sync/
H A Darc.rs300 let is_zero = unsafe { bindings::refcount_dec_and_test(refcount) }; in drop() localVariable
301 if is_zero { in drop()
/openbmc/qemu/target/ppc/
H A Ddfp_helper.c559 int minexp, maxexp, nzero_digits, nzero_idx, is_negative, is_zero, \
578 is_zero = decNumberIsZero(&dfp.a); \
587 match |= (dcm & 0x20) && is_zero && !is_extreme_exp; \
588 match |= (dcm & 0x10) && is_zero && is_extreme_exp; \
H A Dint_helper.c2309 int is_zero = 1; in bcd_add_mag() local
2314 is_zero &= (digit == 0); in bcd_add_mag()
2326 return is_zero; in bcd_add_mag()
/openbmc/qemu/
H A Dqemu-img.c1186 bool is_zero; in is_allocated_sectors() local
1193 is_zero = buffer_is_zero(buf, BDRV_SECTOR_SIZE); in is_allocated_sectors()
1196 if (is_zero != buffer_is_zero(buf, BDRV_SECTOR_SIZE)) { in is_allocated_sectors()
1207 return !is_zero; in is_allocated_sectors()
1212 if (is_zero && i <= tail) { in is_allocated_sectors()
1217 is_zero = false; in is_allocated_sectors()
1219 if (!is_zero) { in is_allocated_sectors()
1233 return !is_zero; in is_allocated_sectors()
/openbmc/linux/lib/
H A Dvsprintf.c465 bool is_zero = num == 0LL; in number() local
491 else if (!is_zero) in number()
533 if (spec.base == 16 || !is_zero) { in number()
/openbmc/qemu/block/
H A Dqcow2.c4017 is_zero(BlockDriverState *bs, int64_t offset, int64_t bytes) in is_zero() function
4070 if (!(is_zero(bs, offset - head, head) && in qcow2_co_pwrite_zeroes()
4071 is_zero(bs, offset + bytes, tail))) { in qcow2_co_pwrite_zeroes()
/openbmc/qemu/target/arm/tcg/
H A Dtranslate-a64.c3862 static bool do_STG(DisasContext *s, arg_ldst_tag *a, bool is_zero, bool is_pair) in do_STG() argument
3901 if (is_zero) { in do_STG()