Home
last modified time | relevance | path

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

12

/third_party/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},
83 {&rel_path, .str = RELPATH},
/third_party/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
/third_party/jerryscript/tests/
Dtest262-es6.patch6 if self.ShouldRun(rel_path, tests):
8 name = rel_path.split(path.sep)[:-1] + [basename]
11 + if rel_path in EXCLUDE_LIST:
12 + print 'Excluded: ' + rel_path
/third_party/rust/crates/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()
Dlib.rs406 let ref rel_path = paths::local_relative_path(rust_source_file); in generate_bridge()
412 let ref rel_path_h = rel_path.with_appended_extension(".h"); in generate_bridge()
416 let ref link_path = include_dir.join(rel_path); in generate_bridge()
419 let ref rel_path_cc = rel_path.with_appended_extension(".cc"); in generate_bridge()
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
Dcmake.py96 def NormjoinPathForceCMakeSource(base_path, rel_path): argument
104 if os.path.isabs(rel_path):
105 return rel_path
106 if any(rel_path.startswith(var) for var in FULL_PATH_VARS):
107 return rel_path
110 "${CMAKE_CURRENT_LIST_DIR}", os.path.normpath(os.path.join(base_path, rel_path))
114 def NormjoinPath(base_path, rel_path): argument
120 if rel_path.startswith("$") and not rel_path.startswith("${configuration}"):
121 return rel_path
122 return os.path.normpath(os.path.join(base_path, rel_path))
[all …]
/third_party/node/tools/gyp/pylib/gyp/generator/
Dcmake.py96 def NormjoinPathForceCMakeSource(base_path, rel_path): argument
104 if os.path.isabs(rel_path):
105 return rel_path
106 if any([rel_path.startswith(var) for var in FULL_PATH_VARS]):
107 return rel_path
110 "${CMAKE_CURRENT_LIST_DIR}", os.path.normpath(os.path.join(base_path, rel_path))
114 def NormjoinPath(base_path, rel_path): argument
120 if rel_path.startswith("$") and not rel_path.startswith("${configuration}"):
121 return rel_path
122 return os.path.normpath(os.path.join(base_path, rel_path))
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dos_internal.c156 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument
161 if (rel_path[0] == '/') in os_rel2abs_path()
162 return os_strdup(rel_path); in os_rel2abs_path()
181 rel_len = os_strlen(rel_path); in os_rel2abs_path()
187 os_memcpy(ret + cwd_len + 1, rel_path, rel_len); in os_rel2abs_path()
Dos_unix.c286 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument
292 if (!rel_path) in os_rel2abs_path()
295 if (rel_path[0] == '/') in os_rel2abs_path()
296 return os_strdup(rel_path); in os_rel2abs_path()
318 rel_len = os_strlen(rel_path); in os_rel2abs_path()
324 os_memcpy(ret + cwd_len + 1, rel_path, rel_len); in os_rel2abs_path()
Dos_win32.c154 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument
156 return _strdup(rel_path); in os_rel2abs_path()
Dos_none.c70 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument
/third_party/googletest/googletest/scripts/
Dcommon.py62 rel_path = m.group(2)
63 root = os.path.realpath(rel_path.count('/') * '../')
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dos_internal.c162 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument
167 if (rel_path[0] == '/') in os_rel2abs_path()
168 return os_strdup(rel_path); in os_rel2abs_path()
187 rel_len = os_strlen(rel_path); in os_rel2abs_path()
193 os_memcpy(ret + cwd_len + 1, rel_path, rel_len); in os_rel2abs_path()
Dos_unix.c292 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument
298 if (!rel_path) in os_rel2abs_path()
301 if (rel_path[0] == '/') in os_rel2abs_path()
302 return os_strdup(rel_path); in os_rel2abs_path()
324 rel_len = os_strlen(rel_path); in os_rel2abs_path()
330 os_memcpy(ret + cwd_len + 1, rel_path, rel_len); in os_rel2abs_path()
Dos_win32.c154 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument
156 return _strdup(rel_path); in os_rel2abs_path()
Dos_none.c70 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument
Dos.h187 char * os_rel2abs_path(const char *rel_path);
/third_party/python/Lib/unittest/
Dmain.py36 rel_path = os.path.relpath(name, os.getcwd())
37 if os.path.isabs(rel_path) or rel_path.startswith(os.pardir):
39 name = rel_path
/third_party/curl/tests/
Dpathhelp.pm646 my ($drv, $rel_path) = @_;
671 $res .= $rel_path if defined $rel_path;
/third_party/node/deps/v8/third_party/test262-harness/src/
Dtest262.py451 def ShouldRun(self, rel_path, tests): argument
455 if test in rel_path:
483 rel_path = full_path[len(self.test_root)+1:]
486 rel_path = full_path
487 if self.ShouldRun(rel_path, tests):
489 name = rel_path.split(path.sep)[:-1] + [basename]
/third_party/nghttp2/examples/
Dlibevent-server.c541 char *rel_path; in on_request_recv() local
557 for (rel_path = stream_data->request_path; *rel_path == '/'; ++rel_path) in on_request_recv()
559 fd = open(rel_path, O_RDONLY); in on_request_recv()
/third_party/node/deps/v8/tools/testrunner/local/
Dandroid.py136 def run(self, target_dir, binary, args, rel_path, timeout, env=None, argument
156 cwd=os.path.join(DEVICE_DIR, rel_path),
/third_party/nghttp2/src/
Dhttp2.cc1379 const StringRef &rel_path, const StringRef &rel_query) { in path_join() argument
1382 return path_join(balloc, base_path, base_query, rel_path, rel_query).str(); in path_join()
1729 const StringRef &base_query, const StringRef &rel_path, in path_join() argument
1733 rel_path.size() + 1 + in path_join()
1737 if (rel_path.empty()) { in path_join()
1757 auto first = std::begin(rel_path); in path_join()
1758 auto last = std::end(rel_path); in path_join()
1760 if (rel_path[0] == '/') { in path_join()
Dhttp2.h378 const StringRef &rel_path, const StringRef &rel_query);
381 const StringRef &base_query, const StringRef &rel_path,

12