Searched refs:new_count (Results 1 – 9 of 9) sorted by relevance
/external/freetype/src/base/ |
D | ftutil.c | 95 FT_Long new_count, in ft_mem_realloc() argument 102 cur_count, new_count, block, &error ); in ft_mem_realloc() 103 if ( !error && 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 = ft_mem_alloc( memory, new_count*item_size, &error ); in ft_mem_qrealloc() 151 FT_Long new_size = new_count*item_size; in ft_mem_qrealloc()
|
/external/chromium/third_party/libevent/ |
D | poll.c | 260 int new_count; in poll_add() local 262 new_count = 32; in poll_add() 264 new_count = pop->fd_count * 2; in poll_add() 265 while (new_count <= ev->ev_fd) in poll_add() 266 new_count *= 2; in poll_add() 268 realloc(pop->idxplus1_by_fd, new_count * sizeof(int)); in poll_add() 275 0, sizeof(int)*(new_count - pop->fd_count)); in poll_add() 276 pop->fd_count = new_count; in poll_add()
|
/external/opencv/cv/src/ |
D | cvapprox.cpp | 527 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/freetype/include/freetype/internal/ |
D | ftmemory.h | 127 FT_Long new_count, 135 FT_Long new_count,
|
/external/v8/src/ |
D | preparser.cc | 1011 unsigned new_count = 0; in ParseNewExpression() local 1014 new_count++; in ParseNewExpression() 1017 return ParseMemberWithNewPrefixesExpression(new_count, ok); in ParseNewExpression() 1027 unsigned new_count, bool* ok) { in ParseMemberWithNewPrefixesExpression() argument 1076 if (new_count == 0) return result; in ParseMemberWithNewPrefixesExpression() 1079 new_count--; in ParseMemberWithNewPrefixesExpression()
|
D | liveobjectlist.cc | 2416 int new_count = lol->obj_count_; in GCEpiloguePrivate() local 2419 if (new_count == 0) { in GCEpiloguePrivate() 2445 int diff = lol->capacity_ - new_count; in GCEpiloguePrivate() 2449 Element* new_elements = NewArray<Element>(new_count); in GCEpiloguePrivate() 2450 memcpy(new_elements, elements, new_count * sizeof(Element)); in GCEpiloguePrivate() 2454 lol->capacity_ = new_count; in GCEpiloguePrivate() 2456 ASSERT(lol->obj_count_ == new_count); in GCEpiloguePrivate()
|
D | preparser.h | 556 Expression ParseMemberWithNewPrefixesExpression(unsigned new_count, bool* ok);
|
/external/blktrace/ |
D | blkparse.c | 325 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/qemu/telephony/ |
D | gsm.c | 283 gsm_rope_ensure( GsmRope rope, int new_count ) in gsm_rope_ensure() argument 291 while (new_max < new_count) { in gsm_rope_ensure() 302 rope->max = new_count; in gsm_rope_ensure()
|