• Home
  • Raw
  • Download

Lines Matching refs:write_file

53 def write_file(path, content, binary=False):  function
116 write_file(os.path.join(victim, 'somefile'), 'foo')
149 write_file(file1, 'foo')
171 write_file((tmpdir, "tstfile"), "")
268 write_file((TESTFN, 'foo'), 'foo')
281 write_file(src, 'foo')
282 write_file(dst, 'foo')
314 write_file(src, 'foo')
315 write_file(dst, 'foo')
344 write_file(src, 'foo')
345 write_file(dst, 'foo')
357 write_file(src, 'foo')
361 write_file(dst, 'bar')
399 write_file(file1, 'xxx')
400 write_file(file2, 'xxx')
424 write_file(src, 'foo')
426 write_file(dst, 'bar')
440 write_file(dst, 'bar')
469 write_file(src, src)
472 write_file(dst, dst)
487 write_file(src, 'foo')
493 write_file(dst, 'bar')
507 write_file(src, 'foo')
530 write_file(src, 'foo')
564 write_file(src, 'foo')
579 write_file(src, 'foo')
625 write_file((src_dir, 'test.txt'), '123')
627 write_file((src_dir, 'test_dir', 'test.txt'), '456')
647 write_file((src_dir, 'file.txt'), 'foo')
674 write_file((src_dir, 'test.txt'), '123')
675 write_file((src_dir, 'test.tmp'), '123')
677 write_file((src_dir, 'test_dir', 'test.txt'), '456')
679 write_file((src_dir, 'test_dir2', 'test.txt'), '456')
682 write_file((src_dir, 'test_dir2', 'subdir', 'test.txt'), '456')
683 write_file((src_dir, 'test_dir2', 'subdir2', 'test.py'), '456')
740 write_file((src_dir, 'permissive.txt'), '123')
742 write_file((src_dir, 'restrictive.txt'), '456')
865 write_file((src_dir, 'test.txt'), '123')
867 write_file((src_dir, 'test_dir', 'test.txt'), '456')
884 write_file((src_dir, 'test_dir', 'test.txt'), '456')
920 write_file((tmpdir, fname), 'xxx')
999 write_file((dist, 'file1'), 'xxx')
1000 write_file((dist, 'file2'), 'xxx')
1002 write_file((dist, 'sub', 'file3'), 'xxx')
1005 write_file((root_dir, 'outer'), 'xxx')
1311 write_file(filename, 'testing chown function')
1369 write_file(src, 'foo')
1381 write_file(src_file, 'foo')
1391 write_file(src_file, 'foo')
1402 write_file(src, 'foo')