Home
last modified time | relevance | path

Searched refs:assert_eq (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/arch/arm64/kvm/hyp/nvhe/
A Dgen-hyprel.c189 #define assert_eq(lhs, rhs, fmt) assert_op(lhs, rhs, fmt, ==) macro
280 assert_eq(elf.ehdr->e_ident[EI_MAG0], ELFMAG0, "0x%x"); in init_elf()
281 assert_eq(elf.ehdr->e_ident[EI_MAG1], ELFMAG1, "0x%x"); in init_elf()
282 assert_eq(elf.ehdr->e_ident[EI_MAG2], ELFMAG2, "0x%x"); in init_elf()
283 assert_eq(elf.ehdr->e_ident[EI_MAG3], ELFMAG3, "0x%x"); in init_elf()
286 assert_eq(elf.ehdr->e_ident[EI_CLASS], ELFCLASS64, "%u"); in init_elf()
287 assert_eq(elf.ehdr->e_ident[EI_DATA], ELFENDIAN, "%u"); in init_elf()
288 assert_eq(elf16toh(elf.ehdr->e_type), ET_REL, "%u"); in init_elf()
289 assert_eq(elf16toh(elf.ehdr->e_machine), EM_AARCH64, "%u"); in init_elf()
/linux-6.3-rc2/rust/macros/
A Dmodule.rs107 assert_eq!(expect_punct(it), ':'); in parse()
122 assert_eq!(expect_punct(it), ','); in parse()
A Dconcat_idents.rs18 assert_eq!(expect_punct(&mut it), ','); in concat_idents()
/linux-6.3-rc2/rust/kernel/
A Dstr.rs357 assert_eq!(checked_str, "��"); in test_cstr_to_str()
373 assert_eq!(unchecked_str, "��"); in test_cstr_as_str_unchecked()
/linux-6.3-rc2/Documentation/translations/zh_CN/rust/
A Dcoding-guidelines.rst121 /// assert_eq!(unsafe { x.unwrap_unchecked() }, "air");
/linux-6.3-rc2/Documentation/rust/
A Dcoding-guidelines.rst134 /// assert_eq!(unsafe { x.unwrap_unchecked() }, "air");

Completed in 9 milliseconds