Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_remove_constants.c71 unsigned new_count; in rc_remove_unused_constants() local
102 new_count = 0; in rc_remove_unused_constants()
106 remap_table[new_count] = i; in rc_remove_unused_constants()
107 inv_remap_table[i] = new_count; in rc_remove_unused_constants()
109 if (i != new_count) { in rc_remove_unused_constants()
113 constants[new_count] = constants[i]; in rc_remove_unused_constants()
116 new_count++; in rc_remove_unused_constants()
122 assert( is_identity || new_count < c->Program.Constants.Count); in rc_remove_unused_constants()
136 c->Program.Constants.Count = new_count; in rc_remove_unused_constants()
/external/pdfium/third_party/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 && 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 = ft_mem_alloc( memory, new_count*item_size, &error ); in ft_mem_qrealloc()
152 FT_Long new_size = new_count*item_size; in ft_mem_qrealloc()
/external/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 && 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 = ft_mem_alloc( memory, new_count*item_size, &error ); in ft_mem_qrealloc()
152 FT_Long new_size = new_count*item_size; in ft_mem_qrealloc()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_path.cpp168 int new_count = safe_new_count.ValueOrDie(); in AddPointCount() local
169 AllocPointCount(new_count); in AddPointCount()
170 m_PointCount = new_count; in AddPointCount()
438 int new_count = t_path.GetPointCount(); in GetZeroAreaPath() local
440 … t_path.SetPoint(new_count, m_pPoints[mid - i].m_PointX, m_pPoints[mid - i].m_PointY, FXPT_MOVETO); in GetZeroAreaPath()
441 …t_path.SetPoint(new_count + 1, m_pPoints[mid - i - 1].m_PointX, m_pPoints[mid - i - 1].m_PointY, F… in GetZeroAreaPath()
466 int new_count = NewPath.GetPointCount(); in GetZeroAreaPath() local
468 … NewPath.SetPoint(new_count, m_pPoints[pre].m_PointX, m_pPoints[pre].m_PointY, FXPT_MOVETO); in GetZeroAreaPath()
469 … NewPath.SetPoint(new_count + 1, m_pPoints[next].m_PointX, m_pPoints[next].m_PointY, FXPT_LINETO); in GetZeroAreaPath()
478 int new_count = NewPath.GetPointCount(); in GetZeroAreaPath() local
[all …]
/external/opencv/cv/src/
Dcvapprox.cpp527 int i = 0, j, count = src_contour->total, new_count; in icvApproxPolyDP_32s() local
685 new_count = count = (*dst_contour)->total; in icvApproxPolyDP_32s()
686 for( i = !is_closed; i < count - !is_closed && new_count > 2; i++ ) in icvApproxPolyDP_32s()
696 new_count--; in icvApproxPolyDP_32s()
711 if( new_count < count ) in icvApproxPolyDP_32s()
712 cvSeqPopMulti( *dst_contour, 0, count - new_count ); in icvApproxPolyDP_32s()
731 int i = 0, j, count = src_contour->total, new_count; in icvApproxPolyDP_32f() local
890 new_count = count = (*dst_contour)->total; in icvApproxPolyDP_32f()
891 for( i = !is_closed; i < count - !is_closed && new_count > 2; i++ ) in icvApproxPolyDP_32f()
901 new_count--; in icvApproxPolyDP_32f()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_texture.c268 GLuint unit, new_count; in update_textures() local
301 new_count = MAX2(*num_textures, old_max); in update_textures()
302 assert(new_count <= max_units); in update_textures()
306 new_count, in update_textures()
/external/sfntly/cpp/src/sfntly/port/
Drefcount.h146 size_t new_count = AtomicIncrement(&ref_count_); in AddRef() local
148 return new_count; in AddRef()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
Dallocate_shared.pass.cpp24 int new_count = 0; variable
/external/freetype/include/internal/
Dftmemory.h127 FT_Long new_count,
135 FT_Long new_count,
/external/pdfium/third_party/freetype/include/internal/
Dftmemory.h127 FT_Long new_count,
135 FT_Long new_count,
/external/pcre/dist/
Dpcre_dfa_exec.c374 if (new_count++ < wscount) \
384 if (new_count++ < wscount) \
418 int active_count, new_count, match_count; in internal_dfa_exec() local
454 new_count = 0; in internal_dfa_exec()
546 new_count = workspace[1]; in internal_dfa_exec()
548 memcpy(new_states, active_states, new_count * sizeof(stateblock)); in internal_dfa_exec()
592 active_count = new_count; in internal_dfa_exec()
593 new_count = 0; in internal_dfa_exec()
2939 if (i + 1 >= active_count && new_count == 0) in internal_dfa_exec()
3011 else if (i + 1 >= active_count && new_count == 0) in internal_dfa_exec()
[all …]
/external/blktrace/
Dblkparse.c325 int new_count = cpu + 1; in resize_cpu_info() local
329 size = new_count * sizeof(struct per_cpu_info); in resize_cpu_info()
339 new_space = (new_count - ncpus) * sizeof(struct per_cpu_info); in resize_cpu_info()
342 pdi->ncpus = new_count; in resize_cpu_info()
345 for (new_count = 0; new_count < pdi->ncpus; new_count++) { in resize_cpu_info()
346 struct per_cpu_info *pci = &pdi->cpus[new_count]; in resize_cpu_info()
/external/libpng/contrib/libtests/
Dpngunknown.c1166 int count = display_rc(&d, strict), new_count; in main() local
1175 new_count = display_rc(&d, strict); in main()
1177 if (new_count == count) in main()
/external/e2fsprogs/lib/ext2fs/
Dblkmap64_rb.c492 __u64 new_start, new_count; in rb_remove_extent() local
513 new_count = (ext->start + ext->count) - new_start; in rb_remove_extent()
517 rb_insert_extent(new_start, new_count, bp); in rb_remove_extent()
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/
Dd3d11_context.h1298 unsigned new_count, i; in SOSetTargets() local
1305 for(new_count = 0, i = 0; i < count; ++i) in SOSetTargets()
1317 new_count = i + 1; in SOSetTargets()
1340 num_so_targets = new_count; in SOSetTargets()
/external/v8/src/
Dobjects-inl.h7025 int new_count = ICsWithTypeInfoCountField::decode(value) + delta; in change_ic_with_type_info_count() local
7031 if (new_count >= 0) { in change_ic_with_type_info_count()
7032 new_count &= ICsWithTypeInfoCountField::kMask; in change_ic_with_type_info_count()
7033 value = ICsWithTypeInfoCountField::update(value, new_count); in change_ic_with_type_info_count()
7046 int new_count = ic_generic_count() + delta; in change_ic_generic_count() local
7047 if (new_count >= 0) { in change_ic_generic_count()
7048 new_count &= ~Smi::kMinValue; in change_ic_generic_count()
7049 WRITE_FIELD(this, kStorage3Offset, Smi::FromInt(new_count)); in change_ic_generic_count()
/external/lldb/source/Interpreter/
DScriptInterpreterPython.cpp521 int new_count = Debugger::TestDebuggerRefCount(); in ScriptInterpreterPython() local
523 if (new_count > old_count) in ScriptInterpreterPython()
/external/v8/test/cctest/
Dtest-heap.cc3880 int new_count = AllocationSitesCount(heap); in TEST() local
3881 CHECK_EQ(new_count, (count + 1)); in TEST()