Home
last modified time | relevance | path

Searched refs:fs (Results 1 – 25 of 106) sorted by relevance

12345

/frameworks/native/libs/renderengine/gl/
DProgramCache.cpp201 void ProgramCache::generateEOTF(Formatter& fs, const Key& needs) { in generateEOTF() argument
204 fs << R"__SHADER__( in generateEOTF()
219 fs << R"__SHADER__( in generateEOTF()
234 fs << R"__SHADER__( in generateEOTF()
250 fs << R"__SHADER__( in generateEOTF()
259 void ProgramCache::generateToneMappingProcess(Formatter& fs, const Key& needs) { in generateToneMappingProcess() argument
263 fs << R"__SHADER__( in generateToneMappingProcess()
270 fs << R"__SHADER__( in generateToneMappingProcess()
280 fs << R"__SHADER__( in generateToneMappingProcess()
297 fs << R"__SHADER__( in generateToneMappingProcess()
[all …]
/frameworks/compile/slang/tests/F_fs_types/
Dstderr.txt.expect1 fs_types.fs:4:8: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'd'
2 fs_types.fs:13:10: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'myS'
3 fs_types.fs:15:12: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'd'
4 fs_types.fs:16:12: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'e'
5 fs_types.fs:17:15: error: Builtin types > 32 bits in size are forbidden in Filterscript
6 fs_types.fs:18:7: error: Builtin types > 32 bits in size are forbidden in Filterscript
7 fs_types.fs:21:12: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'l'
8 fs_types.fs:22:10: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'm'
9 fs_types.fs:23:13: error: Builtin types > 32 bits in size are forbidden in Filterscript
10 fs_types.fs:24:7: error: Builtin types > 32 bits in size are forbidden in Filterscript
[all …]
/frameworks/compile/mclinker/lib/Support/
DFileSystem.cpp16 bool mcld::sys::fs::exists(const Path& pPath) { in exists()
17 mcld::sys::fs::FileStatus file_status; in exists()
18 mcld::sys::fs::detail::status(pPath, file_status); in exists()
19 return (file_status.type() != mcld::sys::fs::StatusError) && in exists()
20 (file_status.type() != mcld::sys::fs::FileNotFound); in exists()
23 bool mcld::sys::fs::is_directory(const Path& pPath) { in is_directory()
26 return (file_status.type() == mcld::sys::fs::DirectoryFile); in is_directory()
DFileOutputBuffer.cpp15 FileOutputBuffer::FileOutputBuffer(llvm::sys::fs::mapped_file_region* pRegion, in FileOutputBuffer()
32 ec = llvm::sys::fs::resize_file(pFileHandle.handler(), pSize); in create()
36 std::unique_ptr<llvm::sys::fs::mapped_file_region> mapped_file( in create()
37 new llvm::sys::fs::mapped_file_region(pFileHandle.handler(), in create()
38 llvm::sys::fs::mapped_file_region::readwrite, pSize, 0, ec)); in create()
DFileHandle.cpp76 bool FileHandle::open(const sys::fs::Path& pPath, in open()
86 m_Handler = sys::fs::detail::open(pPath, oflag(pMode)); in open()
88 m_Handler = sys::fs::detail::open(pPath, oflag(pMode), in open()
150 if (sys::fs::detail::ftruncate(m_Handler, pSize) == -1) { in truncate()
169 sys::fs::detail::pread(m_Handler, pMemBuffer, pLength, pStartOffset); in read()
191 sys::fs::detail::pwrite(m_Handler, pMemBuffer, pLength, pStartOffset); in write()
/frameworks/av/media/libeffects/lvm/tests/
Dbuild_and_run_all_unit_tests.sh92 for fs in ${fs_arr[*]}
97 -o:$testdir/sinesweep_$((chMask))_$((fs)).raw -chMask:$chMask -fs:$fs $flags
111 adb shell cmp $testdir/sinesweep_1_$((fs)).raw \
112 $testdir/sinesweep_$((chMask))_$((fs)).raw
115 adb shell $testdir/snr $testdir/sinesweep_1_$((fs)).raw \
116 $testdir/sinesweep_$((chMask))_$((fs)).raw -thr:90.308998
/frameworks/compile/mclinker/include/mcld/MC/
DSearchDirs.h44 explicit SearchDirs(const sys::fs::Path& pSysRoot);
49 sys::fs::Path* find(const std::string& pNamespec,
52 const sys::fs::Path* find(const std::string& pNamespec,
55 void setSysRoot(const sys::fs::Path& pSysRoot) { m_SysRoot = pSysRoot; } in setSysRoot()
56 const sys::fs::Path& sysroot() const { return m_SysRoot; } in sysroot()
69 bool insert(const sys::fs::Path& pDirectory);
73 sys::fs::Path m_SysRoot;
DCommandAction.h30 InputFileAction(unsigned int pPosition, const sys::fs::Path& pPath);
34 const sys::fs::Path& path() const { return m_Path; } in path()
39 sys::fs::Path m_Path;
61 BitcodeAction(unsigned int pPosition, const sys::fs::Path& pPath);
63 const sys::fs::Path& path() const { return m_Path; } in path()
68 sys::fs::Path m_Path;
DInput.h51 const sys::fs::Path& pPath,
56 const sys::fs::Path& pPath,
67 const sys::fs::Path& path() const { return m_Path; } in path()
69 void setPath(const sys::fs::Path& pPath) { m_Path = pPath; } in setPath()
112 sys::fs::Path m_Path;
DInputBuilder.h56 const sys::fs::Path& pPath,
61 const sys::fs::Path& pPath,
105 const sys::fs::Path& pPath,
120 const sys::fs::Path& pPath,
/frameworks/compile/mclinker/lib/MC/
DMCLDDirectory.cpp30 sys::fs::detail::open_dir(*this); in MCLDDirectory()
44 sys::fs::detail::open_dir(*this); in MCLDDirectory()
58 sys::fs::detail::open_dir(*this); in MCLDDirectory()
72 sys::fs::detail::open_dir(*this); in assign()
73 Directory::m_FileStatus = sys::fs::FileStatus(); in assign()
74 Directory::m_SymLinkStatus = sys::fs::FileStatus(); in assign()
87 void MCLDDirectory::setSysroot(const sys::fs::Path& pSysroot) { in setSysroot()
93 sys::fs::detail::canonicalize(Directory::m_Path.native()); in setSysroot()
94 sys::fs::detail::open_dir(*this); in setSysroot()
DSearchDirs.cpp34 SearchDirs::SearchDirs(const sys::fs::Path& pSysRoot) : m_SysRoot(pSysRoot) { in SearchDirs()
66 bool SearchDirs::insert(const sys::fs::Path& pPath) { in insert()
70 mcld::sys::fs::Path* SearchDirs::find(const std::string& pNamespec, in find()
107 if (mcld::sys::fs::detail::shared_library_extension == in find()
121 mcld::sys::fs::detail::static_library_extension == in find()
135 const mcld::sys::fs::Path* SearchDirs::find(const std::string& pNamespec, in find()
172 if (mcld::sys::fs::detail::shared_library_extension == in find()
186 mcld::sys::fs::detail::static_library_extension == in find()
DContextFactory.cpp18 : UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>(pNum) { in ContextFactory()
24 LDContext* ContextFactory::produce(const sys::fs::Path& pPath) { in produce()
27 result = UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>::allocate(); in produce()
35 return produce(sys::fs::Path(pPath)); in produce()
DCommandAction.cpp26 const sys::fs::Path& pPath) in InputFileAction()
50 const sys::fs::Path* path = NULL; in activate()
81 BitcodeAction::BitcodeAction(unsigned int pPosition, const sys::fs::Path& pPath) in BitcodeAction()
223 pBuilder.createNode<InputTree::Positional>("defsym", sys::fs::Path("NAN")); in activate()
247 sys::fs::Path path(m_FileName); in activate()
250 const sys::fs::Path* res = m_SearchDirs.find(m_FileName, Input::Script); in activate()
/frameworks/compile/mclinker/include/mcld/Support/
DRealPath.h17 namespace fs {
52 struct less<mcld::sys::fs::RealPath>
53 : public binary_function<mcld::sys::fs::RealPath,
54 mcld::sys::fs::RealPath,
56 bool operator()(const mcld::sys::fs::RealPath& pX,
57 const mcld::sys::fs::RealPath& pY) const {
DDirectory.h22 namespace fs {
32 friend mcld::sys::fs::PathCache::entry_type* detail::bring_one_into_cache(
90 mcld::sys::fs::Path m_Path;
95 mcld::sys::fs::PathCache m_Cache;
110 friend mcld::sys::fs::PathCache::entry_type* detail::bring_one_into_cache(
115 typedef mcld::sys::fs::PathCache DirCache;
DPath.h27 namespace fs {
159 struct less<mcld::sys::fs::Path>
160 : public binary_function<mcld::sys::fs::Path, mcld::sys::fs::Path, bool> {
161 bool operator()(const mcld::sys::fs::Path& pX,
162 const mcld::sys::fs::Path& pY) const {
DFileHandle.h72 bool open(const sys::fs::Path& pPath, OpenMode pMode, Permission pPerm);
94 const sys::fs::Path& path() const { return m_Path; } in path()
121 sys::fs::Path m_Path;
/frameworks/av/media/libeffects/downmix/tests/
Dbuild_and_run_all_unit_tests.sh47 for fs in ${fs_arr[*]}
55 $testdir/sinesweep_fmt_$((ch_fmt))_fch_$((f_ch))_$((fs)).raw \
56 -ch_fmt:$ch_fmt -fch:$f_ch -fs:$fs
60 if [ $fs != 8000 ]
64 $testdir/sinesweep_fmt_$((ch_fmt))_fch_$((f_ch))_$((fs)).raw
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/
DLowStorageTest.java83 FileOutputStream fs = in fillupdisk() local
87 fs.write(buf); in fillupdisk()
88 fs.flush(); in fillupdisk()
93 fs.write(buf); in fillupdisk()
94 fs.flush(); in fillupdisk()
95 fs.close(); in fillupdisk()
/frameworks/compile/slang/tests/F_fs_ptr/
Dstderr.txt.expect1 fs_ptr.fs:4:6: error: Pointers are forbidden in Filterscript: 'i'
2 fs_ptr.fs:16:9: error: Pointers are forbidden in Filterscript: 'c'
3 fs_ptr.fs:33:17: error: Pointers are forbidden in Filterscript: 'ain'
/frameworks/compile/slang/tests/F_fs_oldkernel/
Dstderr.txt.expect1 fs_oldkernel.fs:4:17: error: Pointers are forbidden in Filterscript: 'ain'
2 fs_oldkernel.fs:7:1: error: Pointers are forbidden in Filterscript: 'bad_kernel'
3 fs_oldkernel.fs:7:22: error: Pointers are forbidden in Filterscript: 'ain'
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerStressTest.java158 StatFs fs = new StatFs(CACHE_DIR); in testDownloadToCacheWithAlmostFullCache() local
159 int blockSize = fs.getBlockSize(); in testDownloadToCacheWithAlmostFullCache()
160 int availableBlocks = fs.getAvailableBlocks(); in testDownloadToCacheWithAlmostFullCache()
178 while (fs.getAvailableBlocks() >= remainderSizeBlocks) { in testDownloadToCacheWithAlmostFullCache()
180 fs.restat(CACHE_DIR); in testDownloadToCacheWithAlmostFullCache()
193 long spaceAvailable = fs.getAvailableBlocks() * blockSize; in testDownloadToCacheWithAlmostFullCache()
/frameworks/av/cmds/screenrecord/
DProgram.cpp114 GLuint vs, fs; in createProgram() local
121 err = compileShader(GL_FRAGMENT_SHADER, fragmentShader, &fs); in createProgram()
128 err = linkShaderProgram(vs, fs, &program); in createProgram()
130 glDeleteShader(fs); in createProgram()
169 status_t Program::linkShaderProgram(GLuint vs, GLuint fs, GLuint* outPgm) { in linkShaderProgram() argument
177 glAttachShader(program, fs); in linkShaderProgram()
/frameworks/compile/mclinker/lib/Script/
DGroupCmd.cpp95 sys::fs::Path path; in activate()
106 if (!sys::fs::exists(path)) { in activate()
108 sys::fs::Path* p = in activate()
115 if (!sys::fs::exists(path)) in activate()
123 const sys::fs::Path* path = NULL; in activate()

12345