/build/make/tools/ |
H A D | normalize_path.py | 20 import os.path namespace 25 print os.path.normpath(p) 29 print os.path.normpath(line.strip())
|
H A D | adbs | 18 import os.path namespace 23 sys.path.insert(0, os.path.dirname(__file__) + "/../../development/scripts")
|
H A D | generate-notice-files.py | 31 import os.path namespace 197 help='The text output file path.') 200 help='The html output file path.') 203 help='The xml output file path.') 233 input_dir = os.path.normpath(args.source_dir) 250 filename = os.path.join(root, file)
|
H A D | java-event-log-tags.py | 29 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/tools/ |
H A D | normalize_path.py | 20 import os.path namespace 25 print os.path.normpath(p) 29 print os.path.normpath(line.strip())
|
H A D | adbs | 18 import os.path namespace 23 sys.path.insert(0, os.path.dirname(__file__) + "/../../development/scripts")
|
H A D | generate-notice-files.py | 31 import os.path namespace 197 help='The text output file path.') 200 help='The html output file path.') 203 help='The xml output file path.') 233 input_dir = os.path.normpath(args.source_dir) 250 filename = os.path.join(root, file)
|
H A D | java-event-log-tags.py | 29 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/ |
H A D | pathmap.mk | 24 # have the correct header files added to their include path automatically. 55 # Returns the path to the requested module's include directory, 61 define include-path-for 67 # so make it easy for them to find the correct path.
|
H A D | dex_preopt_libart.mk | 50 # Returns the path to the .odex file 52 # $(2): the full path (including file name) of the corresponding .jar or .apk. 53 define get-odex-file-path 57 # Returns the full path to the installed .odex file. 61 # $(2): the full install path (including file name) of the corresponding .apk. 63 define get-odex-installed-file-path 65 $(call get-odex-file-path,$(1),$(patsubst $(TARGET_OUT)/%,$(TARGET_OUT_SYSTEM_OTHER)/%,$(2))), 66 $(call get-odex-file-path,$(1),$(2))) 69 get-odex-installed-file-path = $(get-odex-file-path) [all...] |
/build/make/core/ |
H A D | pathmap.mk | 24 # have the correct header files added to their include path automatically. 55 # Returns the path to the requested module's include directory, 61 define include-path-for 67 # so make it easy for them to find the correct path.
|
H A D | dex_preopt_libart.mk | 50 # Returns the path to the .odex file 52 # $(2): the full path (including file name) of the corresponding .jar or .apk. 53 define get-odex-file-path 57 # Returns the full path to the installed .odex file. 61 # $(2): the full install path (including file name) of the corresponding .apk. 63 define get-odex-installed-file-path 65 $(call get-odex-file-path,$(1),$(patsubst $(TARGET_OUT)/%,$(TARGET_OUT_SYSTEM_OTHER)/%,$(2))), 66 $(call get-odex-file-path,$(1),$(2))) 69 get-odex-installed-file-path = $(get-odex-file-path) [all...] |
/build/core/tasks/check_boot_jars/ |
H A D | check_boot_jars.py | 9 import os.path namespace 54 package_name = os.path.dirname(f)
|
/build/make/core/tasks/check_boot_jars/ |
H A D | check_boot_jars.py | 9 import os.path namespace 54 package_name = os.path.dirname(f)
|
/build/make/tools/atree/ |
H A D | fs.cpp | 21 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...] |
/build/tools/atree/ |
H A D | fs.cpp | 21 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...] |
/build/make/tools/releasetools/ |
H A D | build_image.py | 24 import os.path namespace 104 avbtool: String with path to avbtool. 127 avbtool: String with path to avbtool. 225 sparse_image_path: the path to the (sparse) image 226 unsparse_image_path: the path to the (unsparse) image 267 img_dir = os.path.dirname(sparse_image_path) 268 unsparse_image_path = "unsparse_" + os.path.basename(sparse_image_path) 269 unsparse_image_path = os.path.join(img_dir, unsparse_image_path) 270 if os.path.exists(unsparse_image_path): 306 verity_image_path = os.path [all...] |
H A D | blockimgdiff.py | 24 import os.path namespace 318 # 1) an exact path match if available, otherwise 1276 b = os.path.basename(tgt_fn) 1299 b = os.path.basename(k)
|
H A D | ota_from_target_files | 83 (after having A and B), but want to enfore an update path of A -> C -> B. 145 import os.path namespace 237 path of "/boot". Otherwise the device may show "device is corrupt" message 247 recovery_two_step_img_path = os.path.join( 249 if os.path.exists(recovery_two_step_img_path): 303 path = os.path.join(tmpdir, "IMAGES", which + ".img") 304 mappath = os.path.join(tmpdir, "IMAGES", which + ".map") 308 assert os.path.exists(path) an [all...] |
H A D | ota_from_target_files.py | 83 (after having A and B), but want to enfore an update path of A -> C -> B. 145 import os.path namespace 237 path of "/boot". Otherwise the device may show "device is corrupt" message 247 recovery_two_step_img_path = os.path.join( 249 if os.path.exists(recovery_two_step_img_path): 303 path = os.path.join(tmpdir, "IMAGES", which + ".img") 304 mappath = os.path.join(tmpdir, "IMAGES", which + ".map") 308 assert os.path.exists(path) an [all...] |
/build/tools/releasetools/ |
H A D | build_image.py | 24 import os.path namespace 104 avbtool: String with path to avbtool. 127 avbtool: String with path to avbtool. 225 sparse_image_path: the path to the (sparse) image 226 unsparse_image_path: the path to the (unsparse) image 267 img_dir = os.path.dirname(sparse_image_path) 268 unsparse_image_path = "unsparse_" + os.path.basename(sparse_image_path) 269 unsparse_image_path = os.path.join(img_dir, unsparse_image_path) 270 if os.path.exists(unsparse_image_path): 306 verity_image_path = os.path [all...] |
/build/kati/ |
H A D | fileutil.cc | 133 void GetExecutablePath(string* path) { argument 141 *path = mypath; 149 *path = mypath;
|
/build/make/tools/ijar/ |
H A D | zip_main.cc | 70 // 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/make/tools/makeparallel/ |
H A D | makeparallel.cpp | 306 const char* path = argv[1]; local 397 int ret = execvp(path, args.data()); 399 error(errno, errno, "exec %s failed", path);
|
/build/tools/ijar/ |
H A D | zip_main.cc | 70 // 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...] |