Lines Matching refs:osl

457     if (::osl::File::E_None ==  ::osl::File::getAbsoluteFileURL(  in getLockFilePath()
460 if (::osl::File::E_None == in getLockFilePath()
461 ::osl::File::getSystemPathFromFileURL(sAbs, sBootstrap)) in getLockFilePath()
536 ::osl::Directory dir(url); in hasNoFolder()
537 osl::File::RC rc = dir.open(); in hasNoFolder()
538 if (rc == osl::File::E_None) in hasNoFolder()
541 osl::DirectoryItem i; in hasNoFolder()
542 osl::File::RC rcNext = osl::File::E_None; in hasNoFolder()
543 while ( (rcNext = dir.getNextItem(i)) == osl::File::E_None) in hasNoFolder()
545 osl::FileStatus stat(FileStatusMask_Type); in hasNoFolder()
546 if (i.getFileStatus(stat) == osl::File::E_None) in hasNoFolder()
548 if (stat.getFileType() == osl::FileStatus::Directory) in hasNoFolder()
560 i = osl::DirectoryItem(); in hasNoFolder()
563 if (rcNext == osl::File::E_NOENT || in hasNoFolder()
564 rcNext == osl::File::E_None) in hasNoFolder()
589 ::osl::Directory dir(url); in removeFolder()
590 ::osl::File::RC rc = dir.open(); in removeFolder()
591 if (rc == osl::File::E_None) in removeFolder()
593 ::osl::DirectoryItem i; in removeFolder()
594 ::osl::File::RC rcNext = ::osl::File::E_None; in removeFolder()
595 while ( (rcNext = dir.getNextItem(i)) == ::osl::File::E_None) in removeFolder()
597 ::osl::FileStatus stat(FileStatusMask_Type | FileStatusMask_FileURL); in removeFolder()
598 if (i.getFileStatus(stat) == ::osl::File::E_None) in removeFolder()
600 ::osl::FileStatus::Type t = stat.getFileType(); in removeFolder()
601 if (t == ::osl::FileStatus::Directory) in removeFolder()
606 else if (t == ::osl::FileStatus::Regular) in removeFolder()
609 ::osl::File::remove(stat.getFileURL()); in removeFolder()
622 i = ::osl::DirectoryItem(); in removeFolder()
625 ::osl::Directory::remove(url); in removeFolder()
627 else if (rc != osl::File::E_NOENT) in removeFolder()