/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | ProgramCache.cpp | 124 Formatter fs; in generateFragmentShader() local 126 fs << "#extension GL_OES_EGL_image_external : require"; in generateFragmentShader() 130 fs << "precision mediump float;"; in generateFragmentShader() 133 fs << "uniform samplerExternalOES sampler;" in generateFragmentShader() 136 fs << "uniform sampler2D sampler;" in generateFragmentShader() 139 fs << "uniform vec4 color;"; in generateFragmentShader() 142 fs << "uniform float alphaPlane;"; in generateFragmentShader() 145 fs << "uniform mat4 colorMatrix;"; in generateFragmentShader() 147 fs << "void main(void) {" << indent; in generateFragmentShader() 149 fs << "gl_FragColor = texture2D(sampler, outTexCoords);"; in generateFragmentShader() [all …]
|
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
D | dpb.cpp | 35 dpb->fs[num_fs] = NULL; in InitDPB() 83 …dpb->fs[num_fs] = (AVCFrameStore*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCFrameStore), 101/*D… in InitDPB() 84 if (dpb->fs[num_fs] == NULL) in InitDPB() 90 dpb->fs[num_fs]->base_dpb = dpb->decoded_picture_buffer + dpb->used_size; in InitDPB() 92 dpb->fs[num_fs]->IsReference = 0; in InitDPB() 93 dpb->fs[num_fs]->IsLongTerm = 0; in InitDPB() 94 dpb->fs[num_fs]->IsOutputted = 3; in InitDPB() 95 …dpb->fs[num_fs]->frame.RefIdx = refIdx++; /* this value will remain unchanged through out the enco… in InitDPB() 96 dpb->fs[num_fs]->frame.picType = AVC_FRAME; in InitDPB() 97 dpb->fs[num_fs]->frame.isLongTerm = 0; in InitDPB() [all …]
|
D | reflist.cpp | 42 if ((dpb->fs[i]->IsReference == 3) && (!dpb->fs[i]->IsLongTerm)) in RefListInit() 45 if (dpb->fs[i]->FrameNum > (int)sliceHdr->frame_num) in RefListInit() 47 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum - video->MaxFrameNum; in RefListInit() 51 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum; in RefListInit() 53 dpb->fs[i]->frame.PicNum = dpb->fs[i]->FrameNumWrap; in RefListInit() 66 if ((dpb->fs[i]->IsReference == 3) && (!dpb->fs[i]->IsLongTerm)) in RefListInit() 69 if (dpb->fs[i]->FrameNum > (int)sliceHdr->frame_num) in RefListInit() 71 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum - video->MaxFrameNum; in RefListInit() 75 dpb->fs[i]->FrameNumWrap = dpb->fs[i]->FrameNum; in RefListInit() 77 dpb->fs[i]->frame.PicNum = dpb->fs[i]->FrameNumWrap; in RefListInit() [all …]
|
/frameworks/compile/slang/tests/F_fs_types/ |
D | stderr.txt.expect | 1 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/ |
D | FileSystem.cpp | 16 bool mcld::sys::fs::exists(const Path &pPath) in exists() 18 mcld::sys::fs::FileStatus file_status; in exists() 19 mcld::sys::fs::detail::status(pPath, file_status); in exists() 20 return (file_status.type() != mcld::sys::fs::StatusError) && in exists() 21 (file_status.type() != mcld::sys::fs::FileNotFound); in exists() 24 bool mcld::sys::fs::is_directory(const Path &pPath) in is_directory() 28 return (file_status.type() == mcld::sys::fs::DirectoryFile); in is_directory()
|
D | FileHandle.cpp | 78 bool FileHandle::open(const sys::fs::Path& pPath, in open() 89 m_Handler = sys::fs::detail::open(pPath, oflag(pMode)); in open() 91 m_Handler = sys::fs::detail::open(pPath, oflag(pMode), (int)pPerm); in open() 155 if (-1 == sys::fs::detail::ftruncate(m_Handler, pSize)) { in truncate() 174 ssize_t read_bytes = sys::fs::detail::pread(m_Handler, in read() 198 ssize_t write_bytes = sys::fs::detail::pwrite(m_Handler, in write()
|
D | CommandLine.cpp | 63 bool parser<mcld::sys::fs::Path>::parse(llvm::cl::Option &O, in parse() 66 mcld::sys::fs::Path &Val) in parse() 72 void parser<mcld::sys::fs::Path>::printOptionDiff(const llvm::cl::Option &O, in printOptionDiff() 73 const mcld::sys::fs::Path &V, in printOptionDiff() 74 parser<mcld::sys::fs::Path>::OptVal Default, in printOptionDiff() 89 void parser<mcld::sys::fs::Path>::anchor() in anchor()
|
D | Path.cpp | 20 using namespace mcld::sys::fs; 208 bool mcld::sys::fs::operator==(const Path& pLHS,const Path& pRHS) in operator ==() 213 bool mcld::sys::fs::operator!=(const Path& pLHS,const Path& pRHS) in operator !=() 218 Path mcld::sys::fs::operator+(const Path& pLHS, const Path& pRHS) in operator +() 220 mcld::sys::fs::Path result = pLHS; in operator +()
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | SearchDirs.h | 47 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; } in setSysRoot() 59 const sys::fs::Path& sysroot() const { return m_SysRoot; } in sysroot() 72 bool insert(const sys::fs::Path& pDirectory); 76 sys::fs::Path m_SysRoot;
|
D | CommandAction.h | 31 explicit InputFileAction(unsigned int pPosition, const sys::fs::Path &pPath); 33 const sys::fs::Path& path() const { return m_Path; } in 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; } in path() 69 sys::fs::Path m_Path;
|
D | MCLDInput.h | 54 const sys::fs::Path& pPath, 59 const sys::fs::Path& pPath, 72 const sys::fs::Path& path() const in path() 75 void setPath(const sys::fs::Path& pPath) in setPath() 128 sys::fs::Path m_Path;
|
D | InputBuilder.h | 61 const sys::fs::Path& pPath, 66 const sys::fs::Path& pPath, 110 const sys::fs::Path& pPath, 125 const sys::fs::Path& pPath,
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | RealPath.h | 19 namespace 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 {
|
D | Directory.h | 25 namespace fs { 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;
|
D | Path.h | 29 namespace fs { 165 struct less<mcld::sys::fs::Path> : public binary_function<mcld::sys::fs::Path, 166 mcld::sys::fs::Path, 169 bool operator() (const mcld::sys::fs::Path& pX,const mcld::sys::fs::Path& pY) const {
|
D | CommandLine.h | 67 class parser<mcld::sys::fs::Path> : public basic_parser<mcld::sys::fs::Path> 73 mcld::sys::fs::Path &Val); 77 const mcld::sys::fs::Path &V,
|
D | ToolOutputFile.h | 39 ToolOutputFile(const sys::fs::Path& pPath, 62 explicit CleanupInstaller(const sys::fs::Path& pPath); 70 sys::fs::Path m_Path;
|
/frameworks/compile/mclinker/lib/MC/ |
D | SearchDirs.cpp | 34 SearchDirs::SearchDirs(const sys::fs::Path& pSysRoot) in SearchDirs() 71 bool SearchDirs::insert(const sys::fs::Path& pPath) in insert() 76 mcld::sys::fs::Path* SearchDirs::find(const std::string& pNamespec, mcld::Input::Type pType) in find() 93 … if(mcld::sys::fs::detail::shared_library_extension == entry.path()->extension().native()) { in find() 106 mcld::sys::fs::detail::static_library_extension == entry.path()->extension().native()) { in find() 119 const mcld::sys::fs::Path* 137 … if(mcld::sys::fs::detail::shared_library_extension == entry.path()->extension().native()) { in find() 150 mcld::sys::fs::detail::static_library_extension == entry.path()->extension().native()) { in find()
|
D | ContextFactory.cpp | 17 : UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>(pNum) in ContextFactory() 25 LDContext* ContextFactory::produce(const sys::fs::Path& pPath) in produce() 29 result = UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>::allocate(); in produce()
|
/frameworks/compile/slang/tests/F_fs_oldkernel/ |
D | stderr.txt.expect | 1 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/compile/slang/tests/F_fs_ptr/ |
D | stderr.txt.expect | 1 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/base/tests/LowStorageTest/src/com/android/lowstoragetest/ |
D | LowStorageTest.java | 83 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/mclinker/include/mcld/ |
D | BitcodeOption.h | 33 void setPath(const sys::fs::Path& pPath) { m_Path = pPath; } in setPath() 35 const sys::fs::Path& getPath() const { return m_Path; } in getPath() 42 sys::fs::Path m_Path;
|
/frameworks/base/services/java/com/android/server/ |
D | AlarmManagerService.java | 421 FilterStats fs = mBroadcastStats.filterStats.get(mTarget); in InFlight() local 422 if (fs == null) { in InFlight() 423 fs = new FilterStats(mBroadcastStats, mTarget); in InFlight() 424 mBroadcastStats.filterStats.put(mTarget, fs); in InFlight() 426 mFilterStats = fs; in InFlight() 886 FilterStats fs = fe.getValue(); in dump() local 888 ? Arrays.binarySearch(topFilters, 0, len, fs, comparator) : 0; in dump() 897 topFilters[pos] = fs; in dump() 907 FilterStats fs = topFilters[i]; in dump() local 909 if (fs.nesting > 0) pw.print("*ACTIVE* "); in dump() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerStressTest.java | 155 StatFs fs = new StatFs(CACHE_DIR); in testDownloadToCacheWithAlmostFullCache() local 156 int blockSize = fs.getBlockSize(); in testDownloadToCacheWithAlmostFullCache() 157 int availableBlocks = fs.getAvailableBlocks(); in testDownloadToCacheWithAlmostFullCache() 175 while (fs.getAvailableBlocks() >= remainderSizeBlocks) { in testDownloadToCacheWithAlmostFullCache() 177 fs.restat(CACHE_DIR); in testDownloadToCacheWithAlmostFullCache() 190 long spaceAvailable = fs.getAvailableBlocks() * blockSize; in testDownloadToCacheWithAlmostFullCache()
|