Lines Matching defs:result
101 OSErr result;
107 result = FSMakeFSSpecCompat(vRefNum, dirID, name, &spec);
108 if ( (result == noErr) || (result == fnfErr) )
110 result = FSpGetFullPath(&spec, fullPathLength, fullPath);
113 return ( result );
122 OSErr result;
132 realResult = result = noErr;
137 result = FSMakeFSSpecCompat(spec->vRefNum, spec->parID, spec->name, &tempSpec);
145 if ( result == noErr )
156 result = PtrToHand(&tempSpec.name[1], fullPath, tempSpec.name[0]);
167 result = PBGetCatInfoSync(&pb);
169 realResult = result;
170 if ( (result == noErr) || (result == fnfErr) )
173 if ( (result == noErr) && (pb.hFileInfo.ioFlAttrib & kioFlAttribDirMask) != 0 )
180 result = PtrToHand(&tempSpec.name[1], fullPath, tempSpec.name[0]);
181 if ( result == noErr )
191 result = PBGetCatInfoSync(&pb);
192 if ( result == noErr )
200 result = MemError();
202 } while ( (result == noErr) && (pb.dirInfo.ioDrDirID != fsRtDirID) );
208 if ( result == noErr )
212 result = realResult; // return realResult in case it was fnfErr
225 return ( result );
235 OSErr result;
241 result = NewAliasMinimalFromFullPath(fullPathLength, fullPath, nullString, nullString, &alias);
242 if ( result == noErr )
245 result = ResolveAlias(NULL, alias, spec, &wasChanged);
253 result = nsvErr;
257 return ( result );
268 OSErr result;
271 result = FSpLocationFromFullPath(fullPathLength, fullPath, &spec);
272 if ( result == noErr )
278 return ( result );