/external/chromium-trace/catapult/telemetry/telemetry/internal/util/ |
path.py | 43 def IsSubpath(subpath, superpath): 44 """Returns True iff subpath is or is in superpath.""" 45 subpath = os.path.realpath(subpath) 48 while len(subpath) >= len(superpath): 49 if subpath == superpath: 51 subpath = os.path.split(subpath)[0]
|
/external/llvm/utils/llvm-build/llvmbuild/ |
componentinfo.py | 33 def __init__(self, subpath, name, dependencies, parent): 34 if not subpath.startswith('/'): 35 raise ValueError("invalid subpath: %r" % subpath) 36 self.subpath = subpath 98 def parse(subpath, items): 100 return GroupComponentInfo(subpath, **kwargs) 102 def __init__(self, subpath, name, parent): 103 ComponentInfo.__init__(self, subpath, name, [], parent [all...] |
main.py | 68 def recurse(subpath): 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 == '/': 221 # Otherwise, append this subpath to the parent list [all...] |
/external/squashfs-tools/squashfs-tools/ |
android.h | 24 void alloc_mounted_path(const char *mount_point, const char *subpath, char **mounted_path);
|
android.c | 36 void alloc_mounted_path(const char *mount_point, const char *subpath, char **mounted_path) { 37 *mounted_path = malloc(strlen(mount_point) + strlen(subpath) + 1); 43 strcat(*mounted_path, subpath);
|
info.c | 71 if(dir_ent->our_dir->subpath[0] != '\0') 72 INFO("%s/%s\n", dir_ent->our_dir->subpath, dir_ent->name);
|
action.c | 762 if(action_data->subpath) 763 expr_log(action_data->subpath); 888 action_data.subpath = strdup(subpathname(dir_ent)); 908 free(action_data.subpath); 922 action_data.subpath = strdup(subpathname(dir_ent)); 932 free(action_data.subpath); 938 free(action_data.subpath); 975 int eval_exclude_actions(char *name, char *pathname, char *subpath, 983 action_data.subpath = subpath; [all...] |
mksquashfs.h | 36 char *subpath; member in struct:dir_info
|
action.h | 215 char *subpath; member in struct:action_data
|
mksquashfs.c | 328 struct dir_info *scan1_opendir(char *pathname, char *subpath, int depth); 816 static char *subpath = NULL; local 820 if(subpath == NULL) { 821 subpath = malloc(ALLOC_SIZE); 822 if(subpath == NULL) 827 if(dir_ent->our_dir->subpath[0] != '\0') 828 res = snprintf(subpath, size, "%s/%s", 829 dir_ent->our_dir->subpath, dir_ent->name); 831 res = snprintf(subpath, size, "/%s", dir_ent->name); 837 * subpath is too small to contain the result, s 3488 char *subpath = NULL; local 3689 char *subpath = strdup(subpathname(dir_ent)); local [all...] |
/device/generic/goldfish/opengl/system/gralloc/ |
Android.mk | 7 $(call emugl-set-shared-library-subpath,hw) 22 $(call emugl-set-shared-library-subpath,hw)
|
/device/generic/goldfish/opengl/tests/gles_android_wrapper/ |
Android.mk | 7 $(call emugl-set-shared-library-subpath,egl) 24 $(call emugl-set-shared-library-subpath,egl) 34 $(call emugl-set-shared-library-subpath,egl)
|
/system/core/run-as/ |
package.c | 233 char subpath[PATH_MAX]; local 245 if (nn >= (int)(sizeof subpath)) { 250 /* reject any '..' subpath */ 259 /* copy to 'subpath', then check ownership */ 260 memcpy(subpath, dataPath, nn); 261 subpath[nn] = '\0'; 263 if (check_directory_ownership(subpath, AID_SYSTEM) < 0)
|
/external/libbrillo/brillo/ |
url_utils.h | 20 // Appends a subpath to url and delimiting then with '/' if the path doesn't 24 const std::string& subpath) WARN_UNUSED_RESULT;
|
url_utils.cc | 66 std::string url::Combine(const std::string& url, const std::string& subpath) { 67 return CombineMultiple(url, {subpath});
|
/device/generic/goldfish/opengl/system/egl/ |
Android.mk | 7 $(call emugl-set-shared-library-subpath,egl)
|
/prebuilts/go/darwin-x86/src/cmd/vet/ |
copylock.go | 149 subpath := lockPath(tpkg, ftyp) 150 if subpath != nil { 151 return append(subpath, typ)
|
/prebuilts/go/linux-x86/src/cmd/vet/ |
copylock.go | 149 subpath := lockPath(tpkg, ftyp) 150 if subpath != nil { 151 return append(subpath, typ)
|
/external/libweave/src/ |
device_registration_info.h | 86 // Returns the GCD service request URL. If |subpath| is specified, it is 96 std::string GetServiceURL(const std::string& subpath = {}, 102 std::string GetDeviceURL(const std::string& subpath = {}, 107 std::string GetOAuthURL(const std::string& subpath = {},
|
device_registration_info.cc | 94 const std::string& subpath, 97 if (!result.empty() && result.back() != '/' && !subpath.empty()) { 98 CHECK_NE('/', subpath.front()); 101 result += subpath; 275 const std::string& subpath, 277 return BuildURL(GetSettings().service_url, subpath, params); 281 const std::string& subpath, 285 "devices/" + GetSettings().cloud_id + "/" + subpath, params); 289 const std::string& subpath, 291 return BuildURL(GetSettings().oauth_url, subpath, params) [all...] |
/external/llvm/utils/lit/lit/ |
discovery.py | 160 subpath = path_in_suite + (filename,) 161 file_execpath = ts.getExecPath(subpath) 182 subiter = getTestsInSuite(ts, subpath, litConfig, testSuiteCache,
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
core-extensions.rb | 5 def /( subpath ) 6 File.join( self, subpath.to_s )
|
/external/iproute2/tc/ |
tc_bpf.c | 688 const char *subpath; member in struct:bpf_hash_entry 918 return entry ? entry->subpath : NULL; 1510 char subpath[PATH_MAX]; local [all...] |
/external/icu/icu4c/source/tools/tzcode/ |
zdump.c | 1077 char subpath[FILENAME_MAX + 1]; local 1084 strcpy(subpath, relpath); 1085 strcat(subpath, "/"); 1086 strcat(subpath, dir->d_name); 1088 strcpy(subpath, dir->d_name); 1090 getzones(basedir, subpath, last, count);
|
/device/generic/goldfish/opengl/ |
common.mk | 234 # For example: $(call emugl-set-shared-library-subpath,egl) 235 emugl-set-shared-library-subpath = \
|