Home
last modified time | relevance | path

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

12

/third_party/musl/scripts/
Dsearch_source_files.py12 cur_path = os.path.join(path, src)
13 if os.path.isdir(cur_path):
17 if (cur_path.endswith(".h")):
18 base_srcs.append(cur_path)
20 if (cur_path.endswith(".c")):
21 base_srcs.append(cur_path)
30 cur_path = os.path.join(target_path, src)
31 if os.path.isdir(cur_path):
34 elif (cur_path.endswith(".c") or cur_path.endswith(".s") or
35 cur_path.endswith(".S")):
[all …]
/third_party/mindspore/mindspore/lite/test/st/
Drun_benchmark_nets.sh28 cur_path=$(pwd)
29 echo "cur_path is "$cur_path
34 …sh $cur_path/scripts/run_benchmark_arm64.sh -r $release_path -m $models_path -d $device_id -e $bac…
43 …sh $cur_path/scripts/run_benchmark_arm32.sh -r $release_path -m $models_path -d $device_id -e $bac…
52 …sh $cur_path/scripts/run_benchmark_gpu.sh -r $release_path -m $models_path -d $device_id -e $backe…
61 …sh $cur_path/scripts/run_benchmark_npu.sh -r $release_path -m $models_path -d $device_id -e $backe…
71 …sh $cur_path/scripts/run_benchmark_x86.sh -r $release_path -m $models_path -e $backend -p $fail_no…
81 …sh $cur_path/scripts/run_benchmark_codegen.sh -r $release_path -m $models_path -d $device_id -e $b…
88 …sh $cur_path/scripts/run_net_train.sh -r $release_path -m ${models_path}/../../models_train -d $de…
97 sh $cur_path/scripts/run_benchmark_asan.sh -r $release_path -m $models_path -e $backend
[all …]
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dcuda_env_checker.cc72 std::string cur_path; in GetRealPaths() local
75 cur_path += ch; in GetRealPaths()
78 if (!cur_path.empty()) { in GetRealPaths()
79 (void)paths->insert(cur_path); in GetRealPaths()
81 cur_path.clear(); in GetRealPaths()
83 if (!cur_path.empty()) { in GetRealPaths()
84 (void)paths->insert(cur_path); in GetRealPaths()
/third_party/mindspore/tests/st/model_zoo_tests/bgcf/
Dtest_BGCF_amazon_beauty.py26 cur_path = os.path.dirname(os.path.abspath(__file__))
27 model_path = "{}/../../../../tests/models/official/gnn".format(cur_path)
29 utils.copy_files(model_path, cur_path, model_name)
30 cur_model_path = os.path.join(cur_path, model_name)
63 cur_path = os.getcwd()
64 model_path = "{}/../../../../tests/models/official/gnn".format(cur_path)
66 utils.copy_files(model_path, cur_path, model_name)
67 cur_model_path = os.path.join(cur_path, model_name)
/third_party/ltp/testcases/kernel/controllers/cgroup_fj/
Dcgroup_fj_stress.sh81 local cur_path="$1"
89 create_subgroup "$cur_path"
93 build_subgroups "$cur_path/$i" $((cur_depth+1))
99 local cur_path="$1"
116 if ! attach_and_check "$pid" "$cur_path"; then
121 local new_path="$cur_path/$i"
126 if ! attach_and_check "$pid" "$cur_path"; then
/third_party/mindspore/tests/st/model_zoo_tests/resnet50/
Dtest_resnet50_cifar10.py27 cur_path = os.path.dirname(os.path.abspath(__file__))
28 model_path = "{}/../../../../tests/models/official/cv".format(cur_path)
30 utils.copy_files(model_path, cur_path, model_name)
31 cur_model_path = os.path.join(cur_path, "resnet")
58 cur_path = os.getcwd()
59 model_path = "{}/../../../../tests/models/official/cv".format(cur_path)
61 utils.copy_files(model_path, cur_path, model_name)
62 cur_model_path = os.path.join(cur_path, "resnet")
/third_party/mindspore/tests/st/model_zoo_tests/maskrcnn/
Dtest_maskrcnn.py33 cur_path = os.getcwd()
34 model_path = "{}/../../../../tests/models/official/cv".format(cur_path)
36 utils.copy_files(model_path, cur_path, model_name)
37 cur_model_path = os.path.join(cur_path, model_name)
/third_party/mindspore/tests/st/model_zoo_tests/lenet/
Dtest_lenet_MNIST.py26 cur_path = os.path.dirname(os.path.abspath(__file__))
27 model_path = "{}/../../../../tests/models/official/cv".format(cur_path)
29 utils.copy_files(model_path, cur_path, model_name)
30 cur_model_path = os.path.join(cur_path, model_name)
/third_party/mindspore/tests/st/model_zoo_tests/face_detection/
Dtest_FaceDetection_WIDER.py26 cur_path = os.path.dirname(os.path.abspath(__file__))
27 model_path = "{}/../../../../tests/models/research/cv".format(cur_path)
29 utils.copy_files(model_path, cur_path, model_name)
30 cur_model_path = os.path.join(cur_path, model_name)
/third_party/mindspore/tests/st/model_zoo_tests/ssd_mobilenet_fpn/
Dtest_ssd_modelnet_fpn.py27 cur_path = os.path.dirname(os.path.abspath(__file__))
28 model_path = "{}/../../../../tests/models/official/cv".format(cur_path)
30 utils.copy_files(model_path, cur_path, model_name)
31 cur_model_path = os.path.join(cur_path, model_name)
/third_party/mindspore/tests/st/model_zoo_tests/centernet/
Dtest_centernet.py26 cur_path = os.path.dirname(os.path.abspath(__file__))
27 model_path = "{}/../../../../tests/models/research/cv".format(cur_path)
29 utils.copy_files(model_path, cur_path, model_name)
30 cur_model_path = os.path.join(cur_path, model_name)
/third_party/mindspore/tests/st/model_zoo_tests/deeplabv3/
Dtest_DeeplabV3_voc2007.py26 cur_path = os.path.dirname(os.path.abspath(__file__))
27 model_path = "{}/../../../../tests/models/official/cv".format(cur_path)
29 utils.copy_files(model_path, cur_path, model_name)
30 cur_model_path = os.path.join(cur_path, model_name)
/third_party/mindspore/tests/st/model_zoo_tests/retinaface_resnet50/
Dtest_retinaface_resnet50.py25 cur_path = os.path.dirname(os.path.abspath(__file__))
26 model_path = "{}/../../../../tests/models/official/cv".format(cur_path)
28 utils.copy_files(model_path, cur_path, model_name)
29 cur_model_path = os.path.join(cur_path, model_name)
/third_party/mindspore/tests/st/model_zoo_tests/
Dutils.py18 cur_path = os.path.split(os.path.realpath(__file__))[0] variable
19 geir_root = os.path.join(cur_path, "mindspore_geir")
20 arm_main_path = os.path.join(cur_path, "mindir_310infer_exe")
21 model_zoo_path = os.path.join(cur_path, "../../../tests/models")
/third_party/mindspore/tests/st/model_zoo_tests/yolov3_darknet53/
Dtest_yolov3_darknet53.py220 cur_path = os.path.dirname(os.path.abspath(__file__))
221 model_path = "{}/../../../../tests/models/official/cv".format(cur_path)
225 utils.copy_files(model_path, cur_path, model_name)
226 cur_model_path = os.path.join(cur_path, model_name)
244 train_log_file = os.path.join(cur_path, "yolov3_darknet53/scripts/train_parallel0/log.txt")
/third_party/ltp/testcases/kernel/fs/iso9660/
Disofs.sh35 local cur_path="$1"
42 new_path="$cur_path/subdir_$i"
/third_party/mindspore/mindspore/offline_debug/
Dconvert_async.py258 cur_path = cur_file
259 if os.path.isfile(cur_path):
260 if os.path.getsize(cur_path) > max_file_size:
261 big_file_list.append(cur_path)
263 multi_process_file_list.append(cur_path)
/third_party/e2fsprogs/contrib/android/
Dfsmap.c116 char *filename, *cur_path, *name = de->name; in walk_ext_dir() local
142 cur_path = pdata->path; in walk_ext_dir()
146 pdata->path = cur_path; in walk_ext_dir()
Dperms.c269 char *cur_path = params->path; in walk_dir() local
276 params->path = cur_path; in walk_dir()
/third_party/mindspore/tests/st/model_zoo_tests/transformer/
Dtest_transformer.py225 cur_path = os.path.dirname(os.path.abspath(__file__))
226 model_path = "{}/../../../../tests/models/official/nlp".format(cur_path)
228 utils.copy_files(model_path, cur_path, model_name)
229 cur_model_path = os.path.join(cur_path, model_name)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DPath.inc182 SmallVector<wchar_t, MAX_PATH> cur_path;
186 cur_path.reserve(len);
187 len = ::GetCurrentDirectoryW(cur_path.capacity(), cur_path.data());
195 } while (len > cur_path.capacity());
199 cur_path.set_size(len);
200 return UTF16ToUTF8(cur_path.begin(), cur_path.size(), result);
/third_party/gstreamer/gstplugins_bad/gst/switchbin/
Dgstswitchbin.c702 GstSwitchBinPath *cur_path = switch_bin->current_path; in gst_switch_bin_switch_to_path() local
704 if (cur_path->element != NULL) { in gst_switch_bin_switch_to_path()
705 gst_element_set_state (cur_path->element, GST_STATE_NULL); in gst_switch_bin_switch_to_path()
706 gst_element_unlink (switch_bin->input_identity, cur_path->element); in gst_switch_bin_switch_to_path()
/third_party/gn/src/base/
Dvalues.cc358 const std::string_view* cur_path = path.begin(); in SetPath() local
359 for (; (cur_path + 1) < path.end(); ++cur_path) { in SetPath()
364 const std::string_view path_component = *cur_path; in SetPath()
379 return cur->SetKey(*cur_path, std::move(value)); in SetPath()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DPath.inc193 SmallVector<wchar_t, MAX_PATH> cur_path;
197 cur_path.reserve(len);
198 len = ::GetCurrentDirectoryW(cur_path.capacity(), cur_path.data());
206 } while (len > cur_path.capacity());
210 cur_path.set_size(len);
211 return UTF16ToUTF8(cur_path.begin(), cur_path.size(), result);
/third_party/gn/src/base/files/
Dfile_util_posix.cc340 for (const std::string_view& cur_path : in ExecutableExistsInPath() local
342 FilePath file(cur_path); in ExecutableExistsInPath()

12