/third_party/mindspore/cmake/ |
D | dependency_protobuf.cmake | 37 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/ |
D | inspect.cpp | 100 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/ |
D | compare_curl_source.com | 198 $ 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/ |
D | gen_package.py | 23 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/ |
D | cmake.py | 95 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/ |
D | common.py | 62 rel_path = m.group(2) 63 root = os.path.realpath(rel_path.count('/') * '../')
|
/third_party/node/tools/gyp/pylib/gyp/generator/ |
D | cmake.py | 102 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/ |
D | os_internal.c | 156 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()
|
D | os_unix.c | 286 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()
|
D | os_win32.c | 154 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument 156 return _strdup(rel_path); in os_rel2abs_path()
|
D | os_none.c | 70 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument
|
D | os.h | 187 char * os_rel2abs_path(const char *rel_path);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
D | os_internal.c | 162 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()
|
D | os_unix.c | 292 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()
|
D | os_win32.c | 154 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument 156 return _strdup(rel_path); in os_rel2abs_path()
|
D | os_none.c | 70 char * os_rel2abs_path(const char *rel_path) in os_rel2abs_path() argument
|
D | os.h | 187 char * os_rel2abs_path(const char *rel_path);
|
/third_party/curl/tests/ |
D | pathhelp.pm | 652 my ($drv, $rel_path) = @_; 677 $res .= $rel_path if defined $rel_path;
|
/third_party/python/Lib/unittest/ |
D | main.py | 36 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/ |
D | libevent-server.c | 533 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/ |
D | http2.cc | 1363 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()
|
D | http2.h | 384 const StringRef &rel_path, const StringRef &rel_query); 387 const StringRef &base_query, const StringRef &rel_path,
|
/third_party/mindspore/third_party/patch/sentencepiece/ |
D | sentencepiece.patch001 | 26 + file(RELATIVE_PATH rel_path ${CMAKE_CURRENT_SOURCE_DIR} ${file_dir})
|
D | sentencepiece.patch001_cpu | 26 + file(RELATIVE_PATH rel_path ${CMAKE_CURRENT_SOURCE_DIR} ${file_dir})
|
/third_party/mindspore/cmake/external_libs/ |
D | grpc.cmake | 101 file(RELATIVE_PATH rel_path ${CMAKE_CURRENT_SOURCE_DIR} ${file_dir})
|