Lines Matching refs:opt
357 let opt = FileOptions::default(); in complex_hierarchy() localVariable
358 zip.add_directory("a/b1", opt).unwrap(); in complex_hierarchy()
360 zip.start_file("a/b2/c1", opt).unwrap(); in complex_hierarchy()
362 zip.start_file("a/b2/c2/d1", opt).unwrap(); in complex_hierarchy()
363 zip.start_file("a/b2/c2/d2", opt).unwrap(); in complex_hierarchy()
364 zip.start_file("a/b2/c2/d3", opt).unwrap(); in complex_hierarchy()
366 zip.start_file("x/y1", opt).unwrap(); in complex_hierarchy()
367 zip.start_file("x/y2", opt).unwrap(); in complex_hierarchy()
368 zip.add_directory("x/y3", opt).unwrap(); in complex_hierarchy()
370 zip.start_file("foo", opt).unwrap(); in complex_hierarchy()
371 zip.start_file("bar", opt).unwrap(); in complex_hierarchy()
397 let opt = FileOptions::default(); in file_size() localVariable
398 zip.start_file("empty", opt).unwrap(); in file_size()
400 zip.start_file("10bytes", opt).unwrap(); in file_size()
403 zip.start_file("1234bytes", opt).unwrap(); in file_size()
406 zip.start_file("2^20bytes", opt).unwrap(); in file_size()