Home
last modified time | relevance | path

Searched refs:volume_file (Results 1 – 25 of 39) sorted by relevance

12

/dports/misc/py-cinder/cinder-12.0.10/cinder/tests/unit/backup/drivers/
H A Dtest_backup_google.py149 self.volume_file.seek(0)
151 self.volume_file.seek(0)
176 self.volume_file.seek(0)
186 self.volume_file.seek(0)
213 self.volume_file.seek(0)
246 self.volume_file.seek(0)
258 self.volume_file.seek(0)
271 self.volume_file.seek(0)
283 self.volume_file.seek(0)
296 self.volume_file.seek(0)
[all …]
H A Dtest_backup_nfs.py184 self.volume_file.seek(0)
186 self.volume_file.seek(0)
221 self.volume_file.seek(0)
249 self.volume_file.seek(0)
271 self.volume_file.seek(0)
311 self.volume_file.seek(0)
341 self.volume_file.seek(0)
371 self.volume_file.seek(0)
383 self.volume_file.seek(0)
408 self.volume_file.seek(0)
[all …]
H A Dtest_backup_swift.py97 self.volume_file.seek(0)
99 self.volume_file.seek(0)
306 self.volume_file.seek(0)
334 self.volume_file.seek(0)
347 self.volume_file.seek(0)
363 self.volume_file.seek(0)
386 self.volume_file.seek(0)
398 self.volume_file.seek(0)
411 self.volume_file.seek(0)
423 self.volume_file.seek(0)
[all …]
H A Dtest_backup_tsm.py280 with open(VOLUME_PATH, 'w+') as volume_file:
283 self.driver.backup(backup1, volume_file)
285 self.driver.backup(backup2, volume_file)
294 self.driver.restore(backup1, volume_id, volume_file)
295 self.driver.restore(backup2, volume_id, volume_file)
310 with open(VOLUME_PATH, 'w+') as volume_file:
313 self.driver.backup(backup1, volume_file)
315 self.driver.backup(backup2, volume_file)
325 self.driver.restore(backup1, volume_id, volume_file)
340 with open(VOLUME_PATH, 'w+') as volume_file:
[all …]
H A Dtest_backup_ceph.py189 self.volume_file.write(data)
191 self.volume_file.seek(0)
316 self.volume_file.seek(offset)
323 self.volume_file.seek(0)
340 self.volume_file.seek(offset)
355 self.volume_file.seek(0)
376 self.volume_file.seek(0)
389 self.volume_file.seek(0)
448 self.volume_file.seek(0)
601 self.volume_file.seek(0)
[all …]
/dports/archivers/lxqt-archiver/lxqt-archiver-0.5.0/src/core/
H A Drar-utils.c123 GFile *volume_file; in rar_check_multi_volume() local
126 volume_file = g_file_get_child (parent, volume_name); in rar_check_multi_volume()
127 fr_command_set_multi_volume (comm, volume_file); in rar_check_multi_volume()
129 g_object_unref (volume_file); in rar_check_multi_volume()
H A Dfr-command-7z.c296 GFile *volume_file; in process_line__add() local
299 volume_file = g_file_new_for_path (volume_filename); in process_line__add()
300 fr_command_set_multi_volume (comm, volume_file); in process_line__add()
302 g_object_unref (volume_file); in process_line__add()
H A Dfr-command-rar.c434 GFile *volume_file; in process_line__add() local
438 volume_file = g_file_new_for_path (volume_filename); in process_line__add()
439 fr_command_set_multi_volume (comm, volume_file); in process_line__add()
441 g_object_unref (volume_file); in process_line__add()
/dports/archivers/file-roller/file-roller-3.40.0/src/
H A Drar-utils.c124 GFile *volume_file; in rar_check_multi_volume() local
127 volume_file = g_file_get_child (parent, volume_name); in rar_check_multi_volume()
128 fr_archive_set_multi_volume (FR_ARCHIVE (comm), volume_file); in rar_check_multi_volume()
130 g_object_unref (volume_file); in rar_check_multi_volume()
/dports/archivers/engrampa/engrampa-1.26.0/src/
H A Drar-utils.c123 GFile *volume_file; in rar_check_multi_volume() local
126 volume_file = g_file_get_child (parent, volume_name); in rar_check_multi_volume()
127 fr_command_set_multi_volume (comm, volume_file); in rar_check_multi_volume()
129 g_object_unref (volume_file); in rar_check_multi_volume()
H A Dfr-command-rar.c434 GFile *volume_file; in process_line__add() local
438 volume_file = g_file_new_for_path (volume_filename); in process_line__add()
439 fr_command_set_multi_volume (comm, volume_file); in process_line__add()
441 g_object_unref (volume_file); in process_line__add()
/dports/misc/py-cinder/cinder-12.0.10/cinder/backup/drivers/
H A Dceph.py648 rbd_user = volume_file.rbd_user
649 rbd_pool = volume_file.rbd_pool
650 rbd_conf = volume_file.rbd_conf
742 def _file_is_rbd(self, volume_file): argument
744 return hasattr(volume_file, 'rbd_image')
924 volume_file.seek(0)
928 if self._file_is_rbd(volume_file):
1140 if self._file_is_rbd(volume_file):
1169 def _restore_volume(self, backup, volume, volume_file): argument
1223 def restore(self, backup, volume_id, volume_file): argument
[all …]
H A Dtsm.py190 def _get_volume_realpath(volume_file, volume_id): argument
205 volume_path = os.path.realpath(volume_file.name)
226 'path': volume_file})
357 def backup(self, backup, volume_file, backup_metadata=False): argument
376 volume_path, backup_mode = _get_volume_realpath(volume_file,
424 def restore(self, backup, volume_id, volume_file): argument
446 volume_path, unused = _get_volume_realpath(volume_file,
/dports/archivers/unshield/unshield-1.4.3/lib/
H A Dfile.c301 FILE* volume_file; member
319 FCLOSE(reader->volume_file); in unshield_reader_open_volume()
322 if (!reader->volume_file) in unshield_reader_open_volume()
333 fread(&tmp, 1, COMMON_HEADER_SIZE, reader->volume_file)) in unshield_reader_open_volume()
351 fread(&five_header, 1, VOLUME_HEADER_SIZE_V5, reader->volume_file)) in unshield_reader_open_volume()
388 fread(&six_header, 1, VOLUME_HEADER_SIZE_V6, reader->volume_file)) in unshield_reader_open_volume()
490 fseek(reader->volume_file, data_offset, SEEK_SET); in unshield_reader_open_volume()
536 bytes_to_read, ftell(reader->volume_file), reader->volume); in unshield_reader_read()
544 if (bytes_to_read != fread(p, 1, bytes_to_read, reader->volume_file)) in unshield_reader_read()
549 ftell(reader->volume_file)); in unshield_reader_read()
[all …]
/dports/devel/py-glance-store/glance_store-2.7.0/glance_store/tests/unit/
H A Dtest_multistore_cinder.py443 volume_file = six.BytesIO(expected_file_contents)
455 yield volume_file
515 def _test_cinder_add(self, fake_volume, volume_file, size_kb=5, argument
532 yield volume_file
560 volume_file = six.BytesIO()
561 self._test_cinder_add(fake_volume, volume_file)
567 volume_file = six.BytesIO()
569 self._test_cinder_add(fake_volume, volume_file, 1, verifier)
574 volume_file = six.BytesIO()
579 with mock.patch.object(volume_file, 'write', side_effect=e):
[all …]
H A Dtest_cinder_store.py330 volume_file = six.BytesIO(expected_file_contents)
342 yield volume_file
396 def _test_cinder_add(self, fake_volume, volume_file, size_kb=5, argument
414 yield volume_file
440 volume_file = six.BytesIO()
441 self._test_cinder_add(fake_volume, volume_file)
447 volume_file = six.BytesIO()
449 self._test_cinder_add(fake_volume, volume_file, 1, verifier)
454 volume_file = six.BytesIO()
459 with mock.patch.object(volume_file, 'write', side_effect=e):
[all …]
/dports/misc/py-cinder/cinder-12.0.10/cinder/backup/
H A Dchunkeddriver.py475 def backup(self, backup, volume_file, backup_metadata=True): argument
548 data_offset = volume_file.tell()
549 data = volume_file.read(self.chunk_size_bytes)
626 def _restore_v1(self, backup, volume_id, metadata, volume_file): argument
665 volume_file.seek(obj['offset'])
670 volume_file.write(decompressed)
672 volume_file.write(body)
675 volume_file.flush()
679 fileno = volume_file.fileno()
693 def restore(self, backup, volume_id, volume_file): argument
[all …]
/dports/misc/py-cinder/cinder-12.0.10/cinder/tests/unit/backup/
H A Dfake_service.py23 def backup(self, backup, volume_file): argument
26 def restore(self, backup, volume_id, volume_file): argument
/dports/misc/py-cinder/cinder-12.0.10/cinder/interface/
H A Dbackup_driver.py51 def backup(self, backup, volume_file, backup_metadata=False): argument
91 def restore(self, backup, volume_id, volume_file): argument
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/gpu/kinfu/tools/
H A Drecord_tsdfvolume.cpp64 std::string volume_file = "tsdf_volume.dat"; variable
347 pc::print_value ("%s", volume_file.c_str()); pc::print_info (")\n"); in printUsage()
349 pc::print_value ("0 (false)", volume_file.c_str()); pc::print_info (")\n"); in printUsage()
380 pc::parse_argument (argc, argv, "-vf", volume_file); in main()
504 if (!volume->save (volume_file, true)) in main()
505 pc::print_error ("Cloudn't save the volume to file %s.\n", volume_file.c_str()); in main()
508 std::string tsdf_cloud_file (pcl::getFilenameWithoutExtension(volume_file) + "_cloud.pcd"); in main()
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/gpu/kinfu_large_scale/tools/
H A Drecord_tsdfvolume.cpp62 std::string volume_file = "tsdf_volume.dat"; variable
345 pc::print_value ("%s", volume_file.c_str()); pc::print_info (")\n"); in printUsage()
347 pc::print_value ("0 (false)", volume_file.c_str()); pc::print_info (")\n"); in printUsage()
378 pc::parse_argument (argc, argv, "-vf", volume_file); in main()
502 if (!volume->save (volume_file, true)) in main()
503 pc::print_error ("Cloudn't save the volume to file %s.\n", volume_file.c_str()); in main()
506 std::string tsdf_cloud_file (pcl::getFilenameWithoutExtension(volume_file) + "_cloud.pcd"); in main()
/dports/science/gromacs/gromacs-2021.4/tests/physicalvalidation/physical_validation/data/
H A Dflatfile_parser.py46 total_ene_file=None, volume_file=None, argument
121 'volume': volume_file,
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/MINC/src/libminc/volume_io/Volumes/
H A Dinput_free.c305 &volume_input->volume_file ); in initialize_free_format_input()
333 status = close_file( volume_input->volume_file ); in initialize_free_format_input()
339 &volume_input->volume_file ); in initialize_free_format_input()
390 (void) close_file( volume_input->volume_file ); in delete_free_format_input()
432 file = volume_input->volume_file; in input_slice()
H A Dinput_mgh.c116 znzFile fp = (znzFile) in_ptr->volume_file; in input_next_slice()
333 znzFile fp = (znzFile) in_ptr->volume_file; in mgh_scan_for_voxel_range()
596 in_ptr->volume_file = (FILE *) fp; in initialize_mgh_format_input()
619 znzFile fp = (znzFile) in_ptr->volume_file; in delete_mgh_format_input()
/dports/science/minc2/minc-release-2.2.00/volume_io/Volumes/
H A Dinput_free.c297 &volume_input->volume_file ); in initialize_free_format_input()
325 status = close_file( volume_input->volume_file ); in initialize_free_format_input()
331 &volume_input->volume_file ); in initialize_free_format_input()
382 (void) close_file( volume_input->volume_file ); in delete_free_format_input()
424 file = volume_input->volume_file; in input_slice()

12