/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_remove_constants.c | 72 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/ |
D | coverage.py | 134 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/ |
D | u_helpers.c | 198 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/ |
D | ftutil.c | 94 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/ |
D | ftutil.c | 95 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/ |
D | ftutil.c | 94 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/ |
D | pidns05.c | 155 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/ |
D | wait_fuzz.cpp | 37 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/ |
D | basic_timed_mutex.hpp | 101 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/ |
D | chunk.c | 120 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/ |
D | gstiirequalizer.c | 631 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 …]
|
D | gstiirequalizer.h | 78 extern void gst_iir_equalizer_compute_frequencies (GstIirEqualizer * equ, guint new_count);
|
/third_party/boost/libs/range/test/algorithm_test/ |
D | random_shuffle.cpp | 78 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/ |
D | ralloc.h | 216 #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/ |
D | cbs_sei.c | 81 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/ |
D | extract_tests.cpp | 39 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/ |
D | refcount.h | 145 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/ |
D | refcount.h | 145 size_t new_count = AtomicIncrement(&ref_count_); in AddRef() local 147 return new_count; in AddRef()
|
/third_party/glib/glib/pcre/ |
D | pcre_dfa_exec.c | 366 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/ |
D | ftmemory.h | 131 FT_Long new_count, 139 FT_Long new_count,
|
/third_party/freetype/include/freetype/internal/ |
D | ftmemory.h | 140 FT_Long new_count, 148 FT_Long new_count,
|
/third_party/skia/third_party/externals/freetype/include/freetype/internal/ |
D | ftmemory.h | 140 FT_Long new_count, 148 FT_Long new_count,
|
/third_party/pcre2/pcre2/src/ |
D | pcre2_dfa_match.c | 501 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/ |
D | hamt.c | 1448 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/ |
D | mutable_heap.hpp | 65 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()
|