Home
last modified time | relevance | path

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

12

/third_party/mindspore/cmake/
Ddependency_protobuf.cmake37 file(RELATIVE_PATH rel_path ${CMAKE_CURRENT_SOURCE_DIR} ${file_dir})
40 list(APPEND ${c_var} "${CMAKE_BINARY_DIR}/${rel_path}/${file_name}.pb.cc")
41 list(APPEND ${h_var} "${CMAKE_BINARY_DIR}/${rel_path}/${file_name}.pb.h")
44 OUTPUT "${CMAKE_BINARY_DIR}/${rel_path}/${file_name}.pb.cc"
45 "${CMAKE_BINARY_DIR}/${rel_path}/${file_name}.pb.h"
47 COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_BINARY_DIR}/${rel_path}"
48 … COMMAND protobuf::protoc -I${file_dir} --cpp_out=${CMAKE_BINARY_DIR}/${rel_path} ${abs_file}
73 file(RELATIVE_PATH rel_path ${CMAKE_CURRENT_SOURCE_DIR} ${file_dir})
76 list(APPEND ${c_var} "${CMAKE_BINARY_DIR}/${rel_path}/${file_name}.pb.cc")
77 list(APPEND ${h_var} "${CMAKE_BINARY_DIR}/${rel_path}/${file_name}.pb.h")
[all …]
/third_party/boost/tools/inspect/
Dinspect.cpp100 string rel_path; member
108 if ( rel_path < rhs.rel_path ) return true; in operator <()
109 if ( rel_path > rhs.rel_path ) return false; in operator <()
379 || current.rel_path != itr->rel_path ) in display_details()
383 std::cout << " " << itr->rel_path << ":\n"; in display_details()
387 path current_rel_path(current.rel_path); in display_details()
388 path this_rel_path(itr->rel_path); in display_details()
397 || current.rel_path != itr->rel_path in display_details()
408 current.rel_path = itr->rel_path; in display_details()
429 || current.rel_path != itr->rel_path ) in display_details()
[all …]
/third_party/curl/packages/vms/
Dcompare_curl_source.com198 $ rel_path = ref_dir - "[" - ref_base_dir
199 $! rel_path_len = f$length(rel_path) - 1
200 $! delim = f$extract(rel_path_len, 1, rel_path)
201 $! rel_path = rel_path - ".]" - ".>" - "]" - ">"
202 $! rel_path = rel_path + delim
206 $! if rel_path .eqs. ".examples.scripts^.noah]"
208 $! rel_path = ".examples.scripts_noah]"
210 $! if rel_path .eqs. ".examples.scripts^.v2]"
212 $! rel_path = ".examples.scripts_v2]"
216 $ wrk_path = wrk + rel_path
/third_party/flutter/engine/flutter/tools/fuchsia/
Dgen_package.py23 rel_path = os.path.relpath(os.path.join(root, f), common_prefix)
24 from_package = os.path.abspath(os.path.join(package_dir, rel_path))
25 full_paths.append('%s=%s' % (rel_path, from_package))
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
Dcmake.py95 def NormjoinPathForceCMakeSource(base_path, rel_path): argument
103 if os.path.isabs(rel_path):
104 return rel_path
105 if any([rel_path.startswith(var) for var in FULL_PATH_VARS]):
106 return rel_path
109 os.path.normpath(os.path.join(base_path, rel_path)))
112 def NormjoinPath(base_path, rel_path): argument
118 if rel_path.startswith('$') and not rel_path.startswith('${configuration}'):
119 return rel_path
120 return os.path.normpath(os.path.join(base_path, rel_path))
[all …]
/third_party/googletest/googletest/scripts/
Dcommon.py62 rel_path = m.group(2)
63 root = os.path.realpath(rel_path.count('/') * '../')
/third_party/node/tools/gyp/pylib/gyp/generator/
Dcmake.py102 def NormjoinPathForceCMakeSource(base_path, rel_path): argument
110 if os.path.isabs(rel_path):
111 return rel_path
112 if any([rel_path.startswith(var) for var in FULL_PATH_VARS]):
113 return rel_path
116 "${CMAKE_CURRENT_LIST_DIR}", os.path.normpath(os.path.join(base_path, rel_path))
120 def NormjoinPath(base_path, rel_path): argument
126 if rel_path.startswith("$") and not rel_path.startswith("${configuration}"):
127 return rel_path
128 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
Dos.h187 char * os_rel2abs_path(const char *rel_path);
/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/curl/tests/
Dpathhelp.pm652 my ($drv, $rel_path) = @_;
677 $res .= $rel_path if defined $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/nghttp2/examples/
Dlibevent-server.c533 char *rel_path; in on_request_recv() local
549 for (rel_path = stream_data->request_path; *rel_path == '/'; ++rel_path) in on_request_recv()
551 fd = open(rel_path, O_RDONLY); in on_request_recv()
/third_party/nghttp2/src/
Dhttp2.cc1363 const StringRef &rel_path, const StringRef &rel_query) { in path_join() argument
1366 return path_join(balloc, base_path, base_query, rel_path, rel_query).str(); in path_join()
1713 const StringRef &base_query, const StringRef &rel_path, in path_join() argument
1717 rel_path.size() + 1 + in path_join()
1721 if (rel_path.empty()) { in path_join()
1741 auto first = std::begin(rel_path); in path_join()
1742 auto last = std::end(rel_path); in path_join()
1744 if (rel_path[0] == '/') { in path_join()
Dhttp2.h384 const StringRef &rel_path, const StringRef &rel_query);
387 const StringRef &base_query, const StringRef &rel_path,
/third_party/mindspore/third_party/patch/sentencepiece/
Dsentencepiece.patch00126 + file(RELATIVE_PATH rel_path ${CMAKE_CURRENT_SOURCE_DIR} ${file_dir})
Dsentencepiece.patch001_cpu26 + file(RELATIVE_PATH rel_path ${CMAKE_CURRENT_SOURCE_DIR} ${file_dir})
/third_party/mindspore/cmake/external_libs/
Dgrpc.cmake101 file(RELATIVE_PATH rel_path ${CMAKE_CURRENT_SOURCE_DIR} ${file_dir})

12