Searched defs:path (Results 1 - 15 of 15) sorted by relevance

/build/tools/
H A Dnormalize_path.py20 import os.path namespace
25 print os.path.normpath(p)
29 print os.path.normpath(line.strip())
H A Dadbs18 import os.path namespace
23 sys.path.insert(0, os.path.dirname(__file__) + "/../../development/scripts")
H A Dgenerate-notice-files.py28 import os.path namespace
172 input_dir = os.path.normpath(args[3])
177 filename = os.path.join(root, file)
H A Djava-event-log-tags.py29 import os.path namespace
98 basename, _ = os.path.splitext(os.path.basename(fn))
148 output_dir = os.path.dirname(output_file)
149 if not os.path.exists(output_dir):
/build/core/tasks/check_boot_jars/
H A Dcheck_boot_jars.py9 import os.path namespace
54 package_name = os.path.dirname(f)
/build/core/
H A Dpathmap.mk24 # have the correct header files added to their include path automatically.
56 # Returns the path to the requested module's include directory,
62 define include-path-for
68 # so make it easy for them to find the correct path.
H A Ddex_preopt_libart.mk55 # Returns the path to the .odex file
57 # $(2): the full path (including file name) of the corresponding .jar or .apk.
58 define get-odex-file-path
62 # Returns the path to the image file (such as "/system/framework/<arch>/boot.art"
65 define get-image-file-path
H A Ddefinitions.mk62 # Full path to all files that are made by some tool
65 # Full path to all asm, C, C++, lex and yacc generated C files.
593 ## Convert "path/to/libXXX.so" to "-lXXX".
594 ## Any "path/to/libXXX.a" elements pass through unchanged.
759 define normalize-path-list
840 ## Append a leaf to a base path. Properly deals with
843 ## $(1): base path
844 ## $(2): leaf path
847 define append-path
1041 -rt-path
[all...]
/build/tools/atree/
H A Dfs.cpp21 is_dir(const string& path) argument
25 err = stat(path.c_str(), &st);
30 remove_file(const string& path) argument
32 int err = unlink(path.c_str());
34 fprintf(stderr, "error deleting file %s (%s)\n", path.c_str(),
42 remove_recursively(const string& path) argument
46 if (is_dir(path)) {
47 DIR *d = opendir(path.c_str());
50 path.c_str(), strerror(errno));
63 string full = path;
102 mkdir_recursively(const string& path) argument
146 strip_file(const string& path) argument
[all...]
H A Dfiles.cpp300 errstr = "Error: No path found on line.";
424 list_dir(const string& path, const FileRecord& rec, argument
431 full = path_append(full, path);
449 string entry = path_append(path, ent->d_name);
/build/tools/releasetools/
H A Dbuild_image.py24 import os.path namespace
182 sparse_image_path: the path to the (sparse) image
183 unsparse_image_path: the path to the (unsparse) image
227 img_dir = os.path.dirname(sparse_image_path)
228 unsparse_image_path = "unsparse_" + os.path.basename(sparse_image_path)
229 unsparse_image_path = os.path.join(img_dir, unsparse_image_path)
230 if os.path.exists(unsparse_image_path):
266 verity_image_path = os.path.join(tempdir_name, "verity.img")
267 verity_metadata_path = os.path.join(tempdir_name, "verity_metadata.img")
268 verity_fec_path = os.path
[all...]
/build/kati/
H A Dfileutil.cc124 void GetExecutablePath(string* path) { argument
132 *path = mypath;
140 *path = mypath;
H A Dfind.cc40 virtual bool IsTrue(const string& path, unsigned char type) const = 0;
52 virtual bool IsTrue(const string& path, unsigned char) const override {
53 return fnmatch(name_.c_str(), Basename(path).data(), 0) == 0;
76 virtual bool IsTrue(const string& path, unsigned char type) const override {
77 return !c_->IsTrue(path, type);
88 virtual bool IsTrue(const string& path, unsigned char type) const override {
89 if (c1_->IsTrue(path, type))
90 return c2_->IsTrue(path, type);
102 virtual bool IsTrue(const string& path, unsigned char type) const override {
103 if (!c1_->IsTrue(path, typ
132 PrintIfNecessary(const FindCommand& fc, const string& path, unsigned char type, int d, string* out) const argument
170 ScopedReadDirTracker(const DirentNode* n, const string& path, unordered_map<const DirentNode*, string>* cur_read_dirs) argument
796 string path = finddir.as_string(); variable
837 GetDtType(const string& path) argument
845 ConstructDirectoryTree(const string& path) argument
893 const string& path = p.first; local
[all...]
/build/tools/ijar/
H A Dzip_main.cc70 // Concatene 2 path, path1 and path2, using / as a directory separator and
88 // Do a recursive mkdir of all folders of path except the last path
89 // segment (if path ends with a / then the last path segment is empty).
91 void mkdirs(const char *path, mode_t mode) { argument
94 strncpy(path_, path, PATH_MAX);
127 char path[PATH_MAX]; local
129 concat_path(path, PATH_MAX, output_root_, filename);
130 mkdirs(path, per
146 basename(const char *path, char *output, size_t output_size) argument
195 char path[PATH_MAX]; local
[all...]
/build/tools/makeparallel/
H A Dmakeparallel.cpp305 const char* path = argv[1]; local
346 int ret = execvp(path, args.data());
348 error(errno, errno, "exec %s failed", path);

Completed in 219 milliseconds