| /netbsd-src/external/bsd/elftosb/dist/common/ |
| H A D | Value.h | 37 IntegerValue() : m_value(0) {} in IntegerValue() 38 IntegerValue(uint32_t value) : m_value(value) {} in IntegerValue() 39 IntegerValue(const IntegerValue & other) : m_value(other.m_value) {} in IntegerValue() 42 virtual size_t getSize() const { return sizeof(m_value); } in getSize() 44 inline uint32_t getValue() const { return m_value; } in getValue() 46 inline operator uint32_t () const { return m_value; } in uint32_t() 48 inline IntegerValue & operator = (uint32_t value) { m_value = value; return *this; } 51 uint32_t m_value; //!< The integer value. 85 …SizedIntegerValue & operator = (uint8_t value) { m_value = value; m_size = kByteSize; return *this… 86 …SizedIntegerValue & operator = (uint16_t value) { m_value = value; m_size = kHalfWordSize; return … [all …]
|
| H A D | OptionDictionary.cpp | 19 if (it->second.m_value) in ~OptionDictionary() 21 delete it->second.m_value; in ~OptionDictionary() 65 return it->second.m_value; in getOption() 96 if (it->second.m_value) in setOption() 98 delete it->second.m_value; in setOption() 106 newValue.m_value = value; in setOption() 116 if (m_options[name].m_value) in deleteOption() 118 delete m_options[name].m_value; in deleteOption() 145 m_options[name].m_value = 0; in lockOption() 157 m_options[name].m_value = 0; in unlockOption()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/aarch64/ |
| H A D | fractional-cost.h | 31 : m_value (uint64_t (int_value) * SCALE) {} in m_value() function 54 explicit operator bool () const { return m_value != 0; } 57 double as_double () const { return double (m_value) / SCALE; } in as_double() 61 constexpr fractional_cost (uint64_t value, raw) : m_value (value) {} in fractional_cost() 69 uint64_t m_value; variable 77 : m_value (CEIL (uint64_t (a) * SCALE, uint64_t (b))) in fractional_cost() 85 uint64_t sum = m_value + other.m_value; 86 return { sum >= m_value ? sum : ~uint64_t (0), RAW }; 99 uint64_t diff = m_value - other.m_value; 100 return { diff <= m_value ? diff : 0, RAW }; [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | tristate.h | 34 tristate (enum value val) : m_value (val) {} in tristate() 35 tristate (bool val) : m_value (val ? TS_TRUE : TS_FALSE) {} in tristate() 40 bool is_known () const { return m_value != TS_UNKNOWN; } in is_known() 41 bool is_true () const { return m_value == TS_TRUE; } in is_true() 42 bool is_false () const { return m_value == TS_FALSE; } in is_false() 50 return m_value == other.m_value; 55 return m_value != other.m_value; 58 enum value get_value () const { return m_value; } in get_value() 61 enum value m_value; variable
|
| H A D | hash-map.h | 45 Value m_value; in class() member 76 gt_ggc_mx (e.m_value); in class() 88 gt_pch_nx (e.m_value); in class() 94 pch_nx_helper (e.m_value, op, c); in class() 176 new ((void *) &e->m_value) Value (v); in class() 179 e->m_value = v; in class() 190 return Traits::is_empty (e) ? NULL : &e.m_value; in class() 205 new ((void *)&e->m_value) Value (); in class() 211 return e->m_value; in class() 229 if (!f ((*iter).m_key, (*iter).m_value, a)) in class() [all …]
|
| H A D | json.h | 126 float_number (double value) : m_value (value) {} in float_number() 131 double get () const { return m_value; } in get() 134 double m_value; 142 integer_number (long value) : m_value (value) {} in integer_number() 147 long get () const { return m_value; } in get() 150 long m_value;
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | tristate.h | 34 tristate (enum value val) : m_value (val) {} in tristate() 35 tristate (bool val) : m_value (val ? TS_TRUE : TS_FALSE) {} in tristate() 40 bool is_known () const { return m_value != TS_UNKNOWN; } in is_known() 41 bool is_true () const { return m_value == TS_TRUE; } in is_true() 42 bool is_false () const { return m_value == TS_FALSE; } in is_false() 50 return m_value == other.m_value; 55 return m_value != other.m_value; 59 enum value m_value; variable
|
| H A D | hash-map.h | 45 Value m_value; in class() member 76 gt_ggc_mx (e.m_value); in class() 88 gt_pch_nx (e.m_value); in class() 94 pch_nx_helper (e.m_value, op, c); in class() 172 new ((void *) &e->m_value) Value (v); in class() 175 e->m_value = v; in class() 185 return Traits::is_empty (e) ? NULL : &e.m_value; in class() 200 new ((void *)&e->m_value) Value (); in class() 206 return e->m_value; in class() 223 f ((*iter).m_key, (*iter).m_value, a); in class() [all …]
|
| H A D | json.h | 126 float_number (double value) : m_value (value) {} in float_number() 131 double get () const { return m_value; } in get() 134 double m_value; 142 integer_number (long value) : m_value (value) {} in integer_number() 147 long get () const { return m_value; } in get() 150 long m_value;
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/ |
| H A D | find_fn_imps.hpp | 52 if (Cmp_Fn::operator()(PB_DS_V2F(p_nd->m_value), r_key)) in lower_bound() 71 if (Cmp_Fn::operator()(PB_DS_V2F(p_nd->m_value), r_key)) in lower_bound() 90 if (Cmp_Fn::operator()(r_key, PB_DS_V2F(p_nd->m_value))) in upper_bound() 109 if (Cmp_Fn::operator()(r_key, PB_DS_V2F(p_nd->m_value))) in upper_bound() 129 if (!Cmp_Fn::operator()(PB_DS_V2F(p_nd->m_value), r_key)) in find() 140 const bool __cmp = Cmp_Fn::operator()(r_key, PB_DS_V2F(p_pot->m_value)); in find() 157 if (!Cmp_Fn::operator()(PB_DS_V2F(p_nd->m_value), r_key)) in find() 168 const bool __cmp = Cmp_Fn::operator()(r_key, PB_DS_V2F(p_pot->m_value)); in find()
|
| H A D | split_join_fn_imps.hpp | 60 Cmp_Fn::operator()(PB_DS_V2F(m_p_head->m_p_right->m_value), in join_prep() 61 PB_DS_V2F(other.m_p_head->m_p_left->m_value)); in join_prep() 64 Cmp_Fn::operator()(PB_DS_V2F(other.m_p_head->m_p_right->m_value), in join_prep() 65 PB_DS_V2F(m_p_head->m_p_left->m_value)); in join_prep() 103 if (Cmp_Fn::operator()(r_key, PB_DS_V2F(m_p_head->m_p_left->m_value))) in split_prep() 111 if (!Cmp_Fn::operator()(r_key, PB_DS_V2F(m_p_head->m_p_right->m_value))) in split_prep()
|
| H A D | debug_fn_imps.hpp | 114 PB_DS_V2F(p_nd->m_value))); in assert_node_consistent_() 120 PB_DS_DEBUG_VERIFY(Cmp_Fn::operator()(PB_DS_V2F(p_nd->m_value), in assert_node_consistent_() 123 return std::make_pair((l_range.first != 0) ? l_range.first : &p_nd->m_value, in assert_node_consistent_() 124 (r_range.second != 0)? r_range.second : &p_nd->m_value); in assert_node_consistent_() 136 PB_DS_DEBUG_VERIFY(!Cmp_Fn::operator()(PB_DS_V2F(p_nd->m_value), in assert_node_consistent_with_left() 137 PB_DS_V2F(p_nd->m_p_left->m_value))); in assert_node_consistent_with_left() 149 PB_DS_DEBUG_VERIFY(!Cmp_Fn::operator()(PB_DS_V2F(p_nd->m_p_right->m_value), in assert_node_consistent_with_right() 150 PB_DS_V2F(p_nd->m_value))); in assert_node_consistent_with_right() 268 debug_base::check_key_exists(PB_DS_V2F(p_nd->m_value), __file, __line); in assert_consistent_with_debug_base()
|
| H A D | insert_fn_imps.hpp | 58 if (!Cmp_Fn::operator()(PB_DS_V2F(p_nd->m_value), in insert_leaf() 73 PB_DS_V2F(p_pot->m_value))) in insert_leaf() 107 PB_DS_V2F(p_nd->m_value))); in insert_leaf_new() 116 _GLIBCXX_DEBUG_ASSERT(Cmp_Fn::operator()(PB_DS_V2F(p_nd->m_value), in insert_leaf_new() 160 new (const_cast<void* >(static_cast<const void* >(&p_new_nd->m_value))) in get_new_node_for_leaf_insert() 176 new (const_cast<void* >(static_cast<const void* >(&p_new_nd->m_value))) in get_new_node_for_leaf_insert()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/ |
| H A D | find_fn_imps.hpp | 52 if (Cmp_Fn::operator()(PB_DS_V2F(p_nd->m_value), r_key)) in lower_bound() 71 if (Cmp_Fn::operator()(PB_DS_V2F(p_nd->m_value), r_key)) in lower_bound() 90 if (Cmp_Fn::operator()(r_key, PB_DS_V2F(p_nd->m_value))) in upper_bound() 109 if (Cmp_Fn::operator()(r_key, PB_DS_V2F(p_nd->m_value))) in upper_bound() 129 if (!Cmp_Fn::operator()(PB_DS_V2F(p_nd->m_value), r_key)) in find() 140 const bool __cmp = Cmp_Fn::operator()(r_key, PB_DS_V2F(p_pot->m_value)); in find() 157 if (!Cmp_Fn::operator()(PB_DS_V2F(p_nd->m_value), r_key)) in find() 168 const bool __cmp = Cmp_Fn::operator()(r_key, PB_DS_V2F(p_pot->m_value)); in find()
|
| H A D | split_join_fn_imps.hpp | 60 Cmp_Fn::operator()(PB_DS_V2F(m_p_head->m_p_right->m_value), in join_prep() 61 PB_DS_V2F(other.m_p_head->m_p_left->m_value)); in join_prep() 64 Cmp_Fn::operator()(PB_DS_V2F(other.m_p_head->m_p_right->m_value), in join_prep() 65 PB_DS_V2F(m_p_head->m_p_left->m_value)); in join_prep() 103 if (Cmp_Fn::operator()(r_key, PB_DS_V2F(m_p_head->m_p_left->m_value))) in split_prep() 111 if (!Cmp_Fn::operator()(r_key, PB_DS_V2F(m_p_head->m_p_right->m_value))) in split_prep()
|
| H A D | debug_fn_imps.hpp | 114 PB_DS_V2F(p_nd->m_value))); in assert_node_consistent_() 120 PB_DS_DEBUG_VERIFY(Cmp_Fn::operator()(PB_DS_V2F(p_nd->m_value), in assert_node_consistent_() 123 return std::make_pair((l_range.first != 0) ? l_range.first : &p_nd->m_value, in assert_node_consistent_() 124 (r_range.second != 0)? r_range.second : &p_nd->m_value); in assert_node_consistent_() 136 PB_DS_DEBUG_VERIFY(!Cmp_Fn::operator()(PB_DS_V2F(p_nd->m_value), in assert_node_consistent_with_left() 137 PB_DS_V2F(p_nd->m_p_left->m_value))); in assert_node_consistent_with_left() 149 PB_DS_DEBUG_VERIFY(!Cmp_Fn::operator()(PB_DS_V2F(p_nd->m_p_right->m_value), in assert_node_consistent_with_right() 150 PB_DS_V2F(p_nd->m_value))); in assert_node_consistent_with_right() 268 debug_base::check_key_exists(PB_DS_V2F(p_nd->m_value), __file, __line); in assert_consistent_with_debug_base()
|
| H A D | insert_fn_imps.hpp | 58 if (!Cmp_Fn::operator()(PB_DS_V2F(p_nd->m_value), in insert_leaf() 73 PB_DS_V2F(p_pot->m_value))) in insert_leaf() 107 PB_DS_V2F(p_nd->m_value))); in insert_leaf_new() 116 _GLIBCXX_DEBUG_ASSERT(Cmp_Fn::operator()(PB_DS_V2F(p_nd->m_value), in insert_leaf_new() 160 new (const_cast<void* >(static_cast<const void* >(&p_new_nd->m_value))) in get_new_node_for_leaf_insert() 176 new (const_cast<void* >(static_cast<const void* >(&p_new_nd->m_value))) in get_new_node_for_leaf_insert()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/binomial_heap_base_/ |
| H A D | insert_fn_imps.hpp | 81 if (Cmp_Fn::operator()(base_type::m_p_root->m_value, p_nd->m_value)) in insert_node() 114 if (Cmp_Fn::operator()(p_nd->m_value, p_next->m_value)) in fix() 154 const bool bubble_up = Cmp_Fn::operator()(p_nd->m_value, r_new_val); in modify() 155 p_nd->m_value = r_new_val; in modify() 161 Cmp_Fn::operator()(p_parent->m_value, p_nd->m_value)) in modify()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/binomial_heap_base_/ |
| H A D | insert_fn_imps.hpp | 81 if (Cmp_Fn::operator()(base_type::m_p_root->m_value, p_nd->m_value)) in insert_node() 114 if (Cmp_Fn::operator()(p_nd->m_value, p_next->m_value)) in fix() 154 const bool bubble_up = Cmp_Fn::operator()(p_nd->m_value, r_new_val); in modify() 155 p_nd->m_value = r_new_val; in modify() 161 Cmp_Fn::operator()(p_parent->m_value, p_nd->m_value)) in modify()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/ |
| H A D | gp_ht_map_.hpp | 448 new (&p_e->m_value) value_type(r_val); in insert_new_imp() 452 _GLIBCXX_DEBUG_ONLY(debug_base::insert_new(PB_DS_V2F(p_e->m_value));) in insert_new_imp() 454 return &p_e->m_value; in insert_new_imp() 471 new (&p_e->m_value) value_type(r_val); in insert_new_imp() 477 _GLIBCXX_DEBUG_ONLY(debug_base::insert_new(PB_DS_V2F(p_e->m_value));) in insert_new_imp() 479 return &p_e->m_value; in insert_new_imp() 496 return p_e->m_value.second; in subscript_imp() 512 return (m_entries + pos_hash_pair.first)->m_value.second; in subscript_imp() 539 if (hash_eq_fn_base::operator()(PB_DS_V2F(p_e->m_value), key)) in find_key_pointer() 543 return pointer(&p_e->m_value); in find_key_pointer() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/ |
| H A D | gp_ht_map_.hpp | 448 new (&p_e->m_value) value_type(r_val); in insert_new_imp() 452 _GLIBCXX_DEBUG_ONLY(debug_base::insert_new(PB_DS_V2F(p_e->m_value));) in insert_new_imp() 454 return &p_e->m_value; in insert_new_imp() 471 new (&p_e->m_value) value_type(r_val); in insert_new_imp() 477 _GLIBCXX_DEBUG_ONLY(debug_base::insert_new(PB_DS_V2F(p_e->m_value));) in insert_new_imp() 479 return &p_e->m_value; in insert_new_imp() 496 return p_e->m_value.second; in subscript_imp() 512 return (m_entries + pos_hash_pair.first)->m_value.second; in subscript_imp() 539 if (hash_eq_fn_base::operator()(PB_DS_V2F(p_e->m_value), key)) in find_key_pointer() 543 return pointer(&p_e->m_value); in find_key_pointer() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/ |
| H A D | cc_ht_map_.hpp | 422 && !hash_eq_fn_base::operator()(p_e->m_value.first, r_key)) in subscript_imp() 432 return (p_e->m_value.second); in subscript_imp() 447 !hash_eq_fn_base::operator()(p_e->m_value.first, p_e->m_hash, in subscript_imp() 458 return p_e->m_value.second; in subscript_imp() 490 return &p_e->m_value; in insert_new_imp() 510 return &p_e->m_value; in insert_new_imp() 519 !hash_eq_fn_base::operator()(PB_DS_V2F(p_e->m_value), r_key)) in find_key_pointer() 535 return &p_e->m_value; in find_key_pointer() 546 !hash_eq_fn_base::operator()(PB_DS_V2F(p_e->m_value), in find_key_pointer() 564 return &p_e->m_value; in find_key_pointer() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/ |
| H A D | cc_ht_map_.hpp | 422 && !hash_eq_fn_base::operator()(p_e->m_value.first, r_key)) in subscript_imp() 432 return (p_e->m_value.second); in subscript_imp() 447 !hash_eq_fn_base::operator()(p_e->m_value.first, p_e->m_hash, in subscript_imp() 458 return p_e->m_value.second; in subscript_imp() 490 return &p_e->m_value; in insert_new_imp() 510 return &p_e->m_value; in insert_new_imp() 519 !hash_eq_fn_base::operator()(PB_DS_V2F(p_e->m_value), r_key)) in find_key_pointer() 535 return &p_e->m_value; in find_key_pointer() 546 !hash_eq_fn_base::operator()(PB_DS_V2F(p_e->m_value), in find_key_pointer() 564 return &p_e->m_value; in find_key_pointer() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/list_update_map_/ |
| H A D | erase_fn_imps.hpp | 52 if (s_eq_fn(r_key, PB_DS_V2F(m_p_l->m_value))) in erase() 62 if (s_eq_fn(r_key, PB_DS_V2F(p_l->m_p_next->m_value))) in erase() 88 while (m_p_l != 0 && pred(m_p_l->m_value)) in erase_if() 102 if (pred(p_l->m_p_next->m_value)) in erase_if() 132 _GLIBCXX_DEBUG_ONLY(debug_base::erase_existing(PB_DS_V2F(p_l->m_value));) in actual_erase_entry()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/list_update_map_/ |
| H A D | erase_fn_imps.hpp | 52 if (s_eq_fn(r_key, PB_DS_V2F(m_p_l->m_value))) in erase() 62 if (s_eq_fn(r_key, PB_DS_V2F(p_l->m_p_next->m_value))) in erase() 88 while (m_p_l != 0 && pred(m_p_l->m_value)) in erase_if() 102 if (pred(p_l->m_p_next->m_value)) in erase_if() 132 _GLIBCXX_DEBUG_ONLY(debug_base::erase_existing(PB_DS_V2F(p_l->m_value));) in actual_erase_entry()
|