/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_py_compile.py | 14 self.source_path = os.path.join(self.directory, '_test.py') 16 self.cwd_drive = os.path.splitdrive(os.getcwd())[0] 18 # current working directory path and the 'self.source_path' might be 21 drive = os.path.splitdrive(self.source_path)[0] 35 self.assertTrue(os.path.exists(self.pyc_path)) 40 py_compile.compile(os.path.basename(self.source_path), 41 os.path.basename(self.pyc_path)) 43 self.assertTrue(os.path.exists(self.pyc_path)) 46 py_compile.compile(os.path.relpath(self.source_path), 47 os.path.relpath(self.pyc_path) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_py_compile.py | 14 self.source_path = os.path.join(self.directory, '_test.py') 16 self.cwd_drive = os.path.splitdrive(os.getcwd())[0] 18 # current working directory path and the 'self.source_path' might be 21 drive = os.path.splitdrive(self.source_path)[0] 35 self.assertTrue(os.path.exists(self.pyc_path)) 40 py_compile.compile(os.path.basename(self.source_path), 41 os.path.basename(self.pyc_path)) 43 self.assertTrue(os.path.exists(self.pyc_path)) 46 py_compile.compile(os.path.relpath(self.source_path), 47 os.path.relpath(self.pyc_path) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_py_compile.py | 14 self.source_path = os.path.join(self.directory, '_test.py') 16 self.cwd_drive = os.path.splitdrive(os.getcwd())[0] 18 # current working directory path and the 'self.source_path' might be 21 drive = os.path.splitdrive(self.source_path)[0] 35 self.assertTrue(os.path.exists(self.pyc_path)) 40 py_compile.compile(os.path.basename(self.source_path), 41 os.path.basename(self.pyc_path)) 43 self.assertTrue(os.path.exists(self.pyc_path)) 46 py_compile.compile(os.path.relpath(self.source_path), 47 os.path.relpath(self.pyc_path) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_py_compile.py | 14 self.source_path = os.path.join(self.directory, '_test.py') 16 self.cwd_drive = os.path.splitdrive(os.getcwd())[0] 18 # current working directory path and the 'self.source_path' might be 21 drive = os.path.splitdrive(self.source_path)[0] 35 self.assertTrue(os.path.exists(self.pyc_path)) 40 py_compile.compile(os.path.basename(self.source_path), 41 os.path.basename(self.pyc_path)) 43 self.assertTrue(os.path.exists(self.pyc_path)) 46 py_compile.compile(os.path.relpath(self.source_path), 47 os.path.relpath(self.pyc_path) [all...] |
/system/update_engine/payload_consumer/ |
file_writer_unittest.cc | 41 string path; local 42 ASSERT_TRUE(utils::MakeTempFile("FileWriterTest-XXXXXX", &path, nullptr)); 43 ScopedPathUnlinker path_unlinker(path); 46 EXPECT_EQ(0, file_writer.Open(path.c_str(), 51 EXPECT_TRUE(utils::ReadFile(path, &actual_data)); 59 const string path("/tmp/ENOENT/FileWriterTest"); 60 EXPECT_EQ(-ENOENT, file_writer.Open(path.c_str(), 66 string path; local 67 ASSERT_TRUE(utils::MakeTempFile("FileWriterTest-XXXXXX", &path, nullptr)); 68 ScopedPathUnlinker path_unlinker(path); [all...] |
/external/clang/test/CodeGen/ |
tbaa-class.cpp | 1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -no-struct-path-tbaa -disable-llvm-optzns %s -emit-llvm -o - | FileCheck %s 2 // RUN: %clang_cc1 -triple x86_64-apple-darwin -O1 -disable-llvm-optzns %s -emit-llvm -o - | FileCheck %s -check-prefix=PATH 57 // PATH-LABEL: define i32 @_Z1g 58 // PATH: store i32 1, i32* %{{.*}}, align 4, !tbaa [[TAG_i32:!.*]] 59 // PATH: store i32 4, i32* %{{.*}}, align 4, !tbaa [[TAG_A_f32:!.*]] 69 // PATH-LABEL: define i32 @_Z2g2 70 // PATH: store i32 1, i32* %{{.*}}, align 4, !tbaa [[TAG_i32]] 71 // PATH: store i16 4, i16* %{{.*}}, align 4, !tbaa [[TAG_A_f16:!.*]] 81 // PATH-LABEL: define i32 @_Z2g3 82 // PATH: store i32 1, i32* %{{.*}}, align 4, !tbaa [[TAG_A_f32] [all...] |
/external/e2fsprogs/util/ |
symlinks.c | 38 * tidypath removes excess slashes and "." references from a path string 78 static int tidy_path (char *path) 83 s = path + strlen(path) - 1; 88 while (substr(path, "/./", "/")) 90 while (substr(path, "//", "/")) 93 while ((p = strstr(path,"/../")) != NULL) { 95 for (p--; p != path; p--) if (*p == '/') break; 101 if (*path == '\0') 102 strcpy(path,"/"); 321 static char path[PATH_MAX+2]; local [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
LineAndPointRenderer.java | 73 protected void appendToPath(Path path, PointF thisPoint, PointF lastPoint) {
75 path.lineTo(thisPoint.x, thisPoint.y);
86 Path path = null;
local 102 //appendToPath(path, thisPoint, lastPoint);
109 // record the first point of the new Path
111 path = new Path();
115 path.moveTo(firstPoint.x, firstPoint.y); [all...] |
/external/chromium-trace/catapult/telemetry/ |
cloud_storage | 15 sys.path.insert(1, os.path.abspath(os.path.join( 24 def _GetPaths(path): 25 root, ext = os.path.splitext(path) 28 hash_path = path 30 file_path = path 31 hash_path = path + '.sha1' 47 for path in files [all...] |
/external/chromium-trace/catapult/third_party/WebOb/webob/ |
static.py | 120 def __init__(self, path, index_page='index.html', hide_index_with_redirect=False, 122 self.path = os.path.abspath(path) 123 if not self.path.endswith(os.path.sep): 124 self.path += os.path.sep 125 if not os.path.isdir(self.path) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/ |
.classpath | 3 <classpathentry kind="src" path="plugins/org.eclipse.build.tools/src"/> 4 <classpathentry kind="src" path="plugins/org.eclipse.build.tools/src_rss"/> 5 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/ibm142"/> 6 <classpathentry kind="lib" path="/eclipseInternalBuildTools/plugins/org.eclipse.internal.build.tools/j2ee.jar"/> 7 <classpathentry kind="lib" path="plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ant.jar"/> 8 <classpathentry kind="lib" path="plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ant-antlr.jar"/> 9 <classpathentry kind="lib" path="plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ant-apache-bcel.jar"/> 10 <classpathentry kind="lib" path="plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ant-apache-bsf.jar"/> 11 <classpathentry kind="lib" path="plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ant-apache-log4j.jar"/> 12 <classpathentry kind="lib" path="plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ant-apache-oro.jar"/ [all...] |
/external/mockftpserver/MockFtpServer/ |
.classpath | 3 <classpathentry kind="src" path="src/main/java"/>
4 <classpathentry excluding="**/*.java" kind="src" path="src/main/resources"/>
5 <classpathentry kind="src" path="src/test/java"/>
6 <classpathentry kind="src" path="src/test/groovy"/>
7 <classpathentry excluding="**/*.java" kind="src" path="src/test/resources"/>
8 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
9 <classpathentry kind="var" path="M2_REPO/junit-addons/junit-addons/1.4/junit-addons-1.4.jar"/>
10 <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.13/log4j-1.2.13.jar"/>
11 <classpathentry kind="var" path="M2_REPO/commons-net/commons-net/1.4.1/commons-net-1.4.1.jar"/>
12 <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/> [all...] |
/external/owasp/sanitizer/tools/ |
cut_release.py | 14 def mime_type_from_path(path): 15 if path.endswith(".pom"): 17 elif path.endswith(".jar"): 23 trunk_directory_path = os.path.realpath(os.path.join( 24 os.path.dirname(sys.argv[0]), 26 maven_directory_path = os.path.realpath(os.path.join( 27 os.path.dirname(sys.argv[0]), 33 maven_metadata_path = os.path.join [all...] |
/external/skia/tools/ |
get_images_from_skps.cpp | 16 DEFINE_string2(skps, s, "", "A path to a directory of skps."); 17 DEFINE_string2(out, o, "", "A path to an output directory."); 36 SkString path; local 42 path = SkOSPath::Join(SkOSPath::Join(gOutputDir, "jpg").c_str(), ""); 43 path.appendS32(gCtr++); 44 path.append(".jpg"); 47 path = SkOSPath::Join(SkOSPath::Join(gOutputDir, "png").c_str(), ""); 48 path.appendS32(gCtr++); 49 path.append(".png"); 52 path = SkOSPath::Join(SkOSPath::Join(gOutputDir, "gif").c_str(), "") [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/ |
configHelpSourceEdit.py | 30 self.path.set(filePath) 46 self.path = StringVar(self) 56 text='Help File Path: Enter URL or browse for file') 57 self.entryPath = Entry(self.frameMain, textvariable=self.path, 83 path = self.path.get() 84 if path: 85 dir, base = os.path.split(path) 89 dir = os.path.join(os.path.dirname(sys.executable), 'Doc' [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/idlelib/ |
configHelpSourceEdit.py | 30 self.path.set(filePath) 46 self.path = StringVar(self) 56 text='Help File Path: Enter URL or browse for file') 57 self.entryPath = Entry(self.frameMain, textvariable=self.path, 83 path = self.path.get() 84 if path: 85 dir, base = os.path.split(path) 89 dir = os.path.join(os.path.dirname(sys.executable), 'Doc' [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
configHelpSourceEdit.py | 30 self.path.set(filePath) 46 self.path = StringVar(self) 56 text='Help File Path: Enter URL or browse for file') 57 self.entryPath = Entry(self.frameMain, textvariable=self.path, 83 path = self.path.get() 84 if path: 85 dir, base = os.path.split(path) 89 dir = os.path.join(os.path.dirname(sys.executable), 'Doc' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
configHelpSourceEdit.py | 30 self.path.set(filePath) 46 self.path = StringVar(self) 56 text='Help File Path: Enter URL or browse for file') 57 self.entryPath = Entry(self.frameMain, textvariable=self.path, 83 path = self.path.get() 84 if path: 85 dir, base = os.path.split(path) 89 dir = os.path.join(os.path.dirname(sys.executable), 'Doc' [all...] |
/cts/hostsidetests/appsecurity/test-apps/ReadExternalStorageApp/src/com/android/cts/readexternalstorageapp/ |
ReadExternalStorageTest.java | 50 for (File path : paths) { 51 assertNotNull("Valid media must be inserted during CTS", path); 53 Environment.getExternalStorageState(path)); 55 assertTrue(path.getAbsolutePath().contains(packageName)); 58 while (path.getAbsolutePath().contains(packageName)) { 59 assertDirReadWriteAccess(path); 60 path = path.getParentFile(); 64 while (path != null) { 65 if (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState(path))) { [all...] |
/external/chromium-trace/catapult/firefighter/bin/ |
packaging.py | 16 sys.path.append(os.path.dirname(os.path.dirname(os.path.realpath(__file__)))) 24 if os.path.splitext(file_name)[1] == '.yaml': 25 yield os.path.basename(root) 33 if os.path.splitext(file_name)[1] == '.yaml': 34 yield os.path.join(root, file_name) 47 The path to the temporary directory. 53 if os.path.isdir(src) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/services/ |
submit.py | 47 def submit_file(self, path, metadata=None, cb=None, num_cb=0, prefix='/'): 50 key_name = self.get_key_name(path, prefix) 53 k.set_contents_from_filename(path, replace=False, cb=cb, num_cb=num_cb) 56 def submit_path(self, path, tags=None, ignore_dirs=None, cb=None, num_cb=0, status=False, prefix='/'): 57 path = os.path.expanduser(path) 58 path = os.path.expandvars(path) [all...] |
/external/skia/tests/ |
PathOpsSimplifyDegenerateThreadedTest.cpp | 37 SkPath path, out; local 38 path.setFillType(SkPath::kWinding_FillType); 39 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay)); 40 path.lineTo(SkIntToScalar(bx), SkIntToScalar(by)); 41 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy)); 42 path.close(); 43 path.moveTo(SkIntToScalar(dx), SkIntToScalar(dy)); 44 path.lineTo(SkIntToScalar(ex), SkIntToScalar(ey)); 45 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); 46 path.close() [all...] |
PathOpsSimplifyTrianglesThreadedTest.cpp | 40 SkPath path, out; local 41 path.setFillType(SkPath::kWinding_FillType); 42 path.moveTo(SkIntToScalar(ax), SkIntToScalar(ay)); 43 path.lineTo(SkIntToScalar(bx), SkIntToScalar(by)); 44 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy)); 45 path.close(); 46 path.moveTo(SkIntToScalar(dx), SkIntToScalar(dy)); 47 path.lineTo(SkIntToScalar(ex), SkIntToScalar(ey)); 48 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); 49 path.close() [all...] |
/external/v8/tools/ |
verify_source_deps.py | 21 V8_BASE = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) 22 V8_SRC_BASE = os.path.join(V8_BASE, 'src') 23 V8_INCLUDE_BASE = os.path.join(V8_BASE, 'include') 26 os.path.join(V8_BASE, 'src', 'd8.gyp'), 27 os.path.join(V8_BASE, 'src', 'v8.gyp'), 28 os.path.join(V8_BASE, 'src', 'third_party', 'vtune', 'v8vtune.gyp'), 29 os.path.join(V8_BASE, 'test', 'cctest', 'cctest.gyp'), 30 os.path.join(V8_BASE, 'test', 'unittests', 'unittests.gyp') [all...] |
/device/moto/shamu/ |
mixer_paths.xml | 328 <path name="bt-sco-samplerate"> 331 </path> 334 <path name="bt-sco-wb-samplerate"> 337 </path> 339 <path name="deep-buffer-playback"> 341 </path> 343 <path name="deep-buffer-playback speaker"> 347 </path> 349 <path name="deep-buffer-playback handset"> 350 <path name="deep-buffer-playback speaker" / [all...] |