Searched refs:hPB (Results 1 - 11 of 11) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/unzip60/macos/source/
H A Dmacdir.c57 HParamBlockRec hPB; local
75 memset(&hPB, '\0', sizeof(hPB));
81 hPB.volumeParam.ioVolIndex = -1;
85 hPB.volumeParam.ioNamePtr = spec.name;
87 err = PBHGetVInfoSync(&hPB);
89 if ((err != noErr) || (hPB.volumeParam.ioVFSID != 0)) {
99 cPB.hFileInfo.ioVRefNum = hPB.volumeParam.ioVRefNum;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/mac/carbon/morefile/
H A DFileCopy.c206 pb.hPB.fileParam.ioNamePtr = (StringPtr)srcName;
207 pb.hPB.fileParam.ioVRefNum = srcVRefNum;
208 pb.hPB.fileParam.ioFVersNum = 0;
209 pb.hPB.fileParam.ioDirID = srcDirID;
210 pb.hPB.fileParam.ioFDirIndex = 0;
211 error = PBHGetFInfoSync(&pb.hPB);
218 if ( ((unsigned long)pb.hPB.fileParam.ioFlLgLen & 0x000001ff) != 0 )
220 srcDataBlks = ((unsigned long)pb.hPB.fileParam.ioFlLgLen >> 9) + 1;
224 srcDataBlks = (unsigned long)pb.hPB.fileParam.ioFlLgLen >> 9;
238 if ( ((unsigned long)pb.hPB
[all...]
H A DMoreDesktopMgr.c438 /* pb.hPB.fileParam.ioNamePtr is already set */
439 pb.hPB.fileParam.ioVRefNum = realVRefNum;
440 pb.hPB.fileParam.ioFVersNum = 0;
441 pb.hPB.fileParam.ioDirID = *applParID;
442 pb.hPB.fileParam.ioFDirIndex = 0; /* use ioNamePtr and ioDirID */
443 if ( PBHGetFInfoSync(&pb.hPB) == noErr )
445 if ( (pb.hPB.fileParam.ioFlFndrInfo.fdCreator == creator) &&
446 (pb.hPB.fileParam.ioFlFndrInfo.fdType == 'APPL') )
477 pb.hPB.fileParam.ioNamePtr = applName;
478 pb.hPB
[all...]
H A DFSpCompat.c343 pb.hPB.fileParam.ioVRefNum = spec->vRefNum;
344 pb.hPB.fileParam.ioDirID = spec->parID;
345 pb.hPB.fileParam.ioNamePtr = (StringPtr) &(spec->name);
346 pb.hPB.fileParam.ioFVersNum = 0;
347 result = PBHCreateSync(&(pb.hPB));
391 pb.hPB.fileParam.ioVRefNum = spec->vRefNum;
392 pb.hPB.fileParam.ioDirID = spec->parID;
393 pb.hPB.fileParam.ioNamePtr = (StringPtr) &(spec->name);
394 result = PBDirCreateSync(&(pb.hPB));
395 *createdDirID = pb.hPB
[all...]
H A DMoreFilesExtras.c935 HParamBlockRec hPB; local
941 result = GetVolumeInfoNoName(pathname, vRefNum, &hPB);
951 if ( hPB.volumeParam.ioVDrvInfo != 0 )
955 driveNumber = hPB.volumeParam.ioVDrvInfo;
963 if ( hPB.volumeParam.ioVDRefNum > 0 )
966 driveNumber = hPB.volumeParam.ioVDRefNum;
971 driveNumber = (short)-hPB.volumeParam.ioVDRefNum;
2073 theGlobals->myPB.hPB.fileParam.ioFVersNum = 0; /* just in case it's used on an MFS volume... */
2074 theGlobals->error = PBHDeleteSync(&(theGlobals->myPB.hPB)); /* delete this item */
2077 (void) PBHRstFLockSync(&(theGlobals->myPB.hPB)); /* unloc
[all...]
H A DMoreFilesExtras.h128 HParamBlockRec hPB; member in union:UniversalFMPB
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/mac/classic/morefile/
H A DFileCopy.c206 pb.hPB.fileParam.ioNamePtr = (StringPtr)srcName;
207 pb.hPB.fileParam.ioVRefNum = srcVRefNum;
208 pb.hPB.fileParam.ioFVersNum = 0;
209 pb.hPB.fileParam.ioDirID = srcDirID;
210 pb.hPB.fileParam.ioFDirIndex = 0;
211 error = PBHGetFInfoSync(&pb.hPB);
218 if ( ((unsigned long)pb.hPB.fileParam.ioFlLgLen & 0x000001ff) != 0 )
220 srcDataBlks = ((unsigned long)pb.hPB.fileParam.ioFlLgLen >> 9) + 1;
224 srcDataBlks = (unsigned long)pb.hPB.fileParam.ioFlLgLen >> 9;
238 if ( ((unsigned long)pb.hPB
[all...]
H A DMoreDesktopMgr.c438 /* pb.hPB.fileParam.ioNamePtr is already set */
439 pb.hPB.fileParam.ioVRefNum = realVRefNum;
440 pb.hPB.fileParam.ioFVersNum = 0;
441 pb.hPB.fileParam.ioDirID = *applParID;
442 pb.hPB.fileParam.ioFDirIndex = 0; /* use ioNamePtr and ioDirID */
443 if ( PBHGetFInfoSync(&pb.hPB) == noErr )
445 if ( (pb.hPB.fileParam.ioFlFndrInfo.fdCreator == creator) &&
446 (pb.hPB.fileParam.ioFlFndrInfo.fdType == 'APPL') )
477 pb.hPB.fileParam.ioNamePtr = applName;
478 pb.hPB
[all...]
H A DFSpCompat.c343 pb.hPB.fileParam.ioVRefNum = spec->vRefNum;
344 pb.hPB.fileParam.ioDirID = spec->parID;
345 pb.hPB.fileParam.ioNamePtr = (StringPtr) &(spec->name);
346 pb.hPB.fileParam.ioFVersNum = 0;
347 result = PBHCreateSync(&(pb.hPB));
391 pb.hPB.fileParam.ioVRefNum = spec->vRefNum;
392 pb.hPB.fileParam.ioDirID = spec->parID;
393 pb.hPB.fileParam.ioNamePtr = (StringPtr) &(spec->name);
394 result = PBDirCreateSync(&(pb.hPB));
395 *createdDirID = pb.hPB
[all...]
H A DMoreFilesExtras.c935 HParamBlockRec hPB; local
941 result = GetVolumeInfoNoName(pathname, vRefNum, &hPB);
951 if ( hPB.volumeParam.ioVDrvInfo != 0 )
955 driveNumber = hPB.volumeParam.ioVDrvInfo;
963 if ( hPB.volumeParam.ioVDRefNum > 0 )
966 driveNumber = hPB.volumeParam.ioVDRefNum;
971 driveNumber = (short)-hPB.volumeParam.ioVDRefNum;
2073 theGlobals->myPB.hPB.fileParam.ioFVersNum = 0; /* just in case it's used on an MFS volume... */
2074 theGlobals->error = PBHDeleteSync(&(theGlobals->myPB.hPB)); /* delete this item */
2077 (void) PBHRstFLockSync(&(theGlobals->myPB.hPB)); /* unloc
[all...]
H A DMoreFilesExtras.h128 HParamBlockRec hPB; member in union:UniversalFMPB

Completed in 143 milliseconds