/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_mhlib.py | 28 _mhpath = os.path.join(_mhroot, "MH") 29 _mhprofile = os.path.join(_mhroot, ".mh_profile") 32 return os.path.join(*f.split('/')) 35 dir = os.path.split(fname)[0] 36 if dir and not os.path.exists(dir): 54 writeFile(os.path.join(_mhpath, "context"), 59 writeFile(os.path.join(_mhpath, folder, ".mh_sequences"), 66 mkdirs(os.path.join(_mhpath, folder)) 67 writeFile(os.path.join(_mhpath, folder, str(n)), contents) 70 return mhlib.MH(os.path.abspath(_mhpath), _mhprofile [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_mhlib.py | 28 _mhpath = os.path.join(_mhroot, "MH") 29 _mhprofile = os.path.join(_mhroot, ".mh_profile") 32 return os.path.join(*f.split('/')) 35 dir = os.path.split(fname)[0] 36 if dir and not os.path.exists(dir): 54 writeFile(os.path.join(_mhpath, "context"), 59 writeFile(os.path.join(_mhpath, folder, ".mh_sequences"), 66 mkdirs(os.path.join(_mhpath, folder)) 67 writeFile(os.path.join(_mhpath, folder, str(n)), contents) 70 return mhlib.MH(os.path.abspath(_mhpath), _mhprofile [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_mhlib.py | 28 _mhpath = os.path.join(_mhroot, "MH") 29 _mhprofile = os.path.join(_mhroot, ".mh_profile") 32 return os.path.join(*f.split('/')) 35 dir = os.path.split(fname)[0] 36 if dir and not os.path.exists(dir): 54 writeFile(os.path.join(_mhpath, "context"), 59 writeFile(os.path.join(_mhpath, folder, ".mh_sequences"), 66 mkdirs(os.path.join(_mhpath, folder)) 67 writeFile(os.path.join(_mhpath, folder, str(n)), contents) 70 return mhlib.MH(os.path.abspath(_mhpath), _mhprofile [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/builds/mac/ |
ftlib.prj.xml | 10 <!ELEMENT PATH (#PCDATA)> 12 <!ELEMENT FILE (PATHTYPE, PATHROOT?, ACCESSPATH?, PATH, PATHFORMAT?, ROOTFILEREF?, FILEKIND?, FILEFLAGS?)> 17 <!ELEMENT ROOTFILEREF (PATHTYPE, PATHROOT?, ACCESSPATH?, PATH, PATHFORMAT?)> 20 <!ELEMENT FILEREF (TARGETNAME?, PATHTYPE, PATHROOT?, ACCESSPATH?, PATH, PATHFORMAT?)> 73 <SETTING><NAME>Path</NAME><VALUE>:</VALUE></SETTING> 83 <SETTING><NAME>Path</NAME><VALUE>:::include:</VALUE></SETTING> 93 <SETTING><NAME>Path</NAME><VALUE>:::src:</VALUE></SETTING> 103 <SETTING><NAME>Path</NAME><VALUE>::</VALUE></SETTING> 115 <SETTING><NAME>Path</NAME><VALUE>:</VALUE></SETTING> 129 <SETTING><NAME>Path</NAME><VALUE></VALUE></SETTING [all...] |
/external/autotest/client/site_tests/network_ShillInitScripts/ |
network_ShillInitScripts.py | 31 cryptohome_path_command = 'cryptohome-path' 105 self.fake_user_hash = os.path.basename(self.root_cryptohome_dir) 182 def assure_path_owner(self, path, owner): 183 """ Assert that |path| is owned by |owner|. 185 @param path string pathname to test. 186 @param owner string user name that should own |path|. 189 self.assure(pwd.getpwuid(os.stat(path).st_uid)[0] == owner, 190 'Path %s is owned by %s' % (path, owner)) 193 def assure_path_group(self, path, group) [all...] |
/development/testrunner/test_defs/ |
native_test.py | 37 The test_suite must contain a build path where the native test 55 build_path = os.path.join(android_build.GetTop(), self.GetBuildPath()) 56 os.path.walk(build_path, self._CollectTestSources, source_list) 85 full_path = os.path.join(os.sep, "data", "nativetest", f) 110 This method is a callback for os.path.walk. 118 (name, ext) = os.path.splitext(f) 122 test_list.append(str(os.path.join(dirname, f))) 124 def _FilterOutMissing(self, path, sources): 132 path: Where the binaries should be. 133 sources: List of tests source path [all...] |
instrumentation_test.py | 150 # need to parse test output to determine path to coverage file 212 def HasInstrumentationTest(path): 213 """Determine if given path defines an instrumentation test. 216 path: file system path to instrumentation test. 218 manifest_parser = android_manifest.CreateAndroidManifest(path) 241 # if path is java file, populate class name 285 def _IsJavaFile(self, path): 286 """Returns true if given file system path is a java file.""" 287 return os.path.isfile(path) and self._IsJavaFileName(path [all...] |
/external/chromium-trace/catapult/catapult_build/ |
run_dev_server_tests.py | 24 # Path to dependency manager config containing chrome binary data. 62 def IsDepotToolsPath(path): 63 return os.path.isfile(os.path.join(path, 'gclient')) 68 for path in sys.path: 69 if path.rstrip(os.sep).endswith('depot_tools') and IsDepotToolsPath(path): 70 return path [all...] |
/external/clang/test/Analysis/ |
traversal-algorithm.mm | 60 // DFS-next:--END PATH-- 67 // DFS-next:--END PATH-- 81 // DFS-next:--END PATH-- 89 // DFS-next:--END PATH-- 97 // DFS-next:--END PATH-- 106 // DFS-next:--END PATH-- 114 // DFS-next:--END PATH-- 122 // DFS-next:--END PATH-- 130 // DFS-next:--END PATH-- 139 // DFS-next:--END PATH- [all...] |
/external/libbrillo/brillo/ |
url_utils_unittest.cc | 12 EXPECT_EQ("http://sample.org/path", 13 url::Combine("http://sample.org", "path")); 14 EXPECT_EQ("http://sample.org/path", 15 url::Combine("http://sample.org/", "path")); 19 EXPECT_EQ("http://sample.org/path", 20 url::Combine("http://sample.org/", "/path")); 21 EXPECT_EQ("http://sample.org/path", 22 url::Combine("http://sample.org", "//////path")); 63 "http://sample.org/path?k=v&&%3Dkey%3D=val%26&r#blah"); 110 std::string url = "http://server.com/path"; [all...] |
/external/llvm/utils/lit/lit/ |
util.py | 45 def mkdir_p(path): 46 """mkdir_p(path) - Make the "path" directory, if it does not exist; this 48 if not path or os.path.exists(path): 51 parent = os.path.dirname(path) 52 if parent != path: 56 os.mkdir(path) [all...] |
/external/skia/experimental/SkV8Example/ |
Path2DBuilder.cpp | 19 Path2DBuilder* path = new Path2DBuilder(); local 21 0, v8::External::New(gGlobal->getIsolate(), path)); 72 Path2DBuilder* path = Unwrap(args); local 73 path->fSkPath.close(); 85 Path2DBuilder* path = Unwrap(args); local 86 path->fSkPath.moveTo(SkDoubleToScalar(x), SkDoubleToScalar(y)); 98 Path2DBuilder* path = Unwrap(args); local 99 path->fSkPath.lineTo(SkDoubleToScalar(x), SkDoubleToScalar(y)); 113 Path2DBuilder* path = Unwrap(args); local 114 // TODO(jcgregorio) Doesn't handle the empty last path case correctly pe 134 Path2DBuilder* path = Unwrap(args); local 167 Path2DBuilder* path = Unwrap(args); local 197 Path2DBuilder* path = Unwrap(args); local 216 Path2DBuilder* path = Unwrap(args); local 239 Path2DBuilder* path = Unwrap(args); local 251 Path2DBuilder* path = Unwrap(args); local [all...] |
/frameworks/compile/mclinker/lib/Script/ |
InputCmd.cpp | 20 #include "mcld/Support/Path.h" 106 sys::fs::Path path; local 112 path = script.sysroot(); 113 path.append(token->name()); 116 path.assign(token->name()); 117 if (!sys::fs::exists(path)) { 118 // 3. Search through the library search path 119 sys::fs::Path* p = 122 path = *p 134 const sys::fs::Path* path = NULL; local [all...] |
/system/core/adb/ |
adb_utils.cpp | 73 bool directory_exists(const std::string& path) { 75 return lstat(path.c_str(), &sb) != -1 && S_ISDIR(sb.st_mode); 99 std::string adb_basename(const std::string& path) { 100 // Copy path because basename may modify the string passed in. 101 std::string result(path); 110 // the storage for 'path'. 122 std::string adb_dirname(const std::string& path) { 123 // Copy path because dirname may modify the string passed in. 124 std::string result(path); 133 // the storage for 'path' 250 WCHAR path[MAX_PATH]; local [all...] |
/external/skia/infra/bots/flavor/ |
android_flavor.py | 29 os.path.join(self._android_flavor.android_bin, 'adb_wait_for_device'), 53 self.android_bin = os.path.join( 57 os.path.join(self._android_sdk_root, 'platform-tools', 'adb'), 87 cmd = [os.path.join(self.android_bin, 'android_ninja'), target, 94 """Like os.path.join(), but for paths on a connected Android device.""" 97 def device_path_exists(self, path): 98 """Like os.path.exists(), but for paths on a connected device.""" 101 name='exists %s' % self._bot_info.m.path.basename(path), 103 cmd=['shell', 'if', '[', '-e', path, '];', [all...] |
/external/clang/test/Unit/ |
lit.cfg | 17 # test_source_root: The root path where tests are located. 18 # test_exec_root: The root path where tests should be run. 21 config.test_exec_root = os.path.join(clang_obj_root, 'unittests') 35 # Propagate path to symbolizer for ASan/MSan. 51 if site_cfg and os.path.exists(site_cfg): 63 llvm_config = lit.util.which('llvm-config', config.environment['PATH']) 70 clang_src_root = os.path.join(llvm_src_root, "tools", "clang") 71 clang_obj_root = os.path.join(llvm_obj_root, "tools", "clang") 75 this_src_root = os.path.join(os.path.dirname(__file__),'..','..' [all...] |
/external/google-breakpad/src/common/ |
dwarf_line_to_module.cc | 46 // Return true if PATH is an absolute path, false if it is relative. 47 static bool PathIsAbsolute(const string &path) { 48 return (path.size() >= 1 && path[0] == '/'); 51 static bool HasTrailingSlash(const string &path) { 52 return (path.size() >= 1 && path[path.size() - 1] == '/'); 55 // If PATH is an absolute path, return PATH. If PATH is a relative path [all...] |
/external/jsoncpp/ |
amalgamate.py | 9 import os.path namespace 30 f = open( os.path.join( self.top_dir, relative_input_path ), "rt" ) 43 output_dir = os.path.dirname( output_path ) 44 if output_dir and not os.path.isdir( output_dir ): 56 target_source_path: output .cpp path 57 header_include_path: generated header path relative to target_source_path. 79 target_header_path = os.path.join( os.path.dirname(target_source_path), header_include_path ) 83 base, ext = os.path.splitext( header_include_path ) 100 target_forward_header_path = os.path.join( os.path.dirname(target_source_path) [all...] |
/external/libchrome/base/files/ |
important_file_writer_unittest.cc | 26 std::string GetFileContent(const FilePath& path) { 28 if (!ReadFileToString(path, &content)) { 90 file_ = temp_dir_.path().AppendASCII("test-file"); 104 EXPECT_FALSE(PathExists(writer.path())); 110 ASSERT_TRUE(PathExists(writer.path())); 111 EXPECT_EQ("foo", GetFileContent(writer.path())); 116 EXPECT_FALSE(PathExists(writer.path())); 124 ASSERT_TRUE(PathExists(writer.path())); 125 EXPECT_EQ("foo", GetFileContent(writer.path())); 134 ASSERT_TRUE(PathExists(writer.path())); [all...] |
/external/opencv3/modules/java/ |
check-tests.py | 64 def parse(self, path): 65 if ".svn" in path: 67 if os.path.isfile(path): 68 if path.endswith("FeatureDetector.java"): 71 parser.parse_file(path,prefix1+prefix2) 72 elif path.endswith("DescriptorExtractor.java"): 75 parser.parse_file(path,prefix1+prefix2) 76 elif path.endswith("GenericDescriptorMatcher.java"): 78 parser.parse_file(path,prefix [all...] |
/external/opencv3/platforms/ios/ |
build_framework.py | 28 import glob, re, os, os.path, shutil, string, sys, exceptions, subprocess, argparse namespace 46 builddir = os.path.join(buildroot, target + '-' + arch) 47 if not os.path.isdir(builddir): 71 if os.path.isfile(os.path.join(builddir, "CMakeCache.txt")): 78 if os.path.isfile(wlib): 92 targetlist = glob.glob(os.path.join(dstroot, "build", "*")) 93 targetlist = [os.path.basename(t) for t in targetlist] 98 if os.path.isdir(framework_dir): 134 build_opencv(srcroot, os.path.join(dstroot, "build"), t[1], t[0] [all...] |
/external/proguard/src/proguard/ant/ |
ClassPathElement.java | 31 * This FileSet represents a class path entry (or a set of class path entries) 36 public class ClassPathElement extends Path 48 * @see Path#Path(Project) 57 * Adds the contents of this class path element to the given class path. 58 * @param classPath the class path to be extended. 68 // Get the referenced path or file set. 72 if (referencedObject instanceof Path) 74 Path path = (Path)referencedObject; local [all...] |
/external/selinux/libselinux/src/ |
selinuxswig_python.i | 17 def restorecon(path, recursive=False): 18 """ Restore SELinux context on a given path """ 21 mode = os.lstat(path)[stat.ST_MODE] 22 status, context = matchpathcon(path, mode) 24 path = os.path.realpath(os.path.expanduser(path)) 25 mode = os.lstat(path)[stat.ST_MODE] 26 status, context = matchpathcon(path, mode [all...] |
/external/v8/tools/gyp/pylib/gyp/ |
common.py | 10 import os.path namespace 89 # If a relative path, parsed_build_file is relative to the directory 91 # parsed_build_file is not a usable path as-is. Resolve it by 93 # absolute, it is usable as a path regardless of the current directory, 94 # and os.path.join will return it as-is. 95 build_file = os.path.normpath(os.path.join(os.path.dirname(build_file), 98 if not os.path.isabs(build_file): 126 # /path/to/file.gyp:target_name#toolse [all...] |
/external/webrtc/webrtc/base/ |
fileutils_mock.h | 63 * you can call Iterate for any path: /var, /var/dir, /var/dir2 69 virtual bool Iterate(const Pathname& path) { 71 path_ = path.pathname(); 73 // make sure path ends end with '/' 107 // path - top level path (ex. /var/lib) 108 // sub_path - subpath under top level path (ex. /var/lib/dir/dir/file ) 109 // find shortest non-trivial common path. (ex. /var/lib/dir) 142 std::string path = filename.pathname(); local 145 if (i_files->first.compare(path) == 0) [all...] |