Lines Matching refs:opt
334 let opt = FileOptions::default(); in complex_hierarchy() localVariable
335 zip.add_directory("a/b1", opt).unwrap(); in complex_hierarchy()
337 zip.start_file("a/b2/c1", opt).unwrap(); in complex_hierarchy()
339 zip.start_file("a/b2/c2/d1", opt).unwrap(); in complex_hierarchy()
340 zip.start_file("a/b2/c2/d2", opt).unwrap(); in complex_hierarchy()
341 zip.start_file("a/b2/c2/d3", opt).unwrap(); in complex_hierarchy()
343 zip.start_file("x/y1", opt).unwrap(); in complex_hierarchy()
344 zip.start_file("x/y2", opt).unwrap(); in complex_hierarchy()
345 zip.add_directory("x/y3", opt).unwrap(); in complex_hierarchy()
347 zip.start_file("foo", opt).unwrap(); in complex_hierarchy()
348 zip.start_file("bar", opt).unwrap(); in complex_hierarchy()
374 let opt = FileOptions::default(); in file_size() localVariable
375 zip.start_file("empty", opt).unwrap(); in file_size()
377 zip.start_file("10bytes", opt).unwrap(); in file_size()
380 zip.start_file("1234bytes", opt).unwrap(); in file_size()
383 zip.start_file("2^20bytes", opt).unwrap(); in file_size()