/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_startfile.py | 13 from os import path namespace 27 empty = path.join(path.dirname(__file__), "empty.vbs") 36 empty = path.join(path.dirname(__file__), "empty.vbs")
|
test_ttk_guionly.py | 8 this_dir = os.path.dirname(os.path.abspath(__file__)) 9 lib_tk_test = os.path.abspath(os.path.join(this_dir, os.path.pardir,
|
test_importhooks.py | 52 def __init__(self, path=test_path): 53 if path != test_path: 55 # ImportError for any path item that we can't handle. 57 self.path = path 62 def find_module(self, fullname, path=None): 85 return [self.path] 94 def find_module(self, fullname, path=None): 104 def __init__(self, path=None): 105 if path is not None and not os.path.isdir(path) [all...] |
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_startfile.py | 13 from os import path namespace 27 empty = path.join(path.dirname(__file__), "empty.vbs") 36 empty = path.join(path.dirname(__file__), "empty.vbs")
|
test_ttk_guionly.py | 8 this_dir = os.path.dirname(os.path.abspath(__file__)) 9 lib_tk_test = os.path.abspath(os.path.join(this_dir, os.path.pardir,
|
test_importhooks.py | 52 def __init__(self, path=test_path): 53 if path != test_path: 55 # ImportError for any path item that we can't handle. 57 self.path = path 62 def find_module(self, fullname, path=None): 85 return [self.path] 94 def find_module(self, fullname, path=None): 104 def __init__(self, path=None): 105 if path is not None and not os.path.isdir(path) [all...] |
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/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/xpath/ |
XMPPathParser.java | 77 * @param path 84 public static XMPPath expandXPath(String schemaNS, String path) throws XMPException 86 if (schemaNS == null || path == null) 93 pos.path = path; 100 while (pos.stepEnd < path.length()) 104 skipPathDelimiter(path, pos); 110 if (path.charAt(pos.stepBegin) != '[') 139 verifyQualName(pos.path.substring(pos.nameStart, pos.nameEnd)); 157 verifyQualName(pos.path.substring(pos.nameStart, pos.nameEnd)) 527 public String path = null; field in class:PathPosition [all...] |
/frameworks/base/libs/hwui/ |
PathCache.cpp | 81 bool PathCache::canDrawAsConvexPath(SkPath* path, const SkPaint* paint) { 83 return paint->getPathEffect() == nullptr && path->getConvexity() == SkPath::kConvex_Convexity; 86 void PathCache::computePathBounds(const SkPath* path, const SkPaint* paint, 88 const SkRect& bounds = path->getBounds(); 123 static void drawPath(const SkPath *path, const SkPaint* paint, SkBitmap& bitmap, 132 canvas.drawPath(*path, pathPaint); 198 // If there is a pending task, the path was not added 201 ALOGE("Removing path texture of size %d will leave " 236 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath *path, 238 ATRACE_NAME("Generate Path Texture") 456 SkPath path; local 478 SkPath path; local 499 SkPath path; local 522 SkPath path; local 549 SkPath path; local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
SystemIDResolver.java | 49 * Get an absolute URI from a given relative URI (local path). 51 * <p>The relative URI is a local filesystem path. The path can be 52 * absolute or relative. If it is a relative path, it is resolved relative 55 * relative path. The space and backslash characters are also replaced to 67 // If the local path is a relative path, then it is resolved against 98 * Return an absolute path from a relative path. 100 * @param relativePath A relative path [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
SystemIDResolver.java | 42 * Get an absolute URI from a given relative URI (local path). 44 * <p>The relative URI is a local filesystem path. The path can be 45 * absolute or relative. If it is a relative path, it is resolved relative 48 * relative path. The space and backslash characters are also replaced to 60 // If the local path is a relative path, then it is resolved against 91 * Return an absolute path from a relative path. 93 * @param relativePath A relative path [all...] |
/external/skia/ |
gyp_skia | 18 script_dir = os.path.abspath(os.path.dirname(__file__)) 21 gyp_source_dir = os.path.join(script_dir, 'third_party', 'externals', 'gyp') 24 gyp_config_dir = os.path.join(script_dir, 'gyp') 32 sys.path.insert(0, os.path.join(gyp_source_dir, 'pylib')) 47 specified_includes.add(os.path.realpath(arg[2:])) 50 def AddInclude(path): 51 if os.path.realpath(path) not in specified_includes [all...] |
/external/v8/build/ |
gyp_v8 | 40 script_dir = os.path.dirname(os.path.realpath(__file__)) 41 v8_root = os.path.abspath(os.path.join(script_dir, os.pardir)) 43 sys.path.insert(0, os.path.join(v8_root, 'build', 'gyp', 'pylib')) 47 sys.path.insert( 48 1, os.path.abspath(os.path.join(v8_root, 'tools', 'generate_shim_headers'))) 55 if not file_path or not os.path.exists(file_path) [all...] |
/frameworks/av/drm/libdrmframework/ |
DrmManagerClientImpl.cpp | 101 int uniqueId, const String8* path, const int action) { 103 if ((NULL != path) && (EMPTY_STRING != *path)) { 105 getDrmManagerService()->getConstraints(uniqueId, path, action); 110 DrmMetadata* DrmManagerClientImpl::getMetadata(int uniqueId, const String8* path) { 112 if ((NULL != path) && (EMPTY_STRING != *path)) { 113 drmMetadata = getDrmManagerService()->getMetadata(uniqueId, path); 119 int uniqueId, const String8& path, const String8& mimeType) { 121 if ((EMPTY_STRING != path) || (EMPTY_STRING != mimeType)) [all...] |
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/_setup/py3/ |
shell.py | 35 cwd = _os.path.dirname(_os.path.abspath(_sys.argv[0])) 60 def native(path): 61 """ Convert slash path to native """ 62 path = _os.path.sep.join(path.split('/')) 63 return _os.path.normpath(_os.path.join(cwd, path)) [all...] |
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rjsmin/_setup/py3/ |
shell.py | 35 cwd = _os.path.dirname(_os.path.abspath(_sys.argv[0])) 60 def native(path): 61 """ Convert slash path to native """ 62 path = _os.path.sep.join(path.split('/')) 63 return _os.path.normpath(_os.path.join(cwd, path)) [all...] |
/external/fonttools/Lib/fontTools/ |
t1Lib.py | 5 read(path) 8 to by 'path'. 11 write(path, data, kind='OTHER', dohex=False) 12 writes raw Type 1 data to the file pointed to by 'path'. 53 def __init__(self, path=None): 54 if path is not None: 55 self.data, type = read(path) 59 def saveAs(self, path, type): 60 write(path, self.getData(), type) 103 def read(path, onlyHeader=False) [all...] |
/external/lzma/C/Util/SfxSetup/ |
SfxSetup.c | 165 static Bool DoesFileOrDirExist(const WCHAR *path)
169 handle = FindFirstFileW(path, &fd);
176 static WRes RemoveDirWithSubItems(WCHAR *path)
181 size_t len = wcslen(path);
182 wcscpy(path + len, L"*");
183 handle = FindFirstFileW(path, &fd);
184 path[len] = L'\0';
192 wcscpy(path + len, fd.cFileName);
195 wcscat(path, L"\\");
196 res = RemoveDirWithSubItems(path);
244 WCHAR path[MAX_PATH * 3 + 2]; local [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...] |
/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/jmonkeyengine/engine/src/test/jme3test/animation/ |
TestMotionPath.java | 59 private MotionPath path; field in class:TestMotionPath 71 path = new MotionPath(); 72 path.addWayPoint(new Vector3f(10, 3, 0)); 73 path.addWayPoint(new Vector3f(10, 3, 10)); 74 path.addWayPoint(new Vector3f(-40, 3, 10)); 75 path.addWayPoint(new Vector3f(-40, 3, 0)); 76 path.addWayPoint(new Vector3f(-40, 8, 0)); 77 path.addWayPoint(new Vector3f(10, 8, 0)); 78 path.addWayPoint(new Vector3f(10, 8, 10)); 79 path.addWayPoint(new Vector3f(15, 8, 10)) [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...] |
/external/v8/test/benchmarks/ |
testcfg.py | 110 if testcase.path.startswith("kraken"): 111 result.append(os.path.join(self.testroot, "%s-data.js" % testcase.path)) 112 result.append(os.path.join(self.testroot, "%s.js" % testcase.path)) 113 elif testcase.path.startswith("octane"): 114 result.append(os.path.join(self.testroot, "octane/base.js")) 115 result.append(os.path.join(self.testroot, "%s.js" % testcase.path)) 116 if testcase.path.startswith("octane/gbemu") [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...] |