Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/syscalls/faccessat2/
H A 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},
H A 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/rust/crates/cxx/gen/build/src/
H A Dpaths.rs19 let mut rel_path = PathBuf::new(); variables
23 Component::ParentDir => drop(rel_path.pop()), // noop if empty
24 Component::Normal(name) => rel_path.push(name),
27 rel_path
H A 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/googletest/googletest/scripts/
H A Dcommon.py62 rel_path = m.group(2)
63 root = os.path.realpath(rel_path.count('/') * '../')
/third_party/node/tools/gyp/pylib/gyp/generator/
H A Dcmake.py96 def NormjoinPathForceCMakeSource(base_path, rel_path):
97 """Resolves rel_path against base_path and returns the result.
99 If rel_path is an absolute path it is returned unchanged.
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):
115 """Resolves rel_path agains
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
H A Dcmake.py96 def NormjoinPathForceCMakeSource(base_path, rel_path):
97 """Resolves rel_path against base_path and returns the result.
99 If rel_path is an absolute path it is returned unchanged.
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):
115 """Resolves rel_path agains
[all...]
/third_party/python/Lib/unittest/
H A Dmain.py37 rel_path = os.path.relpath(name, os.getcwd())
38 if os.path.isabs(rel_path) or rel_path.startswith(os.pardir):
40 name = rel_path
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A 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()
H A 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()
H A 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()
H A Dos_none.c70 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument
72 return NULL; /* strdup(rel_path) can be used here */ in os_rel2abs_path()
H A Dos.h176 * @rel_path: Relative path to a file
183 * buffer, e.g., return strdup(rel_path). This function is only used to find
187 char * os_rel2abs_path(const char *rel_path);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A 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()
H A 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()
H A 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()
H A Dos_none.c70 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument
72 return NULL; /* strdup(rel_path) can be used here */ in os_rel2abs_path()
H A Dos.h176 * @rel_path: Relative path to a file
183 * buffer, e.g., return strdup(rel_path). This function is only used to find
187 char * os_rel2abs_path(const char *rel_path);
/third_party/curl/tests/
H A Dpathhelp.pm646 my ($drv, $rel_path) = @_;
671 $res .= $rel_path if defined $rel_path;
/third_party/node/deps/v8/tools/testrunner/local/
H A Dandroid.py136 def run(self, target_dir, binary, args, rel_path, timeout, env=None,
145 rel_path: Relative path on device to use as CWD.
156 cwd=os.path.join(DEVICE_DIR, rel_path),
/third_party/nghttp2/examples/
H A 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/third_party/test262-harness/src/
H A Dtest262.py451 def ShouldRun(self, rel_path, tests):
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/src/
H A Dhttp2.h373 // path |rel_path|. The base path and another path can have optional
378 const StringRef &rel_path, const StringRef &rel_query);
381 const StringRef &base_query, const StringRef &rel_path,
H A Dhttp2.cc1379 const StringRef &rel_path, const StringRef &rel_query) {
1382 return path_join(balloc, base_path, base_query, rel_path, rel_query).str();
1729 const StringRef &base_query, const StringRef &rel_path,
1733 rel_path.size() + 1 +
1737 if (rel_path.empty()) {
1757 auto first = std::begin(rel_path);
1758 auto last = std::end(rel_path);
1760 if (rel_path[0] == '/') {
/third_party/node/deps/v8/tools/
H A Drun_perf.py778 rel_path=bench_rel,

Completed in 20 milliseconds