Home
last modified time | relevance | path

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

123456

/frameworks/av/media/libstagefright/renderfright/gl/
DProgramCache.cpp229 void ProgramCache::generateEOTF(Formatter& fs, const Key& needs) { in generateEOTF() argument
232 fs << R"__SHADER__( in generateEOTF()
247 fs << R"__SHADER__( in generateEOTF()
262 fs << R"__SHADER__( in generateEOTF()
278 fs << R"__SHADER__( in generateEOTF()
287 void ProgramCache::generateToneMappingProcess(Formatter& fs, const Key& needs) { in generateToneMappingProcess() argument
291 fs << R"__SHADER__( in generateToneMappingProcess()
298 fs << R"__SHADER__( in generateToneMappingProcess()
308 fs << R"__SHADER__( in generateToneMappingProcess()
324 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_reverb.sh60 for fs in ${fs_arr[*]}
66 --output $testdir/sinesweep_$((chMask))_$((fs)).raw \
67 --chMask $chMask $flags --fs $fs --preset $preset_val
79 adb shell cmp $testdir/sinesweep_0_$((fs)).raw \
80 $testdir/sinesweep_$((chMask))_$((fs)).raw
85 adb shell cmp $testdir/sinesweep_1_$((fs)).raw \
86 $testdir/sinesweep_$((chMask))_$((fs)).raw
Dbuild_and_run_all_unit_tests.sh92 for fs in ${fs_arr[*]}
97 -o:$testdir/sinesweep_$((chMask))_$((fs)).raw -chMask:$chMask -fs:$fs $flags
116 adb shell cmp $testdir/sinesweep_1_$((fs)).raw \
117 $testdir/sinesweep_$((chMask))_$((fs)).raw
120 adb shell $testdir/snr $testdir/sinesweep_1_$((fs)).raw \
121 $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;
/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 {
/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()
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()
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()
/frameworks/av/media/libeffects/downmix/tests/
Dbuild_and_run_all_unit_tests.sh46 for fs in ${fs_arr[*]}
54 $testdir/sinesweep_fmt_$((ch_fmt))_fch_$((f_ch))_$((fs)).raw \
55 -ch_fmt:$ch_fmt -fch:$f_ch -fs:$fs
59 if [ $fs != 8000 ]
63 $testdir/sinesweep_fmt_$((ch_fmt))_fch_$((f_ch))_$((fs)).raw
/frameworks/av/media/libeffects/preprocessing/tests/
Dbuild_and_run_all_unit_tests.sh80 for fs in ${fs_arr[*]}
86 --output $testdir/sinesweep_$((chMask))_$((fs)).raw --ch_mask $chMask \
87 --fs $fs --fch 1
100 adb shell cmp $testdir/sinesweep_1_$((fs)).raw \
101 $testdir/sinesweep_$((chMask))_$((fs)).raw
/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/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/native/opengl/tests/EGLTest/
Degl_cache_test.cpp174 std::fstream fs(cachefileName); in TEST_P() local
175 fs.seekp(0, std::ios_base::beg); in TEST_P()
176 fs.write(stomp, strlen(stomp)); in TEST_P()
177 fs.flush(); in TEST_P()
178 fs.close(); in TEST_P()
220 std::fstream fs(cachefileName); in TEST_P() local
221 fs.seekp(-strlen(stomp), std::ios_base::end); in TEST_P()
222 fs.write(stomp, strlen(stomp)); in TEST_P()
223 fs.flush(); in TEST_P()
224 fs.close(); in TEST_P()
/frameworks/proto_logging/stats/express/libexpresscatalog/
Dcatalog.cpp36 namespace fs = std::filesystem;
58 bool readMetrics(const fs::path& cfgFile, map<string, ExpressMetric>& metrics) { in readMetrics()
106 for (const auto& entry : fs::directory_iterator(configDirPath)) { in readCatalog()
108 LOGD(" is_regular_file %d\n", fs::is_regular_file(entry.path())); in readCatalog()
111 if (fs::is_regular_file(entry.path()) && in readCatalog()
/frameworks/libs/binary_translation/prebuilt/system/etc/init/
Dberberis.rc3 mount binfmt_misc binfmt_misc /proc/sys/fs/binfmt_misc
6 copy /system/etc/binfmt_misc/riscv64_exe /proc/sys/fs/binfmt_misc/register
7 copy /system/etc/binfmt_misc/riscv64_dyn /proc/sys/fs/binfmt_misc/register
/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()

123456