Home
last modified time | relevance | path

Searched refs:escapes (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/openat2/
H A Drename_attack_test.c89 int escapes = 0, other_errs = 0, exdevs = 0, eagains = 0, successes = 0; in test_rename_attack() local
123 escapes++; /* escaped outside and got ENOENT... */ in test_rename_attack()
130 escapes++; /* we got an unexpected fd */ in test_rename_attack()
135 if (escapes > 0) in test_rename_attack()
140 flagname(resolve), ROUNDS, escapes); in test_rename_attack()
/linux/rust/kernel/
H A Dstr.rs606 let escapes = BStr::from_bytes(b"_\t_\n_\r_\\_\'_\"_"); in test_bstr_display() localVariable
607 assert_eq!(format!("{}", escapes), "_\\t_\\n_\\r_\\_'_\"_"); in test_bstr_display()
620 let escapes = BStr::from_bytes(b"_\t_\n_\r_\\_\'_\"_"); in test_bstr_debug() localVariable
621 assert_eq!(format!("{:?}", escapes), "\"_\\t_\\n_\\r_\\\\_'_\\\"_\""); in test_bstr_debug()