/external/protobuf/src/google/protobuf/ |
repeated_field.cc | 47 int new_size = current_size_ + extend_amount; local 48 if (total_size_ >= new_size) { 50 // total_size must be non-zero since it is lower-bounded by new_size. 55 new_size = std::max(kMinRepeatedFieldAllocationSize, 56 std::max(total_size_ * 2, new_size)); 57 GOOGLE_CHECK_LE(new_size, 63 new char[kRepHeaderSize + sizeof(old_rep->elements[0]) * new_size]); 67 kRepHeaderSize + sizeof(old_rep->elements[0]) * new_size)); 69 total_size_ = new_size; 83 void RepeatedPtrFieldBase::Reserve(int new_size) { [all...] |
/external/sfntly/cpp/src/sample/subtly/ |
debug_main.cc | 59 int32_t new_size = TotalFontSize(new_font); local 61 original_size, new_size, 62 static_cast<double>(new_size) / original_size * 100);
|
stats.cc | 54 int32_t new_size = 0; local 57 new_size = new_table->DataLength(); 61 if (new_size == size) { 64 fprintf(out, "-> %d (%lf%%) | %lf%% of original\n", new_size, 65 size_percent, static_cast<double>(new_size) / size * 100);
|
subsetter_main.cc | 77 int32_t new_size = TotalFontSize(new_font); local 79 original_size, new_size, 80 static_cast<double>(new_size) / original_size * 100);
|
/external/syslinux/gpxe/src/core/ |
bitmap.c | 40 size_t new_size; local 47 new_size = ( new_num_blocks * sizeof ( bitmap->blocks[0] ) ); 48 new_blocks = realloc ( bitmap->blocks, new_size );
|
/external/mesa3d/src/egl/main/ |
eglarray.c | 42 EGLint new_size; local 45 new_size = array->MaxSize; 46 while (new_size <= array->Size) 47 new_size *= 2; 49 elems = realloc(array->Elements, new_size * sizeof(array->Elements[0])); 52 array->Name, new_size); 57 array->MaxSize = new_size;
|
/external/strace/ |
perf.c | 133 uint32_t new_size; local 156 &new_size)) 170 printxval(perf_attr_size, new_size,
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/binary_heap_/ |
erase_fn_imps.hpp | 51 const size_type new_size = resize_policy::get_new_size_for_arbitrary(0); local 52 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 53 resize_policy::notify_arbitrary(new_size); 55 m_actual_size = new_size; 116 const size_type new_size = local 119 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 122 m_actual_size = new_size; 167 const size_type new_size = resize_policy::get_new_size_for_shrink(); local 168 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 174 m_actual_size = new_size; [all...] |
split_join_fn_imps.hpp | 59 const size_type new_size = resize_policy::get_new_size_for_arbitrary(left); local 67 a_entries = s_entry_allocator.allocate(new_size); 73 s_entry_allocator.deallocate(a_entries, new_size); 84 _GLIBCXX_DEBUG_ASSERT(new_size >= left); 91 m_actual_size = new_size; 119 const size_type new_size = resize_policy::get_new_size_for_arbitrary(len); local 126 a_entries = s_entry_allocator.allocate(new_size); 132 s_entry_allocator.deallocate(a_entries, new_size); 147 m_actual_size = new_size; 148 resize_policy::notify_arbitrary(new_size); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/ov_tree_map_/ |
erase_fn_imps.hpp | 76 size_type new_size = 0; local 81 ++new_size; 85 if (new_size == 0) 91 value_vector a_new_values = s_value_alloc.allocate(new_size); 93 cond_dtor<size_type> cd(a_new_values, target_it, new_size); 107 reallocate_metadata((node_update*)this, new_size); 115 m_size = new_size;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/binary_heap_/ |
erase_fn_imps.hpp | 51 const size_type new_size = resize_policy::get_new_size_for_arbitrary(0); local 52 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 53 resize_policy::notify_arbitrary(new_size); 55 m_actual_size = new_size; 116 const size_type new_size = local 119 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 122 m_actual_size = new_size; 167 const size_type new_size = resize_policy::get_new_size_for_shrink(); local 168 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 174 m_actual_size = new_size; [all...] |
split_join_fn_imps.hpp | 59 const size_type new_size = resize_policy::get_new_size_for_arbitrary(left); local 67 a_entries = s_entry_allocator.allocate(new_size); 73 s_entry_allocator.deallocate(a_entries, new_size); 84 _GLIBCXX_DEBUG_ASSERT(new_size >= left); 91 m_actual_size = new_size; 119 const size_type new_size = resize_policy::get_new_size_for_arbitrary(len); local 126 a_entries = s_entry_allocator.allocate(new_size); 132 s_entry_allocator.deallocate(a_entries, new_size); 147 m_actual_size = new_size; 148 resize_policy::notify_arbitrary(new_size); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/ov_tree_map_/ |
erase_fn_imps.hpp | 76 size_type new_size = 0; local 81 ++new_size; 85 if (new_size == 0) 91 value_vector a_new_values = s_value_alloc.allocate(new_size); 93 cond_dtor<size_type> cd(a_new_values, target_it, new_size); 107 reallocate_metadata((node_update*)this, new_size); 115 m_size = new_size;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/binary_heap_/ |
erase_fn_imps.hpp | 51 const size_type new_size = resize_policy::get_new_size_for_arbitrary(0); local 52 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 53 resize_policy::notify_arbitrary(new_size); 55 m_actual_size = new_size; 116 const size_type new_size = local 119 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 122 m_actual_size = new_size; 167 const size_type new_size = resize_policy::get_new_size_for_shrink(); local 168 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 174 m_actual_size = new_size; [all...] |
split_join_fn_imps.hpp | 59 const size_type new_size = resize_policy::get_new_size_for_arbitrary(left); local 67 a_entries = s_entry_allocator.allocate(new_size); 73 s_entry_allocator.deallocate(a_entries, new_size); 84 _GLIBCXX_DEBUG_ASSERT(new_size >= left); 91 m_actual_size = new_size; 119 const size_type new_size = resize_policy::get_new_size_for_arbitrary(len); local 126 a_entries = s_entry_allocator.allocate(new_size); 132 s_entry_allocator.deallocate(a_entries, new_size); 147 m_actual_size = new_size; 148 resize_policy::notify_arbitrary(new_size); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/ov_tree_map_/ |
erase_fn_imps.hpp | 76 size_type new_size = 0; local 81 ++new_size; 85 if (new_size == 0) 91 value_vector a_new_values = s_value_alloc.allocate(new_size); 93 cond_dtor<size_type> cd(a_new_values, target_it, new_size); 107 reallocate_metadata((node_update*)this, new_size); 115 m_size = new_size;
|
/prebuilts/ndk/r10/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/binary_heap_/ |
erase_fn_imps.hpp | 51 const size_type new_size = resize_policy::get_new_size_for_arbitrary(0); local 52 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 53 resize_policy::notify_arbitrary(new_size); 55 m_actual_size = new_size; 116 const size_type new_size = local 119 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 122 m_actual_size = new_size; 167 const size_type new_size = resize_policy::get_new_size_for_shrink(); local 168 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 174 m_actual_size = new_size; [all...] |
split_join_fn_imps.hpp | 59 const size_type new_size = resize_policy::get_new_size_for_arbitrary(left); local 67 a_entries = s_entry_allocator.allocate(new_size); 73 s_entry_allocator.deallocate(a_entries, new_size); 84 _GLIBCXX_DEBUG_ASSERT(new_size >= left); 91 m_actual_size = new_size; 119 const size_type new_size = resize_policy::get_new_size_for_arbitrary(len); local 126 a_entries = s_entry_allocator.allocate(new_size); 132 s_entry_allocator.deallocate(a_entries, new_size); 147 m_actual_size = new_size; 148 resize_policy::notify_arbitrary(new_size); [all...] |
/prebuilts/ndk/r10/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/ov_tree_map_/ |
erase_fn_imps.hpp | 76 size_type new_size = 0; local 81 ++new_size; 85 if (new_size == 0) 91 value_vector a_new_values = s_value_alloc.allocate(new_size); 93 cond_dtor<size_type> cd(a_new_values, target_it, new_size); 107 reallocate_metadata((node_update*)this, new_size); 115 m_size = new_size;
|
/prebuilts/ndk/r11/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/binary_heap_/ |
erase_fn_imps.hpp | 51 const size_type new_size = resize_policy::get_new_size_for_arbitrary(0); local 52 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 53 resize_policy::notify_arbitrary(new_size); 55 m_actual_size = new_size; 116 const size_type new_size = local 119 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 122 m_actual_size = new_size; 167 const size_type new_size = resize_policy::get_new_size_for_shrink(); local 168 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 174 m_actual_size = new_size; [all...] |
split_join_fn_imps.hpp | 59 const size_type new_size = resize_policy::get_new_size_for_arbitrary(left); local 67 a_entries = s_entry_allocator.allocate(new_size); 73 s_entry_allocator.deallocate(a_entries, new_size); 84 _GLIBCXX_DEBUG_ASSERT(new_size >= left); 91 m_actual_size = new_size; 119 const size_type new_size = resize_policy::get_new_size_for_arbitrary(len); local 126 a_entries = s_entry_allocator.allocate(new_size); 132 s_entry_allocator.deallocate(a_entries, new_size); 147 m_actual_size = new_size; 148 resize_policy::notify_arbitrary(new_size); [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/ov_tree_map_/ |
erase_fn_imps.hpp | 76 size_type new_size = 0; local 81 ++new_size; 85 if (new_size == 0) 91 value_vector a_new_values = s_value_alloc.allocate(new_size); 93 cond_dtor<size_type> cd(a_new_values, target_it, new_size); 107 reallocate_metadata((node_update*)this, new_size); 115 m_size = new_size;
|
/prebuilts/ndk/r13/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/binary_heap_/ |
erase_fn_imps.hpp | 51 const size_type new_size = resize_policy::get_new_size_for_arbitrary(0); local 52 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 53 resize_policy::notify_arbitrary(new_size); 55 m_actual_size = new_size; 116 const size_type new_size = local 119 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 122 m_actual_size = new_size; 167 const size_type new_size = resize_policy::get_new_size_for_shrink(); local 168 entry_pointer new_entries = s_entry_allocator.allocate(new_size); 174 m_actual_size = new_size; [all...] |
split_join_fn_imps.hpp | 59 const size_type new_size = resize_policy::get_new_size_for_arbitrary(left); local 67 a_entries = s_entry_allocator.allocate(new_size); 73 s_entry_allocator.deallocate(a_entries, new_size); 84 _GLIBCXX_DEBUG_ASSERT(new_size >= left); 91 m_actual_size = new_size; 119 const size_type new_size = resize_policy::get_new_size_for_arbitrary(len); local 126 a_entries = s_entry_allocator.allocate(new_size); 132 s_entry_allocator.deallocate(a_entries, new_size); 147 m_actual_size = new_size; 148 resize_policy::notify_arbitrary(new_size); [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/gnu-libstdc++/4.9/include/ext/pb_ds/detail/ov_tree_map_/ |
erase_fn_imps.hpp | 76 size_type new_size = 0; local 81 ++new_size; 85 if (new_size == 0) 91 value_vector a_new_values = s_value_alloc.allocate(new_size); 93 cond_dtor<size_type> cd(a_new_values, target_it, new_size); 107 reallocate_metadata((node_update*)this, new_size); 115 m_size = new_size;
|