Lines Matching defs:bool
55 // the C bool data type should be used in its place.
94 static bool
103 static bool
111 static bool to_value(bool b) { return b; }
114 static bool to_value(tp i) { return to_value((int)i); }
132 DEFN_CTOR_T(bool)
166 DEFN_ASN_OP_T(op,bool) \
209 // implicit conversion to bool
210 operator bool () const { return m_val; }
213 bool operator ! () const { return !m_val; }
217 bool to_bool() const { return m_val; }
222 friend bool operator == (const sc_bit &a, const sc_bit &b);
223 friend bool operator != (const sc_bit &a, const sc_bit &b);
249 bool m_val;
260 DEFN_BIN_FUN_T(ret,fun,bool) \
265 inline bool
271 inline bool
277 DEFN_BIN_FUN(bool, operator ==)
278 DEFN_BIN_FUN(bool, operator !=)
282 inline bool equal(const sc_bit &a, const sc_bit &b) { return (a == b); }
284 inline bool not_equal(const sc_bit &a, const sc_bit &b) { return (a != b); }
286 DEFN_BIN_FUN(bool,equal)
287 DEFN_BIN_FUN(bool,not_equal)
350 DEFN_TRN_FUN_T(fun, bool) \