Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/io/ltp-aiodio/
Dcommon_sparse.h107 char *badbuf; in read_sparse() local
116 if ((badbuf = check_zero(buf, r))) { in read_sparse()
118 (unsigned int)(offset + badbuf - buf)); in read_sparse()
/third_party/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs383 let mut badbuf = b.finished_data().to_vec(); in verifier_one_byte_errors_do_not_crash() localVariable
395 for i in 0..badbuf.len() { in verifier_one_byte_errors_do_not_crash()
396 let orig = badbuf[i]; in verifier_one_byte_errors_do_not_crash()
397 badbuf[i] = badbuf[i].wrapping_add(d); in verifier_one_byte_errors_do_not_crash()
398 if let Ok(m) = flatbuffers::root::<my_game::example::Monster>(&badbuf) { in verifier_one_byte_errors_do_not_crash()
401 badbuf[i] = orig; in verifier_one_byte_errors_do_not_crash()