Searched refs:fs (Results 1 - 25 of 80) sorted by relevance

1234

/frameworks/compile/mclinker/lib/Support/
H A DFileSystem.cpp13 using namespace mcld::sys::fs;
H A DPath.cpp20 using namespace mcld::sys::fs;
180 bool mcld::sys::fs::operator==(const Path& pLHS,const Path& pRHS)
185 bool mcld::sys::fs::operator!=(const Path& pLHS,const Path& pRHS)
190 Path mcld::sys::fs::operator+(const Path& pLHS, const Path& pRHS)
192 mcld::sys::fs::Path result = pLHS;
197 bool mcld::sys::fs::is_separator(char value)
206 bool mcld::sys::fs::exists(const Path &pPath)
213 bool mcld::sys::fs::is_directory(const Path &pPath)
220 std::ostream &mcld::sys::fs::operator<<(std::ostream& pOS,
226 std::istream &mcld::sys::fs
[all...]
/frameworks/compile/mclinker/include/mcld/
H A DBitcodeOption.h33 void setPath(const sys::fs::Path& pPath) { m_Path = pPath; }
35 const sys::fs::Path& getPath() const { return m_Path; }
42 sys::fs::Path m_Path;
/frameworks/compile/mclinker/include/mcld/Support/
H A DPathCache.h23 namespace fs { namespace in namespace:mcld::sys
27 mcld::sys::fs::Path,
33 } // namespace of fs
H A DRealPath.h19 namespace fs { namespace in namespace:mcld::sys
45 } // namespace of fs
55 struct less<mcld::sys::fs::RealPath> : public binary_function<
56 mcld::sys::fs::RealPath,
57 mcld::sys::fs::RealPath,
60 bool operator() (const mcld::sys::fs::RealPath& pX,
61 const mcld::sys::fs::RealPath& pY) const {
H A DDirectory.h25 namespace fs { namespace in namespace:mcld::sys
36 friend mcld::sys::fs::PathCache::entry_type* detail::bring_one_into_cache(DirIterator& pIter);
89 mcld::sys::fs::Path m_Path;
94 mcld::sys::fs::PathCache m_Cache;
110 friend mcld::sys::fs::PathCache::entry_type* detail::bring_one_into_cache(DirIterator& pIter);
113 typedef mcld::sys::fs::PathCache DirCache;
150 } // namespace of fs
H A DMemoryAreaFactory.h49 MemoryArea* produce(const sys::fs::Path& pPath,
53 MemoryArea* produce(const sys::fs::Path& pPath,
H A DCommandLine.h48 // parser<mcld::sys::fs::Path>
51 class parser<mcld::sys::fs::Path> : public basic_parser<mcld::sys::fs::Path>
57 mcld::sys::fs::Path &Val);
61 const mcld::sys::fs::Path &V,
H A DPath.h9 // This file declares the mcld::sys::fs:: namespace. It follows TR2/boost
28 namespace fs { namespace in namespace:mcld::sys
159 } // namespace of fs
169 struct less<mcld::sys::fs::Path> : public binary_function<mcld::sys::fs::Path,
170 mcld::sys::fs::Path,
173 bool operator() (const mcld::sys::fs::Path& pX,const mcld::sys::fs::Path& pY) const {
H A DFileHandle.h80 bool open(const sys::fs::Path& pPath,
104 const sys::fs::Path& path() const
135 sys::fs::Path m_Path;
H A DHandleToArea.h83 bool erase(const sys::fs::Path& pPath);
85 Result findFirst(const sys::fs::Path& pPath);
87 ConstResult findFirst(const sys::fs::Path& pPath) const;
/frameworks/compile/mclinker/include/mcld/MC/
H A DSearchDirs.h47 SearchDirs(const sys::fs::Path& pSysRoot);
52 sys::fs::Path*
55 const sys::fs::Path*
58 void setSysRoot(const sys::fs::Path& pSysRoot) { m_SysRoot = pSysRoot; }
59 const sys::fs::Path& sysroot() const { return m_SysRoot; }
72 bool insert(const sys::fs::Path& pDirectory);
76 sys::fs::Path m_SysRoot;
H A DContextFactory.h35 class ContextFactory : public UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>
42 LDContext* produce(const sys::fs::Path& pPath);
H A DMCLDDirectory.h26 class MCLDDirectory : public sys::fs::Directory
40 void setSysroot(const sys::fs::Path& pPath);
H A DCommandAction.h31 explicit InputFileAction(unsigned int pPosition, const sys::fs::Path &pPath);
33 const sys::fs::Path& path() const { return m_Path; }
38 sys::fs::Path m_Path;
62 BitcodeAction(unsigned int pPosition, const sys::fs::Path &pPath);
64 const sys::fs::Path& path() const { return m_Path; }
69 sys::fs::Path m_Path;
H A DMCLDInput.h54 const sys::fs::Path& pPath,
59 const sys::fs::Path& pPath,
72 const sys::fs::Path& path() const
75 void setPath(const sys::fs::Path& pPath)
128 sys::fs::Path m_Path;
/frameworks/av/media/libstagefright/codecs/avc/common/src/
H A Ddpb.cpp35 dpb->fs[num_fs] = NULL;
82 /* fs is an array pointers to AVCDecPicture */
83 dpb->fs[num_fs] = (AVCFrameStore*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCFrameStore), 101/*DEFAULT_ATTR*/);
84 if (dpb->fs[num_fs] == NULL)
90 dpb->fs[num_fs]->base_dpb = dpb->decoded_picture_buffer + dpb->used_size;
92 dpb->fs[num_fs]->IsReference = 0;
93 dpb->fs[num_fs]->IsLongTerm = 0;
94 dpb->fs[num_fs]->IsOutputted = 3;
95 dpb->fs[num_fs]->frame.RefIdx = refIdx++; /* this value will remain unchanged through out the encoding session */
96 dpb->fs[num_f
694 AVCFrameStore *fs = dpb->fs[idx]; local
[all...]
H A Dreflist.cpp42 if ((dpb->fs[i]->IsReference == 3) && (!dpb->fs[i]->IsLongTerm))
45 if (dpb->fs[i]->FrameNum > (int)sliceHdr->frame_num)
47 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum - video->MaxFrameNum;
51 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum;
53 dpb->fs[i]->frame.PicNum = dpb->fs[i]->FrameNumWrap;
66 if ((dpb->fs[
[all...]
/frameworks/compile/mclinker/unittests/
H A DDirIteratorTest.h16 namespace fs { namespace in namespace:mcld::sys
46 mcld::sys::fs::Directory *m_pDir;
H A DDirIteratorTest.cpp14 using namespace mcld::sys::fs;
27 m_pDir = new mcld::sys::fs::Directory(".");
H A DPathTest.h39 mcld::sys::fs::Path* m_pTestee;
/frameworks/compile/mclinker/lib/MC/
H A DContextFactory.cpp17 : UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>(pNum)
25 LDContext* ContextFactory::produce(const sys::fs::Path& pPath)
29 result = UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>::allocate();
H A DSearchDirs.cpp34 SearchDirs::SearchDirs(const sys::fs::Path& pSysRoot)
71 bool SearchDirs::insert(const sys::fs::Path& pPath)
76 mcld::sys::fs::Path* SearchDirs::find(const std::string& pNamespec, mcld::Input::Type pType)
93 if(mcld::sys::fs::detail::shared_library_extension == entry.path()->extension().native()) {
106 mcld::sys::fs::detail::static_library_extension == entry.path()->extension().native()) {
119 const mcld::sys::fs::Path*
137 if(mcld::sys::fs::detail::shared_library_extension == entry.path()->extension().native()) {
150 mcld::sys::fs::detail::static_library_extension == entry.path()->extension().native()) {
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerStressTest.java155 StatFs fs = new StatFs(CACHE_DIR);
156 int blockSize = fs.getBlockSize();
157 int availableBlocks = fs.getAvailableBlocks();
175 while (fs.getAvailableBlocks() >= remainderSizeBlocks) {
177 fs.restat(CACHE_DIR);
190 long spaceAvailable = fs.getAvailableBlocks() * blockSize;
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/
H A DLowStorageTest.java83 FileOutputStream fs =
87 fs.write(buf);
88 fs.flush();
93 fs.write(buf);
94 fs.flush();
95 fs.close();

Completed in 315 milliseconds

1234