Searched refs:assert_eq (Results 1 – 7 of 7) sorted by relevance
| /Linux-v6.6/arch/arm64/kvm/hyp/nvhe/ |
| 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-v6.6/rust/macros/ |
| D | module.rs | 9 assert_eq!(group.delimiter(), Delimiter::Bracket); in expect_string_array() 17 Some(TokenTree::Punct(punct)) => assert_eq!(punct.as_char(), ','), in expect_string_array() 125 assert_eq!(expect_punct(it), ':'); in parse() 140 assert_eq!(expect_punct(it), ','); in parse()
|
| D | concat_idents.rs | 18 assert_eq!(expect_punct(&mut it), ','); in concat_idents()
|
| D | zeroable.rs | 59 assert_eq!(nested, 0); in derive()
|
| /Linux-v6.6/rust/kernel/ |
| D | str.rs | 366 assert_eq!(checked_str, ""); in test_cstr_to_str() 382 assert_eq!(unchecked_str, ""); in test_cstr_as_str_unchecked()
|
| /Linux-v6.6/Documentation/translations/zh_CN/rust/ |
| D | coding-guidelines.rst | 121 /// assert_eq!(unsafe { x.unwrap_unchecked() }, "air");
|
| /Linux-v6.6/Documentation/rust/ |
| D | coding-guidelines.rst | 134 /// assert_eq!(unsafe { x.unwrap_unchecked() }, "air");
|