Lines Matching refs:sourceCurrentRef
1940 FSRef sourceCurrentRef; /* FSRef to current location of source file throughout this function */
1954 BlockMoveData(sourceRef, &sourceCurrentRef, sizeof(FSRef));
1960 result = FSGetCatalogInfo(&sourceCurrentRef, kFSCatInfoVolume, &sourceCatalogInfo, NULL, NULL, NULL);
1979 result = FSGetCatalogInfo(&sourceCurrentRef, kGetCatInformationMask, &sourceCatalogInfo, &sourceName, NULL, &sourceParentRef);
2001 /* rename sourceCurrentRef to sourceUniqueName */
2002 result = FSRenameUnicode(&sourceCurrentRef, sourceUniqueName.length, sourceUniqueName.unicode, kTextEncodingUnknown, newSourceRef);
2004 BlockMoveData(newSourceRef, &sourceCurrentRef, sizeof(FSRef));
2016 result = FSMoveObject(&sourceCurrentRef, &destParentRef, newSourceRef);
2018 BlockMoveData(newSourceRef, &sourceCurrentRef, sizeof(FSRef));
2032 result = FSSetCatalogInfo(&sourceCurrentRef, kSetCatinformationMask, &destCatalogInfo);
2040 result = FSRenameUnicode(&sourceCurrentRef, destName.length, destName.unicode, destCatalogInfo.textEncodingHint, newSourceRef);
2042 BlockMoveData(newSourceRef, &sourceCurrentRef, sizeof(FSRef));
2050 BlockMoveData(&sourceCurrentRef, newDestRef, sizeof(FSRef));
2064 if ( noErr == FSRenameUnicode(&sourceCurrentRef, sourceUniqueName.length, sourceUniqueName.unicode, kTextEncodingUnknown, newSourceRef) )
2066 BlockMoveData(newSourceRef, &sourceCurrentRef, sizeof(FSRef));
2077 verify_noerr(FSSetCatalogInfo(&sourceCurrentRef, kFSCatInfoSettableInfo, &sourceCatalogInfo));
2095 if ( noErr == FSMoveObject(&sourceCurrentRef, &sourceParentRef, newSourceRef) )
2097 BlockMoveData(newSourceRef, &sourceCurrentRef, sizeof(FSRef));
2109 verify_noerr(FSRenameUnicode(&sourceCurrentRef, sourceName.length, sourceName.unicode, sourceCatalogInfo.textEncodingHint, newSourceRef));