Home
last modified time | relevance | path

Searched refs:allocsize (Results 1 – 5 of 5) sorted by relevance

/external/llvm/examples/BrainF/
DBrainF.cpp85 Constant* allocsize = ConstantExpr::getSizeOf(Int8Ty); in header() local
86 allocsize = ConstantExpr::getTruncOrBitCast(allocsize, IntPtrTy); in header()
87 ptr_arr = CallInst::CreateMalloc(BB, IntPtrTy, Int8Ty, allocsize, val_mem, in header()
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp132 size_t allocsize; /*allocated size in bytes*/ member
137 ((uivector*)p)->size = ((uivector*)p)->allocsize = 0; in uivector_cleanup()
145 if(size * sizeof(unsigned) > p->allocsize) in uivector_resize()
151 p->allocsize = newsize; in uivector_resize()
173 p->size = p->allocsize = 0; in uivector_init()
203 size_t allocsize; /*allocated size*/ member
209 if(size * sizeof(unsigned char) > p->allocsize) in ucvector_resize()
215 p->allocsize = newsize; in ucvector_resize()
229 ((ucvector*)p)->size = ((ucvector*)p)->allocsize = 0; in ucvector_cleanup()
237 p->size = p->allocsize = 0; in ucvector_init()
[all …]
/external/mdnsresponder/mDNSShared/
Ddnsextd.c421 int allocsize; in RecvPacket() local
449 allocsize = sizeof(PktMsg) - sizeof(DNSMessage) + msglen; in RecvPacket()
453 allocsize = sizeof(PktMsg); in RecvPacket()
456 pkt = malloc(allocsize); in RecvPacket()
1377 int i, allocsize, bucket; in UpdateLeaseTable() local
1450 allocsize = sizeof(RRTableElem); in UpdateLeaseTable()
1451 if (rr->rdlength > InlineCacheRDSize) allocsize += (rr->rdlength - InlineCacheRDSize); in UpdateLeaseTable()
1452 tmp = malloc(allocsize); in UpdateLeaseTable()
/external/libpng/contrib/libtests/
Dpngstest.c560 png_size_t allocsize; member
591 image->allocsize = 0; in freebuffer()
662 image->allocsize = size; in allocbuffer()
689 if (check16(image->buffer+16+image->allocsize, 95)) in checkbuffer()
3330 copy.allocsize = 0; in testimage()
/external/expat/lib/
Dxmlparse.c6366 int allocsize = (dtd->scaffCount * sizeof(XML_Content) in build_model() local
6369 ret = (XML_Content *)MALLOC(allocsize); in build_model()