/dalvik/libdex/ |
DexFile.cpp | 214 int allocSize; 230 allocSize = offsetof(DexClassLookup, table) 233 pLookup = (DexClassLookup*) calloc(1, allocSize); 236 pLookup->size = allocSize; 259 allocSize, totalProbes, maxProbes);
|
/external/clang/lib/CodeGen/ |
CGExprCXX.cpp | [all...] |
/external/libvncserver/libvncclient/ |
vncviewer.c | 92 uint64_t allocSize; 101 allocSize = (uint64_t)client->width * client->height * client->format.bitsPerPixel/8; 103 if (allocSize >= SIZE_MAX) { 108 client->frameBuffer=malloc( (size_t)allocSize );
|
/external/llvm/examples/BrainF/ |
BrainF.cpp | 85 Constant* allocsize = ConstantExpr::getSizeOf(Int8Ty); local 86 allocsize = ConstantExpr::getTruncOrBitCast(allocsize, IntPtrTy); 87 ptr_arr = CallInst::CreateMalloc(BB, IntPtrTy, Int8Ty, allocsize, val_mem,
|
/external/llvm/include/llvm/ADT/ |
StringMap.h | 154 unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+ 159 static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment)); 200 unsigned AllocSize = 203 Allocator.Deallocate(static_cast<void *>(this), AllocSize);
|
/frameworks/av/media/libstagefright/ |
SampleTable.cpp | 416 uint64_t allocSize = (uint64_t)numEntries * 2 * sizeof(uint32_t); 417 if (allocSize > UINT32_MAX) { 468 uint64_t allocSize = mNumSyncSamples * (uint64_t)sizeof(uint32_t); 469 if (allocSize > SIZE_MAX) {
|
/frameworks/rs/driver/ |
rsdAllocation.cpp | 353 size_t allocSize = alloc->mHal.drvState.faceOffset; 355 allocSize *= 6; 358 return allocSize; 366 static uint8_t* allocAlignedMemory(size_t allocSize, bool forceZero, size_t requiredAlignment) { 368 uint8_t* ptr = (uint8_t *)memalign(requiredAlignment, allocSize); 373 memset(ptr, 0, allocSize); 391 size_t allocSize = AllocationBuildPointerTable(rsc, alloc, alloc->getType(), nullptr, requiredAlignment); 432 ptr = allocAlignedMemory(allocSize, forceZero, requiredAlignment); 444 ptr = allocAlignedMemory(allocSize, forceZero, requiredAlignment); 453 if(allocSize != verifySize) [all...] |
/external/curl/src/ |
tool_urlglob.c | 577 size_t allocsize; local 589 allocsize = strlen(filename) + 1; /* make it at least one byte to store the 591 target = malloc(allocsize); 653 if(appendlen + stringlen >= allocsize) { 657 allocsize = (appendlen + stringlen) * 2; 658 newstr = realloc(target, allocsize + 1);
|
/external/libvncserver/libvncserver/ |
scale.c | 290 int allocSize; 299 allocSize = pad4(width * (ptr->bitsPerPixel/8)); /* per protocol, width<2**16 and bpp<256 */ 300 if (height == 0 || allocSize >= SIZE_MAX / height)
|
/frameworks/native/opengl/libagl/ |
egl.cpp | 397 uint64_t allocSize = static_cast<uint64_t>(depth.stride) * 400 allocSize > UINT32_MAX) { 403 depth.data = (GGLubyte*)malloc(allocSize); 557 uint64_t allocSize = static_cast<uint64_t>(depth.stride) * 560 allocSize > UINT32_MAX) { 564 depth.data = (GGLubyte*)malloc(allocSize); 682 uint64_t allocSize = static_cast<uint64_t>(depth.stride) * 685 allocSize > UINT32_MAX) { 689 depth.data = (GGLubyte*)malloc(allocSize); 769 uint64_t allocSize = static_cast<uint64_t>(depth.stride) [all...] |
/prebuilts/go/darwin-x86/pkg/bootstrap/src/bootstrap/compile/internal/big/ |
nat_test.go | 188 allocSize := allocBytes(func() { 192 if ratio := allocSize / uint64(inputSize); ratio > 10 { 193 t.Errorf("multiplication uses too much memory (%d > %d times the size of inputs)", allocSize, ratio)
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/big/ |
nat_test.go | 185 allocSize := allocBytes(func() { 189 if ratio := allocSize / uint64(inputSize); ratio > 10 { 190 t.Errorf("multiplication uses too much memory (%d > %d times the size of inputs)", allocSize, ratio)
|
/prebuilts/go/darwin-x86/src/math/big/ |
nat_test.go | 185 allocSize := allocBytes(func() { 189 if ratio := allocSize / uint64(inputSize); ratio > 10 { 190 t.Errorf("multiplication uses too much memory (%d > %d times the size of inputs)", allocSize, ratio)
|
/prebuilts/go/linux-x86/pkg/bootstrap/src/bootstrap/compile/internal/big/ |
nat_test.go | 188 allocSize := allocBytes(func() { 192 if ratio := allocSize / uint64(inputSize); ratio > 10 { 193 t.Errorf("multiplication uses too much memory (%d > %d times the size of inputs)", allocSize, ratio)
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/big/ |
nat_test.go | 185 allocSize := allocBytes(func() { 189 if ratio := allocSize / uint64(inputSize); ratio > 10 { 190 t.Errorf("multiplication uses too much memory (%d > %d times the size of inputs)", allocSize, ratio)
|
/prebuilts/go/linux-x86/src/math/big/ |
nat_test.go | 185 allocSize := allocBytes(func() { 189 if ratio := allocSize / uint64(inputSize); ratio > 10 { 190 t.Errorf("multiplication uses too much memory (%d > %d times the size of inputs)", allocSize, ratio)
|
/frameworks/base/libs/hwui/utils/ |
LinearAllocator.h | 98 void rewindIfLastAlloc(void* ptr, size_t allocSize);
|
/external/icu/icu4c/source/common/ |
unisetspan.cpp | 266 int32_t allocSize; 269 allocSize=stringsLength*(4+1+1+1+1)+utf8Length; 271 allocSize=stringsLength; // One set of span lengths. 274 allocSize+=stringsLength*4+utf8Length; 277 if(allocSize<=(int32_t)sizeof(staticLengths)) { 280 utf8Lengths=(int32_t *)uprv_malloc(allocSize); 407 int32_t allocSize=stringsLength*(4+1+1+1+1)+utf8Length; 408 if(allocSize<=(int32_t)sizeof(staticLengths)) { 411 utf8Lengths=(int32_t *)uprv_malloc(allocSize); 420 uprv_memcpy(utf8Lengths, otherStringSpan.utf8Lengths, allocSize); [all...] |
/frameworks/av/media/libmedia/ |
IOMX.cpp | 743 size_t allocSize = 0; 757 allocSize = (size + pageSize * 2) & ~(pageSize - 1); 758 params = mmap(NULL, allocSize, PROT_READ | PROT_WRITE, 778 mprotect((char*)params + allocSize - pageSize, pageSize, PROT_NONE); 818 munmap(params, allocSize); [all...] |
/external/opencv3/modules/core/src/ |
cuda_stream.cpp | 98 const size_t allocSize = tip - ptr; 99 CV_Assert( allocSize == allocations.back() );
|
/external/skia/src/core/ |
SkPictureFlat.h | 296 size_t allocSize = sizeof(SkFlatData) + size; 297 SkFlatData* result = (SkFlatData*) controller->allocThrow(allocSize);
|
/frameworks/compile/slang/ |
slang_rs_export_type.h | 590 size_t AllocSize) 595 mAllocSize(AllocSize) {
|
/external/webrtc/webrtc/test/channel_transport/ |
udp_socket2_win.cc | 1034 int allocSize = sizeof(TC_GEN_FLOW) + sizeof(QOS_DS_CLASS) + 1036 _flow = (PTC_GEN_FLOW)malloc(allocSize); [all...] |
/external/llvm/lib/Transforms/Scalar/ |
SROA.cpp | 626 const uint64_t AllocSize; 638 AllocSize(DL.getTypeAllocSize(AI.getAllocatedType())), AS(AS) {} 650 if (Size == 0 || Offset.uge(AllocSize)) { 653 << AllocSize << " byte alloca:\n" 668 assert(AllocSize >= BeginOffset); // Established above. 669 if (Size > AllocSize - BeginOffset) { 671 << " to remain within the " << AllocSize << " byte alloca:\n" 674 EndOffset = AllocSize; 725 if (GEPOffset.ugt(AllocSize)) 772 if (Size > AllocSize || Offset.ugt(AllocSize - Size)) [all...] |
/frameworks/base/libs/hwui/ |
PathTessellator.cpp | 269 const int allocSize = (vertices.size() + extra) * 2; 270 Vertex* buffer = vertexBuffer.alloc<Vertex>(allocSize); 301 Vertex::set(&buffer[allocSize - 1 - capOffset], 580 const int allocSize = 6 * vertices.size() + 2 + 6 * extra; 582 AlphaVertex* buffer = vertexBuffer.alloc<AlphaVertex>(allocSize); [all...] |