Lines Matching refs:src
92 for src in ENCODINGS { in roundtrip()
94 test_roundtrip(&engine, src, dst)?; in roundtrip()
101 fn test_roundtrip(engine: &Engine, src: &str, dst: &str) -> Result<()> { in test_roundtrip()
132 let src = mk_echo("$src", src); in test_roundtrip() localVariable
198 for src in ENCODINGS { in ptr_out_of_bounds()
200 test_ptr_out_of_bounds(&engine, src, dst)?; in ptr_out_of_bounds()
206 fn test_ptr_out_of_bounds(engine: &Engine, src: &str, dst: &str) -> Result<()> { in test_ptr_out_of_bounds()
267 for src in ENCODINGS { in ptr_overflow()
269 test_ptr_overflow(&engine, src, dst)?; in ptr_overflow()
275 fn test_ptr_overflow(engine: &Engine, src: &str, dst: &str) -> Result<()> { in test_ptr_overflow()
332 match src { in test_ptr_overflow()
372 for src in ENCODINGS { in realloc_oob()
374 test_realloc_oob(&engine, src, dst)?; in realloc_oob()
380 fn test_realloc_oob(engine: &Engine, src: &str, dst: &str) -> Result<()> { in test_realloc_oob()
494 src: &str, in test_invalid_string_encoding()
499 let trap = test_raw_when_encoded(engine, src, dst, bytes, len)?.unwrap(); in test_invalid_string_encoding()
500 let src = src.replace("latin1+", ""); in test_invalid_string_encoding() localVariable
510 src: &str, in test_valid_string_encoding()
515 let err = test_raw_when_encoded(engine, src, dst, bytes, len)?; in test_valid_string_encoding()
522 src: &str, in test_raw_when_encoded()