/frameworks/native/cmds/atrace/ |
D | atrace.rc | 6 chmod 0222 /sys/kernel/debug/tracing/trace_marker 9 chown root shell /sys/kernel/debug/tracing/trace_clock 10 chown root shell /sys/kernel/debug/tracing/buffer_size_kb 11 chown root shell /sys/kernel/debug/tracing/options/overwrite 12 chown root shell /sys/kernel/debug/tracing/options/print-tgid 13 chown root shell /sys/kernel/debug/tracing/events/sched/sched_switch/enable 14 chown root shell /sys/kernel/debug/tracing/events/sched/sched_wakeup/enable 15 chown root shell /sys/kernel/debug/tracing/events/sched/sched_blocked_reason/enable 16 chown root shell /sys/kernel/debug/tracing/events/sched/sched_cpu_hotplug/enable 17 chown root shell /sys/kernel/debug/tracing/events/power/cpu_frequency/enable [all …]
|
/frameworks/compile/mclinker/lib/Support/ |
D | FileSystem.cpp | 16 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()
|
D | FileOutputBuffer.cpp | 15 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()
|
D | FileHandle.cpp | 76 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/compile/mclinker/include/mcld/MC/ |
D | SearchDirs.h | 44 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;
|
D | CommandAction.h | 30 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;
|
D | Input.h | 51 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/lib/MC/ |
D | MCLDDirectory.cpp | 30 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()
|
D | SearchDirs.cpp | 34 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()
|
D | ContextFactory.cpp | 18 : 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()
|
D | CommandAction.cpp | 26 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/ |
D | RealPath.h | 16 namespace sys { 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 {
|
D | Directory.h | 21 namespace sys { 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;
|
D | Path.h | 26 namespace sys { 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/native/opengl/tools/glgen2/registry/ |
D | genheaders.py | 24 import sys, time, pdb, string, cProfile 49 while (i < len(sys.argv)): 50 arg = sys.argv[i] 53 write('Enabling debug (-debug)', file=sys.stderr) 56 write('Enabling dump (-dump)', file=sys.stderr) 59 write('Disabling inclusion protection in output headers', file=sys.stderr) 62 write('Enabling profiling (-profile)', file=sys.stderr) 65 regFilename = sys.argv[i] 67 write('Using registry ', regFilename, file=sys.stderr) 69 write('Enabling timing (-time)', file=sys.stderr) [all …]
|
/frameworks/native/opengl/tools/glgen2/ |
D | glgen.py | 22 import sys 27 regpath = os.path.join(sys.path[0], "registry") 28 if sys.path[1] != regpath: 29 sys.path.insert(1, regpath) 117 reg.OutputGenerator.__init__(self, sys.stderr, sys.stderr, None) 140 reg.OutputGenerator.__init__(self, sys.stderr, sys.stderr, None) 207 reg.OutputGenerator.__init__(self, sys.stderr, sys.stderr, None)
|
/frameworks/base/core/tests/overlaytests/ |
D | testrunner.py | 8 import sys 53 sys.stdout.write(s) 54 sys.stdout.flush() 120 sys.stdout.write(self.text + '[ ]') 121 sys.stdout.flush() 126 sys.stdout.write('\r' + self.text + '[ OK ]\n') 127 sys.stdout.flush() 131 sys.stdout.write('\r' + self.color_RED + self.text + '[FAIL]\n') 132 sys.stdout.write(self.color_red) 133 sys.stdout.write(msg) [all …]
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
D | System.inc | 14 #include <sys/types.h> 15 #include <sys/stat.h> 19 namespace sys { 49 } // namespace sys
|
D | PathV3.inc | 13 #include <sys/stat.h> 14 #include <sys/types.h> 17 namespace sys { 21 // mcld::sys::fs::detail 158 mcld::sys::fs::PathCache::entry_type* bring_one_into_cache(DirIterator& pIter) { 159 mcld::sys::fs::PathCache::entry_type* entry = 0; 187 } // namespace sys
|
/frameworks/base/tools/layoutlib/rename_font/ |
D | build_font.py | 30 import sys 34 sys.dont_write_bytecode = True 66 sys.exit('Usage: build_font.py /path/to/input_fonts/ /path/to/out/dir/') 69 sys.exit(directory + ' is not a valid directory') 139 last_name_id = sys.maxint 167 last_name_id = sys.maxint 227 main(sys.argv[1:])
|
D | build_font_single.py | 31 import sys 35 sys.dont_write_bytecode = True 71 sys.exit('Usage: build_font_single.py /path/to/input/font.ttf /path/to/out/font.ttf') 123 last_name_id = sys.maxint 151 last_name_id = sys.maxint 211 main(sys.argv[1:])
|
/frameworks/compile/libbcc/lib/Support/ |
D | CompilerConfig.cpp | 38 if (!llvm::sys::getHostCPUFeatures(features)) in HasF16C() 113 llvm::sys::getHostCPUFeatures(features); in initializeArch() 161 setCPU(llvm::sys::getHostCPUName()); in initializeArch() 183 setCPU(llvm::sys::getHostCPUName()); in initializeArch() 219 setCPU(llvm::sys::getHostCPUName()); in initializeArch() 248 setCPU(llvm::sys::getHostCPUName()); in initializeArch()
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
D | System.inc | 15 #include <sys/types.h> 16 #include <sys/stat.h> 17 #include <sys/utsname.h> 21 namespace sys { 79 } // namespace sys
|
D | PathV3.inc | 18 #include <sys/stat.h> 19 #include <sys/types.h> 23 namespace sys { 27 // mcld::sys::fs::detail 189 mcld::sys::fs::PathCache::entry_type* bring_one_into_cache(DirIterator& pIter) { 190 mcld::sys::fs::PathCache::entry_type* entry = 0; 198 entry->setValue(sys::fs::Path(path)); 215 } // namespace sys
|
/frameworks/compile/mclinker/lib/Script/ |
D | GroupCmd.cpp | 95 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()
|