/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
RegAllocPBQP.cpp | 529 unsigned alloc = solution.getSelection(node); local 531 if (problem.isPRegOption(vreg, alloc)) { 532 unsigned preg = problem.getPRegForOption(vreg, alloc); 536 } else if (problem.isSpillOption(vreg, alloc)) { 698 DEBUG(dbgs() << "Post alloc VirtRegMap:\n" << *vrm << "\n");
|
/external/syslinux/gpxe/src/crypto/axtls/ |
bigint.c | 61 static bigint __malloc *alloc(BI_CTX *ctx, int size); 84 ctx->bi_radix = alloc(ctx, 2); 218 bigint *biR = alloc(ctx, 1); 230 bigint *biR = alloc(ctx, bi->size); 320 bigint *biR = alloc(ctx, n + 1); 372 quotient = alloc(ctx, m+1); 373 tmp_u = alloc(ctx, n+1); 591 bigint *biR = alloc(ctx, (size+COMP_BYTE_SIZE-1)/COMP_BYTE_SIZE); 622 bigint *biR = alloc(ctx, (size+COMP_NUM_NIBBLES-1)/COMP_NUM_NIBBLES); 778 bigint *biR = alloc(ctx, n + t) 1039 static bigint *alloc(BI_CTX *ctx, int size) function [all...] |
/external/valgrind/helgrind/ |
hg_wordset.c | 151 void* (*alloc)(const HChar*,SizeT); member in struct:_WordSetU 190 wv = wsu->alloc( wsu->cc, sizeof(WordVec) ); 195 wv->words = wsu->alloc( wsu->cc, (SizeT)sz * sizeof(UWord) ); 248 new_vec = wsu->alloc( wsu->cc, new_sz * sizeof(WordVec*) ); 366 wsu->alloc = alloc_nofail;
|
/frameworks/base/rs/java/android/renderscript/ |
Mesh.java | 361 Allocation alloc = null; local 364 alloc = Allocation.createTyped(mRS, entry.t, mUsage); 366 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); 371 vertexBuffers[ct] = alloc; 372 vtx[ct] = alloc.getID(mRS); 376 Allocation alloc = null; local 379 alloc = Allocation.createTyped(mRS, entry.t, mUsage); 381 alloc = Allocation.createSized(mRS, entry.e, entry.size, mUsage); 386 long allocID = (alloc == null) ? 0 : alloc.getID(mRS) [all...] |
Allocation.java | 2823 Allocation alloc = new Allocation(id, rs, t, true, usage, mips); local 3260 Allocation alloc = createFromBitmap(rs, b, mips, usage); local 3310 Allocation alloc = Allocation.createSized(rs, Element.U8(rs), allocArray.length, usage); local [all...] |
/frameworks/rs/driver/runtime/ |
rs_sample.c | 268 getBilinearSample1D(const Allocation_t *alloc, float2 weights, 272 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; 318 getBilinearSample2D(const Allocation_t *alloc, float w0, float w1, float w2, float w3, 322 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; 323 size_t stride = alloc->mHal.drvState.lod[lod].stride; 348 getNearestSample(const Allocation_t *alloc, uint32_t iPixel, rs_data_kind dk, 351 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; 385 getNearestSample(const Allocation_t *alloc, uint2 iPixel, rs_data_kind dk, 388 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; 389 size_t stride = alloc->mHal.drvState.lod[lod].stride 532 const Allocation_t *alloc = (const Allocation_t *)a.p; local 584 const Allocation_t *alloc = (const Allocation_t *)a.p; local 631 const Allocation_t *alloc = (const Allocation_t *)a.p; local [all...] |
/hardware/google/av/media/sfplugin/ |
CCodecBufferChannel.cpp | 654 sp<Codec2Buffer> newBuffer = alloc((size_t)capacity); 683 [this, capacity] () -> sp<Codec2Buffer> { return alloc(capacity); }); 687 virtual sp<Codec2Buffer> alloc(size_t size) const { function in class:android::LinearInputBuffers 732 sp<Codec2Buffer> alloc(size_t size) const override { 771 std::shared_ptr<C2Allocator> alloc; variable 772 c2_status_t err = mStore->fetchAllocator(mPool->getAllocatorId(), &alloc); 776 sp<GraphicMetadataBuffer> newBuffer = new GraphicMetadataBuffer(mFormat, alloc); 796 std::shared_ptr<C2Allocator> alloc; variable 797 c2_status_t err = mStore->fetchAllocator(mPool->getAllocatorId(), &alloc); 807 [format = mFormat, alloc]() -> sp<Codec2Buffer> [all...] |
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
QCameraMem.cpp | 367 * FUNCTION : alloc 380 int QCameraMemory::alloc(int count, size_t size, unsigned int heap_id) function in class:qcamera::QCameraMemory 468 struct ion_allocation_data alloc; local 478 memset(&alloc, 0, sizeof(alloc)); 479 alloc.len = size; 481 alloc.len = (alloc.len + 4095U) & (~4095U); 482 alloc.align = 4096; 484 alloc.flags = ION_FLAG_CACHED [all...] |
/prebuilts/gcc/darwin-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9.x/gcov-src/ |
gcov-io.c | 61 size_t alloc; member in struct:gcov_var 262 gcov_var.alloc = 0; 294 size_t new_size = gcov_var.alloc; 301 gcov_var.alloc = new_size; 338 if (gcov_var.offset + words > gcov_var.alloc) 424 unsigned alloc = 0; local 430 alloc = (length + 4) >> 2; 433 buffer = gcov_write_words (1 + alloc); 435 buffer[0] = alloc; 436 buffer[alloc] = 0 [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.9/lib/gcc/arm-linux-androideabi/4.9.x/gcov-src/ |
gcov-io.c | 61 size_t alloc; member in struct:gcov_var 262 gcov_var.alloc = 0; 294 size_t new_size = gcov_var.alloc; 301 gcov_var.alloc = new_size; 338 if (gcov_var.offset + words > gcov_var.alloc) 424 unsigned alloc = 0; local 430 alloc = (length + 4) >> 2; 433 buffer = gcov_write_words (1 + alloc); 435 buffer[0] = alloc; 436 buffer[alloc] = 0 [all...] |
/prebuilts/gcc/darwin-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9.x/gcov-src/ |
gcov-io.c | 61 size_t alloc; member in struct:gcov_var 262 gcov_var.alloc = 0; 294 size_t new_size = gcov_var.alloc; 301 gcov_var.alloc = new_size; 338 if (gcov_var.offset + words > gcov_var.alloc) 424 unsigned alloc = 0; local 430 alloc = (length + 4) >> 2; 433 buffer = gcov_write_words (1 + alloc); 435 buffer[0] = alloc; 436 buffer[alloc] = 0 [all...] |
/prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9.x/gcov-src/ |
gcov-io.c | 61 size_t alloc; member in struct:gcov_var 262 gcov_var.alloc = 0; 294 size_t new_size = gcov_var.alloc; 301 gcov_var.alloc = new_size; 338 if (gcov_var.offset + words > gcov_var.alloc) 424 unsigned alloc = 0; local 430 alloc = (length + 4) >> 2; 433 buffer = gcov_write_words (1 + alloc); 435 buffer[0] = alloc; 436 buffer[alloc] = 0 [all...] |
/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/lib/gcc/aarch64-linux-android/4.9.x/gcov-src/ |
gcov-io.c | 61 size_t alloc; member in struct:gcov_var 262 gcov_var.alloc = 0; 294 size_t new_size = gcov_var.alloc; 301 gcov_var.alloc = new_size; 338 if (gcov_var.offset + words > gcov_var.alloc) 424 unsigned alloc = 0; local 430 alloc = (length + 4) >> 2; 433 buffer = gcov_write_words (1 + alloc); 435 buffer[0] = alloc; 436 buffer[alloc] = 0 [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/lib/gcc/arm-linux-androideabi/4.9.x/gcov-src/ |
gcov-io.c | 61 size_t alloc; member in struct:gcov_var 262 gcov_var.alloc = 0; 294 size_t new_size = gcov_var.alloc; 301 gcov_var.alloc = new_size; 338 if (gcov_var.offset + words > gcov_var.alloc) 424 unsigned alloc = 0; local 430 alloc = (length + 4) >> 2; 433 buffer = gcov_write_words (1 + alloc); 435 buffer[0] = alloc; 436 buffer[alloc] = 0 [all...] |
/prebuilts/gcc/linux-x86/mips/mips64el-linux-android-4.9/lib/gcc/mips64el-linux-android/4.9.x/gcov-src/ |
gcov-io.c | 61 size_t alloc; member in struct:gcov_var 262 gcov_var.alloc = 0; 294 size_t new_size = gcov_var.alloc; 301 gcov_var.alloc = new_size; 338 if (gcov_var.offset + words > gcov_var.alloc) 424 unsigned alloc = 0; local 430 alloc = (length + 4) >> 2; 433 buffer = gcov_write_words (1 + alloc); 435 buffer[0] = alloc; 436 buffer[alloc] = 0 [all...] |
/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/lib/gcc/x86_64-linux-android/4.9.x/gcov-src/ |
gcov-io.c | 61 size_t alloc; member in struct:gcov_var 262 gcov_var.alloc = 0; 294 size_t new_size = gcov_var.alloc; 301 gcov_var.alloc = new_size; 338 if (gcov_var.offset + words > gcov_var.alloc) 424 unsigned alloc = 0; local 430 alloc = (length + 4) >> 2; 433 buffer = gcov_write_words (1 + alloc); 435 buffer[0] = alloc; 436 buffer[alloc] = 0 [all...] |
/toolchain/binutils/binutils-2.27/bfd/ |
bfd.c | 691 long file or section name. It's not safe to try to alloc 1892 char *res, *alloc; local [all...] |
/bionic/linker/ |
linker.cpp | 280 LinkedListEntry<soinfo>* SoinfoListAllocator::alloc() { function in class:SoinfoListAllocator 281 return g_soinfo_links_allocator.alloc(); 288 LinkedListEntry<android_namespace_t>* NamespaceListAllocator::alloc() { function in class:NamespaceListAllocator 289 return g_namespace_list_allocator.alloc(); 305 soinfo* si = new (g_soinfo_allocator.alloc()) soinfo(ns, name, file_stat, 532 static void* alloc() { function in class:SizeBasedAllocator 533 return allocator_.alloc(); 550 static T* alloc() { function in class:TypeBasedAllocator 551 return reinterpret_cast<T*>(SizeBasedAllocator<sizeof(T)>::alloc()); 574 LoadTask* ptr = TypeBasedAllocator<LoadTask>::alloc(); [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ReduceTest.java | 98 Allocation alloc; local 101 alloc = Allocation.createTyped(mRS, Type.createXYZ(mRS, elt, xlen, ylen, zlen)); 103 alloc = Allocation.createTyped(mRS, Type.createXY(mRS, elt, xlen, ylen)); 105 alloc = Allocation.createSized(mRS, elt, xlen); 107 alloc.setAutoPadding(true); 109 byte[] init = new byte[alloc.getBytesSize()]; 111 alloc.copyFromUnchecked(init); 112 return alloc; 122 Allocation alloc[] = new Allocation[numAllocs]; local 128 alloc[count++] = createInputAllocation(elt, xlen, ylen, zlen) [all...] |
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 125 struct ion_allocation_data alloc; local 136 memset(&alloc, 0, sizeof(alloc)); 137 alloc.len = buf->mem_info.size; 139 alloc.len = (alloc.len + 4095U) & (~4095U); 140 alloc.align = 4096; 141 alloc.flags = ION_FLAG_CACHED; 142 alloc.heap_id_mask = ION_HEAP(ION_SYSTEM_HEAP_ID); 143 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); [all...] |
/device/google/marlin/camera/usbcamcore/src/ |
QualcommUsbCamera.cpp | 2672 struct ion_allocation_data alloc; local [all...] |
/external/curl/lib/ |
mprintf.c | 173 size_t alloc; /* length of alloc */ member in struct:asprintf 174 int fail; /* (!= 0) if an alloc has failed and thus 1040 infop->alloc = 32; 1043 else if(infop->len + 1 >= infop->alloc) { 1045 size_t newsize = infop->alloc*2; 1048 if(newsize > infop->alloc) 1056 infop->alloc = newsize; 1074 info.alloc = 0; 1081 if(info.alloc) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageLoadStoreTests.cpp | 539 const Allocation& alloc = m_imageBuffer->getAllocation(); local 540 invalidateMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), m_imageSizeBytes); 541 const tcu::ConstPixelBufferAccess result(mapVkFormat(m_format), imageSize, alloc.getHostPtr()); 615 const Allocation& alloc = m_constantsBuffer->getAllocation(); local 616 deUint8* const basePtr = static_cast<deUint8*>(alloc.getHostPtr()); 618 deMemset(alloc.getHostPtr(), 0, static_cast<size_t>(constantsBufferSizeBytes)); 626 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), constantsBufferSizeBytes); 931 const Allocation& alloc = m_imageBuffer->getAllocation(); local 945 const Allocation& alloc = getResultBuffer()->getAllocation(); local [all...] |
vktImageTranscodingSupportTests.cpp | 395 const Allocation& alloc = srcImageBuffer->getAllocation(); local 396 deMemcpy(alloc.getHostPtr(), &srcData[0], (size_t)srcImageSizeInBytes); 397 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), srcImageSizeInBytes); 652 const Allocation& alloc = srcImageBuffer->getAllocation(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineSpecConstantTests.cpp | 586 const Allocation& alloc = vertexBuffer.getAllocation(); local 587 tcu::Vec4* pVertices = reinterpret_cast<tcu::Vec4*>(alloc.getHostPtr()); 593 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), vertexBufferSizeBytes); [all...] |