/bionic/libc/kernel/tools/ |
update_all.py | 63 rel_path = os.path.normpath(os.path.join(root, file)) variable 64 rel_path = rel_path[original_dir_len:] variable 66 if modified_dir and os.path.exists(os.path.join(modified_dir, rel_path)): 67 sources[rel_path] = False 69 sources[rel_path] = True 82 for rel_path in sorted(sources): 83 if sources[rel_path]: 89 dst_path, newdata = clean_header.cleanupFile(kernel_dir, src_dir, rel_path) 105 str = "cleaning: %-*s -> %-*s (%s)" % (35, src_str + rel_path, 35, rel_dst_path, state [all...] |
clean_header.py | 82 def cleanupFile(dst_dir, src_dir, rel_path, no_update = True): 87 full_path = os.path.join(src_dir, rel_path) 102 m = re.match(r"asm-([\w\d_\+\.\-]+)(/.*)", rel_path) 111 m_uapi = re.match(r"(uapi)/([\w\d_\+\.\-]+)(/.*)", rel_path) 113 dst_path = rel_path 120 dst_path = os.path.join("common", rel_path)
|
/system/tools/aidl/tests/ |
test_util.h | 30 std::string* rel_path,
|
fake_io_delegate.cpp | 100 string package, class_name, rel_path; local 101 SplitPackageClass(canonical_name, &rel_path, &package, &class_name); 111 SetFileContents(rel_path, contents); 115 string package, class_name, rel_path; local 116 SplitPackageClass(canonical_name, &rel_path, &package, &class_name); 119 SetFileContents(rel_path, contents); 124 string package, class_name, rel_path; local 125 SplitPackageClass(canonical_name, &rel_path, &package, &class_name); 131 SetFileContents(rel_path, contents);
|
test_util.cpp | 39 string rel_path{package_class}; 40 for (char& c : rel_path) { 45 rel_path += extension; 46 return rel_path; 50 string* rel_path, 55 *rel_path = CanonicalNameToPath(package_class.c_str(), ".aidl");
|
end_to_end_tests.cpp | 55 void CheckFileContents(const string& rel_path, 58 ASSERT_TRUE(io_delegate_.GetWrittenContents(rel_path, &actual_content)) 59 << "Expected aidl to write to " << rel_path << " but it did not."; 66 FAIL() << "Actual contents of " << rel_path
|
/external/autotest/frontend/tko/ |
preconfigs.py | 15 rel_path = os.path.join(os.path.dirname(__file__), 'preconfigs', 17 return os.path.abspath(rel_path)
|
/external/curl/packages/vms/ |
compare_curl_source.com | 198 $ rel_path = ref_dir - "[" - ref_base_dir 199 $! rel_path_len = f$length(rel_path) - 1 200 $! delim = f$extract(rel_path_len, 1, rel_path) 201 $! rel_path = rel_path - ".]" - ".>" - "]" - ">" 202 $! rel_path = rel_path + delim 206 $! if rel_path .eqs. ".examples.scripts^.noah]" 208 $! rel_path = ".examples.scripts_noah]" 210 $! if rel_path .eqs. ".examples.scripts^.v2] [all...] |
/development/testrunner/coverage/ |
coverage_targets.py | 120 rel_path = src_element.getAttribute(self._PATH_ATTR) 121 target.AddPath(os.path.join(target.GetBuildPath(), rel_path))
|
/external/wpa_supplicant_8/src/utils/ |
os_internal.c | 148 char * os_rel2abs_path(const char *rel_path) 153 if (rel_path[0] == '/') 154 return os_strdup(rel_path); 173 rel_len = os_strlen(rel_path); 179 os_memcpy(ret + cwd_len + 1, rel_path, rel_len);
|
os_none.c | 70 char * os_rel2abs_path(const char *rel_path) 72 return NULL; /* strdup(rel_path) can be used here */
|
os_unix.c | 275 char * os_rel2abs_path(const char *rel_path) 281 if (!rel_path) 284 if (rel_path[0] == '/') 285 return os_strdup(rel_path); 307 rel_len = os_strlen(rel_path); 313 os_memcpy(ret + cwd_len + 1, rel_path, rel_len);
|
os_win32.c | 154 char * os_rel2abs_path(const char *rel_path) 156 return _strdup(rel_path);
|
os.h | 175 * @rel_path: Relative path to a file 182 * buffer, e.g., return strdup(rel_path). This function is only used to find 186 char * os_rel2abs_path(const char *rel_path);
|
/external/chromium-trace/catapult/catapult_base/catapult_base/refactor_util/ |
move.py | 115 rel_path = os.path.relpath(module_path, _BaseDir(module_path)) 116 return os.path.splitext(rel_path)[0].replace(os.sep, '.')
|
/development/tools/checkstyle/ |
checkstyle.py | 250 rel_path = os.path.relpath(file_name) 252 ['git', 'show', commit + ':' + rel_path]) 254 tmp_file_name = os.path.join(tmp_dir_name, rel_path)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
perf_profiler.py | 43 rel_path = os.path.relpath(path, os.curdir) 44 return rel_path if len(rel_path) < len(path) else path
|
/bionic/libc/tools/ |
gensyscalls.py | 616 rel_path = os.path.join(arch_dir, "syscalls") 617 for file in os.listdir(os.path.join(bionic_libc_root, rel_path)): 619 self.old_stubs.append(os.path.join(rel_path, file))
|
/external/autotest/client/common_lib/ |
base_job.py | 843 for rel_path, d, files in os.walk('.'): 845 [rel_path, f]) for f in files if f.endswith('.tap')]) [all...] |
/external/squashfs-tools/squashfs-tools/ |
mksquashfs.c | 3132 char *rel_path; local [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/ |
upload-diffs.py | [all...] |
/prebuilts/go/darwin-x86/src/net/url/ |
url.go | 838 // The "abs_path" or "rel_path" cases.
|
/prebuilts/go/linux-x86/src/net/url/ |
url.go | 838 // The "abs_path" or "rel_path" cases.
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.apache.commons.httpclient_3.1.0.v201005080502.jar | |