Home
last modified time | relevance | path

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

/external/skqp/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 …]
/external/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 …]
/external/python/cffi/cffi/
Dvengine_gen.py395 check_value=None): argument
399 if check_value is not None:
404 self._check_int_constant_value(name, check_value)
416 assert check_value is None
437 def _load_constant(self, is_int, tp, name, module, check_value=None): argument
439 if check_value is not None:
442 value = check_value
454 assert check_value is None
546 check_value = None
548 check_value = tp # an integer
[all …]
Drecompiler.py12 def __init__(self, name, address, type_op, size=0, check_value=0): argument
17 self.check_value = check_value
25 self.check_value)
1039 check_value=None): argument
1053 if check_value is not None:
1054 if check_value > 0:
1055 check_value = '%dU' % (check_value,)
1056 prnt(' if (!_cffi_check_int(*o, n, %s))' % (check_value,))
1061 assert check_value is None
1108 check_value=enumvalue))
[all …]
Dvengine_cpy.py608 check_value=None): argument
620 if check_value is not None:
621 self._check_int_constant_value(name, check_value)
733 check_value = None
735 check_value = tp # an integer
736 self._generate_cpy_const(True, name, check_value=check_value)
/external/python/cpython2/Lib/test/
Dtest_grp.py10 def check_value(self, value): member in GroupDatabaseTestCase
27 self.check_value(e)
36 self.check_value(e2)
43 self.check_value(e2)
/external/python/cpython3/Lib/test/
Dtest_grp.py10 def check_value(self, value): member in GroupDatabaseTestCase
27 self.check_value(e)
36 self.check_value(e2)
43 self.check_value(e2)
/external/linux-kselftest/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink.sh51 check_value() function
76 check_value max_macs initial 32 32
77 check_value test1 initial true Y
84 check_value max_macs post-set 16 32
85 check_value test1 post-set false Y
89 check_value max_macs post-reload 16 16
90 check_value test1 post-reload false N
/external/libcxx/test/support/
Darchetypes.hpp155 constexpr static int check_value(int const& val) { in check_value() function
163 constexpr static int check_value(int& val, int val_cp = 0) { in check_value() function
174 constexpr ValueBase(ValueBase const& o) noexcept : value(check_value(o.value)) { in ValueBase()
176 constexpr ValueBase(ValueBase && o) noexcept : value(check_value(o.value)) { in ValueBase()
/external/u-boot/drivers/mtd/nand/raw/
Dsunxi_nand_spl.c132 static inline int check_value(int offset, int expected_bits, in check_value() function
157 if (!check_value(SUNXI_NFC_BASE + NFC_ST, NFC_ST_CMD_INT_FLAG, in nand_wait_int()
/external/python/cpython2/Lib/
Doptparse.py765 def check_value(self, opt, value): member in Option
775 return self.check_value(opt, value)
777 return tuple([self.check_value(opt, v) for v in value])
1329 defaults[option.dest] = option.check_value(opt_str, default)
/external/python/cpython3/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)
/external/libcxx/utils/libcxx/test/
Dconfig.py91 def check_value(value, var_name): function
113 return check_value(val, env_var)
114 return check_value(conf_val, name)
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils.py3312 check_value = 'mScreenOn=true'
3315 check_value = 'mInteractive=true'
3321 return check_value in dumpsys_out[0]
/external/python/cffi/c/
Dtest_c.py1309 def check_value(x): function
1313 check_value(x)