/system/extras/ext4_utils/ |
indirect.c | 28 static u8 *create_backing(struct block_allocation *alloc, 39 for (; alloc != NULL && backing_len > 0; get_next_region(alloc)) { 43 get_region(alloc, ®ion_block, ®ion_len); 55 static void reserve_indirect_block(struct block_allocation *alloc, int len) 57 if (reserve_oob_blocks(alloc, 1)) { 62 if (advance_blocks(alloc, len)) { 68 static void reserve_dindirect_block(struct block_allocation *alloc, int len) 70 if (reserve_oob_blocks(alloc, 1)) { 78 reserve_indirect_block(alloc, ind_block_len) 392 struct block_allocation *alloc = allocate_blocks(block_len + indirect_len); local 405 struct block_allocation *alloc; local 491 struct block_allocation *alloc; local [all...] |
allocate.c | 33 struct block_allocation *alloc = malloc(sizeof(struct block_allocation)); local 34 alloc->list.first = NULL; 35 alloc->list.last = NULL; 36 alloc->oob_list.first = NULL; 37 alloc->oob_list.last = NULL; 38 alloc->list.iter = NULL; 39 alloc->list.partial_iter = 0; 40 alloc->oob_list.iter = NULL; 41 alloc->oob_list.partial_iter = 0; 42 alloc->filename = NULL 455 struct block_allocation *alloc = create_allocation(); local [all...] |
/toolchain/binutils/binutils-2.25/bfd/ |
hash.c | 375 unsigned long alloc; local 377 alloc = size; 378 alloc *= sizeof (struct bfd_hash_entry *); 379 if (alloc / sizeof (struct bfd_hash_entry *) != size) 392 objalloc_alloc ((struct objalloc *) table->memory, alloc); 399 memset ((void *) table->table, 0, alloc); 524 unsigned long alloc = newsize * sizeof (struct bfd_hash_entry *); local 526 /* If we can't find a higher prime, or we can't possibly alloc 528 if (newsize == 0 || alloc / sizeof (struct bfd_hash_entry *) != newsize) 535 objalloc_alloc ((struct objalloc *) table->memory, alloc)); [all...] |
bfd.c | 650 long file or section name. It's not safe to try to alloc 1850 char *res, *alloc; local [all...] |
i386linux.c | 409 char *alloc = NULL; 414 alloc = (char *) bfd_malloc ((bfd_size_type) strlen (name) + 1); 416 if (p == NULL || alloc == NULL) 421 strcpy (alloc, name); 422 p = strrchr (alloc, '_'); 426 alloc, p); 427 free (alloc); 408 char *alloc = NULL; local
|
m68klinux.c | 412 char *alloc = NULL; 417 alloc = (char *) bfd_malloc ((bfd_size_type) strlen (name) + 1); 419 if (p == NULL || alloc == NULL) 424 strcpy (alloc, name); 425 p = strrchr (alloc, '_'); 429 alloc, p); 430 free (alloc); 411 char *alloc = NULL; local
|
rs6000-core.c | 661 size_t alloc; local 682 alloc = 100; 683 path = bfd_malloc ((bfd_size_type) alloc); 698 if (s == path + alloc) 702 alloc *= 2; 703 n = bfd_realloc (path, (bfd_size_type) alloc);
|
/toolchain/binutils/binutils-2.25/binutils/ |
addr2line.c | 280 char *alloc = NULL; 287 alloc = bfd_demangle (abfd, name, DMGL_ANSI | DMGL_PARAMS); 288 if (alloc != NULL) 289 name = alloc; 303 if (alloc != NULL) 304 free (alloc); 277 char *alloc = NULL; local
|
rdcoff.c | 384 int alloc; 391 alloc = 10; 392 fields = (debug_field *) xmalloc (alloc * sizeof *fields); 464 if (count + 1 >= alloc) 466 alloc += 10; 468 xrealloc (fields, alloc * sizeof *fields)); 491 int alloc; 499 alloc = 10; 500 names = (const char **) xmalloc (alloc * sizeof *names); 501 vals = (bfd_signed_vma *) xmalloc (alloc * sizeof *vals) 383 int alloc; local 490 int alloc; local [all...] |
/toolchain/binutils/binutils-2.25/gas/ |
hash.c | 87 unsigned long alloc; local 92 alloc = size * sizeof (struct hash_entry *); 93 ret->table = (struct hash_entry **) obstack_alloc (&ret->memory, alloc); 94 memset (ret->table, 0, alloc);
|
/device/huawei/angler/camera/QCamera2/HAL/ |
QCameraMem.cpp | 328 * @size : [input] alloc 330 * @allocName : [input] name for the alloc 336 ALOGD("%s : alloc E count=%d size=%zu", __func__, count, size); 355 * @size : [input] alloc 372 * FUNCTION : alloc 385 int QCameraMemory::alloc(int count, size_t size, unsigned int heap_id, function in class:qcamera::QCameraMemory 471 struct ion_allocation_data alloc; local 481 memset(&alloc, 0, sizeof(alloc)); 482 alloc.len = size [all...] |
/device/lge/bullhead/camera/QCamera2/HAL/ |
QCameraMem.cpp | 328 * @size : [input] alloc 330 * @allocName : [input] name for the alloc 336 ALOGD("%s : alloc E count=%d size=%zu", __func__, count, size); 355 * @size : [input] alloc 372 * FUNCTION : alloc 385 int QCameraMemory::alloc(int count, size_t size, unsigned int heap_id, function in class:qcamera::QCameraMemory 471 struct ion_allocation_data alloc; local 481 memset(&alloc, 0, sizeof(alloc)); 482 alloc.len = size [all...] |
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
vktComputeIndirectComputeDispatchTests.cpp | 182 const vk::Allocation& alloc = indirectBuffer.getAllocation(); local 183 deUint8* indirectDataPtr = reinterpret_cast<deUint8*>(alloc.getHostPtr()); 198 vk::flushMappedMemoryRange(m_device_interface, m_device, alloc.getMemory(), alloc.getOffset(), m_bufferSize); 228 const vk::Allocation& alloc = resultBuffer.getAllocation(); local 229 deUint8* resultDataPtr = reinterpret_cast<deUint8*>(alloc.getHostPtr()); 241 vk::flushMappedMemoryRange(m_device_interface, m_device, alloc.getMemory(), alloc.getOffset(), resultBufferSize); 334 const vk::Allocation& alloc = resultBuffer.getAllocation(); local 335 vk::invalidateMappedMemoryRange(m_device_interface, m_device, alloc.getMemory(), alloc.getOffset(), resultBufferSize) [all...] |
vktComputeShaderBuiltinVarTests.cpp | 417 const Allocation& alloc = uniformBuffer.getAllocation(); local 418 memcpy(alloc.getHostPtr(), &stride, sizeOfUniformBuffer); 419 flushMappedMemoryRange(m_vki, m_device, alloc.getMemory(), alloc.getOffset(), sizeOfUniformBuffer);
|
/external/deqp/framework/delibs/depool/ |
deMemPool.c | 187 /* Alloc pool from initial page. */ 344 DebugAlloc* alloc = pool->debugAllocListHead; local 347 while (alloc) 349 next = alloc->next; 350 deAlignedFree(alloc->memPtr); 351 deFree(alloc); 352 alloc = next;
|
/external/libnfc-nci/src/nfa/include/ |
nfa_snep_api.h | 180 tNFA_SNEP_ALLOC alloc; /* NFA_SNEP_ALLOC_BUFF_EVT */ member in union:__anon16247
|
/external/libxml2/ |
timsort.h | 314 size_t alloc; member in struct:__anon17540 321 if (store->alloc < new_size) 330 store->alloc = new_size; 478 store->alloc = 0;
|
/external/ltrace/sysdeps/linux-gnu/ |
proc.c | 242 size_t alloc = 0; local 257 if (n >= alloc) { 258 alloc = alloc > 0 ? (2 * alloc) : 8; 260 sizeof(*tasks) * alloc); 265 assert(n < alloc);
|
/external/lzma/C/ |
Lzma2Enc.c | 63 ISzAlloc *alloc, ISzAlloc *allocBig);
65 UInt32 keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig);
266 ISzAlloc *alloc;
member in struct:__anon19146 288 mainEncoder->outBuf = (Byte *)IAlloc_Alloc(mainEncoder->alloc, LZMA2_CHUNK_SIZE_COMPRESSED_MAX);
294 mainEncoder->alloc, mainEncoder->allocBig));
343 mainEncoder->alloc, mainEncoder->allocBig));
383 CLzma2EncHandle Lzma2Enc_Create(ISzAlloc *alloc, ISzAlloc *allocBig)
385 CLzma2Enc *p = (CLzma2Enc *)alloc->Alloc(alloc, sizeof(CLzma2Enc)); [all...] |
XzEnc.c | 10 #include "Alloc.h"
128 SRes Xz_AddIndexRecord(CXzStream *p, UInt64 unpackSize, UInt64 totalSize, ISzAlloc *alloc)
137 blocks = (CXzBlockSizes *)alloc->Alloc(alloc, newSize);
143 Xz_Free(p, alloc);
264 SRes BraState_SetFromMethod(IStateCoder *p, UInt64 id, int encodeMode, ISzAlloc *alloc);
270 p->buf = g_Alloc.Alloc(&g_Alloc, FILTER_BUF_SIZE);
320 void SbEncInStream_Construct(CSbEncInStream *p, ISzAlloc *alloc)
322 SbEnc_Construct(&p->enc, alloc);
346 ISzAlloc *alloc; member in struct:__anon19187 [all...] |
/external/opencv3/modules/cudalegacy/src/ |
NCV.cpp | 421 NCVStatus NCVMemStackAllocator::alloc(NCVMemSegment &seg, size_t size) function in class:NCVMemStackAllocator 516 NCVStatus NCVMemNativeAllocator::alloc(NCVMemSegment &seg, size_t size) function in class:NCVMemNativeAllocator
|
/frameworks/native/libs/binder/ |
MemoryDealer.cpp | 153 ssize_t alloc(size_t size, uint32_t flags); 304 ssize_t offset = alloc(size, flags); 318 ssize_t SimpleBestFitAllocator::alloc(size_t size, uint32_t flags) function in class:android::SimpleBestFitAllocator
|
/frameworks/rs/ |
rsAllocation.h | 121 static Allocation * createAdapter(Context *rsc, const Allocation *alloc, const Type *type); 186 void shareBufferQueue(const Context *rsc, const Allocation *alloc); 229 const android::renderscript::Allocation **alloc; member in class:android::renderscript::Allocation::NewBufferListener
|
/system/bt/embdrv/sbc/decoder/include/ |
oi_codec_sbc.h | 141 OI_UINT8 alloc; /**< The bit allocation method. Input parameter. */ member in struct:__anon72296 285 * @param alloc One of SBC_LOUDNESS, SBC_SNR 295 OI_UINT8 alloc,
|
/system/bt/hci/include/ |
bt_vendor_lib.h | 253 * Vendor lib needs to request a buffer through the alloc callout function 306 * needs to be first allocated through the alloc callout function. 343 malloc_cb alloc; member in struct:__anon72322
|