/external/llvm/test/Verifier/ |
D | allocsize.ll | 3 ; CHECK: 'allocsize' element size argument is out of bounds 4 declare i8* @a(i32) allocsize(1) 6 ; CHECK: 'allocsize' element size argument must refer to an integer parameter 7 declare i8* @b(i32*) allocsize(0) 9 ; CHECK: 'allocsize' number of elements argument is out of bounds 10 declare i8* @c(i32) allocsize(0, 1) 12 ; CHECK: 'allocsize' number of elements argument must refer to an integer parameter 13 declare i8* @d(i32, i32*) allocsize(0, 1) 15 ; CHECK: 'allocsize' number of elements argument is out of bounds 16 declare i8* @e(i32, i32) allocsize(1, 2)
|
D | alloc-size-failedparse.ll | 3 ; We handle allocsize with identical args in the parser, rather than the 6 ; CHECK: 'allocsize' indices can't refer to the same parameter 7 declare i8* @a(i32, i32) allocsize(0, 0)
|
/external/llvm/test/Transforms/InstCombine/ |
D | allocsize.ll | 3 ; Test that instcombine folds allocsize function calls properly. 4 ; Dummy arguments are inserted to verify that allocsize is picking the right 6 ; allocsize if they're not used by allocsize. 8 declare i8* @my_malloc(i8*, i32) allocsize(1) 9 declare i8* @my_calloc(i8*, i8*, i32, i32) allocsize(2, 3) 67 ; Verifying that out of line allocsize is parsed correctly 137 attributes #0 = { allocsize(1) } 138 attributes #1 = { allocsize(2, 3) }
|
D | allocsize-32.ll | 4 ; when given an allocsize function that takes a 64-bit argument in the face of 9 declare i8* @my_malloc(i8*, i64) allocsize(1)
|
/external/swiftshader/third_party/LLVM/examples/BrainF/ |
D | BrainF.cpp | 85 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/llvm/examples/BrainF/ |
D | BrainF.cpp | 97 Constant* allocsize = ConstantExpr::getSizeOf(Int8Ty); in header() local 98 allocsize = ConstantExpr::getTruncOrBitCast(allocsize, IntPtrTy); in header() 99 ptr_arr = CallInst::CreateMalloc(BB, IntPtrTy, Int8Ty, allocsize, val_mem, in header()
|
/external/curl/src/ |
D | tool_urlglob.c | 578 size_t allocsize; in glob_match_url() local 590 allocsize = strlen(filename) + 1; /* make it at least one byte to store the in glob_match_url() 592 target = malloc(allocsize); in glob_match_url() 654 if(appendlen + stringlen >= allocsize) { in glob_match_url() 658 allocsize = (appendlen + stringlen) * 2; in glob_match_url() 659 newstr = realloc(target, allocsize + 1); in glob_match_url()
|
/external/llvm/test/Bitcode/ |
D | attributes.ll | 322 define i8* @f54(i32) allocsize(0) { 327 define i8* @f55(i32, i32) allocsize(0, 1) { 367 ; CHECK: attributes #30 = { allocsize(0) } 368 ; CHECK: attributes #31 = { allocsize(0,1) }
|
/external/zopfli/src/zopflipng/lodepng/ |
D | lodepng.cpp | 132 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/ |
D | dnsextd.c | 421 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/llvm/include/llvm/IR/ |
D | Attributes.td | 21 def AllocSize : EnumAttr<"allocsize">;
|
/external/libpng/contrib/libtests/ |
D | pngstest.c | 586 png_size_t allocsize; member 617 image->allocsize = 0; in freebuffer() 688 image->allocsize = size; in allocbuffer() 715 if (check16(image->buffer+16+image->allocsize, 95)) in checkbuffer() 3310 copy.allocsize = 0; in testimage()
|
/external/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 616 KEYWORD(allocsize); in LexIdentifier()
|
/external/expat/lib/ |
D | xmlparse.c | 6430 int allocsize = (dtd->scaffCount * sizeof(XML_Content) in build_model() local 6433 ret = (XML_Content *)MALLOC(allocsize); in build_model()
|
/external/llvm/docs/ |
D | LangRef.rst | 1290 ``allocsize(<EltSizeParam>[, <NumEltsParam>])``
|