Home
last modified time | relevance | path

Searched refs:rel_path (Results 1 – 25 of 84) sorted by relevance

1234

/external/ltp/testcases/kernel/syscalls/faccessat2/
Dfaccessat202.c39 static char *rel_path; variable
52 {&atcwd_fd, &rel_path, R_OK, -1, EINVAL, "invalid flags"},
53 {&atcwd_fd, &rel_path, -1, 0, EINVAL, "invalid mode"},
54 {&bad_fd, &rel_path, R_OK, 0, EBADF, "invalid fd"},
55 {&fd, &rel_path, R_OK, 0, ENOTDIR, "fd pointing to file"},
56 {&atcwd_fd, &rel_path, R_OK, AT_EACCESS, EACCES,
97 {&rel_path, .str = RELPATH},
Dfaccessat201.c31 static char *rel_path; variable
41 {&atcwd_fd, &rel_path, 0},
44 {&atcwd_fd, &rel_path, AT_EACCESS},
80 {&rel_path, .str = RELPATH},
/external/perfetto/tools/
Dcheck_include_violations40 rel_path = os.path.relpath(fpath, ROOT_DIR).replace('\\', '/')
44 sys.stderr.write('.cc files not allowed in includes/ : ' + rel_path +
64 ' <angle brackets> instead\n') % (rel_path, incl))
73 if (not rel_path.startswith('include/perfetto/ext/') and
76 '/ext/ header %s.\n') % (rel_path, incl))
Dgen_merged_protos60 def get_transitive_imports(rel_path, visited): argument
61 if rel_path in visited:
63 visited.add(rel_path)
64 with open(os.path.join(PROJECT_ROOT, rel_path), 'r', encoding='utf-8') as f:
70 res += [rel_path]
Dcheck_proto_comments51 rel_path = os.path.relpath(fpath, ROOT_DIR)
53 'the previous line:\t%s') % (rel_path, line))
Dcheck_sql_modules.py61 rel_path = os.path.relpath(path, args.stdlib_sources)
64 if not pattern.match(rel_path):
70 parsed = parse_file(rel_path, sql)
/external/curl/packages/vms/
Dcompare_curl_source.com197 $ rel_path = ref_dir - "[" - ref_base_dir
198 $! rel_path_len = f$length(rel_path) - 1
199 $! delim = f$extract(rel_path_len, 1, rel_path)
200 $! rel_path = rel_path - ".]" - ".>" - "]" - ">"
201 $! rel_path = rel_path + delim
205 $! if rel_path .eqs. ".examples.scripts^.noah]"
207 $! rel_path = ".examples.scripts_noah]"
209 $! if rel_path .eqs. ".examples.scripts^.v2]"
211 $! rel_path = ".examples.scripts_v2]"
215 $ wrk_path = wrk + rel_path
/external/rust/cxx/gen/build/src/
Dpaths.rs19 let mut rel_path = PathBuf::new(); in local_relative_path() localVariable
23 Component::ParentDir => drop(rel_path.pop()), // noop if empty in local_relative_path()
24 Component::Normal(name) => rel_path.push(name), in local_relative_path()
27 rel_path in local_relative_path()
/external/pigweed/pw_software_update/py/pw_software_update/
Dupdate_bundle.py59 rel_path = path.relative_to(root_dir)
60 if rel_path in exclude:
62 target_name = str(rel_path.as_posix())
64 if rel_path in remap_paths:
65 target_name = remap_paths[rel_path]
/external/python/asn1crypto/dev/
Dversion.py79 rel_path = file_path[len(package_root) + 1:]
82 print('Updated %d version%s in %s' % (found, s, rel_path))
86 print('%d version%s in %s %s up-to-date' % (found, s, rel_path, was_were))
/external/bazelbuild-rules_python/python/private/pypi/
Drepack_whl.py146 rel_path = p.relative_to(cwd)
147 dst = p.rename(patched_wheel_dir / rel_path)
160 rel_path = p.relative_to(patched_wheel_dir)
161 out.add_file(str(rel_path), p)
/external/tpm2-tss/src/tss2-fapi/
Difapi_policy_store.c29 const char *rel_path, in policy_rel_path_to_abs_path() argument
34 if (ifapi_path_type_p(rel_path, IFAPI_POLICY_PATH)) { in policy_rel_path_to_abs_path()
36 IFAPI_FILE_DELIM, rel_path); in policy_rel_path_to_abs_path()
39 IFAPI_FILE_DELIM, IFAPI_POLICY_PATH, IFAPI_FILE_DELIM, rel_path); in policy_rel_path_to_abs_path()
/external/python/asn1crypto/tests/
Dtest_init.py111 rel_path = full_path.replace(mod_root + os.sep, '')
112 files.append((full_path, rel_path))
114 for full_path, rel_path in sorted(files):
120 modname = rel_path.replace('.py', '').replace(os.sep, '.')
/external/linux-kselftest/tools/testing/selftests/livepatch/
Dfunctions.sh320 local rel_path="$1"; shift
323 local path="$KLP_SYSFS_DIR/$mod/$rel_path"
336 local rel_path="$1"; shift
339 local path="$KLP_SYSFS_DIR/$mod/$rel_path"
/external/perfetto/python/perfetto/common/
Drepo_utils.py34 def repo_dir(rel_path): argument
35 return os.path.join(repo_root() or '', rel_path)
/external/bazelbuild-rules_python/tests/pypi/whl_installer/
Dnamespace_pkgs_test.py32 def add_dir(self, rel_path: str) -> None:
33 d = pathlib.Path(self.dir, rel_path)
36 def add_file(self, rel_path: str, contents: Optional[str] = None) -> None:
37 f = pathlib.Path(self.dir, rel_path)
/external/cronet/stable/third_party/llvm-libc/src/cmake/modules/
DLLVMLibCTargetNameUtils.cmake2 file(RELATIVE_PATH rel_path ${LIBC_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
3 string(REPLACE "/" "." fq_name "libc.${rel_path}.${local_name}")
/external/autotest/frontend/tko/
Dpreconfigs.py15 rel_path = os.path.join(os.path.dirname(__file__), 'preconfigs',
17 return os.path.abspath(rel_path)
/external/cronet/tot/third_party/llvm-libc/src/cmake/modules/
DLLVMLibCTargetNameUtils.cmake2 file(RELATIVE_PATH rel_path ${LIBC_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
3 string(REPLACE "/" "." fq_name "libc.${rel_path}.${local_name}")
/external/wpa_supplicant_8/src/utils/
Dos_internal.c154 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument
159 if (rel_path[0] == '/') in os_rel2abs_path()
160 return os_strdup(rel_path); in os_rel2abs_path()
179 rel_len = os_strlen(rel_path); in os_rel2abs_path()
185 os_memcpy(ret + cwd_len + 1, rel_path, rel_len); in os_rel2abs_path()
/external/toolchain-utils/llvm_tools/
Dchroot.py139 rel_path = chroot_path[len(chroot_prefix) :]
141 abs_path = os.path.join(chromeos_root, rel_path)
/external/webrtc/tools_webrtc/
Dclang_tidy.py53 rel_path = os.path.relpath(os.path.abspath(filepath), out_dir)
56 command[0:1] = [GetClangTidyPath(), CHECKER_OPTION, rel_path
/external/tensorflow/tensorflow/tools/docs/
Dgenerate2.py292 for (rel_path, contents) in expected_path_contents.items():
293 path = output_dir / rel_path
309 for rel_path, content in rejected_path_contents.items():
310 path = output_dir / rel_path
/external/cronet/tot/net/data/verify_certificate_chain_unittest/
Drebase-errors.py77 def get_abs_path(rel_path): argument
79 return os.path.join(get_src_root(), rel_path)
/external/cronet/stable/net/data/verify_certificate_chain_unittest/
Drebase-errors.py77 def get_abs_path(rel_path): argument
79 return os.path.join(get_src_root(), rel_path)

1234