Home
last modified time | relevance | path

Searched refs:new_count (Results 1 – 25 of 26) 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.py173 for name, (new_hits, new_count) in news.items():
176 new_hits, new_count,
177 new_hits, new_count,
178 (new_hits/new_count if new_count else 1.0) - 1.0)
180 _, _, new_hits, new_count, _, _, _ = diff[name]
183 new_hits, new_count,
184 new_hits-old_hits, new_count-old_count,
185 ((new_hits/new_count if new_count else 1.0)
220 new_hits, new_count, argument
228 '%d/%d' % (new_hits, new_count)
[all …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_helpers.c199 unsigned new_count = 0; in util_lower_uint64_vertex_elements() local
220 tmp[new_count] = input[i]; in util_lower_uint64_vertex_elements()
221 tmp[new_count].src_format = PIPE_FORMAT_R32G32_UINT; in util_lower_uint64_vertex_elements()
222 new_count++; in util_lower_uint64_vertex_elements()
226 tmp[new_count] = input[i]; in util_lower_uint64_vertex_elements()
227 tmp[new_count].src_format = PIPE_FORMAT_R32G32B32A32_UINT; in util_lower_uint64_vertex_elements()
228 new_count++; in util_lower_uint64_vertex_elements()
233 assert(new_count + 2 <= PIPE_MAX_ATTRIBS); in util_lower_uint64_vertex_elements()
234 tmp[new_count] = tmp[new_count + 1] = input[i]; in util_lower_uint64_vertex_elements()
235 tmp[new_count].src_format = PIPE_FORMAT_R32G32B32A32_UINT; in util_lower_uint64_vertex_elements()
[all …]
/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/node/deps/v8/src/interpreter/
Dbytecode-register.h130 const RegisterList Truncate(int new_count) { in Truncate() argument
131 DCHECK_GE(new_count, 0); in Truncate()
132 DCHECK_LT(new_count, register_count_); in Truncate()
133 return RegisterList(first_reg_index_, new_count); in Truncate()
/third_party/libsnd/src/
Dchunk.c123 int new_count = 3 * (pchk->count + 1) / 2 ; in psf_store_read_chunk() local
125 pchk->chunks = realloc (old_ptr, new_count * sizeof (READ_CHUNK)) ; in psf_store_read_chunk()
130 pchk->count = new_count ; in psf_store_read_chunk()
239 int new_count = 3 * (pchk->count + 1) / 2 ; in psf_save_write_chunk() local
241 pchk->chunks = realloc (old_ptr, new_count * sizeof (WRITE_CHUNK)) ; in psf_save_write_chunk()
/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);
Dralloc.c241 unsigned old_count, unsigned new_count) in rerzalloc_array_size() argument
243 if (new_count > SIZE_MAX/size) in rerzalloc_array_size()
246 return rerzalloc_size(ctx, ptr, size * old_count, size * new_count); in rerzalloc_array_size()
/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()
Dsheervideo.c1787 unsigned new_count = count; in build_vlc() local
1790 new_count += table->nb_16s; in build_vlc()
1793 new_count += *cur++; in build_vlc()
1795 for (; count < new_count; count++) in build_vlc()
/third_party/node/deps/v8/src/heap/
Dslot-set.h473 size_t new_count = 0; in Iterate() local
505 new_count += in_bucket_count; in Iterate()
508 return new_count; in Iterate()
705 int new_count = 0; in Iterate() local
714 new_count++; in Iterate()
737 return new_count; in Iterate()
Dremembered-set.h268 int new_count = in IterateTyped() local
270 if (new_count == 0) { in IterateTyped()
/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/node/deps/v8/src/objects/
Dcompilation-cache-table.cc382 const int new_count = Smi::ToInt(get(value_index)) - 1; in Age() local
383 if (new_count == 0) { in Age()
386 DCHECK_GT(new_count, 0); in Age()
387 NoWriteBarrierSet(*this, value_index, Smi::FromInt(new_count)); in Age()
/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()
3066 if (i + 1 >= active_count && new_count == 0) in internal_dfa_match()
3153 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/skia/third_party/externals/libpng/contrib/libtests/
Dpngunknown.c1215 int count = display_rc(&d, strict), new_count; in main() local
1224 new_count = display_rc(&d, strict); in main()
1226 if (new_count == count) in main()
/third_party/ffmpeg/libavformat/
Dwtvenc.c114 int new_count = *count + 1; in add_serial_pair() local
115 WtvSyncEntry *new_list = av_realloc_array(*list, new_count, sizeof(WtvSyncEntry)); in add_serial_pair()
120 *count = new_count; in add_serial_pair()
/third_party/mesa3d/src/mesa/vbo/
Dvbo_save_api.c646 unsigned new_count; in compile_vertex_list() local
652 &pmode, &index_size, &new_count, in compile_vertex_list()
654 if (new_count > 0) in compile_vertex_list()
655 trans_func(original_prims[i].start, new_count, tmp_indices); in compile_vertex_list()
656 vertex_count = new_count; in compile_vertex_list()
/third_party/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_bo.c80 uint32_t new_count = MAX2(bo->bo_capacity * 2, bo->range_count); in radv_amdgpu_winsys_rebuild_bo_list() local
82 realloc(bo->bos, new_count * sizeof(struct radv_amdgpu_winsys_bo *)); in radv_amdgpu_winsys_rebuild_bo_list()
86 bo->bo_capacity = new_count; in radv_amdgpu_winsys_rebuild_bo_list()
Dradv_amdgpu_cs.c534 unsigned new_count = MAX2(1, cs->max_num_buffers * 2); in radv_amdgpu_cs_add_buffer_internal() local
536 realloc(cs->handles, new_count * sizeof(struct drm_amdgpu_bo_list_entry)); in radv_amdgpu_cs_add_buffer_internal()
538 cs->max_num_buffers = new_count; in radv_amdgpu_cs_add_buffer_internal()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-microtask-queue-gen.cc349 TNode<IntPtrT> new_count = IntPtrAdd(count, IntPtrConstant(1)); in IncrementFinishedMicrotaskCount() local
352 IntPtrConstant(MicrotaskQueue::kFinishedMicrotaskCountOffset), new_count); in IncrementFinishedMicrotaskCount()
/third_party/vulkan-loader/loader/
Dloader.c5658 uint32_t new_count = inst->total_gpu_count; in setup_loader_tramp_phys_devs() local
5664 if (phys_dev_count > new_count) { in setup_loader_tramp_phys_devs()
5665 new_count = phys_dev_count; in setup_loader_tramp_phys_devs()
5670 int32_t *new_to_old_index = (int32_t *)loader_stack_alloc(sizeof(int32_t) * new_count); in setup_loader_tramp_phys_devs()
5679 for (uint32_t cur_idx = 0; cur_idx < new_count; ++cur_idx) { in setup_loader_tramp_phys_devs()
5698 if (found_count == phys_dev_count && 0 != old_count && old_count == new_count) { in setup_loader_tramp_phys_devs()
5713 …devs = loader_instance_heap_calloc(inst, sizeof(struct loader_physical_device_tramp *) * new_count, in setup_loader_tramp_phys_devs()
5717 …etup_loader_tramp_phys_devs: Failed to allocate new physical device array of size %d", new_count); in setup_loader_tramp_phys_devs()
5722 if (new_count > phys_dev_count) { in setup_loader_tramp_phys_devs()
5725 found_count = new_count; in setup_loader_tramp_phys_devs()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c1055 unsigned new_count = velems->count; in cso_set_vertex_elements_direct() local
1058 util_lower_uint64_vertex_elements(&new_elems, &new_count, tmp); in cso_set_vertex_elements_direct()
1060 cso->data = ctx->pipe->create_vertex_elements_state(ctx->pipe, new_count, in cso_set_vertex_elements_direct()

12