Lines Matching refs:get

162     mDir = opendir(dirPath.get());
250 if (stat(mPath.get(), &mCachedStat) == -1) {
252 if (lstat(mPath.get(), &mCachedStat) == -1) {
323 * because we'll get EEXIST in Create when we try to build the final
354 * We could get EEXIST for an existing file -- not directory --
355 * with the name of one of our ancestors, but that's OK: we'll get
373 *_retval = PR_Open(mPath.get(), flags, mode);
383 *_retval = fopen(mPath.get(), mode);
415 result = createFunc(mPath.get(), flags, permissions, _retval);
421 * Ancestor directories get the same permissions as the file we're
443 fprintf(stderr, "nsIFile: Create(\"%s\") again\n", mPath.get());
445 result = createFunc(mPath.get(), flags, permissions, _retval);
506 BEntry be_e(mPath.get(), true);
514 resolved_path_ptr = realpath(mPath.get(), resolved_path);
560 mPath.Replace(begin.get() - mPath.get(), Distance(begin, end), aLeafName);
583 newParent = oldParent.get();
649 // get the dirs old permissions
693 printf("Operation not supported: %s\n", pathName.get());
707 printf("Operation not supported: %s\n", pathName.get());
759 printf("nsLocalFile::CopyTo() %s -> %s\n", mPath.get(), newPathName.get());
773 // get the old permissions
799 printf("Operation not supported: %s\n", mPath.get());
876 if (rename(mPath.get(), newPathName.get()) < 0) {
905 return NSRESULT_FOR_RETURN(unlink(mPath.get()));
936 if (rmdir(mPath.get()) == -1)
939 if (unlink(mPath.get()) == -1)
953 if (PR_GetFileInfo64(mPath.get(), &info) != PR_SUCCESS)
979 result = utime(mPath.get(), &ut);
981 result = utime(mPath.get(), nsnull);
994 if (lstat(mPath.get(), &sbuf) == -1)
1038 if (lstat(mPath.get(), &sbuf) == -1)
1055 if (chmod(mPath.get(), aPermissions) < 0)
1097 if (truncate(mPath.get(), (off_t)size) == -1)
1109 if (lstat(mPath.get(), &sbuf) == -1)
1137 if (STATFS(mPath.get(), &fs_buf) < 0) {
1230 *_retval = (access(mPath.get(), F_OK) == 0);
1242 *_retval = (stat(mPath.get(), &buf) == 0);
1255 *_retval = (stat(mPath.get(), &buf) == 0);
1268 *_retval = (stat(mPath.get(), &buf) == 0);
1281 *_retval = (access(mPath.get(), W_OK) == 0);
1293 *_retval = (access(mPath.get(), R_OK) == 0);
1305 *_retval = (access(mPath.get(), X_OK) == 0);
1348 lstat(mPath.get(), &symStat);
1381 *_retval = !FILE_STRCMP(inPath.get(), mPath.get());
1401 if (FILE_STRNCMP(mPath.get(), inPath.get(), len) == 0) {
1418 lstat(mPath.get(), &symStat);
1432 if (readlink(mPath.get(), target, (size_t)size) < 0) {
1476 if (lstat(flatRetval.get(), &symStat) < 0) {
1485 if (readlink(flatRetval.get(), target, size) < 0) {
1542 *_retval = PR_LoadLibrary(mPath.get());
1545 NS_TIMELINE_MARK_TIMER1("PR_LoadLibrary", mPath.get());
1568 BPath bPath(mPath.get());
1583 get_ref_for_path (mPath.get(), &ref);