Home
last modified time | relevance | path

Searched refs:check_value (Results 1 – 24 of 24) sorted by relevance

/third_party/boost/libs/program_options/test/
Dsplit_test.cpp21 void check_value(const string& option, const string& value) in check_value() function
35 check_value(tokens[0], "prg"); in split_whitespace()
36 check_value(tokens[1], "--input"); in split_whitespace()
37 check_value(tokens[2], "input.txt"); in split_whitespace()
38 check_value(tokens[3], "--optimization"); in split_whitespace()
39 check_value(tokens[4], "4"); in split_whitespace()
40 check_value(tokens[5], "--opt"); in split_whitespace()
41 check_value(tokens[6], "option"); in split_whitespace()
56 check_value(tokens[0], "prg"); in split_equalsign()
57 check_value(tokens[1], "--input"); in split_equalsign()
[all …]
Dparsers_test.cpp54 void check_value(const option& option, const char* name, const char* value) in check_value() function
121 check_value(a3[0], "foo", "12"); in test_many_different_options()
122 check_value(a3[1], "foo", "4"); in test_many_different_options()
123 check_value(a3[2], "bar", "11"); in test_many_different_options()
124 check_value(a3[3], "bar", "4"); in test_many_different_options()
125 check_value(a3[4], "car", "15"); in test_many_different_options()
126 check_value(a3[5], "dog", "16"); in test_many_different_options()
127 check_value(a3[6], "dog", "17"); in test_many_different_options()
128 check_value(a3[7], "plug3", "10"); in test_many_different_options()
138 check_value(a4[0], "foo", "4"); in test_many_different_options()
[all …]
Dunicode_test.cpp99 void check_value(const woption& option, const char* name, const wchar_t* value) in check_value() function
126 check_value(a4[0], "foo", L"1\u0FF52"); in test_command_line()
127 check_value(a4[1], "foo", L"4"); in test_command_line()
128 check_value(a4[2], "bar", L"11"); in test_command_line()
129 check_value(a4[4], "qux", L"10"); in test_command_line()
/third_party/mindspore/mindspore/dataset/vision/
Dvalidators.py22 from mindspore.dataset.core.validator_helpers import check_value, check_uint8, FLOAT_MIN_INTEGER, F…
33 check_value(size, (1, FLOAT_MAX_INTEGER))
37 check_value(value, (1, FLOAT_MAX_INTEGER))
48 check_value(value, (0, INT32_MAX), "coordinates[{}]".format(index))
64 check_value(prob, [0, 1], "prob")
73 check_value(size, (1, FLOAT_MAX_INTEGER))
77 check_value(value, (1, INT32_MAX), "size at dim {0}".format(i))
103 check_value(mean_value, [0, 255], "mean_value")
114 check_value(mean_value, [0., 1.], "mean_value")
133 check_value(padding, (0, INT32_MAX), "padding")
[all …]
/third_party/mindspore/mindspore/dataset/core/
Dvalidator_helpers.py77 def check_value(value, valid_range, arg_name="", left_open_interval=False, right_open_interval=Fals… function
120 check_value(value, valid_range, arg_name, False, True)
132 check_value(value, valid_range, arg_name, True, False)
144 check_value(value, valid_range, arg_name, True, False)
212 check_value(value, [INT32_MIN, INT32_MAX], arg_name)
224 check_value(value, [UINT8_MIN, UINT8_MAX])
236 check_value(value, [UINT32_MIN, UINT32_MAX])
248 check_value(value, [POS_INT_MIN, UINT32_MAX])
260 check_value(value, [POS_INT_MIN, INT32_MAX], arg_name)
272 check_value(value, [UINT64_MIN, UINT64_MAX])
[all …]
/third_party/flutter/skia/tests/
DJSONTest.cpp323 void check_value(skiatest::Reporter* reporter, const Value& v, const char* expected_string) { in check_value() function
337 check_value<NullValue>(reporter, v0, "null"); in DEF_TEST()
340 check_value<BoolValue>(reporter, v1, "true"); in DEF_TEST()
343 check_value<BoolValue>(reporter, v2, "false"); in DEF_TEST()
346 check_value<NumberValue>(reporter, v3, "0"); in DEF_TEST()
349 check_value<NumberValue>(reporter, v4, "42"); in DEF_TEST()
352 check_value<NumberValue>(reporter, v5, "42.75"); in DEF_TEST()
355 check_value<StringValue>(reporter, v6, "\"\""); in DEF_TEST()
358 check_value<StringValue>(reporter, v7, "\" foo \""); in DEF_TEST()
361 check_value<StringValue>(reporter, v8, "\" foo bar baz \""); in DEF_TEST()
[all …]
/third_party/skia/tests/
DJSONTest.cpp323 void check_value(skiatest::Reporter* reporter, const Value& v, const char* expected_string) { in check_value() function
337 check_value<NullValue>(reporter, v0, "null"); in DEF_TEST()
340 check_value<BoolValue>(reporter, v1, "true"); in DEF_TEST()
343 check_value<BoolValue>(reporter, v2, "false"); in DEF_TEST()
346 check_value<NumberValue>(reporter, v3, "0"); in DEF_TEST()
349 check_value<NumberValue>(reporter, v4, "42"); in DEF_TEST()
352 check_value<NumberValue>(reporter, v5, "42.75"); in DEF_TEST()
355 check_value<StringValue>(reporter, v6, "\"\""); in DEF_TEST()
358 check_value<StringValue>(reporter, v7, "\" foo \""); in DEF_TEST()
361 check_value<StringValue>(reporter, v8, "\" foo bar baz \""); in DEF_TEST()
[all …]
/third_party/jerryscript/tests/jerry/
Dfunction-construct.js47 var check_value = 10; variable
52 assert (check_value++ === value);
56 var check_value = 109;
62 assert (value == check_value + m * n);
65 check_value++;
/third_party/boost/libs/optional/test/
Doptional_test.cpp39 check_value(opt,v,z); in test_implicit_construction()
44 check_value(opt,v,z); in test_implicit_construction()
88 check_value(oa,a,z); in test_basics()
100 check_value(ob,a,z); in test_basics()
112 check_value(ob,b,z); in test_basics()
128 check_value(oa,b,z); in test_basics()
187 check_value(o0,a,z); in test_conditional_ctor_and_get_valur_or()
188 check_value(o1,a,z); in test_conditional_ctor_and_get_valur_or()
442 check_value(opt,b,z); in test_throwing_val_assign_on_initialized()
464 check_value(opt,x,z); in test_throwing_val_assign_on_initialized()
[all …]
Doptional_test_common.hpp265 inline void check_value ( optional<T>& opt, T const& v, T const& z ) in check_value() function
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dvalue_based_eliminate.cc27 …ueWith(const AnfNodePtr &node, const ScalarCheckingMode &checking_mode, const float &check_value) { in IsNodeScalarTrueWith() argument
42 return GetValue<float>(scalar) >= check_value; in IsNodeScalarTrueWith()
44 return GetValue<float>(scalar) < check_value; in IsNodeScalarTrueWith()
60 return data[0] >= check_value; in IsNodeScalarTrueWith()
62 return data[0] < check_value; in IsNodeScalarTrueWith()
/third_party/mindspore/mindspore/offline_debug/
Dmi_validator_helpers.py33 def check_value(arg, valid_range, arg_name=""): function
43 check_value(arg, [UINT32_MIN, UINT32_MAX])
48 check_value(arg, [UINT64_MIN, UINT64_MAX])
53 check_value(arg, [-1, UINT64_MAX])
/third_party/python/Lib/test/
Dtest_grp.py11 def check_value(self, value): member in GroupDatabaseTestCase
28 self.check_value(e)
37 self.check_value(e2)
44 self.check_value(e2)
/third_party/mindspore/mindspore/dataset/transforms/
Dvalidators.py23 from ..core.validator_helpers import parse_user_args, type_check, check_pos_int64, check_value, che…
68 check_value(smoothing_rate, [0., 1.], "smoothing_rate")
224 check_value(arg_list[1], (0, 1), "prob")
280 check_value(prob, [0., 1.], "prob")
/third_party/mindspore/mindspore/dataset/engine/
Dcache_client.py22 check_value
65 check_value(port, (1025, 65535), "port")
Dvalidators.py26 from ..core.validator_helpers import parse_user_args, type_check, type_check_list, check_value, \
364 check_value(num_epochs, [-1, INT32_MAX], "num_epochs")
384 check_value(num_epochs, [-1, INT32_MAX], "num_epochs")
675 check_value(buffer_size, [2, INT32_MAX], "buffer_size")
763 check_value(count, (0, INT32_MAX), "count")
1144 check_value(port, (1024, 65535), "port")
1146 check_value(num_client, (1, 255), "num_client")
1276 check_value(default_node, (-1, INT32_MAX), "default_node")
1429 check_value(num_epochs, [-1, INT32_MAX], "num_epochs")
/third_party/mindspore/mindspore/dataset/audio/
Dvalidators.py23 check_value, parse_user_args, type_check
68 check_value(Q, [0, 1], "Q", True)
192 check_value(enhancement_amount, [0, 100], "enhancement_amount")
205 check_value(shift, [-2.0, 2.0], "shift")
/third_party/boost/boost/geometry/strategies/cartesian/
Dside_of_intersection.hpp123 void check_value(CmpVal const& cmp_val) const in check_value() function
175 ab.check_value(lab); in sign_of_compare()
176 cd.check_value(lcd); in sign_of_compare()
/third_party/boost/libs/predef/test/
Dbuild.jam37 [ run check_value.cpp : : : <test-info>always_show_run_output
/third_party/python/Lib/
Doptparse.py761 def check_value(self, opt, value): member in Option
771 return self.check_value(opt, value)
773 return tuple([self.check_value(opt, v) for v in value])
1316 defaults[option.dest] = option.check_value(opt_str, default)
/third_party/mindspore/mindspore/dataset/text/
Dvalidators.py26 INT32_MAX, check_value, check_positive, check_pos_int32
114 check_value(word_id, (0, INT32_MAX), "word_id")
/third_party/jerryscript/tests/unit-core/
Dtest-api.c1042 char check_value[] = "{\"name\":\"John\"}"; in main() local
1055 TEST_ASSERT (strcmp ((const char *) check_value, (const char *) buff) == 0); in main()
/third_party/PyYAML/lib/yaml/
Dscanner.py222 if ch == ':' and self.check_value():
721 def check_value(self): member in Scanner
/third_party/mindspore/mindspore/core/ir/
Dpattern_matcher.h469 …it PConstant(const AnfNodePtr &as_node, const bool any_value = true, const int64_t check_value = 0,
474 check_value_(check_value),