Searched refs:path (Results 1 - 25 of 36) sorted by relevance

12

/build/tools/atree/
H A Dfs.h8 int remove_recursively(const string& path);
9 int mkdir_recursively(const string& path);
11 int strip_file(const string& path);
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;
109 mkdir_recursively(const string& path) argument
153 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/libs/host/include/host/
H A DDirectories.h6 std::string parent_dir(const std::string& path);
8 extern "C" int mkdirs(const char* path);
/build/tools/
H A Dfileslist.py20 def get_file_size(path):
21 st = os.lstat(path)
28 base = len(root[:root.rfind(os.path.sep)])
34 get_file_size(os.path.sep.join((dir, f))),
35 os.path.sep.join((relative, f)),
H A Dadbs113 path = os.environ['ANDROID_PRODUCT_OUT'] + "/symbols"
121 path = str.strip()
123 if (not os.path.exists(path)):
124 print path + " not found!"
127 symbols_dir = path
130 # determine the path of binutils
146 if (not os.path.exists(addr2line_cmd)):
154 if (not os.path.exists(addr2line_cmd)):
H A Dfindleaves.py28 pruneleaves = set(map(lambda x: os.path.split(x)[1], prune))
52 result.append(os.path.join(root, filename))
65 "progName": os.path.split(sys.argv[0])[1],
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):
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 Dcompare_fileslist.py85 combo = input.split(os.path.sep)[1]
/build/tools/releasetools/
H A Dimg_from_target_files64 user_dir = os.path.join(temp_dir, "data")
98 user_dir = os.path.join(temp_dir, "cache")
127 os.symlink(os.path.join(OPTIONS.input_tmp, "SYSTEM"),
128 os.path.join(OPTIONS.input_tmp, "system"))
132 # os.path.join(OPTIONS.input_tmp, "system"))
142 succ = build_image.BuildImage(os.path.join(OPTIONS.input_tmp, "system"),
156 output_zip.write(os.path.join(OPTIONS.input_tmp, "OTA", "android-info.txt"),
H A Dcommon.py221 if (not os.access(os.path.join(sourcedir, "RAMDISK"), os.F_OK) or
222 not os.access(os.path.join(sourcedir, "kernel"), os.F_OK)):
232 cmd = ["mkbootfs", "-f", fs_config_file, os.path.join(sourcedir, "RAMDISK")]
234 cmd = ["mkbootfs", os.path.join(sourcedir, "RAMDISK")]
244 cmd = ["mkbootimg", "--kernel", os.path.join(sourcedir, "kernel")]
246 fn = os.path.join(sourcedir, "cmdline")
251 fn = os.path.join(sourcedir, "base")
256 fn = os.path.join(sourcedir, "pagesize")
271 os.path.basename(sourcedir),)
289 prebuilt_path = os.path
[all...]
H A Dsign_target_files_apks113 name = os.path.basename(info.filename)
141 maxsize = max([len(os.path.basename(i.filename))
149 name = os.path.basename(info.filename)
245 os.path.join(OPTIONS.search_path, "framework", "dumpkey.jar")]
271 devkeydir = os.path.dirname(devkey)
H A Dbuild_image.py32 in_dir: path of input directory.
34 out_file: path of the output image file.
126 image_filename = os.path.basename(out_file)
H A Dcheck_target_files_signatures131 certs = [os.path.join(dirpath, i)
140 name, _ = os.path.splitext(i)
141 name, _ = os.path.splitext(name)
259 fullname = os.path.join(dirpath, fn)
263 self.apks_by_basename[os.path.basename(apk.filename)] = apk
H A Dota_from_target_files123 self.parent = Item.Get(os.path.dirname(name), dir=True)
328 path = os.path.join(input_tmp, "SYSTEM", "etc", "recovery-resource.dat")
329 if os.path.exists(path):
331 diff_program.append(path)
440 basename = os.path.basename(file_context)
799 OPTIONS.device_specific = os.path.normpath(OPTIONS.device_specific)
/build/target/board/vbox_x86/
H A Ddisk_layout.conf11 path /dev/block/sda
/build/core/
H A Ddumpvar.mk3 # what to add to the path given the config we have chosen.
46 # The "abs" version will treat the variable as a path, and dumps an
47 # absolute path to it.
58 # treat VARNAME as a path and return the absolute path to it.
H A Dpathmap.mk59 # Returns the path to the requested module's include directory,
65 define include-path-for
71 # so make it easy for them to find the correct path.
73 JNI_H_INCLUDE := $(call include-path-for,libnativehelper)/nativehelper
H A Dcleanspec.mk66 # Get the path of the top of the tree.
79 # Convert absolute path to relative path, e.g. when using mm.
H A Ddynamic_binary.mk20 # We have to figure out the corresponding unstripped path if LOCAL_MODULE_PATH is customized.
25 # The name of the target file, without any path prepended.
62 $(error Internal error: guessed path '$(guessed_intermediates)' doesn't match '$(intermediates))
/build/tools/droiddoc/templates-pdk/assets/
H A Dandroid-developer-docs.js109 document.cookie = cookie_namespace+section+cookie+"="+val+"; expires="+expiration+"; path=/";
260 var path = getBaseUri(location.pathname);
261 if (path.indexOf("/reference/") != -1) {
262 writeCookie("lastpage", path, "reference", null);
263 } else if (path.indexOf("/guide/") != -1) {
264 writeCookie("lastpage", path, "guide", null);
/build/core/tasks/
H A Dvendor_module_check.mk72 ifneq (,$(filter path all, $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_RESTRICT_VENDOR_FILES)))
/build/tools/droiddoc/test/stubs/
H A Dfunc.sh40 -J-Djava.library.path=out/host/$PLATFORM/lib \
/build/core/combo/
H A DHOST_darwin-x86.mk51 mac_sdk_path := $(shell xcode-select -print-path)

Completed in 1258 milliseconds

12