Home
last modified time | relevance | path

Searched refs:assert_eq (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/arch/arm64/kvm/hyp/nvhe/
H 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()
/kernel/linux/linux-6.6/rust/macros/
H A Dmodule.rs9 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()
H A Dconcat_idents.rs18 assert_eq!(expect_punct(&mut it), ',');
/kernel/linux/linux-6.6/rust/kernel/
H A Dstr.rs175 /// assert_eq!(cstr.to_str(), Ok("foo"));
197 /// assert_eq!(unsafe { bar.as_str_unchecked() }, "ツ");
221 /// assert_eq!(s.as_bytes_with_nul(), "\\xf0\\x9f\\x90\\xa7\0".as_bytes());
225 /// assert_eq!(s.as_bytes_with_nul(), "so \"cool\"\0".as_bytes());
250 /// assert_eq!(s.as_bytes_with_nul(), "\"\\xf0\\x9f\\x90\\xa7\"\0".as_bytes());
255 /// assert_eq!(s.as_bytes_with_nul(), "\"so \\\"cool\\\"\"\0".as_bytes());
366 assert_eq!(checked_str, "?"); in test_cstr_to_str()
382 assert_eq!(unchecked_str, "?"); in test_cstr_as_str_unchecked()
537 /// assert_eq!(s.as_bytes_with_nul(), "abc1020\0".as_bytes());
541 /// assert_eq!(
[all...]

Completed in 3 milliseconds