/development/tools/hosttestlib/src/com/android/hosttest/ |
DeviceTest.java | 41 * Retrieves host file system path that contains test app files 42 * @return {@link String} containing path, or <code>null</code> 47 * Sets host file system path that contains test app files 48 * @param path absolute file system path to test data files 50 public void setTestAppPath(String path);
|
/external/chromium-trace/trace-viewer/third_party/Paste/tests/ |
test_cgiapp.py | 7 data_dir = os.path.join(os.path.dirname(__file__), 'cgiapp_data') 12 app = TestApp(CGIApplication({}, script='ok.cgi', path=[data_dir])) 19 app = TestApp(CGIApplication({}, script='form.cgi', path=[data_dir])) 27 app = TestApp(CGIApplication({}, script='error.cgi', path=[data_dir])) 31 app = TestApp(CGIApplication({}, script='stderr.cgi', path=[data_dir]))
|
/external/chromium-trace/trace-viewer/third_party/WebOb/docs/wiki-example-code/ |
example.py | 58 self.storage_dir = os.path.abspath(os.path.normpath(storage_dir)) 74 def get_page(self, path): 75 path = path.lstrip('/') 76 if not path: 77 path = 'index' 78 path = os.path.join(self.storage_dir, path) [all...] |
/external/chromium-trace/trace-viewer/tracing/build/ |
trace2html_unittest.py | 24 simple_trace_path = os.path.join( 25 os.path.dirname(__file__), 27 big_trace_path = os.path.join( 28 os.path.dirname(__file__), 30 non_json_trace_path = os.path.join( 31 os.path.dirname(__file__),
|
/external/fio/lib/ |
linux-dev-lookup.c | 10 int blktrace_lookup_device(const char *redirect, char *path, unsigned int maj, 18 D = opendir(path); 28 sprintf(full_path, "%s%s%s", path, FIO_OS_PATH_SEPARATOR, dir->d_name); 38 strcpy(path, full_path); 52 strcpy(path, redirect); 58 strcpy(path, full_path);
|
/external/icu/icu4c/source/common/ |
ures_cnv.c | 34 char *path = pathBuffer; local 40 path = NULL; 52 u_UCharsToChars(myPath, path, length+1); /* length+1 to include the NUL */ 57 length=ucnv_fromUChars(cnv, path, (int32_t)sizeof(pathBuffer), myPath, length, status); 63 /* not NUL-terminated - path too long */ 75 return ures_open(path, localeID, status);
|
/external/icu/icu4c/source/test/perf/perldriver/ |
Common.pl.template | 12 $PerformanceDataPath = ""; #Change to Performance Data Path 14 $ICULatest = ""; # Change to path of latest ICU (e.g. /home/user/Desktop/icu-4.0) 15 $ICUPrevious = ""; # Change to path of previous ICU 21 $CollationDataPath = $PerformanceDataPath."/collation"; # Collation Performance Data Path 22 $ConversionDataPath = $PerformanceDataPath."/conversion"; # Conversion Performance Data Path 23 $UDHRDataPath = $PerformanceDataPath."/udhr"; # UDHR Performance Data Path
|
/external/libxml2/result/SVG/ |
marker.xml | 6 <path d="M 0 0 L 0 100 L 100 50 z"/> 11 <path d="M0 0"> 13 beginning of the path --> 16 <!-- Turn off markers in the middle of the path --> 19 <!-- Place an arrowhead at the end of the path--> 22 </path>
|
/external/libxml2/test/SVG/ |
marker.xml | 8 <path d="M 0 0 L 0 100 L 100 50 z"/>
13 <path d="M0 0">
15 beginning of the path -->
20 <!-- Turn off markers in the middle of the path -->
24 <!-- Place an arrowhead at the end of the path-->
27 </path>
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
TestUnixFakeFileSystem.groovy | 47 List listNames(String path) {
51 super.listNames(path)
54 List listFiles(String path) {
58 super.listFiles(path)
61 boolean delete(String path) {
65 super.delete(path)
|
/external/nanopb-c/tests/site_scons/site_tools/ |
nanopb.py | 19 the nanopb generator by a relative path. If this script is used in another 20 application, the path to nanopb root directory has to be defined: 22 env.SetDefault(NANOPB = "path/to/nanopb") 24 Additionally, the path to protoc and the options to give to protoc can be 27 env.SetDefault(PROTOC = "path/to/protoc") 28 env.SetDefault(PROTOCFLAGS = "--plugin=protoc-gen-nanopb=path/to/protoc-gen-nanopb") 34 import os.path namespace 41 '''Find the path to nanopb root directory.''' 46 p = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', '..') [all...] |
/external/pdfium/testing/tools/ |
pngdiffer.py | 20 input_root, _ = os.path.splitext(input_filename) 21 actual_path_template = os.path.join( 23 expected_path_template = os.path.join( 25 platform_expected_path_template = os.path.join( 34 if os.path.exists(platform_expected_path): 36 elif not os.path.exists(expected_path):
|
/external/selinux/libselinux/man/man3/ |
getfilecon.3 | 8 .BI "int getfilecon(const char *" path ", char **" con ); 10 .BI "int getfilecon_raw(const char *" path ", char **" con ); 12 .BI "int lgetfilecon(const char *" path ", char **" con ); 14 .BI "int lgetfilecon_raw(const char *" path ", char **" con ); 22 retrieves the context associated with the given path in the file system, the 36 is interrogated in place of path.
|
/external/selinux/libselinux/src/ |
getfilecon.c | 10 int getfilecon_raw(const char *path, char ** context) 22 ret = getxattr(path, XATTR_NAME_SELINUX, buf, size - 1); 26 size = getxattr(path, XATTR_NAME_SELINUX, NULL, 0); 37 ret = getxattr(path, XATTR_NAME_SELINUX, buf, size - 1); 54 int getfilecon(const char *path, char ** context) 61 ret = getfilecon_raw(path, &rcontext);
|
lgetfilecon.c | 10 int lgetfilecon_raw(const char *path, char ** context) 22 ret = lgetxattr(path, XATTR_NAME_SELINUX, buf, size - 1); 26 size = lgetxattr(path, XATTR_NAME_SELINUX, NULL, 0); 37 ret = lgetxattr(path, XATTR_NAME_SELINUX, buf, size - 1); 54 int lgetfilecon(const char *path, char ** context) 61 ret = lgetfilecon_raw(path, &rcontext);
|
/external/skia/tests/ |
FillPathTest.cpp | 32 SkPath path; local 37 path.moveTo(0.0f, 0.0f); 38 path.quadTo(SkIntToScalar(width/2), SkIntToScalar(height), 40 path.close(); 41 path.setFillType(SkPath::kInverseWinding_FillType); 42 SkScan::FillPath(path, clip, &blitter);
|
/external/toybox/toys/other/ |
chcon.c | 26 char *path, *con = *toys.optargs; local 30 path = dirtree_path(try, 0); 31 if (toys.optflags & FLAG_v) printf("chcon '%s' to %s\n", path, con); 32 if (-1 == ((toys.optflags & FLAG_h) ? lsetfilecon : setfilecon)(path, con)) 33 perror_msg("'%s' to %s", path, con); 34 free(path);
|
/frameworks/base/media/java/android/media/ |
IMediaScannerService.aidl | 28 * @param path the path to the file to be scanned. 34 void requestScanFile(String path, String mimeType, in IMediaScannerListener listener); 39 * @param path the path to the file to be scanned. 43 void scanFile(String path, String mimeType);
|
/libcore/luni/src/main/java/java/net/ |
InetUnixAddress.java | 29 * Constructs an AF_UNIX InetAddress for the given path. 31 public InetUnixAddress(String path) { 32 this(path.getBytes(StandardCharsets.UTF_8)); 36 * Constructs an AF_UNIX InetAddress for the given path. 38 public InetUnixAddress(byte[] path) { 39 super(AF_UNIX, path, null);
|
/libcore/luni/src/main/java/javax/net/ssl/ |
CertPathTrustManagerParameters.java | 23 * Certification path parameters to provide to certification path 34 * certification path parameters. 37 * the certification path parameters. 44 * Returns a copy of the certification path parameters. 46 * @return a copy of the certification path parameters.
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
TypedUriMatcherImpl.java | 38 String path = value.path(); local 39 if (path != null) { 40 addUriType(path, value); 48 private void addUriType(String path, T value) { 49 mUriMatcher.addURI(mAuthority, path, value.ordinal());
|
/system/core/libcutils/ |
fs.c | 40 int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid) { 41 // Check if path needs to be created 43 if (TEMP_FAILURE_RETRY(lstat(path, &sb)) == -1) { 47 ALOGE("Failed to lstat(%s): %s", path, strerror(errno)); 54 ALOGE("Not a directory: %s", path); 64 if (TEMP_FAILURE_RETRY(mkdir(path, mode)) == -1) { 66 ALOGE("Failed to mkdir(%s): %s", path, strerror(errno)); 72 if (TEMP_FAILURE_RETRY(chmod(path, mode)) == -1) { 73 ALOGE("Failed to chmod(%s, %d): %s", path, mode, strerror(errno)); 76 if (TEMP_FAILURE_RETRY(chown(path, uid, gid)) == -1) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
extent.c | 60 struct extent_path *path; member in struct:ext2_extent_handle 169 if (handle->path) { 171 if (handle->path[i].buf) 172 ext2fs_free_mem(&handle->path[i].buf); 174 ext2fs_free_mem(&handle->path); 246 &handle->path); 247 memset(handle->path, 0, 249 handle->path[0].buf = (char *) handle->inode->i_block; 251 handle->path[0].left = handle->path[0].entries 277 struct extent_path *path, *newpath; local 713 struct extent_path *path; local 767 struct extent_path *path; local 831 struct extent_path *path, *newpath = 0; local 1052 struct extent_path *path; local 1158 struct extent_path *path; local 1460 struct extent_path *path; local 1536 struct extent_path *path; local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
CornerPathEffectTest.java | 24 import android.graphics.Path; 42 Path path = new Path(); local 43 path.moveTo(0, PADDING); 44 path.lineTo(BITMAP_WIDTH - PADDING, PADDING); 45 path.lineTo(BITMAP_WIDTH - PADDING, BITMAP_HEIGHT); 58 // draw the path using the corner path effect 59 canvas.drawPath(path, pathPaint) [all...] |
/external/chromium-trace/trace-viewer/third_party/Paste/paste/debug/ |
fsdiff.py | 45 for path, f in before.items(): 46 if path not in after: 47 self.deleted[path] = f 49 del self.created[path] 50 if f.mtime < after[path].mtime: 51 self.updated[path] = after[path] 72 for path, f in files: 73 t = ' %s' % _space_prefix(last, path, indent=4, 75 last = path [all...] |