Lines Matching refs:ref

76 	FSRef							ref;			/* FSRef */
235 const FSRef *ref,
245 result = FSGetCatalogInfo(ref, kFSCatInfoVolume, &catalogInfo, NULL, NULL, NULL);
327 FSRef ref;
344 result = FSGetVolumeInfo(0, volumeIndex, NULL, kFSVolInfoNone, NULL, NULL, &ref);
348 PtrAndHand(&ref, (Handle)*volumeRefsHandle, sizeof(FSRef));
389 const FSRef *ref,
397 result = FSGetCatalogInfo(ref, kFSCatInfoNone, NULL, NULL, spec, NULL);
413 FSRef *ref)
419 require_action(NULL != ref, BadParameter, result = paramErr);
424 pb.newRef = ref;
445 FSRef ref;
451 result = FSMakeFSRef(volRefNum, dirID, name, &ref);
455 result = FSRefMakePath(&ref, path, maxPathSize);
474 FSRef ref;
480 result = FSPathMakeRef(path, &ref, isDirectory);
484 result = FSGetCatalogInfo(&ref, kFSCatInfoNone, NULL, NULL, spec, NULL);
661 Boolean FSRefValid(const FSRef *ref)
663 return ( noErr == FSGetCatalogInfo(ref, kFSCatInfoNone, NULL, NULL, NULL, NULL) );
670 const FSRef *ref,
679 result = FSGetCatalogInfo(ref, kFSCatInfoNodeID, &catalogInfo, NULL, NULL, parentRef);
706 const FSRef *ref,
714 result = FSGetCatalogInfo(ref, kFSCatInfoNone, NULL, outName, NULL, NULL);
727 const FSRef *ref,
746 result = FSGetCatalogInfo(ref, whichInfo, &catalogInfo, NULL, NULL, NULL);
767 const FSRef *ref,
786 result = FSGetCatalogInfo(ref, whichInfo, &catalogInfo, NULL, NULL, NULL);
807 const FSRef *ref)
814 result = FSGetCatalogInfo(ref, kFSCatInfoNodeFlags + kFSCatInfoVolume, &catalogInfo, NULL, NULL,NULL);
850 const FSRef *ref,
871 result = FSGetCatalogInfo(ref, whichInfo, &catalogInfo, NULL, NULL,NULL);
898 const FSRef *ref,
942 result = FSIterateForks(ref, &forkIterator, NULL, forkSizePtr, forkPhysicalSizePtr);
977 const FSRef *ref)
988 /* Get the node flags, the content modification date and time, and the parent ref */
989 result = FSGetCatalogInfo(ref, kFSCatInfoNodeFlags + kFSCatInfoContentMod, &catalogInfo, NULL, NULL, &parentRef);
996 result = FSGetCatalogInfo(ref, kFSCatInfoContentMod, &catalogInfo, NULL, NULL, NULL);
1019 result = FSSetCatalogInfo(ref, kFSCatInfoContentMod, &catalogInfo);
1031 result = FNNotify(notifyParent ? &parentRef : ref, kFNDirectoryModifiedMessage, kNilOptions);
1053 const FSRef *ref,
1082 result = FSGetCatalogInfo(ref, whichInfo, &catalogInfo, NULL, NULL, NULL);
1112 const FSRef *ref,
1135 result = FSSetCatalogInfo(ref, whichInfo, &catalogInfo);
1147 const FSRef *ref,
1156 result = FSGetCatalogInfo(ref, kFSCatInfoNodeFlags + kFSCatInfoFinderInfo, &catalogInfo , NULL, NULL, &parentRef);
1175 result = FSSetCatalogInfo(ref, kFSCatInfoFinderInfo, &catalogInfo);
1193 const FSRef *ref,
1202 result = FSGetCatalogInfo(ref, kFSCatInfoFinderInfo, &catalogInfo, NULL, NULL, &parentRef);
1218 result = FSSetCatalogInfo(ref, kFSCatInfoFinderInfo, &catalogInfo);
1235 const FSRef *ref)
1237 return ( FSChangeFinderFlags(ref, true, kIsInvisible) );
1242 const FSRef *ref)
1244 return ( FSChangeFinderFlags(ref, false, kIsInvisible) );
1251 const FSRef *ref)
1253 return ( FSChangeFinderFlags(ref, true, kNameLocked) );
1258 const FSRef *ref)
1260 return ( FSChangeFinderFlags(ref, false, kNameLocked) );
1267 const FSRef *ref)
1269 return ( FSChangeFinderFlags(ref, true, kIsStationery) );
1274 const FSRef *ref)
1276 return ( FSChangeFinderFlags(ref, false, kIsStationery) );
1283 const FSRef *ref)
1285 return ( FSChangeFinderFlags(ref, true, kHasCustomIcon) );
1290 const FSRef *ref)
1292 return ( FSChangeFinderFlags(ref, false, kHasCustomIcon) );
1299 const FSRef *ref)
1301 return ( FSChangeFinderFlags(ref, false, kHasBeenInited) );
1343 const FSRef *ref,
1363 BlockMoveData(ref, newRef, sizeof(FSRef));
1372 /* get ref's vRefNum, TextEncoding, name and parent directory*/
1373 result = FSGetCatalogInfo(ref, kFSCatInfoTextEncoding + kFSCatInfoVolume, &catalogInfo, &originalName, NULL, &originalDirectory);
1379 /* make sure ref and destDirectory are on same volume */
1392 result = FSRenameUnicode(ref, uniqueName.length, uniqueName.unicode, kTextEncodingUnknown, newRef);
1403 result = FSRenameUnicode(ref, nameLength, name, textEncodingHint, newRef);
1608 /* Open FSIterator for flat access to theGlobals->ref */
1609 theGlobals->result = FSOpenIterator(&theGlobals->ref, kFSIterateFlat, &iterator);
1619 &theGlobals->ref, theGlobals->specPtr, theGlobals->namePtr);
1626 &theGlobals->catalogInfo, &theGlobals->ref,
1686 theGlobals.ref = *container;
1856 pb.ref = dir1;
1861 pb.ref = dir2;
2163 const FSRef *ref,
2173 result = FSGetCatalogInfo(ref, kFSCatInfoNone, NULL, NULL, &spec, NULL);
2207 const FSRef *ref,
2226 result = FSGetCatalogInfo(ref, kFSCatInfoNone, NULL, NULL, &spec, NULL);
2538 FSRef *ref)
2545 require_action(NULL != ref, BadParameter, result = paramErr);
2556 result = FSMakeFSRef(volRefNum, pb.ioSrcDirID, tempStr, ref);
2570 const FSRef *ref,
2581 result = FSGetCatalogInfo(ref, kFSCatInfoNone, NULL, NULL, &spec, NULL);
2679 FSRef *ref)
2681 return ( FSGetForkCBInfo(refNum, 0, NULL, NULL, NULL, ref, NULL) );