Home
last modified time | relevance | path

Searched refs:volInfo (Results 1 – 25 of 46) sorted by relevance

12

/dports/sysutils/isomaster/isomaster-1.3.16/bk/
H A DbkRead.c109 readSeekSet(volInfo, volInfo->pRootDrOffset, SEEK_SET); in bk_read_dir_tree()
111 readSeekSet(volInfo, volInfo->sRootDrOffset, SEEK_SET); in bk_read_dir_tree()
113 return readDir(volInfo, &(volInfo->dirTree), in bk_read_dir_tree()
162 rc = readRead(volInfo, volInfo->volId, 32); in bk_read_vol_info()
171 volInfo->pRootDrOffset = readSeekTell(volInfo); in bk_read_vol_info()
209 readSeekSet(volInfo, volInfo->pRootDrOffset, SEEK_SET); in bk_read_vol_info()
214 rc = readRead(volInfo, volInfo->publisher, 128); in bk_read_vol_info()
220 rc = readRead(volInfo, volInfo->dataPreparer, 128); in bk_read_vol_info()
381 volInfo->sRootDrOffset = readSeekTell(volInfo); in bk_read_vol_info()
497 if(volInfo->rootRead) in readDir()
[all …]
H A DbkWrite.c69 volInfo->estimatedIsoSize = bk_estimate_iso_size(volInfo, filenameTypes); in bk_write_image()
162 rc = writeElToritoBootCatalog(volInfo, &(volInfo->bootRecordSectorNumberOffset)); in bk_write_image()
185 bkSeekSet(volInfo->imageForReading, volInfo->bootRecordOffset, SEEK_SET); in bk_write_image()
203 wcSeekSet(volInfo, volInfo->bootRecordSectorNumberOffset); in bk_write_image()
218 rc = writeByteBlockFromFile(srcFile, volInfo, volInfo->bootRecordSize); in bk_write_image()
571 rc = wcWrite(volInfo, volInfo->readWriteBuffer, READ_WRITE_BUFFER_SIZE); in writeByteBlock()
578 rc = wcWrite(volInfo, volInfo->readWriteBuffer, sizeLastBlock); in writeByteBlock()
608 rc = wcWrite(volInfo, volInfo->readWriteBuffer, READ_WRITE_BUFFER_SIZE); in writeByteBlockFromFile()
618 rc = wcWrite(volInfo, volInfo->readWriteBuffer, sizeLastBlock); in writeByteBlockFromFile()
1286 wcSeekSet(volInfo, volInfo->bootRecordSectorNumberOffset); in writeFileContents()
[all …]
H A DbkSet.c26 void bk_cancel_operation(VolInfo* volInfo) in bk_cancel_operation() argument
28 volInfo->stopOperation = true; in bk_cancel_operation()
37 void bk_destroy_vol_info(VolInfo* volInfo) in bk_destroy_vol_info() argument
42 deleteDirContents(volInfo, &(volInfo->dirTree)); in bk_destroy_vol_info()
47 if(volInfo->imageForReading > 0) in bk_destroy_vol_info()
48 bkClose(volInfo->imageForReading); in bk_destroy_vol_info()
50 currentLink = volInfo->fileLocations; in bk_destroy_vol_info()
65 memset(volInfo, 0, sizeof(VolInfo)); in bk_init_vol_info()
68 volInfo->posixFileDefaults = 0100644; in bk_init_vol_info()
69 volInfo->posixDirDefaults = 040755; in bk_init_vol_info()
[all …]
H A DbkExtract.c54 if(volInfo->bootRecordIsVisible) in bk_extract_boot_record()
60 readSeekSet(volInfo, volInfo->bootRecordOnImage->position, SEEK_SET); in bk_extract_boot_record()
77 readSeekSet(volInfo, volInfo->bootRecordOffset, SEEK_SET); in bk_extract_boot_record()
99 rc = copyByteBlock(volInfo, srcFile, destFile, volInfo->bootRecordSize); in bk_extract_boot_record()
129 volInfo->stopOperation = false; in bk_extract_as()
177 maybeUpdateProgress(volInfo); in copyByteBlock()
178 if(volInfo->stopOperation) in copyByteBlock()
184 if(volInfo->stopOperation) in copyByteBlock()
227 if(volInfo->stopOperation) in extract()
258 if(volInfo->warningCbk != NULL && !volInfo->stopOperation) in extract()
[all …]
H A Dbk.h225 int bk_add(VolInfo* volInfo, const char* srcPathAndName,
234 void bk_delete_boot_record(VolInfo* volInfo);
235 int bk_delete(VolInfo* volInfo, const char* pathAndName);
249 time_t bk_get_creation_time(const VolInfo* volInfo);
254 const char* bk_get_publisher(const VolInfo* volInfo);
255 const char* bk_get_volume_name(const VolInfo* volInfo);
259 void bk_cancel_operation(VolInfo* volInfo);
260 void bk_destroy_vol_info(VolInfo* volInfo);
272 int bk_open_image(VolInfo* volInfo, const char* filename);
273 int bk_read_dir_tree(VolInfo* volInfo, int filenameType,
[all …]
H A DbkWrite.h9 int writeByteBlockFromFile(int src, VolInfo* volInfo, unsigned numBytes);
10 int writeDir(VolInfo* volInfo, DirToWrite* dir, int parentLbNum,
15 int writeElToritoBootCatalog(VolInfo* volInfo,
20 int writeLongNM(VolInfo* volInfo, BaseToWrite* dir);
21 int writeLongNMsInDir(VolInfo* volInfo, DirToWrite* dir);
28 int writeRockER(VolInfo* volInfo);
30 int writeRockPX(VolInfo* volInfo, unsigned posixFileMode, bool isADir);
32 int writeRockSP(VolInfo* volInfo);
33 int writeVdsetTerminator(VolInfo* volInfo);
34 int writeVolDescriptor(VolInfo* volInfo, bk_off_t rootDrLocation,
[all …]
H A DbkDelete.c31 void bk_delete_boot_record(VolInfo* volInfo) in bk_delete_boot_record() argument
33 volInfo->bootMediaType = BOOT_MEDIA_NONE; in bk_delete_boot_record()
35 if(volInfo->bootRecordPathAndName != NULL) in bk_delete_boot_record()
37 free(volInfo->bootRecordPathAndName); in bk_delete_boot_record()
38 volInfo->bootRecordPathAndName = NULL; in bk_delete_boot_record()
117 void deleteDirContents(VolInfo* volInfo, BkDir* dir) in deleteDirContents() argument
127 deleteNode(volInfo, dir, child->name); in deleteDirContents()
140 if(volInfo->bootMediaType != BOOT_MEDIA_NONE && in deleteRegFileContents()
143 if(volInfo->bootRecordIsVisible && in deleteRegFileContents()
144 volInfo->bootRecordOnImage == file) in deleteRegFileContents()
[all …]
H A DbkCache.c32 int wcSeekForward(VolInfo* volInfo, bk_off_t numBytes) in wcSeekForward() argument
34 bkSeekSet(volInfo->imageForWriting, numBytes, SEEK_CUR); in wcSeekForward()
39 int wcSeekSet(VolInfo* volInfo, bk_off_t position) in wcSeekSet() argument
41 bkSeekSet(volInfo->imageForWriting, position, SEEK_SET); in wcSeekSet()
46 bk_off_t wcSeekTell(VolInfo* volInfo) in wcSeekTell() argument
48 return bkSeekTell(volInfo->imageForWriting); in wcSeekTell()
54 rc = bkWrite(volInfo->imageForWriting, block, numBytes); in wcWrite()
58 if(volInfo->writeProgressFunction != NULL) in wcWrite()
69 bkFstat(volInfo->imageForWriting, &statStruct); in wcWrite()
79 volInfo->writeProgressFunction(volInfo, percentComplete); in wcWrite()
[all …]
H A Dexample.c14 void addProgressUpdaterCbk(VolInfo* volInfo);
17 void readProgressUpdaterCbk(VolInfo* volInfo);
23 VolInfo volInfo; in main() local
32 rc = bk_init_vol_info(&volInfo, true); in main()
37 rc = bk_open_image(&volInfo, argc[1]); in main()
42 rc = bk_read_vol_info(&volInfo); in main()
47 if(volInfo.filenameTypes & FNTYPE_ROCKRIDGE) in main()
49 else if(volInfo.filenameTypes & FNTYPE_JOLIET) in main()
71 bk_destroy_vol_info(&volInfo); in main()
77 void addProgressUpdaterCbk(VolInfo* volInfo) in addProgressUpdaterCbk() argument
[all …]
H A DbkAdd.c41 if(volInfo->stopOperation) in add()
44 maybeUpdateProgress(volInfo); in add()
68 if(volInfo->followSymLinks) in add()
133 if( volInfo->scanForDuplicateFiles) in add()
252 if(volInfo->warningCbk != NULL && !volInfo->stopOperation) in addDirContents()
259 goOn = volInfo->warningCbk(volInfo->warningMessage); in addDirContents()
334 volInfo->stopOperation = false; in bk_add_as()
379 volInfo->bootMediaType = bootMediaType; in bk_add_boot_record()
383 volInfo->bootRecordIsOnImage = false; in bk_add_boot_record()
387 free(volInfo->bootRecordPathAndName); in bk_add_boot_record()
[all …]
H A DbkLink.c46 (*newLink)->next = volInfo->fileLocations; in addToHardLinkTable()
58 volInfo->fileLocations = *newLink; in addToHardLinkTable()
65 int filesAreSame(VolInfo* volInfo, int file1, bk_off_t posFile1, in filesAreSame() argument
100 if( memcmp(volInfo->readWriteBuffer, volInfo->readWriteBuffer2, in filesAreSame()
120 if(memcmp(volInfo->readWriteBuffer, volInfo->readWriteBuffer2, sizeLastBlock) != 0) in filesAreSame()
134 int findInHardLinkTable(VolInfo* volInfo, bk_off_t position, in findInHardLinkTable() argument
154 currentLink = volInfo->fileLocations; in findInHardLinkTable()
171 origFile = volInfo->imageForReading; in findInHardLinkTable()
187 newFile = volInfo->imageForReading; in findInHardLinkTable()
239 srcFile = volInfo->imageForReading; in readFileHead()
[all …]
H A DbkWrite7x.c25 int write711(VolInfo* volInfo, unsigned char value) in write711() argument
27 return wcWrite(volInfo, (char*)&value, 1); in write711()
30 int write721(VolInfo* volInfo, unsigned short value) in write721() argument
45 int write722(VolInfo* volInfo, unsigned short value) in write722() argument
52 return wcWrite(volInfo, preparedValue, 2); in write722()
64 return wcWrite(volInfo, preparedValue, 4); in write723()
67 int write731(VolInfo* volInfo, unsigned value) in write731() argument
84 int write732(VolInfo* volInfo, unsigned value) in write732() argument
93 return wcWrite(volInfo, preparedValue, 4); in write732()
96 int write733(VolInfo* volInfo, unsigned value) in write733() argument
[all …]
H A DbkRead.h3 int dirDrFollows(VolInfo* volInfo);
4 bool haveNextRecordInSector(VolInfo* volInfo);
5 int readDir(VolInfo* volInfo, BkDir* dir, int filenameType,
7 int readDirContents(VolInfo* volInfo, BkDir* dir, unsigned size,
9 int readFileInfo(VolInfo* volInfo, BkFile* file, int filenameType,
12 int readPosixFileMode(VolInfo* volInfo, unsigned* posixPermissions,
14 int readRockridgeFilename(VolInfo* volInfo, char* dest, int lenSU,
16 int readRockridgeSymlink(VolInfo* volInfo, BkSymLink** dest, int lenSU);
18 int skipDR(VolInfo* volInfo);
H A DbkGet.c30 bk_off_t bk_estimate_iso_size(const VolInfo* volInfo, int filenameTypes) in bk_estimate_iso_size() argument
34 currentLink = volInfo->fileLocations; in bk_estimate_iso_size()
42 return estimateIsoSize(&(volInfo->dirTree), filenameTypes); in bk_estimate_iso_size()
49 time_t bk_get_creation_time(const VolInfo* volInfo) in bk_get_creation_time() argument
51 return volInfo->creationTime; in bk_get_creation_time()
62 return getDirFromString(&(volInfo->dirTree), pathStr, dirFoundPtr); in bk_get_dir_from_string()
70 int bk_get_permissions(VolInfo* volInfo, const char* pathAndName, in bk_get_permissions() argument
105 const char* bk_get_publisher(const VolInfo* volInfo) in bk_get_publisher() argument
107 return volInfo->publisher; in bk_get_publisher()
115 const char* bk_get_volume_name(const VolInfo* volInfo) in bk_get_volume_name() argument
[all …]
H A DbkMisc.c20 void maybeUpdateProgress(VolInfo* volInfo) in maybeUpdateProgress() argument
24 if(volInfo->progressFunction == NULL) in maybeUpdateProgress()
29 if(timeNow.tv_sec - volInfo->lastTimeCalledProgress.tv_sec >= 1 || in maybeUpdateProgress()
30 timeNow.tv_usec - volInfo->lastTimeCalledProgress.tv_usec >= 100000) in maybeUpdateProgress()
32 volInfo->progressFunction(volInfo); in maybeUpdateProgress()
34 volInfo->lastTimeCalledProgress = timeNow; in maybeUpdateProgress()
H A DbkRead7x.c21 int read711(VolInfo* volInfo, unsigned char* value) in read711() argument
23 return readRead(volInfo, value, 1); in read711()
26 int read721(VolInfo* volInfo, unsigned short* value) in read721() argument
31 rc = readRead(volInfo, array, 2); in read721()
42 int read731(VolInfo* volInfo, unsigned* value) in read731() argument
47 rc = readRead(volInfo, array, 4); in read731()
62 int read733(VolInfo* volInfo, unsigned* value) in read733() argument
67 rc = readRead(volInfo, both, 8); in read733()
H A DbkWrite7x.h8 int write711(VolInfo* volInfo, unsigned char value);
9 int write721(VolInfo* volInfo, unsigned short value);
11 int write722(VolInfo* volInfo, unsigned short value);
12 int write723(VolInfo* volInfo, unsigned short value);
13 int write731(VolInfo* volInfo, unsigned value);
15 int write732(VolInfo* volInfo, unsigned value);
16 int write733(VolInfo* volInfo, unsigned value);
H A DbkIoWrappers.c63 size_t readRead(VolInfo* volInfo, void* dest, size_t numBytes) in readRead() argument
65 return read(volInfo->imageForReading, dest, numBytes); in readRead()
72 bk_off_t readSeekSet(VolInfo* volInfo, bk_off_t offset, int origin) in readSeekSet() argument
74 return lseek(volInfo->imageForReading, offset, origin); in readSeekSet()
81 bk_off_t readSeekTell(VolInfo* volInfo) in readSeekTell() argument
83 return lseek(volInfo->imageForReading, 0, SEEK_CUR); in readSeekTell()
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/system/gonk/
H A DnsVolumeService.cpp281 VolumeInfo* volInfo = aResult->AppendElement(); in GetVolumesForIPC() local
283 volInfo->name() = vol->mName; in GetVolumesForIPC()
284 volInfo->mountPoint() = vol->mMountPoint; in GetVolumesForIPC()
285 volInfo->volState() = vol->mState; in GetVolumesForIPC()
287 volInfo->isMediaPresent() = vol->mIsMediaPresent; in GetVolumesForIPC()
288 volInfo->isSharing() = vol->mIsSharing; in GetVolumesForIPC()
289 volInfo->isFormatting() = vol->mIsFormatting; in GetVolumesForIPC()
290 volInfo->isFake() = vol->mIsFake; in GetVolumesForIPC()
291 volInfo->isUnmounting() = vol->mIsUnmounting; in GetVolumesForIPC()
292 volInfo->isRemovable() = vol->mIsRemovable; in GetVolumesForIPC()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsFileStore.java43 private final VolumeInformation volInfo; field in WindowsFileStore
50 this.volInfo = GetVolumeInformation(root); in WindowsFileStore()
54 String vol = volInfo.volumeName(); in WindowsFileStore()
112 return volInfo; in volumeInformation()
121 return volInfo.volumeName(); // "SYSTEM", "DVD-RW", ... in name()
126 return volInfo.fileSystemName(); // "FAT", "NTFS", ... in type()
131 return ((volInfo.flags() & FILE_READ_ONLY_VOLUME) != 0); in isReadOnly()
177 return volInfo.volumeSerialNumber(); in getAttribute()
192 return ((volInfo.flags() & FILE_PERSISTENT_ACLS) != 0); in supportsFileAttributeView()
194 return ((volInfo.flags() & FILE_NAMED_STREAMS) != 0); in supportsFileAttributeView()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsFileStore.java43 private final VolumeInformation volInfo; field in WindowsFileStore
50 this.volInfo = GetVolumeInformation(root); in WindowsFileStore()
54 String vol = volInfo.volumeName(); in WindowsFileStore()
112 return volInfo; in volumeInformation()
121 return volInfo.volumeName(); // "SYSTEM", "DVD-RW", ... in name()
126 return volInfo.fileSystemName(); // "FAT", "NTFS", ... in type()
131 return ((volInfo.flags() & FILE_READ_ONLY_VOLUME) != 0); in isReadOnly()
177 return volInfo.volumeSerialNumber(); in getAttribute()
192 return ((volInfo.flags() & FILE_PERSISTENT_ACLS) != 0); in supportsFileAttributeView()
194 return ((volInfo.flags() & FILE_NAMED_STREAMS) != 0); in supportsFileAttributeView()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.base/windows/classes/sun/nio/fs/
H A DWindowsFileStore.java43 private final VolumeInformation volInfo; field in WindowsFileStore
50 this.volInfo = GetVolumeInformation(root); in WindowsFileStore()
54 String vol = volInfo.volumeName(); in WindowsFileStore()
105 return volInfo; in volumeInformation()
114 return volInfo.volumeName(); // "SYSTEM", "DVD-RW", ... in name()
119 return volInfo.fileSystemName(); // "FAT", "NTFS", ... in type()
124 return ((volInfo.flags() & FILE_READ_ONLY_VOLUME) != 0); in isReadOnly()
185 return volInfo.volumeSerialNumber(); in getAttribute()
200 return ((volInfo.flags() & FILE_PERSISTENT_ACLS) != 0); in supportsFileAttributeView()
202 return ((volInfo.flags() & FILE_NAMED_STREAMS) != 0); in supportsFileAttributeView()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.base/windows/classes/sun/nio/fs/
H A DWindowsFileStore.java43 private final VolumeInformation volInfo; field in WindowsFileStore
50 this.volInfo = GetVolumeInformation(root); in WindowsFileStore()
54 String vol = volInfo.volumeName(); in WindowsFileStore()
105 return volInfo; in volumeInformation()
114 return volInfo.volumeName(); // "SYSTEM", "DVD-RW", ... in name()
119 return volInfo.fileSystemName(); // "FAT", "NTFS", ... in type()
124 return ((volInfo.flags() & FILE_READ_ONLY_VOLUME) != 0); in isReadOnly()
185 return volInfo.volumeSerialNumber(); in getAttribute()
200 return ((volInfo.flags() & FILE_PERSISTENT_ACLS) != 0); in supportsFileAttributeView()
202 return ((volInfo.flags() & FILE_NAMED_STREAMS) != 0); in supportsFileAttributeView()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.base/windows/classes/sun/nio/fs/
H A DWindowsFileStore.java43 private final VolumeInformation volInfo; field in WindowsFileStore
50 this.volInfo = GetVolumeInformation(root); in WindowsFileStore()
54 String vol = volInfo.volumeName(); in WindowsFileStore()
105 return volInfo; in volumeInformation()
114 return volInfo.volumeName(); // "SYSTEM", "DVD-RW", ... in name()
119 return volInfo.fileSystemName(); // "FAT", "NTFS", ... in type()
124 return ((volInfo.flags() & FILE_READ_ONLY_VOLUME) != 0); in isReadOnly()
185 return volInfo.volumeSerialNumber(); in getAttribute()
200 return ((volInfo.flags() & FILE_PERSISTENT_ACLS) != 0); in supportsFileAttributeView()
202 return ((volInfo.flags() & FILE_NAMED_STREAMS) != 0); in supportsFileAttributeView()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.base/windows/classes/sun/nio/fs/
H A DWindowsFileStore.java43 private final VolumeInformation volInfo; field in WindowsFileStore
50 this.volInfo = GetVolumeInformation(root); in WindowsFileStore()
54 String vol = volInfo.volumeName(); in WindowsFileStore()
105 return volInfo; in volumeInformation()
114 return volInfo.volumeName(); // "SYSTEM", "DVD-RW", ... in name()
119 return volInfo.fileSystemName(); // "FAT", "NTFS", ... in type()
124 return ((volInfo.flags() & FILE_READ_ONLY_VOLUME) != 0); in isReadOnly()
185 return volInfo.volumeSerialNumber(); in getAttribute()
200 return ((volInfo.flags() & FILE_PERSISTENT_ACLS) != 0); in supportsFileAttributeView()
202 return ((volInfo.flags() & FILE_NAMED_STREAMS) != 0); in supportsFileAttributeView()

12