/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/ |
H A D | erase_fn_imps.hpp | 48 for (size_type i = 0; i < m_size; ++i) in clear() 63 m_size = 0; in clear() 91 erase_at(m_a_entries, m_size - 1, s_no_throw_copies_ind); in pop() 93 _GLIBCXX_DEBUG_ASSERT(m_size > 0); in pop() 94 --m_size; in pop() 111 _GLIBCXX_DEBUG_ASSERT(m_size >= left); in erase_if() 112 const size_type ersd = m_size - left; in erase_if() 113 for (size_type i = left; i < m_size; ++i) in erase_if() 130 m_size = left; in erase_if() 145 std::swap(*it.m_p_e, m_a_entries[m_size - 1]); in erase() [all …]
|
H A D | split_join_fn_imps.hpp | 56 _GLIBCXX_DEBUG_ASSERT(m_size >= left); in split() 58 const size_type ersd = m_size - left; in split() 59 _GLIBCXX_DEBUG_ASSERT(m_size >= ersd); in split() 83 for (size_type i = 0; i < other.m_size; ++i) in split() 88 std::copy(m_a_entries + left, m_a_entries + m_size, a_other_entries); in split() 96 m_size = left; in split() 97 other.m_size = ersd; in split() 120 const size_type len = m_size + other.m_size; in join() 142 std::copy(m_a_entries, m_a_entries + m_size, a_entries); in join() 143 std::copy(other.m_a_entries, other.m_a_entries + other.m_size, in join() [all …]
|
H A D | insert_fn_imps.hpp | 61 m_a_entries[m_size++] = val; in insert_value() 74 m_a_entries[m_size++] = p_new; in insert_value() 82 if (!resize_policy::resize_needed_for_grow(m_size)) in resize_for_insert_if_needed() 84 _GLIBCXX_DEBUG_ASSERT(m_size < m_actual_size); in resize_for_insert_if_needed() 92 std::copy(m_a_entries, m_a_entries + m_size, new_entries); in resize_for_insert_if_needed() 131 while (i < m_size) in fix() 137 const bool smaller_than_lchild = lchild_i < m_size && in fix() 140 const bool smaller_than_rchild = rchild_i < m_size && in fix() 158 i = m_size; in fix()
|
H A D | constructors_destructor_fn_imps.hpp | 73 : m_size(0), m_actual_size(resize_policy::min_size), in binary_heap() 80 : entry_cmp(r_cmp_fn), m_size(0), m_actual_size(resize_policy::min_size), in binary_heap() 87 : entry_cmp(other), resize_policy(other), m_size(0), in binary_heap() 100 for (size_type i = 0; i < m_size; ++i) in binary_heap() 129 std::swap(m_size, other.m_size); in value_swap() 138 for (size_type i = 0; i < m_size; ++i) in ~binary_heap()
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/ |
H A D | erase_fn_imps.hpp | 48 for (size_type i = 0; i < m_size; ++i) in clear() 63 m_size = 0; in clear() 91 erase_at(m_a_entries, m_size - 1, s_no_throw_copies_ind); in pop() 93 _GLIBCXX_DEBUG_ASSERT(m_size > 0); in pop() 94 --m_size; in pop() 111 _GLIBCXX_DEBUG_ASSERT(m_size >= left); in erase_if() 112 const size_type ersd = m_size - left; in erase_if() 113 for (size_type i = left; i < m_size; ++i) in erase_if() 130 m_size = left; in erase_if() 145 std::swap(*it.m_p_e, m_a_entries[m_size - 1]); in erase() [all …]
|
H A D | split_join_fn_imps.hpp | 56 _GLIBCXX_DEBUG_ASSERT(m_size >= left); in split() 58 const size_type ersd = m_size - left; in split() 59 _GLIBCXX_DEBUG_ASSERT(m_size >= ersd); in split() 83 for (size_type i = 0; i < other.m_size; ++i) in split() 88 std::copy(m_a_entries + left, m_a_entries + m_size, a_other_entries); in split() 96 m_size = left; in split() 97 other.m_size = ersd; in split() 120 const size_type len = m_size + other.m_size; in join() 142 std::copy(m_a_entries, m_a_entries + m_size, a_entries); in join() 143 std::copy(other.m_a_entries, other.m_a_entries + other.m_size, in join() [all …]
|
H A D | insert_fn_imps.hpp | 61 m_a_entries[m_size++] = val; in insert_value() 74 m_a_entries[m_size++] = p_new; in insert_value() 82 if (!resize_policy::resize_needed_for_grow(m_size)) in resize_for_insert_if_needed() 84 _GLIBCXX_DEBUG_ASSERT(m_size < m_actual_size); in resize_for_insert_if_needed() 92 std::copy(m_a_entries, m_a_entries + m_size, new_entries); in resize_for_insert_if_needed() 131 while (i < m_size) in fix() 137 const bool smaller_than_lchild = lchild_i < m_size && in fix() 140 const bool smaller_than_rchild = rchild_i < m_size && in fix() 158 i = m_size; in fix()
|
H A D | constructors_destructor_fn_imps.hpp | 73 : m_size(0), m_actual_size(resize_policy::min_size), in binary_heap() 80 : entry_cmp(r_cmp_fn), m_size(0), m_actual_size(resize_policy::min_size), in binary_heap() 87 : entry_cmp(other), resize_policy(other), m_size(0), in binary_heap() 100 for (size_type i = 0; i < m_size; ++i) in binary_heap() 129 std::swap(m_size, other.m_size); in value_swap() 138 for (size_type i = 0; i < m_size; ++i) in ~binary_heap()
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/ov_tree_map_/ |
H A D | erase_fn_imps.hpp | 49 if (m_size == 0) in clear() 56 cond_dtor<size_type> cd(m_a_values, m_end_it, m_size); in clear() 61 m_size = 0; in clear() 75 typename _Alloc::group_adjustor adjust(m_size); in erase_if() 113 cond_dtor<size_type> cd1(m_a_values, m_end_it, m_size); in erase_if() 117 m_size = new_size; in erase_if() 137 typename _Alloc::group_adjustor adjust(m_size); in erase_imp() 140 _GLIBCXX_DEBUG_ASSERT(m_size > 0); in erase_imp() 141 value_vector a_values = s_value_alloc.allocate(m_size - 1); in erase_imp() 147 cond_dtor<size_type> cd(a_values, target_it, m_size - 1); in erase_imp() [all …]
|
H A D | constructors_destructor_fn_imps.hpp | 57 m_size(0) in PB_DS_OV_TREE_NAME() 67 m_size(0) in PB_DS_OV_TREE_NAME() 78 m_size(0) in PB_DS_OV_TREE_NAME() 92 m_size(0) in PB_DS_OV_TREE_NAME() 145 m_size = len; in copy_from_ordered_range() 146 m_end_it = m_a_values + m_size; in copy_from_ordered_range() 193 m_size = len; in copy_from_ordered_range() 194 m_end_it = m_a_values + m_size; in copy_from_ordered_range() 227 std::swap(m_size, other.m_size); in value_swap() 236 cond_dtor<size_type> cd(m_a_values, m_end_it, m_size); in ~PB_DS_OV_TREE_NAME()
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/ov_tree_map_/ |
H A D | erase_fn_imps.hpp | 49 if (m_size == 0) in clear() 56 cond_dtor<size_type> cd(m_a_values, m_end_it, m_size); in clear() 61 m_size = 0; in clear() 75 typename _Alloc::group_adjustor adjust(m_size); in erase_if() 113 cond_dtor<size_type> cd1(m_a_values, m_end_it, m_size); in erase_if() 117 m_size = new_size; in erase_if() 137 typename _Alloc::group_adjustor adjust(m_size); in erase_imp() 140 _GLIBCXX_DEBUG_ASSERT(m_size > 0); in erase_imp() 141 value_vector a_values = s_value_alloc.allocate(m_size - 1); in erase_imp() 147 cond_dtor<size_type> cd(a_values, target_it, m_size - 1); in erase_imp() [all …]
|
H A D | constructors_destructor_fn_imps.hpp | 57 m_size(0) in PB_DS_OV_TREE_NAME() 67 m_size(0) in PB_DS_OV_TREE_NAME() 78 m_size(0) in PB_DS_OV_TREE_NAME() 92 m_size(0) in PB_DS_OV_TREE_NAME() 145 m_size = len; in copy_from_ordered_range() 146 m_end_it = m_a_values + m_size; in copy_from_ordered_range() 193 m_size = len; in copy_from_ordered_range() 194 m_end_it = m_a_values + m_size; in copy_from_ordered_range() 227 std::swap(m_size, other.m_size); in value_swap() 236 cond_dtor<size_type> cd(m_a_values, m_end_it, m_size); in ~PB_DS_OV_TREE_NAME()
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/ |
H A D | hash_standard_resize_policy_imp.hpp | 46 : m_size(Size_Policy::get_nearest_larger_size(1)) in hash_standard_resize_policy() 47 { trigger_policy_base::notify_externally_resized(m_size); } in hash_standard_resize_policy() 52 : Size_Policy(r_size_policy), m_size(Size_Policy::get_nearest_larger_size(1)) in hash_standard_resize_policy() 53 { trigger_policy_base::notify_externally_resized(m_size); } in hash_standard_resize_policy() 60 m_size(Size_Policy::get_nearest_larger_size(1)) in hash_standard_resize_policy() 61 { trigger_policy_base::notify_externally_resized(m_size); } in hash_standard_resize_policy() 75 std::swap(m_size, other.m_size); in swap() 172 m_size = new_size; in notify_resized() 181 return m_size; in get_actual_size() 203 const size_type old_size = m_size; in resize() [all …]
|
H A D | hash_load_check_resize_trigger_size_base.hpp | 59 hash_load_check_resize_trigger_size_base(): m_size(0) in hash_load_check_resize_trigger_size_base() 64 { std::swap(m_size, other.m_size); } in swap() 68 { m_size = size; } in set_size() 72 { return m_size; } in get_size() 75 size_type m_size; member in __gnu_pbds::detail::hash_load_check_resize_trigger_size_base
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/ |
H A D | hash_standard_resize_policy_imp.hpp | 46 : m_size(Size_Policy::get_nearest_larger_size(1)) in hash_standard_resize_policy() 47 { trigger_policy_base::notify_externally_resized(m_size); } in hash_standard_resize_policy() 52 : Size_Policy(r_size_policy), m_size(Size_Policy::get_nearest_larger_size(1)) in hash_standard_resize_policy() 53 { trigger_policy_base::notify_externally_resized(m_size); } in hash_standard_resize_policy() 60 m_size(Size_Policy::get_nearest_larger_size(1)) in hash_standard_resize_policy() 61 { trigger_policy_base::notify_externally_resized(m_size); } in hash_standard_resize_policy() 75 std::swap(m_size, other.m_size); in swap() 172 m_size = new_size; in notify_resized() 181 return m_size; in get_actual_size() 203 const size_type old_size = m_size; in resize() [all …]
|
H A D | hash_load_check_resize_trigger_size_base.hpp | 59 hash_load_check_resize_trigger_size_base(): m_size(0) in hash_load_check_resize_trigger_size_base() 64 { std::swap(m_size, other.m_size); } in swap() 68 { m_size = size; } in set_size() 72 { return m_size; } in get_size() 75 size_type m_size; member in __gnu_pbds::detail::hash_load_check_resize_trigger_size_base
|
/netbsd-src/external/bsd/elftosb/dist/common/ |
H A D | Value.h | 67 SizedIntegerValue() : IntegerValue(), m_size(kWordSize) {} in SizedIntegerValue() 68 SizedIntegerValue(uint32_t value, int_size_t size=kWordSize) : IntegerValue(value), m_size(size) {} in IntegerValue() 69 SizedIntegerValue(uint16_t value) : IntegerValue(value), m_size(kHalfWordSize) {} in SizedIntegerValue() 70 SizedIntegerValue(uint8_t value) : IntegerValue(value), m_size(kByteSize) {} in SizedIntegerValue() 71 SizedIntegerValue(const SizedIntegerValue & other) : IntegerValue(other), m_size(other.m_size) {} in SizedIntegerValue() 76 inline int_size_t getWordSize() const { return m_size; } in getWordSize() 77 inline void setWordSize(int_size_t size) { m_size = size; } in setWordSize() 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 … 87 …SizedIntegerValue & operator = (uint32_t value) { m_value = value; m_size = kWordSize; return *thi… [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/ |
H A D | constructors_destructor_fn_imps.hpp | 49 PB_DS_BIN_TREE_NAME() : m_p_head(s_node_allocator.allocate(1)), m_size(0) in PB_DS_BIN_TREE_NAME() 58 Cmp_Fn(r_cmp_fn), m_p_head(s_node_allocator.allocate(1)), m_size(0) in PB_DS_BIN_TREE_NAME() 70 m_size(0) in PB_DS_BIN_TREE_NAME() 88 m_size(0) in PB_DS_BIN_TREE_NAME() 91 m_size = other.m_size; in PB_DS_BIN_TREE_NAME() 99 m_size = other.m_size; in PB_DS_BIN_TREE_NAME() 131 std::swap(m_size, other.m_size); in value_swap() 150 m_size = 0; in initialize()
|
H A D | split_join_fn_imps.hpp | 50 if (other.m_size == 0) in join_prep() 53 if (m_size == 0) in join_prep() 73 m_size += other.m_size; in join_prep() 96 if (m_size == 0) in split_prep() 118 if (m_size == 1) in split_prep() 136 other.m_size = std::distance(other.begin(), other.end()); in split_finish() 137 m_size -= other.m_size; in split_finish()
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/ |
H A D | constructors_destructor_fn_imps.hpp | 49 PB_DS_BIN_TREE_NAME() : m_p_head(s_node_allocator.allocate(1)), m_size(0) in PB_DS_BIN_TREE_NAME() 58 Cmp_Fn(r_cmp_fn), m_p_head(s_node_allocator.allocate(1)), m_size(0) in PB_DS_BIN_TREE_NAME() 70 m_size(0) in PB_DS_BIN_TREE_NAME() 88 m_size(0) in PB_DS_BIN_TREE_NAME() 91 m_size = other.m_size; in PB_DS_BIN_TREE_NAME() 99 m_size = other.m_size; in PB_DS_BIN_TREE_NAME() 131 std::swap(m_size, other.m_size); in value_swap() 150 m_size = 0; in initialize()
|
H A D | split_join_fn_imps.hpp | 50 if (other.m_size == 0) in join_prep() 53 if (m_size == 0) in join_prep() 73 m_size += other.m_size; in join_prep() 96 if (m_size == 0) in split_prep() 118 if (m_size == 1) in split_prep() 136 other.m_size = std::distance(other.begin(), other.end()); in split_finish() 137 m_size -= other.m_size; in split_finish()
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/left_child_next_sibling_heap_/ |
H A D | constructors_destructor_fn_imps.hpp | 55 m_size(0) in left_child_next_sibling_heap() 65 m_size(0) in left_child_next_sibling_heap() 73 : Cmp_Fn(other), m_p_root(0), m_size(0) in left_child_next_sibling_heap() 75 m_size = other.m_size; in left_child_next_sibling_heap() 78 m_size = other.m_size; in left_child_next_sibling_heap() 101 std::swap(m_size, other.m_size); in value_swap()
|
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/left_child_next_sibling_heap_/ |
H A D | constructors_destructor_fn_imps.hpp | 55 m_size(0) in left_child_next_sibling_heap() 65 m_size(0) in left_child_next_sibling_heap() 73 : Cmp_Fn(other), m_p_root(0), m_size(0) in left_child_next_sibling_heap() 75 m_size = other.m_size; in left_child_next_sibling_heap() 78 m_size = other.m_size; in left_child_next_sibling_heap() 101 std::swap(m_size, other.m_size); in value_swap()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/root/ |
H A D | rmem.c | 150 extern "C" void *allocmemory(size_t m_size) in allocmemory() argument 153 m_size = (m_size + 15) & ~15; in allocmemory() 156 if (m_size <= heapleft) in allocmemory() 159 heapleft -= m_size; in allocmemory() 161 heapp = (void *)((char *)heapp + m_size); in allocmemory() 165 if (m_size > CHUNK_SIZE) in allocmemory() 168 void *p = xmalloc(m_size); in allocmemory() 170 void *p = malloc(m_size); in allocmemory()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/root/ |
H A D | rmem.d | 153 extern (D) void* allocmemoryNoFree(size_t m_size) nothrow @nogc in allocmemoryNoFree() argument 156 m_size = (m_size + 15) & ~15; in allocmemoryNoFree() 159 if (m_size <= heapleft) in allocmemoryNoFree() 162 heapleft -= m_size; in allocmemoryNoFree() 164 heapp = cast(void*)(cast(char*)heapp + m_size); in allocmemoryNoFree() 168 if (m_size > CHUNK_SIZE) in allocmemoryNoFree() 170 return Mem.check(malloc(m_size)); in allocmemoryNoFree() 178 extern (D) void* allocmemory(size_t m_size) nothrow in allocmemory() argument 181 return GC.malloc(m_size); in allocmemory() 183 return allocmemoryNoFree(m_size); in allocmemory() [all …]
|