Searched refs:assert_eq (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/arch/arm64/kvm/hyp/nvhe/ |
A D | gen-hyprel.c | 189 #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 D | module.rs | 107 assert_eq!(expect_punct(it), ':'); in parse() 122 assert_eq!(expect_punct(it), ','); in parse()
|
A D | concat_idents.rs | 18 assert_eq!(expect_punct(&mut it), ','); in concat_idents()
|
/linux-6.3-rc2/rust/kernel/ |
A D | str.rs | 357 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 D | coding-guidelines.rst | 121 /// assert_eq!(unsafe { x.unwrap_unchecked() }, "air");
|
/linux-6.3-rc2/Documentation/rust/ |
A D | coding-guidelines.rst | 134 /// assert_eq!(unsafe { x.unwrap_unchecked() }, "air");
|
Completed in 9 milliseconds