/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
SharedStorageAgent.java | 66 int type, String domain, String relpath, long mode, long mtime) 68 if (DEBUG) Slog.d(TAG, "Shared restore: [ " + domain + " : " + relpath + "]"); 73 int slash = relpath.indexOf('/'); 76 int i = Integer.parseInt(relpath.substring(0, slash)); 78 outFile = new File(mVolumes[i].getPath(), relpath.substring(slash + 1)); 84 if (DEBUG) Slog.w(TAG, "Bad volume number token: " + relpath.substring(0, slash)); 90 Slog.e(TAG, "Skipping data with malformed path " + relpath);
|
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
ospath.py | 23 """Contains a substitute for Python 2.6's os.path.relpath().""" 28 # This function is a replacement for os.path.relpath(), which is only 31 # http://docs.python.org/library/os.path.html#os.path.relpath 33 # It should behave essentially the same as os.path.relpath(), except for 35 def relpath(path, start_path, os_path_abspath=None, sep=None): function
|
ospath_unittest.py | 28 from webkitpy.common.system.ospath import relpath namespace 34 """Tests relpath().""" 39 return relpath(path, abs_start_path, self.os_path_abspath)
|
directoryfileset.py | 49 return bool(self._filesystem.relpath(self._filesystem.join(dir, filename), dir))
|
filesystem.py | 221 def relpath(self, path, start='.'): member in class:FileSystem 222 return ospath.relpath(path, start)
|
filesystem_mock.py | 260 def relpath(self, path, start='.'): member in class:MockFileSystem 261 return ospath.relpath(path, start, self.abspath, self.sep)
|
/external/chromium-trace/trace-viewer/build/ |
generate_about_tracing_contents.py | 46 filenames = [os.path.relpath(x) for x in filenames] 53 rel_filename = os.path.relpath(style_sheet.filename, srcdir) 72 filenames = [os.path.relpath(x) for x in filenames] 82 rel_filename = os.path.relpath(module.filename, srcdir)
|
generate_deps_js_contents.py | 34 filenames = [os.path.relpath(x) for x in filenames]
|
/external/webkit/Tools/Scripts/ |
make-gypi | 50 collected_files.append(os.path.relpath(relative_path, '.'))
|
/external/webkit/Tools/Scripts/webkitpy/style/ |
main.py | 27 from webkitpy.common.system.ospath import relpath as _relpath
|
/system/media/camera/docs/ |
metadata-generate | 28 function relpath() { function 29 python -c "import os.path; print os.path.relpath('$1', '$PWD')" 42 echo "OK: Generated $(relpath "$out")" 44 echo "FAIL: Errors while generating $(relpath "$out")" >& 2
|
/development/tools/elftree/ |
elftree.c | 292 char *relpath; local 295 relpath = getenv("ANDROID_PRODUCT_OUT"); 296 if (!relpath) { 299 relpath = "."; 302 snprintf(path, PATH_MAX, "%s/%s", relpath, "system/lib");
|
/external/webkit/Tools/Scripts/webkitpy/common/config/ |
committervalidator.py | 33 from webkitpy.common.system.ospath import relpath namespace 53 # os.path.relpath 54 path = relpath(path, self._checkout_root())
|
/external/webkit/Tools/wx/build/ |
build_utils.py | 71 relpath = os.path.join(adir, feature) 72 featuredir = os.path.join(root, relpath) 73 if os.path.exists(featuredir) and not relpath in outdirs: 74 outdirs.append(relpath)
|
/external/icu4c/tools/tzcode/ |
zdump.c | 986 static void getzones(char * basedir, char * relpath, struct listentry ** last, int * count) { 992 if (relpath != NULL) { 994 strcat(path, relpath); 999 if (strstr(relpath, ".tab") == NULL && strcmp(relpath, "Etc/Unknown") != 0) { 1003 if ((pzonename = malloc(strlen(relpath) + 1)) == NULL) { 1006 strcpy(pzonename, relpath); 1027 if (relpath != NULL) { 1028 strcpy(subpath, relpath);
|
/bionic/libc/tools/ |
gensyscalls.py | 39 def create_file( relpath ): 40 dir = os.path.dirname( bionic_temp + relpath ) 42 return open( bionic_temp + relpath, "w" )
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/ |
deduplicate_tests.py | 187 return ospath.relpath(abs_path, relative_to)
|
/external/chromium/net/proxy/ |
proxy_script_fetcher_impl_unittest.cc | 72 GURL GetTestFileUrl(const std::string& relpath) { 79 return GURL(base_url.spec() + "/" + relpath);
|
/external/chromium-trace/ |
systrace-legacy.py | 219 js_files.append(os.path.relpath(module.filename, src_dir)) 222 css_files.append(os.path.relpath(style_sheet.filename, src_dir))
|
systrace.py | 252 js_files.append(os.path.relpath(module.filename, src_dir)) 255 css_files.append(os.path.relpath(style_sheet.filename, src_dir))
|
/external/chromium/testing/gmock/scripts/ |
upload.py | [all...] |
/external/chromium/testing/gtest/scripts/ |
upload.py | [all...] |
/external/libvpx/libvpx/third_party/googletest/src/scripts/ |
upload.py | [all...] |
/frameworks/base/libs/androidfw/ |
BackupHelpers.cpp | 498 String8 relpath(relstart); 500 // If relpath is empty, it means this is the top of one of the standard named 502 if (relpath.length() == 0) { 508 // relpath < 100 chars 510 if ((5 + packageName.length() + 1 + domain.length() >= 155) || (relpath.length() >= 100)) { 612 fullname.appendPath(relpath); 619 strncpy(buf, relpath.string(), 100); [all...] |
/external/chromium/chrome/common/extensions/docs/build/ |
directory.py | 371 This method is used because we may not be able to rely on os.path.relpath 670 relpath = sample_dirname + abspath.replace(sample_path, "") 672 zip_file.write(abspath, relpath)
|