Home
last modified time | relevance | path

Searched refs:is_bool (Results 1 – 25 of 36) sorted by relevance

12

/third_party/boost/boost/wave/grammars/
Dcpp_expression_value.hpp50 is_bool = 3 enumerator
69 : type(is_bool), valid(valid_) in closure_value()
80 case is_bool: return v.value.b ? 1 : 0; in as_int()
89 case is_bool: return v.value.b ? 1 : 0; in as_uint()
98 case is_bool: return v.value.b ? 1 : 0; in as_long()
107 case is_bool: return v.value.b ? 1 : 0; in as_ulong()
116 case is_bool: return v.value.b; in as_bool()
136 case is_bool: in operator =()
138 type = is_bool; in operator =()
174 type = is_bool; in operator =()
[all …]
/third_party/boost/boost/spirit/home/support/
Dnumeric_traits.hpp23 struct is_bool : mpl::false_ {}; struct
26 struct is_bool<T const> : is_bool<T> {}; struct
29 struct is_bool<bool> : mpl::true_ {}; struct
/third_party/boost/boost/spirit/home/x3/support/traits/
Dnumeric_traits.hpp20 struct is_bool : mpl::false_ {}; struct
23 struct is_bool<T const> : is_bool<T> {}; struct
26 struct is_bool<bool> : mpl::true_ {}; struct
/third_party/mindspore/mindspore/offline_debug/
Ddbg_services.py361 elem.shape(), elem.is_bool(),
730 def __init__(self, data_size, dtype, shape, is_bool, max_value, min_value, avg_value, count, argument
735 self.instance = cds.TensorStatData(data_size, dtype, shape, is_bool, max_value,
818 def is_bool(self): member in TensorStatData
834 return self.instance.is_bool()
Dmi_validators.py206 [data_size, dtype, shape, is_bool, max_value, min_value,
215 type_check(is_bool, (bool,), "is_bool")
/third_party/mindspore/mindspore/ccsrc/debug/debugger/offline_debug/
Ddbg_services.h135 …TensorStatData(uint64_t data_size, int dtype, const std::vector<int64_t> &shape, bool is_bool, dou… in TensorStatData()
141 is_bool_(is_bool), in TensorStatData()
156 const bool is_bool() const { return is_bool_; } in is_bool() function
Dmi_pybind_register.cc81 .def("is_bool", &TensorStatData::is_bool) in PYBIND11_MODULE()
/third_party/mindspore/mindspore/ccsrc/debug/debugger/
Dtensor_summary.h96 virtual const bool is_bool() const = 0;
119 const bool is_bool() const override { return is_bool_; } in is_bool() function
Ddebug_grpc.proto160 bool is_bool = 1; field
/third_party/mindspore/tests/ut/python/pipeline/parse/
Dtest_isinstance.py45 is_bool = isinstance(self.bool_member, bool)
66 return is_int, is_float, is_bool, bool_is_int, is_string, is_parameter, \
/third_party/cef/libcef/browser/prefs/
Dpref_store.cc182 if (value && stored_value->is_bool()) { in GetBoolean()
186 return stored_value->is_bool(); in GetBoolean()
/third_party/mindspore/tests/ut/python/debugger/gpu_tests/
Dtest_sync_read_tensors_base_stat.py140 assert tensor_stat.is_bool == stat_json['is_bool']
177 'is_bool': tensor_stat.is_bool,
/third_party/mindspore/mindspore/ccsrc/debug/
Ddebug_services.h203 …TensorStat(uint64_t data_size, int dtype, const std::vector<int64_t> &shape, bool is_bool, double … in TensorStat()
209 is_bool(is_bool), in TensorStat()
226 bool is_bool = false; member
/third_party/boost/boost/spirit/home/karma/numeric/
Dbool.hpp109 , typename enable_if<traits::is_bool<A0> >::type>
400 , typename enable_if<traits::is_bool<A0> >::type>
/third_party/flatbuffers/rust/flexbuffers/src/
Dflexbuffer_type.rs193 is_ty!(is_bool, Bool);
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_shader_calls.c427 bool is_bool = def->bit_size == 1; in spill_ssa_defs_and_lower_shader_calls() local
428 if (is_bool) in spill_ssa_defs_and_lower_shader_calls()
437 if (is_bool) in spill_ssa_defs_and_lower_shader_calls()
/third_party/flatbuffers/src/
Didl_gen_lua.cpp190 auto is_bool = field.value.type.base_type == BASE_TYPE_BOOL; in GetScalarFieldOfTable() local
191 if (is_bool) { getter = "(" + getter + " ~= 0)"; } in GetScalarFieldOfTable()
195 if (is_bool) { in GetScalarFieldOfTable()
Didl_gen_python.cpp207 auto is_bool = IsBool(field.value.type.base_type); in GetScalarFieldOfTable() local
208 if (is_bool) { getter = "bool(" + getter + ")"; } in GetScalarFieldOfTable()
211 if (is_bool) { in GetScalarFieldOfTable()
/third_party/cef/libcef_dll/ctocpp/
Dv8value_ctocpp.cc237 if (CEF_MEMBER_MISSING(_struct, is_bool)) in IsBool()
243 int _retval = _struct->is_bool(_struct); in IsBool()
/third_party/mindspore/mindspore/numpy/
Darray_ops.py709 is_bool = _check_same_type(dtype1, mstype.bool_) and _check_same_type(
711 if is_bool:
729 if is_bool:
/third_party/cef/include/capi/
Dcef_v8_capi.h410 int(CEF_CALLBACK* is_bool)(struct _cef_v8value_t* self);
/third_party/cef/libcef/common/
Dvalues_impl.cc246 if (value_ && value_->is_bool()) in GetBool()
777 if (value && value->is_bool()) { in GetBool()
1196 if (const_value().Get(index, &out_value) && out_value->is_bool()) { in GetBool()
/third_party/gn/src/base/
Dvalues.cc214 CHECK(is_bool()); in GetBool()
426 if (out_value && is_bool()) { in GetAsBoolean()
430 return is_bool(); in GetAsBoolean()
/third_party/node/tools/inspector_protocol/lib/
Dbase_string_adapter_cc.template29 if (value->is_bool()) {
/third_party/mesa3d/src/freedreno/ir3/
Dir3_cp.c151 if (srcsrc && is_bool(srcsrc)) in combine_flags()

12