/device/moto/shamu/camera/QCamera2/HAL3/ |
QCamera3Mem.cpp | 282 * FUNCTION : alloc 295 int QCamera3HeapMemory::alloc(int count, int size, int heap_id) function in class:qcamera::QCamera3HeapMemory 352 struct ion_allocation_data alloc; local 362 memset(&alloc, 0, sizeof(alloc)); 363 alloc.len = size; 365 alloc.len = (alloc.len + 4095) & (~4095); 366 alloc.align = 4096; 367 alloc.flags = ION_FLAG_CACHED [all...] |
/external/clang/test/SemaTemplate/ |
alias-templates.cpp | 32 inner_ptr &&alloc(); 48 thing(traits_type &traits) : traits(traits), val(traits.alloc()) {} 60 template<> bool &traits<thing<bool>>::alloc() { static bool b; return b; } function in class:X::traits
|
/external/curl/src/ |
tool_paramhlp.c | 91 size_t alloc = 512; local 97 if(!buffer || (alloc == nused)) { 99 if(alloc+1 > ((size_t)-1)/2) { 103 alloc *= 2; 105 if((newbuf = realloc(buffer, alloc+1)) == NULL) { 111 nread = fread(buffer+nused, 1, alloc-nused, file); 117 if(alloc != nused) {
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
vktMemoryAllocationTests.cpp | 160 const VkMemoryAllocateInfo alloc = local 168 VK_CHECK(vkd.allocateMemory(device, &alloc, (const VkAllocationCallbacks*)DE_NULL, &memoryObjects[ndx])); 198 const VkMemoryAllocateInfo alloc = local 206 VK_CHECK(vkd.allocateMemory(device, &alloc, (const VkAllocationCallbacks*)DE_NULL, &memoryObjects[ndx])); 379 const bool canAllocateSys = usedSysMem + m_allocSysMemSize + 1024 < m_memoryLimits.totalSystemMemory; // \note Always leave room for 1 KiB sys mem alloc 455 const VkMemoryAllocateInfo alloc = 463 VK_CHECK(vkd.allocateMemory(device, &alloc, (const VkAllocationCallbacks*)DE_NULL, &heap.objects.back().memory));
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
vktSpvAsmComputeShaderCase.cpp | 309 AllocationMp alloc; local 312 BufferHandleUp* buffer = new BufferHandleUp(createBufferAndBindMemory(vkdi, device, allocator, numBytes, &alloc)); 314 setMemory(vkdi, device, &*alloc, numBytes, input->data()); 317 inputAllocs.push_back(de::SharedPtr<Allocation>(alloc.release())); 322 AllocationMp alloc; local 325 BufferHandleUp* buffer = new BufferHandleUp(createBufferAndBindMemory(vkdi, device, allocator, numBytes, &alloc)); 327 fillMemoryWithValue(vkdi, device, &*alloc, numBytes, 0xff); 330 outputAllocs.push_back(de::SharedPtr<Allocation>(alloc.release()));
|
/external/libunwind/src/ |
elfxx.c | 469 ISzAlloc alloc; local 472 alloc.Alloc = xz_alloc; 473 alloc.Free = xz_free; 474 XzUnpacker_Construct(&state, &alloc);
|
/external/libxml2/ |
buf.c | 47 xmlBufferAllocationScheme alloc; /* The realloc method */ member in struct:_xmlBuf 136 ret->alloc = xmlBufferAllocScheme; 168 ret->alloc = xmlBufferAllocScheme; 201 if (buf->alloc == XML_BUFFER_ALLOC_IMMUTABLE) 251 ret->alloc = XML_BUFFER_ALLOC_IMMUTABLE; 275 return(buf->alloc); 297 if ((buf->alloc == XML_BUFFER_ALLOC_IMMUTABLE) || 298 (buf->alloc == XML_BUFFER_ALLOC_IO)) 305 buf->alloc = scheme; 307 buf->buffer->alloc = scheme [all...] |
/external/lzma/C/ |
MtCoder.h | 82 ISzAlloc *alloc;
member in struct:_CMtCoder
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
nouveau_mm.c | 162 struct nouveau_mm_allocation *alloc; local 191 alloc = MALLOC_STRUCT(nouveau_mm_allocation); 192 if (!alloc) 202 alloc->next = NULL; 203 alloc->offset = *offset; 204 alloc->priv = (void *)slab; 206 return alloc; 210 nouveau_mm_free(struct nouveau_mm_allocation *alloc) 212 struct mm_slab *slab = (struct mm_slab *)alloc->priv; 215 mm_slab_free(slab, alloc->offset >> slab->order) [all...] |
/external/skia/src/core/ |
SkPixmap.cpp | 307 void SkAutoPixmapStorage::alloc(const SkImageInfo& info) { function in class:SkAutoPixmapStorage
|
/external/srtp/crypto/include/ |
cipher.h | 140 cipher_alloc_func_t alloc; member in struct:cipher_type_t 168 #define cipher_type_alloc(ct, c, klen) ((ct)->alloc((c), (klen)))
|
/external/v8/test/unittests/compiler/ |
change-lowering-unittest.cc | 338 Node* alloc = graph()->NewNode(simplified()->Allocate(TENURED), p0, local 340 Reduction r = Reduce(alloc);
|
/frameworks/base/libs/androidfw/ |
CursorWindow.cpp | 174 uint32_t fieldDirOffset = alloc(fieldDirSize, true /*aligned*/); 201 uint32_t CursorWindow::alloc(size_t size, bool aligned) { function in class:android::CursorWindow 244 chunk->nextChunkOffset = alloc(sizeof(RowSlotChunk), true /*aligned*/); 293 uint32_t offset = alloc(size);
|
/frameworks/base/libs/hwui/ |
VertexBuffer.h | 54 alloc will allocate space within the first allocation (useful if you want to 59 TYPE* alloc(int vertexCount) { function in class:android::uirenderer::VertexBuffer 95 TYPE* dst = alloc<TYPE>(verticesToCopy);
|
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicConvolve5x5.cpp | 42 ObjectBaseRef<Allocation> alloc; member in class:android::renderscript::RsdCpuScriptIntrinsicConvolve5x5 72 alloc.set(static_cast<Allocation *>(data)); 353 if (!cp->alloc.get()) { 357 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; 358 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; 413 if (!cp->alloc.get()) { 417 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; 418 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; 462 if (!cp->alloc.get()) { 466 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr [all...] |
/frameworks/rs/driver/ |
rsdShader.cpp | 525 Allocation *alloc = mRSProgram->mHal.state.constants[ct]; local 527 if (!alloc) { 528 ALOGE("Attempting to set constants on shader id %p, but alloc at slot %u is not set", 534 const uint8_t *data = static_cast<const uint8_t *>(alloc->mHal.drvState.lod[0].mallocPtr);
|
/frameworks/rs/driver/runtime/ |
rs_allocation.c | 7 Allocation_t *alloc = (Allocation_t *)a.p; local 8 return alloc->mHal.drvState.lod[0].dimX; 13 Allocation_t *alloc = (Allocation_t *)a.p; local 14 return alloc->mHal.drvState.lod[0].dimY; 19 Allocation_t *alloc = (Allocation_t *)a.p; local 20 return alloc->mHal.drvState.lod[0].dimZ; 25 Allocation_t *alloc = (Allocation_t *)a.p; local 26 return alloc->mHal.state.hasMipmaps; 31 Allocation_t *alloc = (Allocation_t *)a.p; local 32 return alloc->mHal.state.hasFaces 38 Allocation_t *alloc = (Allocation_t *)a.p; local 109 Allocation_t *alloc = (Allocation_t *)a.p; local 124 Allocation_t *alloc = (Allocation_t *)a.p; local 255 Allocation_t *alloc = (Allocation_t *)a.p; local 263 Allocation_t *alloc = (Allocation_t *)a.p; local 272 Allocation_t *alloc = (Allocation_t *)a.p; local 281 Allocation_t *alloc = (Allocation_t *)a.p; local 289 Allocation_t *alloc = (Allocation_t *)a.p; local 298 Allocation_t *alloc = (Allocation_t *)a.p; local 381 Allocation_t *alloc = (Allocation_t *)a.p; local 395 Allocation_t *alloc = (Allocation_t *)a.p; local [all...] |
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_fp16.java | 28 private Allocation alloc; field in class:UT_fp16 48 alloc = Allocation.createTyped(RS, typeBuilder.create()); 53 s.set_gAlloc(alloc); 60 s.forEach_set_kernel_half(alloc); 66 s.forEach_verify_kernel_half(alloc); 73 s.forEach_set_kernel_half2(alloc); 79 s.forEach_verify_kernel_half2(alloc); 86 s.forEach_set_kernel_half3(alloc); 92 s.forEach_verify_kernel_half3(alloc); 99 s.forEach_set_kernel_half4(alloc); [all...] |
/frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/ |
SampleRSActivity.java | 155 private synchronized void filterAlloc(Allocation alloc, Sampler sampler) { 157 mScript.invoke_setSampleData(alloc, mTwoByTwoAlloc, sampler); 158 mScript.forEach_root(alloc); 159 alloc.ioSend();
|
/frameworks/rs/ |
rsProgramVertex.cpp | 207 Allocation *alloc = Allocation::createAllocation(rsc, inputType.get(), local 209 pv->bindAllocation(rsc, alloc, 0); 211 mDefaultAlloc.set(alloc);
|
/hardware/libhardware/include/hardware/ |
gralloc.h | 160 * been created with (*alloc_device_t::alloc)() can be used. 169 * with (*alloc_device_t::alloc)(). 330 * (*alloc)() Allocates a buffer in graphic memory with the requested 343 int (*alloc)(struct alloc_device_t* dev, member in struct:alloc_device_t
|
/libcore/luni/src/test/java/libcore/util/ |
NativeAllocationRegistryTest.java | 69 final Allocation alloc = new Allocation(); local 70 alloc.javaAllocation = new byte[javaSize]; 75 alloc.nativeAllocation = doNativeAllocation(nativeSize); 76 return alloc.nativeAllocation; 79 registry.registerNativeAllocation(alloc, allocator); 81 alloc.nativeAllocation = doNativeAllocation(nativeSize); 82 registry.registerNativeAllocation(alloc, alloc.nativeAllocation); 85 saved[i%numSavedAllocations] = alloc;
|
/ndk/sources/host-tools/ndk-stack/binutils/ |
addr2line.c | 265 char *alloc = NULL; 272 alloc = bfd_demangle (abfd, name, DMGL_ANSI | DMGL_PARAMS); 273 if (alloc != NULL) 274 name = alloc; 288 if (alloc != NULL) 289 free (alloc); 262 char *alloc = NULL; local
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/plugin/include/ |
vec.h | 287 unsigned alloc local 289 if (!alloc) 298 size_t size = vec<T, va_heap, vl_embed>::embedded_size (alloc); 301 v->embedded_init (alloc, nelem); 354 unsigned alloc local 356 if (!alloc) 364 size_t size = vec<T, A, vl_embed>::embedded_size (alloc); 372 alloc = (size - vec_offset) / elt_size; 375 size = vec_offset + alloc * elt_size; 380 v->embedded_init (alloc, nelem) 421 va_stack::alloc (vec<T, va_stack, vl_ptr> &v, unsigned nelems, function in class:va_stack [all...] |
/system/extras/ext4_utils/ |
contents.c | 196 struct block_allocation* alloc = inode_allocate_file_extents(inode, len, filename); local 197 if (alloc) { 198 alloc->filename = strdup(filename); 199 alloc->next = saved_allocation_head; 200 saved_allocation_head = alloc;
|