/external/bazel-skylib/tests/ |
D | types_tests.bzl | 109 """Unit tests for types.is_int.""" 113 asserts.true(env, types.is_int(1)) 114 asserts.true(env, types.is_int(-1)) 116 asserts.false(env, types.is_int("s")) 117 asserts.false(env, types.is_int({})) 118 asserts.false(env, types.is_int(())) 119 asserts.false(env, types.is_int(True)) 120 asserts.false(env, types.is_int([])) 121 asserts.false(env, types.is_int([1])) 122 asserts.false(env, types.is_int(None)) [all …]
|
/external/openthread/tests/scripts/thread-cert/border_router/ |
D | test_dnssd_server_multi_border_routers.py | 153 def is_int(x): function 174 'ANSWER': [(ins1_full_name, 'IN', 'SRV', is_int, is_int, 11111, host1_full_name),], 182 'ANSWER': [(ins2_full_name, 'IN', 'SRV', is_int, is_int, 22222, host2_full_name),], 206 (ins1_full_name, 'IN', 'SRV', is_int, is_int, 11111, host1_full_name), 214 (ins2_full_name, 'IN', 'SRV', is_int, is_int, 22222, host2_full_name),
|
/external/mesa3d/src/panfrost/midgard/ |
D | disassemble.c | 194 print_outmod(FILE *fp, unsigned outmod, bool is_int) in print_outmod() argument 196 fprintf(fp, "%s", is_int ? outmod_names_int[outmod] : in print_outmod() 426 print_srcmod(FILE *fp, bool is_int, unsigned mod, bool scalar) in print_srcmod() argument 432 if (is_int) { in print_srcmod() 448 print_srcmod_end(FILE *fp, bool is_int, unsigned mod, unsigned bits) in print_srcmod_end() argument 452 if (is_int && mod == midgard_int_shift) in print_srcmod_end() 454 else if ((is_int && (mod != midgard_int_normal)) in print_srcmod_end() 455 || (!is_int && mod & MIDGARD_FLOAT_MOD_ABS)) in print_srcmod_end() 462 midgard_dest_override override, bool is_int) in print_vector_src() argument 465 print_srcmod(fp, is_int, src->mod, false); in print_vector_src() [all …]
|
D | midgard_ops.h | 58 bool is_int = midgard_is_integer_op(op); in midgard_is_integer_out_op() local 61 return is_int ^ is_conversion; in midgard_is_integer_out_op()
|
D | mir.c | 120 bool is_int = midgard_is_integer_op(ins->op); in mir_nontrivial_mod() local 122 if (is_int) { in mir_nontrivial_mod() 144 bool is_int = midgard_is_integer_op(ins->op); in mir_nontrivial_outmod() local 150 if (is_int) in mir_nontrivial_outmod()
|
/external/swiftshader/third_party/SPIRV-Tools/tools/sva/src/ |
D | ast.js | 44 let is_int = inst.name() === "OpTypeInt"; 47 type: is_int ? "int" : "float", 49 signed: is_int ? inst.operand(2).value() : 1
|
/external/deqp-deps/SPIRV-Tools/tools/sva/src/ |
D | ast.js | 44 let is_int = inst.name() === "OpTypeInt"; 47 type: is_int ? "int" : "float", 49 signed: is_int ? inst.operand(2).value() : 1
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/tools/sva/src/ |
D | ast.js | 44 let is_int = inst.name() === "OpTypeInt"; 47 type: is_int ? "int" : "float", 49 signed: is_int ? inst.operand(2).value() : 1
|
/external/clang/test/SemaTemplate/ |
D | overload-candidates.cpp | 56 template<typename T> struct is_int { enum { value = false }; }; struct 57 template<> struct is_int<int> { enum { value = true }; }; argument 58 template<typename T> typename llvm::enable_if<is_int<T> >::type if_int(); // expected-note{{candida…
|
/external/pigweed/pw_metric/ |
D | metric.cc | 69 PW_DCHECK(is_int()); in as_int() 74 PW_DCHECK(is_int()); in Increment() 79 PW_DCHECK(is_int()); in SetInt()
|
D | metric_test.cc | 29 EXPECT_FALSE(m.is_int()); in TEST() 44 EXPECT_TRUE(m.is_int()); in TEST() 60 EXPECT_TRUE(m.is_int()); in TEST()
|
/external/cronet/base/json/ |
D | json_value_converter.cc | 14 if (!value.is_int()) in Convert() 41 if (!value.is_double() && !value.is_int()) in Convert()
|
D | json_reader_unittest.cc | 65 EXPECT_TRUE(root->is_int()); in TEST() 90 ASSERT_TRUE((*list)[0].is_int()); in TEST() 92 ASSERT_TRUE((*list)[1].is_int()); in TEST() 101 ASSERT_TRUE(root->is_int()); in TEST() 108 EXPECT_TRUE(root->is_int()); in TEST() 118 ASSERT_TRUE(root->is_int()); in TEST() 134 ASSERT_TRUE(root->is_int()); in TEST() 160 ASSERT_FALSE(root->is_int()); in TEST() 678 ASSERT_TRUE(root->is_int()); in TEST() 951 ASSERT_TRUE(result->is_double() || result->is_int()); in TEST()
|
/external/cronet/components/prefs/ |
D | pref_member.cc | 170 if (value.is_int()) in UpdateValueInternal() 172 return value.is_int(); in UpdateValueInternal() 183 if (value.is_double() || value.is_int()) in UpdateValueInternal() 185 return value.is_double() || value.is_int(); in UpdateValueInternal()
|
D | pref_service_unittest.cc | 157 ASSERT_TRUE(value->is_int()); in TEST() 176 ASSERT_TRUE(value->is_int()); in TEST() 190 ASSERT_TRUE(value->is_int()); in TEST() 204 ASSERT_TRUE(value->is_int()); in TEST() 211 ASSERT_TRUE(value->is_int()); in TEST() 221 ASSERT_TRUE(value->is_int()); in TEST() 228 ASSERT_TRUE(value->is_int()); in TEST()
|
/external/python/cffi/cffi/ |
D | vengine_gen.py | 394 def _generate_gen_const(self, is_int, name, tp=None, category='const', argument 400 assert is_int 407 elif is_int: 432 is_int = isinstance(tp, model.PrimitiveType) and tp.is_integer_type() 433 self._generate_gen_const(is_int, name, tp) 437 def _load_constant(self, is_int, tp, name, module, check_value=None): argument 440 assert is_int 443 elif is_int: 466 is_int = isinstance(tp, model.PrimitiveType) and tp.is_integer_type() 467 value = self._load_constant(is_int, tp, name, module)
|
D | vengine_cpy.py | 614 def _generate_cpy_const(self, is_int, name, tp=None, category='const', argument 623 if not is_int: 631 if not is_int: 663 is_int = isinstance(tp, model.PrimitiveType) and tp.is_integer_type() 664 if not is_int: 668 is_int = isinstance(tp, model.PrimitiveType) and tp.is_integer_type() 669 self._generate_cpy_const(is_int, name, tp)
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | shape_optimizer.cc | 45 auto is_int = [](const NodeDef& node) -> bool { in Optimize() local 52 } else if (IsProd(node) && is_int(node)) { in Optimize() 54 } else if (IsDiv(node) && is_int(node)) { in Optimize()
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_interfaces.cpp | 144 bool is_int = false; in NumConsumedLocations() local 148 std::tie(is_int, is_const, value) = in NumConsumedLocations() 150 if (is_int && is_const) *num_locations *= value; in NumConsumedLocations() 349 bool is_int = false; in GetLocationsForVariable() local 356 std::tie(is_int, is_const, array_size) = in GetLocationsForVariable() 358 if (!is_int || !is_const) array_size = 1; in GetLocationsForVariable()
|
/external/oboe/samples/RhythmGame/third_party/glm/detail/ |
D | type_vec4.inl | 8 struct is_int struct 14 struct is_int<uint32> struct 20 struct is_int<int32> struct 26 struct is_int<uint64> struct 32 struct is_int<int64> struct 515 …return (*this = detail::compute_vec4_and<T, P, detail::is_int<T>::value, sizeof(T) * 8, detail::is… 522 …return (*this = detail::compute_vec4_and<T, P, detail::is_int<T>::value, sizeof(T) * 8, detail::is… 529 …return (*this = detail::compute_vec4_and<T, P, detail::is_int<T>::value, sizeof(T) * 8, detail::is… 536 …return (*this = detail::compute_vec4_or<T, P, detail::is_int<T>::value, sizeof(T) * 8, detail::is_… 543 …return (*this = detail::compute_vec4_or<T, P, detail::is_int<T>::value, sizeof(T) * 8, detail::is_… [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_interfaces.cpp | 148 bool is_int = false; in NumConsumedLocations() local 152 std::tie(is_int, is_const, value) = in NumConsumedLocations() 154 if (is_int && is_const) *num_locations *= value; in NumConsumedLocations() 353 bool is_int = false; in GetLocationsForVariable() local 360 std::tie(is_int, is_const, array_size) = in GetLocationsForVariable() 362 if (!is_int || !is_const) array_size = 1; in GetLocationsForVariable()
|
/external/flatbuffers/samples/ |
D | sample_flexbuffers.rs | 124 assert!(read_hp.flexbuffer_type().is_int()); in main() 125 assert!(read_mana.flexbuffer_type().is_int()); in main()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/ |
D | validate_interfaces.cpp | 147 bool is_int = false; in NumConsumedLocations() local 151 std::tie(is_int, is_const, value) = in NumConsumedLocations() 153 if (is_int && is_const) *num_locations *= value; in NumConsumedLocations() 371 bool is_int = false; in GetLocationsForVariable() local 378 std::tie(is_int, is_const, array_size) = in GetLocationsForVariable() 380 if (!is_int || !is_const) array_size = 1; in GetLocationsForVariable()
|
/external/mesa3d/src/compiler/glsl/ |
D | s_expression.h | 70 virtual bool is_int() const { return false; } in is_int() function 94 bool is_int() const { return true; } in is_int() function
|
/external/cronet/net/base/ |
D | backoff_entry_serializer.cc | 84 if (!serialized[0].is_int()) in DeserializeFromList() 90 if (!serialized[1].is_int()) in DeserializeFromList()
|