/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/_setup/py3/ |
data.py | 35 def splitpath(path): 36 """ Split a path """ 37 drive, path = '', _os.path.normpath(path) 39 splitunc = _os.path.splitunc 43 drive, path = splitunc(path) 45 drive, path = _os.path.splitdrive(path [all...] |
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/_setup/py2/ |
data.py | 35 def splitpath(path): 36 """ Split a path """ 37 drive, path = '', _os.path.normpath(path) 39 splitunc = _os.path.splitunc 43 drive, path = splitunc(path) 45 drive, path = _os.path.splitdrive(path [all...] |
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/_setup/py3/ |
data.py | 35 def splitpath(path): 36 """ Split a path """ 37 drive, path = '', _os.path.normpath(path) 39 splitunc = _os.path.splitunc 43 drive, path = splitunc(path) 45 drive, path = _os.path.splitdrive(path [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
PathInterpolatorBuilder.java | 17 import android.graphics.Path; 23 // This governs how accurate the approximation of the Path is. 30 public PathInterpolatorBuilder(Path path) { 31 initPath(path); 44 Path path = new Path(); local 45 path.moveTo(0, 0); 46 path.quadTo(controlX, controlY, 1f, 1f) 51 Path path = new Path(); local [all...] |
/hardware/libhardware/ |
hardware.c | 30 /** Base path of the hal modules */ 69 const char *path, 81 handle = dlopen(path, RTLD_NOW); 84 ALOGE("load: module=%s\n%s", path, err_str?err_str:"unknown"); 118 ALOGV("loaded HAL id=%s path=%s hmi=%p handle=%p", 119 id, path, *pHmi, handle); 129 * otherwise return negative. On success path will contain the path to the HAL. 131 static int hw_module_exists(char *path, size_t path_len, const char *name, 134 snprintf(path, path_len, "%s/%s.%s.so" 157 char path[PATH_MAX] = {0}; local [all...] |
/developers/build/prebuilts/gradle/Interpolator/Application/src/main/java/com/example/android/interpolator/ |
InterpolatorFragment.java | 20 import android.graphics.Path; 37 * This sample demonstrates the use of animation interpolators and path animations for 40 * view (scale X and Y) along a path. 66 * Path for in (shrinking) animation, from 100% scale to 20%. 68 private Path mPathIn; 70 * Path for out (growing) animation, from 20% to 100%. 72 private Path mPathOut; 102 // selected: the Interpolator, duration and animation path 111 // Animation path is based on whether animating in or out 112 Path path = mIsOut ? mPathIn : mPathOut [all...] |
/developers/samples/android/ui/Interpolator/Application/src/main/java/com/example/android/interpolator/ |
InterpolatorFragment.java | 20 import android.graphics.Path; 37 * This sample demonstrates the use of animation interpolators and path animations for 40 * view (scale X and Y) along a path. 66 * Path for in (shrinking) animation, from 100% scale to 20%. 68 private Path mPathIn; 70 * Path for out (growing) animation, from 20% to 100%. 72 private Path mPathOut; 102 // selected: the Interpolator, duration and animation path 111 // Animation path is based on whether animating in or out 112 Path path = mIsOut ? mPathIn : mPathOut [all...] |
/development/samples/browseable/Interpolator/src/com.example.android.interpolator/ |
InterpolatorFragment.java | 20 import android.graphics.Path; 37 * This sample demonstrates the use of animation interpolators and path animations for 40 * view (scale X and Y) along a path. 66 * Path for in (shrinking) animation, from 100% scale to 20%. 68 private Path mPathIn; 70 * Path for out (growing) animation, from 20% to 100%. 72 private Path mPathOut; 102 // selected: the Interpolator, duration and animation path 111 // Animation path is based on whether animating in or out 112 Path path = mIsOut ? mPathIn : mPathOut [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
grammar.rb | 18 attr_accessor :path, :force 27 def depends_on( path ) 28 path = File.expand_path path.to_s 29 dependencies << path if test( ?f, path ) 30 return path 53 def self.global_dependency( path ) 54 path = File.expand_path path.to_ [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_install.py | 37 destination = os.path.join(builddir, "installation") 41 dist.script_name = os.path.join(builddir, "setup.py") 44 build_lib=os.path.join(builddir, "lib"), 55 got = os.path.normpath(got) 56 expected = os.path.normpath(expected) 59 libdir = os.path.join(destination, "lib", "python") 64 os.path.join(destination, "include", "python", "foopkg")) 65 check_path(cmd.install_scripts, os.path.join(destination, "bin")) 77 self.user_base = os.path.join(self.tmpdir, 'B') 78 self.user_site = os.path.join(self.tmpdir, 'S' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_install.py | 37 destination = os.path.join(builddir, "installation") 41 dist.script_name = os.path.join(builddir, "setup.py") 44 build_lib=os.path.join(builddir, "lib"), 55 got = os.path.normpath(got) 56 expected = os.path.normpath(expected) 59 libdir = os.path.join(destination, "lib", "python") 64 os.path.join(destination, "include", "python", "foopkg")) 65 check_path(cmd.install_scripts, os.path.join(destination, "bin")) 77 self.user_base = os.path.join(self.tmpdir, 'B') 78 self.user_site = os.path.join(self.tmpdir, 'S' [all...] |
/system/vold/ |
secdiscard.cpp | 46 bool secdiscard_path(const std::string &path); 47 std::unique_ptr<struct fiemap> path_fiemap(const std::string &path, uint32_t extent_count); 48 bool check_fiemap(const struct fiemap &fiemap, const std::string &path); 50 std::string block_device_for_path(const std::string &path); 85 if (argv[j][0] != '/') return false; // Must be absolute path 97 fprintf(stderr, "Usage: %s [--no-unlink] -- <absolute path> ...\n", progname); 100 // BLKSECDISCARD all content in "path", if it's small enough. 101 bool secdiscard_path(const std::string &path) { 102 auto fiemap = path_fiemap(path, max_extents); 103 if (!fiemap || !check_fiemap(*fiemap, path)) { 148 << " in " << path; local 164 LOG(ERROR) << "Extent " << i << " has unexpected flags " << flags << ": " << path; local [all...] |
/external/pdfium/xfa/src/fwl/src/theme/ |
formtp.cpp | 286 CFX_Path path;
local 287 path.Create();
289 path.Clear();
290 path.MoveTo(pRect->left, pRect->top);
291 path.LineTo(pRect->left, fBottom - 1);
292 path.LineTo(fRight - 1, fBottom - 1);
293 path.LineTo(fRight - 1, pRect->top);
296 pGraphics->StrokePath(&path, pMatrix);
297 path.Clear();
298 path.MoveTo(pRect->left + 1, pRect->top); 394 CFX_Path path; local 460 CFX_Path path; local 520 CFX_Path path; local 548 CFX_Path path; local 839 CFX_Path path; local 864 CFX_Path path; local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
pkgutil.py | 9 import os.path namespace 71 def walk_packages(path=None, prefix='', onerror=None): 73 on path, or, if path is None, all accessible modules. 75 'path' should be either None or a list of paths to look for 82 modules!) on the given path, in order to access the __path__ 105 for importer, name, ispkg in iter_modules(path, prefix): 120 path = getattr(sys.modules[name], '__path__', None) or [] 122 # don't traverse path items we've seen before 123 path = [p for p in path if not seen(p) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
pkgutil.py | 9 import os.path namespace 71 def walk_packages(path=None, prefix='', onerror=None): 73 on path, or, if path is None, all accessible modules. 75 'path' should be either None or a list of paths to look for 82 modules!) on the given path, in order to access the __path__ 105 for importer, name, ispkg in iter_modules(path, prefix): 120 path = getattr(sys.modules[name], '__path__', None) or [] 122 # don't traverse path items we've seen before 123 path = [p for p in path if not seen(p) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
pkgutil.py | 9 import os.path namespace 71 def walk_packages(path=None, prefix='', onerror=None): 73 on path, or, if path is None, all accessible modules. 75 'path' should be either None or a list of paths to look for 82 modules!) on the given path, in order to access the __path__ 105 for importer, name, ispkg in iter_modules(path, prefix): 120 path = getattr(sys.modules[name], '__path__', None) or [] 122 # don't traverse path items we've seen before 123 path = [p for p in path if not seen(p) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
pkgutil.py | 9 import os.path namespace 71 def walk_packages(path=None, prefix='', onerror=None): 73 on path, or, if path is None, all accessible modules. 75 'path' should be either None or a list of paths to look for 82 modules!) on the given path, in order to access the __path__ 105 for importer, name, ispkg in iter_modules(path, prefix): 120 path = getattr(sys.modules[name], '__path__', None) or [] 122 # don't traverse path items we've seen before 123 path = [p for p in path if not seen(p) [all...] |
/external/skia/tests/ |
PathTest.cpp | 37 SkPath path; local 39 path.addRRect(rrect); 40 REPORTER_ASSERT(reporter, bounds == path.getBounds()); 44 SkPath path; local 45 path.moveTo(20, 20); 46 path.quadTo(20, 50, 80, 50); 47 path.quadTo(20, 50, 20, 80); 48 REPORTER_ASSERT(reporter, !path.isConvex()); 69 static void make_path_crbug364224(SkPath* path) { 70 path->reset() 100 SkPath path; local 130 SkPath path; local 172 SkPath path; local 191 SkPath path; local 288 SkPath path; local 308 SkPath path; local 411 SkPath path; local 487 SkPath path; local 515 SkPath path; local 561 SkPath path; local 582 SkPath path; local 622 SkPath path; local 637 SkPath path; local 797 SkPath path; local 822 SkPath path; local 899 SkPath path; local 947 SkPath path; local 1059 SkPath path; local 1398 SkPath path; local 1432 SkPath path; local 1525 SkPath path; local 1575 SkPath path; local 1787 SkPath path; local 1889 SkPath path; local 2049 SkPath path; local 2180 SkPath path; local 3014 SkPath path; local 3039 SkPath path; local 3078 SkPath path; local 3106 SkPath path; local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PathDashPathEffectTest.java | 24 import android.graphics.Path; 28 import android.graphics.Path.Direction; 48 canvas.drawPath(path(), p); method 73 private static Path path() { method in class:PathDashPathEffectTest 74 Path p = new Path(); 80 private static Path shape() { 81 Path p = new Path(); [all...] |
/external/autotest/client/cros/cellular/ |
mm.py | 52 a list of (ModemManager object, modem dbus path) 61 for path in manager.EnumerateDevices(): 62 result.append((manager, path)) 71 return the dbus path and a ModemManager object for that modem. 74 modem_pattern: pattern that should match the modem path 78 (ModemManager, Modem DBUS Path) tuple 86 matches = [(m, path) for m, path in devices if modem_pattern in path] 91 ', '.join([modem.path for modem in matches]) [all...] |
/external/autotest/utils/ |
coverage_suite.py | 8 root = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) 32 if dirpath.startswith(os.path.join(root, invalid_dir)): 59 testfile = os.path.abspath(os.path.join(dirname, f)) 65 coverage = os.path.join(root, "contrib/coverage.py") 77 start = os.path.join(root, sys.argv[1]) 82 os.path.walk(start, run_unittests, coverage) 89 temp = os.path.join(dirpath, f [all...] |
/external/clang/test/CodeGen/ |
bitfield.c | 1 // RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o - -O3 -no-struct-path-tbaa | FileCheck %s 2 // RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o - -O3 | FileCheck %s --check-prefix=PATH 21 // PATH-LABEL: @g0() 22 // PATH: ret i32 1 43 // PATH-LABEL: @g1() 44 // PATH: ret i32 1 63 // PATH-LABEL: @g2() 64 // PATH: ret i32 1 86 // PATH-LABEL: @g3() 87 // PATH: ret i32 [all...] |
/external/droiddriver/src/io/appium/droiddriver/util/ |
FileUtils.java | 35 * Opens file at {@code path} to output. If any directories on {@code path} do 40 public static BufferedOutputStream open(String path) throws FileNotFoundException { 41 File file = getAbsoluteFile(path); 53 * Returns a new file constructed using the absolute path of {@code path}. 57 * If any directories on {@code path} do not exist, they will be created. 59 public static File getAbsoluteFile(String path) { 60 File file = new File(path); 62 file = new File(System.getProperty("java.io.tmpdir"), path); [all...] |
/external/libcxxabi/test/ |
lit.cfg | 9 site.addsitedir(os.path.dirname(__file__)) 23 # test_source_root: The root path where tests are located. 24 config.test_source_root = os.path.dirname(__file__) 31 libcxx_src_root = os.path.join(config.test_source_root, '../../libcxx') 32 libcxx_test_src_root = os.path.join(libcxx_src_root, 'test') 33 if os.path.isfile(os.path.join(libcxx_test_src_root, 'libcxx', '__init__.py')): 54 config.test_exec_root = os.path.join(obj_root, 'test') 57 this_clang = os.path.join(obj_root, '../../bin/clang++') 58 if os.path.exists(this_clang) [all...] |
/external/lzma/CPP/Windows/ |
FileFind.cpp | 117 bool CFindFile::FindFirst(CFSTR path, CFileInfo &fi)
125 _handle = ::FindFirstFileA(fs2fas(path), &fd);
136 _handle = ::FindFirstFileW(fs2us(path), &fd);
141 if (GetSuperPath(path, longPath, USE_MAIN_PATH))
210 bool CFindStream::FindFirst(CFSTR path, CStreamInfo &si)
222 _handle = g_FindFirstStreamW(fs2us(path), My_FindStreamInfoStandard, &sd, 0);
227 // long name can be tricky for path like ".\dirName".
232 if (GetSuperPath(path, longPath, USE_MAIN_PATH))
294 static int FindAltStreamColon(CFSTR path)
298 FChar c = path[i]; [all...] |