/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/utils/ |
D | convert_op_folder.cc | 66 bool is_bool = old_type.isInteger(1); in ConvertElementsAttr() local 70 new_type, llvm::function_ref<func_type>([&newFloatType, &is_bool]( in ConvertElementsAttr() 72 int64_t val = is_bool ? intVal.getZExtValue() : intVal.getSExtValue(); in ConvertElementsAttr() 83 new_type, llvm::function_ref<func_type>([&bit_width, &is_bool]( in ConvertElementsAttr() 85 int64_t val = is_bool ? intVal.getZExtValue() : intVal.getSExtValue(); in ConvertElementsAttr()
|
/external/abseil-cpp/absl/flags/ |
D | flag_test.cc | 508 bool is_bool = false; in TEST_F() local 509 EXPECT_TRUE(flags::IsRetiredFlag("old_bool_flag", &is_bool)); in TEST_F() 510 EXPECT_TRUE(is_bool); in TEST_F() 511 EXPECT_TRUE(flags::IsRetiredFlag("old_int_flag", &is_bool)); in TEST_F() 512 EXPECT_FALSE(is_bool); in TEST_F() 513 EXPECT_TRUE(flags::IsRetiredFlag("old_str_flag", &is_bool)); in TEST_F() 514 EXPECT_FALSE(is_bool); in TEST_F() 515 EXPECT_FALSE(flags::IsRetiredFlag("some_other_flag", &is_bool)); in TEST_F()
|
/external/webrtc/third_party/abseil-cpp/absl/flags/ |
D | flag_test.cc | 508 bool is_bool = false; in TEST_F() local 509 EXPECT_TRUE(flags::IsRetiredFlag("old_bool_flag", &is_bool)); in TEST_F() 510 EXPECT_TRUE(is_bool); in TEST_F() 511 EXPECT_TRUE(flags::IsRetiredFlag("old_int_flag", &is_bool)); in TEST_F() 512 EXPECT_FALSE(is_bool); in TEST_F() 513 EXPECT_TRUE(flags::IsRetiredFlag("old_str_flag", &is_bool)); in TEST_F() 514 EXPECT_FALSE(is_bool); in TEST_F() 515 EXPECT_FALSE(flags::IsRetiredFlag("some_other_flag", &is_bool)); in TEST_F()
|
/external/rust/crates/bindgen/src/ir/ |
D | enum_ty.rs | 73 let is_bool = variant_ty.map_or(false, Type::is_bool); in from_ty() localVariable 94 let value = if is_bool { in from_ty()
|
D | ty.rs | 189 pub fn is_bool(&self) -> bool { in is_bool() method
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_progvar.cpp | 142 bool is_bool(void) const {return m_is_bool;} in is_bool() function in TypeInfo 153 if ( this->is_bool() ) { in as_string() 216 if ( this->is_bool() ) { *buf = (bool)val; return; } in init_elem() 963 const int num_rounds = ti.is_bool() ? (1 << NUM_TESTED_VALUES ) : NUM_ROUNDS; in l_write_read_for_type() 973 if ( ti.is_bool() ) { in l_write_read_for_type() 1004 if ( ti.is_bool() ) { in l_write_read_for_type() 1021 if ( ti.is_bool() ) { in l_write_read_for_type() 1112 const int num_rounds = ti.is_bool() ? (1 << NUM_TESTED_VALUES ) : NUM_ROUNDS; in l_init_write_read_for_type() 1127 if ( ti.is_bool() ) { in l_init_write_read_for_type() 1177 if ( ti.is_bool() ) { in l_init_write_read_for_type() [all …]
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.-d-type.pbtxt | 19 name: "is_bool"
|
D | tensorflow.dtypes.-d-type.pbtxt | 19 name: "is_bool"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.dtypes.-d-type.pbtxt | 19 name: "is_bool"
|
D | tensorflow.-d-type.pbtxt | 19 name: "is_bool"
|
/external/libchrome/base/json/ |
D | json_reader_unittest.cc | 37 EXPECT_TRUE(root->is_bool()); in TEST() 49 EXPECT_TRUE(root->is_bool()); in TEST() 304 EXPECT_TRUE(tmp_value->is_bool()); in TEST()
|
/external/flatbuffers/src/ |
D | idl_gen_lua.cpp | 186 auto is_bool = field.value.type.base_type == BASE_TYPE_BOOL; in GetScalarFieldOfTable() local 187 if (is_bool) { getter = "(" + getter + " ~= 0)"; } in GetScalarFieldOfTable() 191 if (is_bool) { in GetScalarFieldOfTable()
|
D | idl_gen_python.cpp | 200 auto is_bool = IsBool(field.value.type.base_type); in GetScalarFieldOfTable() local 201 if (is_bool) { getter = "bool(" + getter + ")"; } in GetScalarFieldOfTable() 204 if (is_bool) { in GetScalarFieldOfTable()
|
/external/tensorflow/tensorflow/python/debug/lib/ |
D | dumping_callback.py | 420 (dtype.is_floating or dtype.is_integer or dtype.is_bool)) 528 tensor.dtype.is_bool):
|
/external/tensorflow/tensorflow/python/eager/ |
D | backprop.py | 685 if dtypes.as_dtype(dtype).is_bool: 702 if as_dtype.is_bool:
|
/external/libchrome/base/ |
D | values.cc | 226 CHECK(is_bool()); in GetBool() 445 if (out_value && is_bool()) { in GetAsBoolean() 449 return is_bool(); in GetAsBoolean()
|
D | values.h | 154 bool is_bool() const { return type() == Type::BOOLEAN; } in is_bool() function
|
D | values_unittest.cc | 1053 EXPECT_TRUE(removed_item->is_bool()); in TEST() 1098 ASSERT_TRUE(copy_bool->is_bool()); in TEST()
|
/external/libchrome/base/test/ |
D | trace_event_analyzer.cc | 296 bool is_bool = GetAsDouble(event, &bool_value); in Evaluate() local 297 if (is_bool) in Evaluate()
|
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_cp.c | 143 if (srcsrc && is_bool(srcsrc)) in combine_flags()
|
D | ir3.h | 836 static inline bool is_bool(struct ir3_instruction *instr) in is_bool() function
|
/external/tensorflow/tensorflow/python/ops/numpy_ops/ |
D | np_math_ops.py | 544 is_bool = (x1.dtype == dtypes.bool) 545 if is_bool: 550 if is_bool:
|
/external/protobuf/php/src/Google/Protobuf/Internal/ |
D | Message.php | 870 if (!is_bool($value)) { 1126 if (is_bool($array)) {
|
/external/tensorflow/tensorflow/python/ops/distributions/ |
D | distribution.py | 136 (preferred_dtype.is_integer or preferred_dtype.is_bool)):
|
/external/skqp/src/sksl/ |
D | SkSLSPIRVCodeGenerator.cpp | 170 static bool is_bool(const Context& context, const Type& type) { in is_bool() function 172 return is_bool(context, type.componentType()); in is_bool() 682 } else if (is_bool(fContext, type)) { in writeIntrinsicCall()
|