Home
last modified time | relevance | path

Searched refs:new_count (Results 1 – 25 of 38) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_remove_constants.c72 unsigned new_count; in rc_remove_unused_constants() local
103 new_count = 0; in rc_remove_unused_constants()
107 remap_table[new_count] = i; in rc_remove_unused_constants()
108 inv_remap_table[i] = new_count; in rc_remove_unused_constants()
110 if (i != new_count) { in rc_remove_unused_constants()
114 constants[new_count] = constants[i]; in rc_remove_unused_constants()
117 new_count++; in rc_remove_unused_constants()
123 assert( is_identity || new_count < c->Program.Constants.Count); in rc_remove_unused_constants()
137 c->Program.Constants.Count = new_count; in rc_remove_unused_constants()
/third_party/littlefs/scripts/
Dcoverage.py134 for name, (new_hits, new_count) in news.items():
137 new_hits, new_count,
138 new_hits, new_count,
139 (new_hits/new_count if new_count else 1.0) - 1.0)
141 _, _, new_hits, new_count, _, _, _ = diff[name]
144 new_hits, new_count,
145 new_hits-old_hits, new_count-old_count,
146 ((new_hits/new_count if new_count else 1.0)
175 new_hits, new_count,
184 '%d/%d' % (new_hits, new_count)
[all …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_helpers.c198 unsigned new_count = 0; in util_lower_uint64_vertex_elements() local
219 tmp[new_count] = input[i]; in util_lower_uint64_vertex_elements()
220 tmp[new_count].src_format = PIPE_FORMAT_R32G32_UINT; in util_lower_uint64_vertex_elements()
221 new_count++; in util_lower_uint64_vertex_elements()
225 tmp[new_count] = input[i]; in util_lower_uint64_vertex_elements()
226 tmp[new_count].src_format = PIPE_FORMAT_R32G32B32A32_UINT; in util_lower_uint64_vertex_elements()
227 new_count++; in util_lower_uint64_vertex_elements()
232 assert(new_count + 2 <= PIPE_MAX_ATTRIBS); in util_lower_uint64_vertex_elements()
233 tmp[new_count] = tmp[new_count + 1] = input[i]; in util_lower_uint64_vertex_elements()
234 tmp[new_count].src_format = PIPE_FORMAT_R32G32B32A32_UINT; in util_lower_uint64_vertex_elements()
[all …]
/third_party/freetype/src/base/
Dftutil.c94 FT_Long new_count, in ft_mem_realloc() argument
102 cur_count, new_count, block, &error ); in ft_mem_realloc()
103 if ( !error && block && new_count > cur_count ) in ft_mem_realloc()
105 ( new_count - cur_count ) * item_size ); in ft_mem_realloc()
116 FT_Long new_count, in ft_mem_qrealloc() argument
127 if ( cur_count < 0 || new_count < 0 || item_size < 0 ) in ft_mem_qrealloc()
132 else if ( new_count == 0 || item_size == 0 ) in ft_mem_qrealloc()
137 else if ( new_count > FT_INT_MAX / item_size ) in ft_mem_qrealloc()
145 block = memory->alloc( memory, new_count * item_size ); in ft_mem_qrealloc()
153 FT_Long new_size = new_count * item_size; in ft_mem_qrealloc()
/third_party/flutter/skia/third_party/externals/freetype/src/base/
Dftutil.c95 FT_Long new_count, in ft_mem_realloc() argument
103 cur_count, new_count, block, &error ); in ft_mem_realloc()
104 if ( !error && block && new_count > cur_count ) in ft_mem_realloc()
106 ( new_count - cur_count ) * item_size ); in ft_mem_realloc()
117 FT_Long new_count, in ft_mem_qrealloc() argument
128 if ( cur_count < 0 || new_count < 0 || item_size < 0 ) in ft_mem_qrealloc()
133 else if ( new_count == 0 || item_size == 0 ) in ft_mem_qrealloc()
138 else if ( new_count > FT_INT_MAX / item_size ) in ft_mem_qrealloc()
146 block = memory->alloc( memory, new_count * item_size ); in ft_mem_qrealloc()
154 FT_Long new_size = new_count * item_size; in ft_mem_qrealloc()
/third_party/skia/third_party/externals/freetype/src/base/
Dftutil.c94 FT_Long new_count, in ft_mem_realloc() argument
102 cur_count, new_count, block, &error ); in ft_mem_realloc()
103 if ( !error && block && new_count > cur_count ) in ft_mem_realloc()
105 ( new_count - cur_count ) * item_size ); in ft_mem_realloc()
116 FT_Long new_count, in ft_mem_qrealloc() argument
127 if ( cur_count < 0 || new_count < 0 || item_size < 0 ) in ft_mem_qrealloc()
132 else if ( new_count == 0 || item_size == 0 ) in ft_mem_qrealloc()
137 else if ( new_count > FT_INT_MAX / item_size ) in ft_mem_qrealloc()
145 block = memory->alloc( memory, new_count * item_size ); in ft_mem_qrealloc()
153 FT_Long new_size = new_count * item_size; in ft_mem_qrealloc()
/third_party/ltp/testcases/kernel/containers/pidns/
Dpidns05.c155 int orig_count, new_count, status = 0, i; in kill_nested_containers() local
164 new_count = find_cinit_pids(pids_new); in kill_nested_containers()
167 if (orig_count - 2 != new_count) in kill_nested_containers()
170 for (i = 0; i < new_count; i++) { in kill_nested_containers()
177 orig_count - new_count); in kill_nested_containers()
/third_party/boost/libs/atomic/test/
Dwait_fuzz.cpp37 unsigned int new_count = g_atomic.wait(old_count, boost::memory_order_relaxed); in thread_func() local
38 if (new_count >= loop_count) in thread_func()
41 old_count = new_count; in thread_func()
/third_party/boost/boost/thread/win32/
Dbasic_timed_mutex.hpp101 long const new_count=was_locked?(old_count+1):(old_count|lock_flag_value); in mark_waiting_and_try_lock() local
102 … long const current=BOOST_INTERLOCKED_COMPARE_EXCHANGE(&active_count,new_count,old_count); in mark_waiting_and_try_lock()
106 old_count=new_count; in mark_waiting_and_try_lock()
126 …long const new_count=((old_count&lock_flag_value)?old_count:((old_count-1)|lock_flag_value))&~even… in clear_waiting_and_try_lock() local
127 … long const current=BOOST_INTERLOCKED_COMPARE_EXCHANGE(&active_count,new_count,old_count); in clear_waiting_and_try_lock()
/third_party/libsnd/src/
Dchunk.c120 int new_count = 3 * (pchk->count + 1) / 2 ; in psf_store_read_chunk() local
122 pchk->chunks = realloc (old_ptr, new_count * sizeof (READ_CHUNK)) ; in psf_store_read_chunk()
127 pchk->count = new_count ; in psf_store_read_chunk()
233 int new_count = 3 * (pchk->count + 1) / 2 ; in psf_save_write_chunk() local
235 pchk->chunks = realloc (old_ptr, new_count * sizeof (WRITE_CHUNK)) ; in psf_save_write_chunk()
/third_party/gstreamer/gstplugins_good/gst/equalizer/
Dgstiirequalizer.c631 gst_iir_equalizer_compute_frequencies (GstIirEqualizer * equ, guint new_count) in gst_iir_equalizer_compute_frequencies() argument
637 if (equ->freq_band_count == new_count) in gst_iir_equalizer_compute_frequencies()
642 if (G_UNLIKELY (equ->freq_band_count == new_count)) { in gst_iir_equalizer_compute_frequencies()
648 equ->freq_band_count = new_count; in gst_iir_equalizer_compute_frequencies()
649 GST_DEBUG ("bands %u -> %u", old_count, new_count); in gst_iir_equalizer_compute_frequencies()
651 if (old_count < new_count) { in gst_iir_equalizer_compute_frequencies()
653 equ->bands = g_realloc (equ->bands, sizeof (GstObject *) * new_count); in gst_iir_equalizer_compute_frequencies()
654 for (i = old_count; i < new_count; i++) { in gst_iir_equalizer_compute_frequencies()
667 for (i = new_count; i < old_count; i++) { in gst_iir_equalizer_compute_frequencies()
683 step = pow (HIGHEST_FREQ / LOWEST_FREQ, 1.0 / new_count); in gst_iir_equalizer_compute_frequencies()
[all …]
Dgstiirequalizer.h78 extern void gst_iir_equalizer_compute_frequencies (GstIirEqualizer * equ, guint new_count);
/third_party/boost/libs/range/test/algorithm_test/
Drandom_shuffle.cpp78 const std::size_t new_count in test_shuffle_result() local
81 BOOST_CHECK_EQUAL( old_count, new_count ); in test_shuffle_result()
83 failed = (old_count != new_count); in test_shuffle_result()
/third_party/mesa3d/src/util/
Dralloc.h216 #define rerzalloc(ctx, ptr, type, old_count, new_count) \ argument
217 ((type *) rerzalloc_array_size(ctx, ptr, sizeof(type), old_count, new_count))
281 unsigned old_count, unsigned new_count);
/third_party/ffmpeg/libavcodec/
Dcbs_sei.c81 int new_count = 2 * old_count + 1; in ff_cbs_sei_list_add() local
84 new_count, sizeof(*list->messages)); in ff_cbs_sei_list_add()
89 list->nb_messages_allocated = new_count; in ff_cbs_sei_list_add()
93 (new_count - old_count) * sizeof(*list->messages)); in ff_cbs_sei_list_add()
/third_party/boost/libs/unordered/test/unordered/
Dextract_tests.cpp39 std::size_t new_count = count ? count - 1 : count; in extract_tests1() local
45 BOOST_TEST(x.count(test::get_key<Container>(*it)) == new_count); in extract_tests1()
46 if (!new_count) { in extract_tests1()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/port/
Drefcount.h145 size_t new_count = AtomicIncrement(&ref_count_); in AddRef() local
147 return new_count; in AddRef()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/
Drefcount.h145 size_t new_count = AtomicIncrement(&ref_count_); in AddRef() local
147 return new_count; in AddRef()
/third_party/glib/glib/pcre/
Dpcre_dfa_exec.c366 if (new_count++ < wscount) \
376 if (new_count++ < wscount) \
410 int active_count, new_count, match_count; in internal_dfa_exec() local
446 new_count = 0; in internal_dfa_exec()
538 new_count = workspace[1]; in internal_dfa_exec()
540 memcpy(new_states, active_states, new_count * sizeof(stateblock)); in internal_dfa_exec()
584 active_count = new_count; in internal_dfa_exec()
585 new_count = 0; in internal_dfa_exec()
2890 if (i + 1 >= active_count && new_count == 0) in internal_dfa_exec()
2962 else if (i + 1 >= active_count && new_count == 0) in internal_dfa_exec()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/include/freetype/internal/
Dftmemory.h131 FT_Long new_count,
139 FT_Long new_count,
/third_party/freetype/include/freetype/internal/
Dftmemory.h140 FT_Long new_count,
148 FT_Long new_count,
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
Dftmemory.h140 FT_Long new_count,
148 FT_Long new_count,
/third_party/pcre2/pcre2/src/
Dpcre2_dfa_match.c501 if (new_count++ < wscount) \
510 if (new_count++ < wscount) \
540 int active_count, new_count, match_count; in internal_dfa_match() local
574 new_count = 0; in internal_dfa_match()
663 new_count = workspace[1]; in internal_dfa_match()
665 memcpy(new_states, active_states, (size_t)new_count * sizeof(stateblock)); in internal_dfa_match()
709 active_count = new_count; in internal_dfa_match()
710 new_count = 0; in internal_dfa_match()
3009 if (i + 1 >= active_count && new_count == 0) in internal_dfa_match()
3096 else if (i + 1 >= active_count && new_count == 0) in internal_dfa_match()
[all …]
/third_party/python/Python/
Dhamt.c1448 Py_ssize_t new_count = hamt_node_collision_count(self) - 1; in hamt_node_collision_without() local
1450 if (new_count == 0) { in hamt_node_collision_without()
1458 if (new_count == 1) { in hamt_node_collision_without()
1797 Py_ssize_t new_count = self->a_count - 1; in hamt_node_array_without() local
1799 if (new_count == 0) { in hamt_node_array_without()
1803 if (new_count >= 16) { in hamt_node_array_without()
1815 new->a_count = new_count; in hamt_node_array_without()
1825 Py_ssize_t bitmap_size = new_count * 2; in hamt_node_array_without()
/third_party/boost/boost/heap/detail/
Dmutable_heap.hpp65 void set_stability_count(stability_counter_type new_count) in set_stability_count() argument
67 q_.set_stability_count(new_count); in set_stability_count()

12