Home
last modified time | relevance | path

Searched refs:subpath (Results 1 – 25 of 49) sorted by relevance

12

/external/llvm/utils/llvm-build/llvmbuild/
Dcomponentinfo.py33 def __init__(self, subpath, name, dependencies, parent): argument
34 if not subpath.startswith('/'):
35 raise ValueError("invalid subpath: %r" % subpath)
36 self.subpath = subpath
98 def parse(subpath, items): argument
100 return GroupComponentInfo(subpath, **kwargs)
102 def __init__(self, subpath, name, parent): argument
103 ComponentInfo.__init__(self, subpath, name, [], parent)
126 def parse(subpath, items): argument
128 return LibraryComponentInfo(subpath, **kwargs)
[all …]
Dmain.py68 def recurse(subpath): argument
70 llvmbuild_path = os.path.join(llvmbuild_source_root + subpath,
77 subpath)
83 for item in recurse(os.path.join(subpath, subdir)):
122 ci.name, ci.subpath, existing.subpath))
212 info_basedir[ci.subpath] = info_basedir.get(ci.subpath, []) + [ci]
218 if ci.subpath == '/':
222 parent_path = os.path.dirname(ci.subpath)
225 parent_list.add(os.path.basename(ci.subpath))
228 for subpath, infos in info_basedir.items():
[all …]
/external/libchrome/build/android/gyp/util/
Dmd5_check.py102 def _GetOldTag(self, path, subpath=None): argument
103 return self.old_metadata and self.old_metadata.GetTag(path, subpath)
144 for subpath in self.new_metadata.IterSubpaths(path):
145 if self._GetOldTag(path, subpath) is None:
146 yield subpath
158 for subpath in self.old_metadata.IterSubpaths(path):
159 if self.new_metadata.GetTag(path, subpath) is None:
160 yield subpath
172 for subpath in self.new_metadata.IterSubpaths(path):
173 old_tag = self._GetOldTag(path, subpath)
[all …]
Dmd5_check_test.py16 for subpath, data in entries:
17 zip_file.writestr(subpath, data)
/external/squashfs-tools/squashfs-tools/
Daction.c762 if(action_data->subpath) in eval_expr_top()
763 expr_log(action_data->subpath); in eval_expr_top()
888 action_data.subpath = strdup(subpathname(dir_ent)); in eval_actions()
908 free(action_data.subpath); in eval_actions()
922 action_data.subpath = strdup(subpathname(dir_ent)); in eval_frag_actions()
932 free(action_data.subpath); in eval_frag_actions()
938 free(action_data.subpath); in eval_frag_actions()
975 int eval_exclude_actions(char *name, char *pathname, char *subpath, in eval_exclude_actions() argument
983 action_data.subpath = subpath; in eval_exclude_actions()
1525 action_data.subpath = strdup(subpathname(dir_ent)); in eval_empty_actions()
[all …]
Dandroid.c37 void alloc_mounted_path(const char *mount_point, const char *subpath, char **mounted_path) { in alloc_mounted_path() argument
38 *mounted_path = malloc(strlen(mount_point) + strlen(subpath) + 1); in alloc_mounted_path()
44 strcat(*mounted_path, subpath); in alloc_mounted_path()
Dinfo.c71 if(dir_ent->our_dir->subpath[0] != '\0') in print_filename()
72 INFO("%s/%s\n", dir_ent->our_dir->subpath, dir_ent->name); in print_filename()
Dandroid.h24 void alloc_mounted_path(const char *mount_point, const char *subpath, char **mounted_path);
Dmksquashfs.c347 struct dir_info *scan1_opendir(char *pathname, char *subpath, int depth);
881 static char *subpath = NULL; in subpathname() local
885 if(subpath == NULL) { in subpathname()
886 subpath = malloc(ALLOC_SIZE); in subpathname()
887 if(subpath == NULL) in subpathname()
892 if(dir_ent->our_dir->subpath[0] != '\0') in subpathname()
893 res = snprintf(subpath, size, "%s/%s", in subpathname()
894 dir_ent->our_dir->subpath, dir_ent->name); in subpathname()
896 res = snprintf(subpath, size, "/%s", dir_ent->name); in subpathname()
906 subpath = realloc(subpath, size); in subpathname()
[all …]
Dmksquashfs.h36 char *subpath; member
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DPathTester.java126 assertEquals(path, path.subpath(0, path.getNameCount())); in testSubpaths()
134 Path startSubpath = path.subpath(1, path.getNameCount()); in testSubpaths()
143 Path endSubpath = path.subpath(0, path.getNameCount() - 1); in testSubpaths()
174 other = other.subpath(0, other.getNameCount()); in testEndsWith()
176 other = other.subpath(1, other.getNameCount()); in testEndsWith()
/external/antlr/runtime/Ruby/lib/antlr3/test/
Dcore-extensions.rb5 def /( subpath ) argument
6 File.join( self, subpath.to_s )
/external/dagger2/java/dagger/internal/codegen/binding/
DBindingGraph.java336 private static boolean isSubpath(ComponentPath path, ComponentPath subpath) { in isSubpath() argument
337 if (path.components().size() < subpath.components().size()) { in isSubpath()
340 for (int i = 0; i < subpath.components().size(); i++) { in isSubpath()
341 if (!path.components().get(i).equals(subpath.components().get(i))) { in isSubpath()
/external/llvm/utils/lit/lit/
Ddiscovery.py160 subpath = path_in_suite + (filename,)
161 file_execpath = ts.getExecPath(subpath)
182 subiter = getTestsInSuite(ts, subpath, litConfig, testSuiteCache,
/external/llvm-project/llvm/utils/lit/lit/
Ddiscovery.py202 subpath = path_in_suite + (filename,)
203 file_execpath = ts.getExecPath(subpath)
225 subiter = getTestsInSuite(ts, subpath, litConfig, testSuiteCache,
/external/iproute2/etc/iproute2/
Dbpf_pinning2 # subpath mappings from mount point for pinning
/external/python/setuptools/pkg_resources/
D__init__.py1887 subpath = os.path.join(path_item, subitem)
1888 dists = find_eggs_in_zip(zipimport.zipimporter(subpath), subpath)
1892 subpath = os.path.join(path_item, subitem)
1893 submeta = EggMetadata(zipimport.zipimporter(subpath))
1894 submeta.egg_info = subpath
2105 subpath = handler(importer, path_item, packageName, module)
2106 if subpath is not None:
2108 path.append(subpath)
2111 return subpath
2185 subpath = _handle_ns(package, path_item)
[all …]
/external/libbrillo/brillo/
Durl_utils.cc66 std::string url::Combine(const std::string& url, const std::string& subpath) { in Combine() argument
67 return CombineMultiple(url, {subpath}); in Combine()
Durl_utils.h24 const std::string& subpath) WARN_UNUSED_RESULT;
/external/icu/icu4c/source/tools/tzcode/
Dzdump.c1077 char subpath[FILENAME_MAX + 1]; in getzones() local
1084 strcpy(subpath, relpath); in getzones()
1085 strcat(subpath, "/"); in getzones()
1086 strcat(subpath, dir->d_name); in getzones()
1088 strcpy(subpath, dir->d_name); in getzones()
1090 getzones(basedir, subpath, last, count); in getzones()
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DDependencyCycleValidator.java164 ImmutableList.Builder<Node> subpath = ImmutableList.builder(); in subpathToCycle() local
166 subpath.add(node); in subpathToCycle()
168 return subpath.build(); in subpathToCycle()
/external/llvm-project/lldb/source/Core/
DFormatEntity.cpp513 static bool ScanBracketedRange(llvm::StringRef subpath, in ScanBracketedRange() argument
519 const size_t open_bracket_index = subpath.find('['); in ScanBracketedRange()
526 close_bracket_index = subpath.find(']', open_bracket_index + 1); in ScanBracketedRange()
533 var_name_final_if_array_range = subpath.data() + open_bracket_index; in ScanBracketedRange()
541 const size_t separator_index = subpath.find('-', open_bracket_index + 1); in ScanBracketedRange()
544 const char *index_lower_cstr = subpath.data() + open_bracket_index + 1; in ScanBracketedRange()
552 const char *index_lower_cstr = subpath.data() + open_bracket_index + 1; in ScanBracketedRange()
553 const char *index_higher_cstr = subpath.data() + separator_index + 1; in ScanBracketedRange()
754 llvm::StringRef subpath(entry.string); in DumpValue() local
767 ScanBracketedRange(subpath, close_bracket_index, in DumpValue()
[all …]
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system.cc167 string JoinGcsPath(const string& path, const string& subpath) { in JoinGcsPath() argument
168 return strings::StrCat(MaybeAppendSlash(path), subpath); in JoinGcsPath()
184 StringPiece subpath = io::Dirname(path); in AddAllSubpaths() local
188 while (!(subpath.empty() || subpath == "/")) { in AddAllSubpaths()
189 result.emplace(string(subpath)); in AddAllSubpaths()
190 subpath = io::Dirname(subpath); in AddAllSubpaths()
1936 for (const string& subpath : children) { in RenameFile() local
1938 RenameObject(JoinGcsPath(src, subpath), JoinGcsPath(target, subpath))); in RenameFile()
/external/llvm-project/lldb/cmake/modules/
DAddLLDB.cmake325 set(subpath "LLDB.framework/Resources/debugserver") variable
326 set(path_shared "${xcode_dev_dir}/../SharedFrameworks/${subpath}")
327 set(path_private "${xcode_dev_dir}/Library/PrivateFrameworks/${subpath}")
/external/iproute2/lib/
Dbpf.c1080 const char *subpath; member
1331 return entry ? entry->subpath : NULL; in bpf_custom_pinning()
2298 char subpath[PATH_MAX] = {}; in bpf_hash_init() local
2307 while ((ret = bpf_read_pin_mapping(fp, &pinning, subpath))) { in bpf_hash_init()
2310 db_file, subpath); in bpf_hash_init()
2328 entry->subpath = strdup(subpath); in bpf_hash_init()
2329 if (!entry->subpath) { in bpf_hash_init()
2350 free((char *)entry->subpath); in bpf_hash_destroy()

12