Lines Matching refs:opt
561 let opt = FileOptions::default(); in complex_hierarchy() localVariable
562 zip.add_directory("a/b1", opt).unwrap(); in complex_hierarchy()
564 zip.start_file("a/b2/c1", opt).unwrap(); in complex_hierarchy()
566 zip.start_file("a/b2/c2/d1", opt).unwrap(); in complex_hierarchy()
567 zip.start_file("a/b2/c2/d2", opt).unwrap(); in complex_hierarchy()
568 zip.start_file("a/b2/c2/d3", opt).unwrap(); in complex_hierarchy()
570 zip.start_file("x/y1", opt).unwrap(); in complex_hierarchy()
571 zip.start_file("x/y2", opt).unwrap(); in complex_hierarchy()
572 zip.add_directory("x/y3", opt).unwrap(); in complex_hierarchy()
574 zip.start_file("foo", opt).unwrap(); in complex_hierarchy()
575 zip.start_file("bar", opt).unwrap(); in complex_hierarchy()
617 let opt = FileOptions::default(); in large_dir() localVariable
621 zip.start_file(format!("dir/{:0100}", i), opt).unwrap(); in large_dir()