Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 74) sorted by relevance

123

/art/tools/checker/
Dchecker.py48 c1File = ParseC1visualizerStream(os.path.basename(outputFilename), open(outputFilename, "r"))
54 c1File = ParseC1visualizerStream(os.path.basename(outputFilename), open(outputFilename, "r"))
67 def FindCheckerFiles(path): argument
72 if not path:
74 elif os.path.isfile(path):
75 return [ path ]
76 elif os.path.isdir(path):
78 for root, dirs, files in os.walk(path):
80 extension = os.path.splitext(file)[1]
82 foundFiles.append(os.path.join(root, file))
[all …]
/art/test/510-checker-try-catch/src/
DMain.java44 for (TestPath path : TestPath.values()) { in testMethod()
45 Object[] arguments = new Object[] { path.arg1, path.arg2 }; in testMethod()
48 if (actual != path.expected) { in testMethod()
49 throw new Error("Method: \"" + method + "\", path: " + path + ", " + in testMethod()
50 "expected: " + path.expected + ", actual: " + actual); in testMethod()
/art/tools/ahat/test/
DInstanceTest.java248 List<PathElement> path = target.getPathFromGcRoot(); in gcRootPath() local
249 assertEquals(6, path.size()); in gcRootPath()
251 assertEquals(main, path.get(0).instance); in gcRootPath()
252 assertEquals(".stuff", path.get(0).field); in gcRootPath()
253 assertTrue(path.get(0).isDominator); in gcRootPath()
255 assertEquals(".gcPathArray", path.get(1).field); in gcRootPath()
256 assertTrue(path.get(1).isDominator); in gcRootPath()
258 assertEquals(gcPathArray, path.get(2).instance); in gcRootPath()
259 assertEquals("[2]", path.get(2).field); in gcRootPath()
260 assertTrue(path.get(2).isDominator); in gcRootPath()
[all …]
/art/tools/
Djavac-helper.sh67 boot_class_path_list=$($TOP/art/tools/bootjars.sh $bootjars_args --path)
70 for path in $boot_class_path_list; do
71 javac_bootclasspath+=("$path")
Dcpplint_presubmit.py37 path = pathlib.Path(f)
38 return f not in IGNORED_FILES and path.suffix in INTERESTING_SUFFIXES and path.exists()
Ddesugar.sh76 boot_class_path_list=$($TOP/art/tools/bootjars.sh $bootjars_args --path)
78 for path in $boot_class_path_list; do
79 desugar_args+=(--bootclasspath_entry="$path")
Dtest_presubmit.py31 THIS_PATH = os.path.dirname(os.path.realpath(__file__))
59 path = pathlib.Path(f)
60 return str(path) in tool_dict['interesting_files']
151 os.chdir(os.path.join(THIS_PATH, '..')) # run tool relative to 'art' directory
Dcpplint.py777 return os.path.abspath(self._filename).replace('\\', '/')
791 if os.path.exists(fullname):
792 project_dir = os.path.dirname(fullname)
794 if os.path.exists(os.path.join(project_dir, ".svn")):
798 one_up_dir = os.path.dirname(root_dir)
799 while os.path.exists(os.path.join(one_up_dir, ".svn")):
800 root_dir = os.path.dirname(root_dir)
801 one_up_dir = os.path.dirname(one_up_dir)
803 prefix = os.path.commonprefix([root_dir, project_dir])
808 root_dir = os.path.dirname(fullname)
[all …]
/art/test/testrunner/
Denv.py87 this_file_path = os.path.realpath(__file__)
88 path_to_top = os.path.join(os.path.dirname(this_file_path), '../../../')
89 path_to_top = os.path.realpath(path_to_top)
91 if not os.path.exists(os.path.join(path_to_top, 'build/envsetup.sh')):
234 HOST_OUT_EXECUTABLES = os.path.join(ANDROID_BUILD_TOP,
/art/tools/ahat/src/
DSitePrinter.java28 List<Site> path = new ArrayList<Site>(); in printSite() local
30 path.add(parent); in printSite()
32 Collections.reverse(path); in printSite()
61 HeapTable.render(doc, query, id, table, snapshot, path); in printSite()
/art/runtime/base/
Dscoped_flock.h58 static ScopedFlock DupOf(const int fd, const std::string& path,
72 LockedFile(int fd, const std::string& path, bool check_usage, bool read_only_mode) in LockedFile() argument
73 : FdFile(fd, path, check_usage, read_only_mode) { in LockedFile()
/art/runtime/base/unix_file/
Dfd_file.cc47 FdFile::FdFile(int fd, const std::string& path, bool check_usage) in FdFile() argument
48 : FdFile(fd, path, check_usage, false) { in FdFile()
51 FdFile::FdFile(int fd, const std::string& path, bool check_usage, bool read_only_mode) in FdFile() argument
53 fd_(fd), file_path_(path), auto_close_(true), read_only_mode_(read_only_mode) { in FdFile()
56 FdFile::FdFile(const std::string& path, int flags, mode_t mode, bool check_usage) in FdFile() argument
58 Open(path, flags, mode); in FdFile()
131 bool FdFile::Open(const std::string& path, int flags) { in Open() argument
132 return Open(path, flags, 0640); in Open()
135 bool FdFile::Open(const std::string& path, int flags, mode_t mode) { in Open() argument
137 DCHECK_EQ(fd_, -1) << path; in Open()
[all …]
Dfd_file.h41 FdFile(int fd, const std::string& path, bool checkUsage);
42 FdFile(int fd, const std::string& path, bool checkUsage, bool read_only_mode);
44 FdFile(const std::string& path, int flags, bool checkUsage) in FdFile() argument
45 : FdFile(path, flags, 0640, checkUsage) {} in FdFile()
46 FdFile(const std::string& path, int flags, mode_t mode, bool checkUsage);
Drandom_access_file_test.h46 std::string path; in GetTmpPath() local
47 path = android_data_; in GetTmpPath()
48 path += "/"; in GetTmpPath()
49 path += name; in GetTmpPath()
50 return path; in GetTmpPath()
/art/tools/common/
Dcommon.py311 path = android_root + '/bin'
317 self._shell_env['PATH'] = (path + ':' + self._shell_env['PATH'])
362 if os.path.isfile(file_path):
392 DEVICE_TMP_PATH, os.path.basename(self._host_env_path))
410 name = os.path.basename(temp_file.name)
495 for path in paths:
497 self._device_env_path, os.path.basename(path)))
498 self._AdbPush(path, self._device_env_path)
505 def _AdbMkdir(self, path): argument
506 check_call(shlex.split('adb shell mkdir "{0}" -p'.format(path)),
/art/runtime/
Djava_vm_ext.cc65 SharedLibrary(JNIEnv* env, Thread* self, const std::string& path, void* handle, in SharedLibrary() argument
67 : path_(path), in SharedLibrary()
234 SharedLibrary* Get(const std::string& path) REQUIRES(Locks::jni_libraries_lock_) { in Get() argument
235 auto it = libraries_.find(path); in Get()
239 void Put(const std::string& path, SharedLibrary* library) in Put() argument
241 libraries_.Put(path, library); in Put()
797 const std::string& path, in LoadNativeLibrary() argument
812 library = libraries_->Get(path); in LoadNativeLibrary()
838 path.c_str(), library->GetClassLoader(), class_loader); in LoadNativeLibrary()
842 VLOG(jni) << "[Shared library \"" << path << "\" already loaded in " in LoadNativeLibrary()
[all …]
/art/test/510-checker-try-catch/smali/
DRuntime.smali19 # - foo(false, false): normal path, returns 42
20 # - foo(true, false): exceptional path #1, returns 3
21 # - foo(false, true): exceptional path #2, returns 8
47 return v3 # Normal path return.
51 return v1 # Exceptional path #1 return.
54 return v2 # Exceptional path #2 return.
88 return v5 # Normal path return.
98 return v1 # Exceptional path #1 return.
105 return v3 # Exceptional path #2 return.
132 return v3 # Normal path return.
[all …]
/art/tools/jfuzz/
Drun_dex_fuzz_test.py25 sys.path.append(os.path.dirname(os.path.dirname(
26 os.path.realpath(__file__))))
Drun_jfuzz_test.py30 sys.path.append(os.path.dirname(os.path.dirname(
31 os.path.realpath(__file__))))
527 repro_cmd_str = (os.path.basename(__file__) + ' --num_tests 1 ' +
558 bisection_search_path = os.path.join(
583 file_path = os.path.join(self._jfuzz_dir, file_name)
584 if os.path.isfile(file_path):
586 elif os.path.isdir(file_path):
Drun_jfuzz_test_nightly.py38 cwd = os.path.dirname(os.path.realpath(__file__))
/art/test/922-properties/
Dexpected.txt2 "java.class.path": OK
4 "java.library.path": OK
52 "path.separator": OK
55 "java.boot.class.path": ERROR !!!JVMTI_ERROR_NOT_AVAILABLE
/art/runtime/native/
Djava_lang_VMClassLoader.cc126 const std::vector<const DexFile*>& path = in VMClassLoader_getBootClassPathEntries() local
129 env->NewObjectArray(path.size(), WellKnownClasses::java_lang_String, nullptr); in VMClassLoader_getBootClassPathEntries()
134 for (size_t i = 0; i < path.size(); ++i) { in VMClassLoader_getBootClassPathEntries()
135 const DexFile* dex_file = path[i]; in VMClassLoader_getBootClassPathEntries()
/art/tools/runtime_memusage/
Dprune_sanitizer_output.py96 if not os.path.isdir(path_name):
142 filename = os.path.basename(trace_file.name + "_filtered")
143 outfile = os.path.join(out_dir_name, filename)
/art/test/164-resolution-trampoline-dex-cache/src/
DMain.java48 String path = location + "/" + TEST_NAME + (ex ? "-ex.jar" : ".jar"); in getClassLoaderFor() local
49 return (ClassLoader)ctor.newInstance(path, parent); in getClassLoaderFor()
/art/test/155-java-set-resolved-type/src/
DMain.java75 String path = location + "/" + TEST_NAME + (ex ? "-ex.jar" : ".jar"); in getClassLoaderFor() local
76 return (ClassLoader)ctor.newInstance(path, parent); in getClassLoaderFor()

123