/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapTest.java | 390 int alloc = mBitmap.getAllocationByteCount(); local 391 assertEquals(mBitmap.getByteCount(), alloc); local 395 assertEquals(mBitmap.getByteCount(), alloc); local 396 assertEquals(mBitmap.getAllocationByteCount(), alloc); local 401 assertEquals(mBitmap.getAllocationByteCount(), alloc); local 510 int alloc = mBitmap.getAllocationByteCount(); local 514 assertEquals(mBitmap.getAllocationByteCount(), alloc); local 515 assertEquals(mBitmap.getByteCount() * 8, alloc); local 631 int alloc = mBitmap.getAllocationByteCount(); local 635 assertEquals(mBitmap.getAllocationByteCount(), alloc); local 636 assertEquals(mBitmap.getByteCount() * 2, alloc); local 656 int alloc = mBitmap.getAllocationByteCount(); local 660 assertEquals(mBitmap.getAllocationByteCount(), alloc); local 661 assertEquals(mBitmap.getByteCount() * 2, alloc); local 908 int alloc = mBitmap.getAllocationByteCount(); local 912 assertEquals(mBitmap.getAllocationByteCount(), alloc); local 913 assertEquals(mBitmap.getByteCount() * 2, alloc); local [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ReduceTest.java | 92 Allocation alloc; local 95 alloc = Allocation.createTyped(mRS, Type.createXYZ(mRS, elt, xlen, ylen, zlen)); 97 alloc = Allocation.createTyped(mRS, Type.createXY(mRS, elt, xlen, ylen)); 99 alloc = Allocation.createSized(mRS, elt, xlen); 101 alloc.setAutoPadding(true); 103 byte[] init = new byte[alloc.getBytesSize()]; 105 alloc.copyFromUnchecked(init); 106 return alloc; 116 Allocation alloc[] = new Allocation[numAllocs]; local 122 alloc[count++] = createInputAllocation(elt, xlen, ylen, zlen) [all...] |
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 116 struct ion_allocation_data alloc; local 127 memset(&alloc, 0, sizeof(alloc)); 128 alloc.len = buf->mem_info.size; 130 alloc.len = (alloc.len + 4095U) & (~4095U); 131 alloc.align = 4096; 132 alloc.flags = ION_FLAG_CACHED; 133 alloc.heap_id_mask = ion_type; 134 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); [all...] |
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 116 struct ion_allocation_data alloc; local 127 memset(&alloc, 0, sizeof(alloc)); 128 alloc.len = buf->mem_info.size; 130 alloc.len = (alloc.len + 4095U) & (~4095U); 131 alloc.align = 4096; 132 alloc.flags = ION_FLAG_CACHED; 133 alloc.heap_id_mask = ion_type; 134 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); [all...] |
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/ |
QualcommUsbCamera.cpp | 2672 struct ion_allocation_data alloc; local [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 116 struct ion_allocation_data alloc; local 127 memset(&alloc, 0, sizeof(alloc)); 128 alloc.len = buf->mem_info.size; 130 alloc.len = (alloc.len + 4095) & (~4095); 131 alloc.align = 4096; 132 alloc.flags = ION_FLAG_CACHED; 133 alloc.heap_mask = ion_type; 134 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); [all...] |
/external/curl/lib/ |
mprintf.c | 185 size_t alloc; /* length of alloc */ member in struct:asprintf 186 int fail; /* (!= 0) if an alloc has failed and thus 1010 infop->alloc = 32; 1013 else if(infop->len+1 >= infop->alloc) { 1016 newptr = realloc(infop->buffer, infop->alloc*2); 1023 infop->alloc *= 2; 1041 info.alloc = 0; 1048 if(info.alloc) 1052 if(info.alloc) { [all...] |
/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageLoadStoreTests.cpp | 633 const Allocation& alloc = m_imageBuffer->getAllocation(); local 634 invalidateMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), m_imageSizeBytes); 635 const tcu::ConstPixelBufferAccess result(mapVkFormat(m_format), imageSize, alloc.getHostPtr()); 699 const Allocation& alloc = m_constantsBuffer->getAllocation(); local 700 deUint8* const basePtr = static_cast<deUint8*>(alloc.getHostPtr()); 702 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(constantsBufferSizeBytes)); 710 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), constantsBufferSizeBytes); 997 const Allocation& alloc = m_imageBuffer->getAllocation(); local 1011 const Allocation& alloc = getResultBuffer()->getAllocation(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
vktMemoryPipelineBarrierTests.cpp | 565 const vk::VkMemoryAllocateInfo alloc = local 574 return vk::allocateMemory(vkd, device, &alloc); [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineEarlyFragmentTests.cpp | 872 const Allocation& alloc = vertexBuffer.getAllocation(); local 893 const Allocation& alloc = resultBuffer.getAllocation(); local 1007 const Allocation& alloc = colorBuffer.getAllocation(); local 1018 const Allocation& alloc = resultBuffer.getAllocation(); local [all...] |
/external/libjpeg-turbo/ |
turbojpeg.c | 735 int i, retval=0, alloc=1; JSAMPROW *row_pointer=NULL; local 777 alloc=0; *jpegSize=tjBufSize(width, height, jpegSubsamp); 779 jpeg_mem_dest_tj(cinfo, jpegBuf, jpegSize, alloc); 1048 int i, row, retval=0, alloc=1; JSAMPROW *inbuf[MAX_COMPONENTS]; local 1086 alloc=0; *jpegSize=tjBufSize(width, height, subsamp); 1088 jpeg_mem_dest_tj(cinfo, jpegBuf, jpegSize, alloc); 2052 int w, h, alloc=1; local [all...] |
/external/skia/include/core/ |
SkTypes.h | 672 bool alloc = size != fSize && (SkAutoMalloc::kAlloc_OnShrink == shrink || size > fSize); local 674 *didChangeAlloc = alloc; 676 if (alloc) {
|
/external/v8/test/cctest/compiler/ |
test-simplified-lowering.cc | 648 Node* alloc = t.NewNode(t.simplified()->Allocate(flag[i]), size); local 650 t.StoreField(access, alloc, map); 651 t.Return(alloc); [all...] |
/external/webrtc/webrtc/p2p/base/ |
turnserver.cc | 386 TurnServerAllocation* alloc = CreateAllocation(conn, proto, key); local 387 if (alloc) { 388 alloc->HandleTurnMessage(msg); 584 ost << "Alloc[" << conn_.ToString() << "]";
|
/frameworks/base/libs/hwui/ |
RenderNode.cpp | 985 LinearAllocator& alloc = handler.allocator(); local 1070 LinearAllocator& alloc = handler.allocator(); local [all...] |
/frameworks/native/cmds/installd/ |
utils.cpp | 588 void* alloc = _cache_malloc(cache, len); local 589 if (alloc != NULL && cur != NULL) { 590 memcpy(alloc, cur, origLen < len ? origLen : len); 592 return alloc; [all...] |
/frameworks/rs/ |
rsAllocation.cpp | 43 Allocation::Allocation(Context *rsc, const Allocation *alloc, const Type *type) 47 mHal.state.baseAlloc = alloc; 48 mHal.state.usageFlags = alloc->mHal.state.usageFlags; 94 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure"); 107 Allocation * Allocation::createAdapter(Context *rsc, const Allocation *alloc, const Type *type) { 116 Allocation *a = new (allocMem) Allocation(rsc, alloc, type); 119 rsc->setError(RS_ERROR_FATAL_DRIVER, "Allocation::Allocation, alloc failure"); 483 Allocation *alloc = Allocation::createAllocation(rsc, type, RS_ALLOCATION_USAGE_SCRIPT); local 489 uint32_t packedSize = alloc->getPackedSize(); 494 ObjectBase::checkDelete(alloc); 712 Allocation *alloc = static_cast<Allocation *>(va); local 782 Allocation * alloc = Allocation::createAllocation(rsc, static_cast<Type *>(vtype), usages, mipmaps, (void*)ptr); local 794 Allocation * alloc = Allocation::createAllocationStrided(rsc, static_cast<Type *>(vtype), usages, mipmaps, local 896 Allocation *alloc = static_cast<Allocation *>(valloc); local 901 Allocation *alloc = static_cast<Allocation *>(valloc); local 913 Allocation *alloc = static_cast<Allocation *>(valloc); local 918 Allocation *alloc = static_cast<Allocation *>(valloc); local 923 Allocation *alloc = static_cast<Allocation *>(valloc); local 931 Allocation *alloc = static_cast<Allocation *>(valloc); local 967 Allocation * alloc = Allocation::createAdapter(rsc, local [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 122 struct ion_allocation_data alloc; local 133 memset(&alloc, 0, sizeof(alloc)); 134 alloc.len = buf->mem_info.size; 136 alloc.len = (alloc.len + 4095U) & (~4095U); 137 alloc.align = 4096; 138 alloc.flags = ION_FLAG_CACHED; 139 alloc.heap_id_mask = ION_HEAP(ION_SYSTEM_HEAP_ID); 140 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); [all...] |
/hardware/qcom/camera/usbcamcore/src/ |
QualcommUsbCamera.cpp | 2672 struct ion_allocation_data alloc; local [all...] |
/hardware/ti/omap4-aah/original-kernel-headers/linux/ |
omapfb.h | 242 unsigned alloc:1; /* allocated by the driver */ member in struct:omapfb_mem_region
|
/hardware/ti/omap4xxx/original-kernel-headers/linux/ |
omapfb.h | 242 unsigned alloc:1; /* allocated by the driver */ member in struct:omapfb_mem_region
|
/toolchain/binutils/binutils-2.25/bfd/ |
cofflink.c | 461 union internal_auxent *alloc; local 467 alloc = ((union internal_auxent *) 470 * sizeof (*alloc)))); 471 if (alloc == NULL) 473 for (i = 0, eaux = esym + symesz, iaux = alloc; 479 (*sym_hash)->aux = alloc; [all...] |
/toolchain/binutils/binutils-2.25/binutils/ |
wrstabs.c | 879 size_t alloc; 881 alloc = *cache_alloc; 882 if (alloc == 0) 883 alloc = 10; 884 while ((size_t) targindex >= alloc) 885 alloc *= 2; 886 *cache = (long *) xrealloc (*cache, alloc * sizeof (long)); 888 (alloc - *cache_alloc) * sizeof (long)); 889 *cache_alloc = alloc; 877 size_t alloc; local 1266 size_t alloc; local [all...] |
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
QCameraHWI.cpp | 2855 struct ion_allocation_data alloc; local [all...] |
/external/clang/lib/CodeGen/ |
CGBlocks.cpp | 1106 Address alloc = CreateMemTemp(D->getType(), D->getName() + ".addr"); local [all...] |