/third_party/glib/glib/tests/ |
D | fileutils.c | 63 check_string (gchar *str, const gchar *expected) in check_string() function 74 check_string (g_build_path ("", "", NULL), ""); in test_build_path() 75 check_string (g_build_path ("", "x", NULL), "x"); in test_build_path() 76 check_string (g_build_path ("", "x", "y", NULL), "xy"); in test_build_path() 77 check_string (g_build_path ("", "x", "y", "z", NULL), "xyz"); in test_build_path() 80 check_string (g_build_path (":", ":", NULL), ":"); in test_build_path() 81 check_string (g_build_path (":", ":x", NULL), ":x"); in test_build_path() 82 check_string (g_build_path (":", "x:", NULL), "x:"); in test_build_path() 83 check_string (g_build_path (":", "", "x", NULL), "x"); in test_build_path() 84 check_string (g_build_path (":", "", ":x", NULL), ":x"); in test_build_path() [all …]
|
/third_party/flutter/skia/tests/ |
D | JSONTest.cpp | 179 static void check_string(skiatest::Reporter* reporter, const Value& v, const char* s) { in check_string() function 210 check_string(reporter, v, nullptr); in DEF_TEST() 222 check_string(reporter, v, nullptr); in DEF_TEST() 234 check_string(reporter, v, nullptr); in DEF_TEST() 246 check_string(reporter, v, nullptr); in DEF_TEST() 258 check_string(reporter, v, nullptr); in DEF_TEST() 270 check_string(reporter, v, "foo"); in DEF_TEST() 282 check_string(reporter, v, nullptr); in DEF_TEST() 298 check_string(reporter, v, nullptr); in DEF_TEST() 304 check_string(reporter, m0.fKey, "kk1"); in DEF_TEST() [all …]
|
/third_party/skia/tests/ |
D | JSONTest.cpp | 179 static void check_string(skiatest::Reporter* reporter, const Value& v, const char* s) { in check_string() function 210 check_string(reporter, v, nullptr); in DEF_TEST() 222 check_string(reporter, v, nullptr); in DEF_TEST() 234 check_string(reporter, v, nullptr); in DEF_TEST() 246 check_string(reporter, v, nullptr); in DEF_TEST() 258 check_string(reporter, v, nullptr); in DEF_TEST() 270 check_string(reporter, v, "foo"); in DEF_TEST() 282 check_string(reporter, v, nullptr); in DEF_TEST() 298 check_string(reporter, v, nullptr); in DEF_TEST() 304 check_string(reporter, m0.fKey, "kk1"); in DEF_TEST() [all …]
|
/third_party/boost/libs/test/example/ |
D | unit_test_example_11.cpp | 24 void check_string( std::string const& s ) in check_string() function 42 BOOST_PARAM_TEST_CASE( &check_string, (std::string const*)params, params+3 ) ); in init_unit_test_suite()
|
/third_party/mindspore/mindspore/nn/layer/ |
D | pooling.py | 32 …self.pad_mode = validator.check_string(pad_mode.upper(), ['VALID', 'SAME'], 'pad_mode', self.cls_n… 33 self.format = validator.check_string(data_format, ['NCHW', 'NHWC'], 'format', self.cls_name) 207 …self.pad_mode = validator.check_string(pad_mode.upper(), ['VALID', 'SAME'], 'pad_mode', self.cls_n… 371 …self.pad_mode = validator.check_string(pad_mode.upper(), ['VALID', 'SAME'], 'pad_mode', self.cls_n…
|
D | conv.py | 59 …self.format = Validator.check_string(data_format, ['NCHW', 'NHWC', 'NCDHW'], 'format', self.cls_na… 436 Validator.check_string(pad_mode, ['valid', 'same', 'pad'], 'pad_mode', self.cls_name) 1043 Validator.check_string(pad_mode, ['valid', 'same', 'pad'], 'pad_mode', self.cls_name) 1237 Validator.check_string(pad_mode, ['valid', 'same', 'pad'], 'pad_mode', self.cls_name)
|
D | embedding.py | 235 validator.check_string(target, ['CPU', 'DEVICE'], 'target', self.cls_name) 499 validator.check_string(operator, ['SUM', 'MAX', 'MEAN'], 'operator', self.cls_name)
|
D | normalization.py | 71 self.format = validator.check_string(data_format, ['NCHW', 'NHWC'], 'format', self.cls_name) 573 self.format = validator.check_string(data_format, ['NCDHW'], 'format', self.cls_name)
|
D | rnns.py | 621 validator.check_string(nonlinearity, self._non_linearity, "nonlinearity", self.cls_name)
|
D | basic.py | 803 … Validator.check_string(self.mode, ["CONSTANT", "REFLECT", "SYMMETRIC"], 'mode', self.cls_name)
|
/third_party/mindspore/mindspore/nn/metrics/ |
D | cosine_similarity.py | 56 self.similarity = validator.check_string(similarity, similarity_list, "similarity") 58 self.reduction = validator.check_string(reduction, reduction_list, "reduction")
|
D | mean_surface_distance.py | 56 …self.distance_metric = validator.check_string(distance_metric, self.distance_metric_list, "distanc…
|
D | root_mean_square_surface_distance.py | 58 …self.distance_metric = validator.check_string(distance_metric, self.distance_metric_list, "distanc…
|
D | hausdorff_distance.py | 109 … self.distance_metric = validator.check_string(distance_metric, string_list, "distance_metric")
|
D | confusion_matrix.py | 205 self.decrease = validator.check_string(decrease, decrease_list, "decrease")
|
/third_party/boost/libs/python/test/ |
D | extract.cpp | 89 bool check_string(object x) { return extract<std::string>(x).check(); } in check_string() function 116 def("check_string", check_string); in BOOST_PYTHON_MODULE()
|
/third_party/mindspore/mindspore/ops/operations/ |
D | _grad_ops.py | 185 … self.data_format = validator.check_string(data_format, ['NCHW', 'NHWC'], 'format', self.name) 219 … self.format = validator.check_string(data_format, ['NCHW', 'NHWC', 'NCDHW'], 'format', self.name) 232 …self.reduction = validator.check_string(reduction, ['none', 'mean', 'sum'], 'reduction', self.name) 249 …self.reduction = validator.check_string(reduction, ['none', 'mean', 'sum'], 'reduction', self.name) 363 …self.pad_mode = validator.check_string(pad_mode.lower(), ['valid', 'same', 'pad'], 'pad_mode', sel… 375 self.format = validator.check_string(data_format, ['NCDHW'], 'format', self.name) 483 self.format = validator.check_string(data_format, ['NCHW', 'NHWC'], 'format', self.name) 768 … self.pad_mode = validator.check_string(pad_mode.upper(), ['VALID', 'SAME'], 'pad_mode', self.name) 770 self.format = validator.check_string(data_format, ['NCHW', 'NHWC'], 'format', self.name) 872 self.format = validator.check_string(data_format, ['NCDHW'], 'format', self.name) [all …]
|
D | nn_ops.py | 1265 self.format = validator.check_string(data_format, ['NCHW', 'NHWC'], 'format', self.name) 1418 … self.pad_mode = validator.check_string(pad_mode, ['valid', 'same', 'pad'], 'pad_mode', self.name) 1428 self.format = validator.check_string(data_format, ['NCHW', 'NHWC'], 'format', self.name) 1549 … self.pad_mode = validator.check_string(pad_mode, ['valid', 'same', 'pad'], 'pad_mode', self.name) 1634 … self.pad_mode = validator.check_string(pad_mode.upper(), ['VALID', 'SAME'], 'pad_mode', self.name) 1637 self.format = validator.check_string(data_format, ['NCHW', 'NHWC'], 'format', self.name) 1914 …self.pad_mode = validator.check_string(pad_mode.upper(), ['VALID', 'SAME', 'PAD'], 'pad_mode', sel… 1918 self.data_format = validator.check_string(data_format, ['NCDHW'], 'data_format', self.name) 2159 self.format = validator.check_string(data_format, ['NCHW', 'NHWC'], 'format', self.name) 2178 … self.pad_mode = validator.check_string(pad_mode, ['valid', 'same', 'pad'], 'pad_mode', self.name) [all …]
|
D | _thor_ops.py | 486 … self.pad_mode = validator.check_string(pad_mode, ['valid', 'same', 'pad'], 'pad_mode', self.name) 567 …self.padding_mode = validator.check_string(padding_mode, ['VALID', 'SAME'], 'padding_mode', self.n… 638 self.pad_mode = validator.check_string(pad_mode, ['same'], 'pad_mode', self.name)
|
D | image_ops.py | 94 validator.check_string(method, ["bilinear", "nearest", "bilinear_v2"], "method", self.name)
|
D | _inner_ops.py | 75 … self.padding = validator.check_string(padding.upper(), ['VALID', 'SAME'], 'padding', self.name) 219 self.round_mode = validator.check_string(round_mode, ["Round", "Floor", "Ceil", "Trunc"],
|
/third_party/boost/libs/range/test/ |
D | string.cpp | 214 void check_string() in check_string() function 272 test->add( BOOST_TEST_CASE( &check_string ) ); in init_unit_test_suite()
|
/third_party/python/Lib/test/ |
D | test_cmd_line.py | 854 def check_string(self, code): member in SyntaxErrorTests 862 self.check_string(b"(1+2+3") 865 self.check_string(br"'\u1f'")
|
D | test_xml_etree.py | 204 def check_string(string): function 232 check_string(element.tag) 235 check_string(element.text) 237 check_string(element.tail)
|
/third_party/mindspore/mindspore/ |
D | _checkparam.py | 431 def check_string(arg_value, valid_values, arg_name=None, prim_name=None): member in Validator
|