Searched defs:allocsize (Results 1 - 11 of 11) sorted by relevance

/external/llvm/examples/BrainF/
H A DBrainF.cpp97 Constant* allocsize = ConstantExpr::getSizeOf(Int8Ty); local
98 allocsize = ConstantExpr::getTruncOrBitCast(allocsize, IntPtrTy);
99 ptr_arr = CallInst::CreateMalloc(BB, IntPtrTy, Int8Ty, allocsize, val_mem,
/external/swiftshader/third_party/LLVM/examples/BrainF/
H A DBrainF.cpp85 Constant* allocsize = ConstantExpr::getSizeOf(Int8Ty); local
86 allocsize = ConstantExpr::getTruncOrBitCast(allocsize, IntPtrTy);
87 ptr_arr = CallInst::CreateMalloc(BB, IntPtrTy, Int8Ty, allocsize, val_mem,
/external/curl/src/
H A Dtool_urlglob.c605 size_t allocsize; local
617 allocsize = strlen(filename) + 1; /* make it at least one byte to store the
619 target = malloc(allocsize);
681 if(appendlen + stringlen >= allocsize) {
685 allocsize = (appendlen + stringlen) * 2;
686 newstr = realloc(target, allocsize + 1);
/external/libpng/contrib/libtests/
H A Dpngstest.c585 png_size_t allocsize; member in struct:__anon12328
616 image->allocsize = 0;
687 image->allocsize = size;
714 if (check16(image->buffer+16+image->allocsize, 95))
3320 copy.allocsize = 0;
/external/mdnsresponder/mDNSShared/
H A Ddnsextd.c421 int allocsize; local
449 allocsize = sizeof(PktMsg) - sizeof(DNSMessage) + msglen;
453 allocsize = sizeof(PktMsg);
456 pkt = malloc(allocsize);
1377 int i, allocsize, bucket; local
1450 allocsize = sizeof(RRTableElem);
1451 if (rr->rdlength > InlineCacheRDSize) allocsize += (rr->rdlength - InlineCacheRDSize);
1452 tmp = malloc(allocsize);
/external/python/cpython2/Modules/
H A D_tkinter.c1170 size_t allocsize; local
1179 allocsize = ((size_t)size) * sizeof(Tcl_UniChar);
1180 if (allocsize >= size)
1181 outbuf = (Tcl_UniChar*)attemptckalloc(allocsize);
/external/python/cpython3/Modules/
H A D_tkinter.c1110 size_t allocsize; local
1126 allocsize = ((size_t)size) * sizeof(Tcl_UniChar);
1127 outbuf = (Tcl_UniChar*)PyMem_Malloc(allocsize);
/external/expat/lib/
H A Dxmlparse.c7135 int allocsize = (dtd->scaffCount * sizeof(XML_Content) local
7138 ret = (XML_Content *)MALLOC(parser, allocsize);
/external/zopfli/src/zopflipng/lodepng/
H A Dlodepng.cpp132 size_t allocsize; /*allocated size in bytes*/ member in struct:uivector
137 ((uivector*)p)->size = ((uivector*)p)->allocsize = 0;
145 if(size * sizeof(unsigned) > p->allocsize)
151 p->allocsize = newsize;
173 p->size = p->allocsize = 0;
203 size_t allocsize; /*allocated size*/ member in struct:ucvector
209 if(size * sizeof(unsigned char) > p->allocsize)
215 p->allocsize = newsize;
229 ((ucvector*)p)->size = ((ucvector*)p)->allocsize = 0;
237 p->size = p->allocsize
[all...]
/external/python/cpython2/Modules/expat/
H A Dxmlparse.c6384 int allocsize = (dtd->scaffCount * sizeof(XML_Content) local
6387 ret = (XML_Content *)MALLOC(allocsize);
/external/python/cpython3/Modules/expat/
H A Dxmlparse.c6384 int allocsize = (dtd->scaffCount * sizeof(XML_Content) local
6387 ret = (XML_Content *)MALLOC(allocsize);

Completed in 466 milliseconds