/external/skia/include/core/ |
H A D | SkTypes.h | 639 bool alloc = size != fSize && (SkAutoMalloc::kAlloc_OnShrink == shrink || size > fSize); local 641 *didChangeAlloc = alloc; 643 if (alloc) {
|
/external/chromium_org/third_party/libxml/src/include/libxml/ |
H A D | tree.h | 91 xmlBufferAllocationScheme alloc; /* The realloc method */ member in struct:_xmlBuffer
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | heap-checker.cc | 1477 HeapProfileTable::AllocInfo alloc; local 1478 bool r = heap_profile->FindAllocDetails(ptr, &alloc); 1481 RAW_LOG(INFO, "New live %p object's alloc stack:", ptr); 1482 for (int i = 0; i < alloc.stack_depth; ++i) { 1483 RAW_LOG(INFO, " @ %p", alloc.call_stack[i]); 2251 // We can be called from several places: the first mmap/sbrk/alloc call
|
H A D | tcmalloc.cc | 130 #include "system-alloc.h" // for DumpSystemAllocatorStats, etc 741 virtual void SetSystemAllocator(SysAllocator* alloc) { argument 743 sys_alloc = alloc; 1019 printer.printf("tcmalloc: large alloc %" PRIu64 " bytes == %p @ ", 1352 const Length alloc = tcmalloc::pages(size + align); local 1353 Span* span = Static::pageheap()->New(alloc); 1361 ASSERT(skip < alloc);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
H A D | tcmalloc_unittest.cc | 165 static const int FLAGS_lgmaxsize = 16; // lg() of the max size object to alloc 303 void* alloc(size_t size) { function in class:testing::AllocatorState 422 object.ptr = static_cast<char*>(rnd_.alloc(object.size)); 550 void* p = rnd->alloc(s); 565 p = rnd->alloc(kMaxSignedSize + i); 567 p = rnd->alloc(kMaxSignedSize - i); 597 #ifndef DEBUGALLOCATION // debug alloc doesn't try to minimize reallocs 995 // Allocate and deallocate blocks of increasing sizes to check if the alloc 1003 void *test1 = rnd.alloc(size); 1020 void* p1 = rnd.alloc( [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | heap-checker.cc | 1477 HeapProfileTable::AllocInfo alloc; local 1478 if (!heap_profile->FindAllocDetails(ptr, &alloc)) { 1481 RAW_LOG(INFO, "New live %p object's alloc stack:", ptr); 1482 for (int i = 0; i < alloc.stack_depth; ++i) { 1483 RAW_LOG(INFO, " @ %p", alloc.call_stack[i]); 2250 // We can be called from several places: the first mmap/sbrk/alloc call
|
H A D | tcmalloc.cc | 130 #include "system-alloc.h" // for DumpSystemAllocatorStats, etc 731 virtual void SetSystemAllocator(SysAllocator* alloc) { argument 733 sys_alloc = alloc; 1008 printer.printf("tcmalloc: large alloc %"PRIu64" bytes == %p @ ", 1307 const Length alloc = tcmalloc::pages(size + align); local 1308 Span* span = Static::pageheap()->New(alloc); 1316 ASSERT(skip < alloc);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
H A D | tcmalloc_unittest.cc | 165 static const int FLAGS_lgmaxsize = 16; // lg() of the max size object to alloc 303 void* alloc(size_t size) { function in class:testing::AllocatorState 422 object.ptr = static_cast<char*>(rnd_.alloc(object.size)); 550 void* p = rnd->alloc(s); 565 p = rnd->alloc(kMaxSignedSize + i); 567 p = rnd->alloc(kMaxSignedSize - i); 597 #ifndef DEBUGALLOCATION // debug alloc doesn't try to minimize reallocs 995 // Allocate and deallocate blocks of increasing sizes to check if the alloc 1003 void *test1 = rnd.alloc(size); 1020 void* p1 = rnd.alloc( [all...] |
/external/libxml2/include/libxml/ |
H A D | tree.h | 94 xmlBufferAllocationScheme alloc; /* The realloc method */ member in struct:_xmlBuffer
|
/external/linux-tools-perf/perf-3.12.0/include/linux/ |
H A D | perf_event.h | 94 int alloc; /* extra register already allocated */ member in struct:hw_perf_event_extra
|
/external/lldb/tools/debugserver/source/MacOSX/ |
H A D | MachProcess.cpp | 2156 CFAllocatorRef alloc = kCFAllocatorDefault; local 2173 launch_argv.reset (::CFArrayCreateMutable (alloc, launch_argc, &kCFTypeArrayCallBacks)); 2179 launch_arg.reset(::CFStringCreateWithCString (alloc, arg, kCFStringEncodingUTF8)); 2195 launch_envp.reset(::CFDictionaryCreateMutable(alloc, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks)); 2213 name_string.reset(::CFStringCreateWithBytes(alloc, (const UInt8 *) envp[i], name_len, kCFStringEncodingUTF8, false)); 2214 value_string.reset(::CFStringCreateWithCString(alloc, value, kCFStringEncodingUTF8));
|
/external/qemu/ |
H A D | translate-all.c | 378 static PageDesc *page_find_alloc(tb_page_addr_t index, int alloc) argument 404 if (!alloc) { 416 if (!alloc) { 433 PhysPageDesc *phys_page_find_alloc(hwaddr index, int alloc) argument 447 if (!alloc) { 459 if (!alloc) {
|
H A D | exec.c | 660 void phys_mem_set_alloc(void *(*alloc)(size_t)) argument 662 phys_mem_alloc = alloc; 1268 * Remap needs to match alloc. Accelerators that
|
/external/wpa_supplicant_8/hostapd/src/tls/ |
H A D | libtommath.c | 127 int used, alloc, sign; member in struct:__anon33737 239 if (c->alloc < max + 1) { 317 if (c->alloc < max) { 393 a->alloc = MP_PREC; 417 a->alloc = a->used = 0; 967 if (a->alloc < 2) { 1122 for (n = 0; n < a->alloc; n++) { 1139 if (b->alloc < a->used) { 1269 /* if the alloc size is smaller alloc mor [all...] |
/external/wpa_supplicant_8/src/tls/ |
H A D | libtommath.c | 127 int used, alloc, sign; member in struct:__anon33990 239 if (c->alloc < max + 1) { 317 if (c->alloc < max) { 393 a->alloc = MP_PREC; 417 a->alloc = a->used = 0; 967 if (a->alloc < 2) { 1122 for (n = 0; n < a->alloc; n++) { 1139 if (b->alloc < a->used) { 1269 /* if the alloc size is smaller alloc mor [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/tls/ |
H A D | libtommath.c | 127 int used, alloc, sign; member in struct:__anon34241 239 if (c->alloc < max + 1) { 317 if (c->alloc < max) { 393 a->alloc = MP_PREC; 417 a->alloc = a->used = 0; 967 if (a->alloc < 2) { 1122 for (n = 0; n < a->alloc; n++) { 1139 if (b->alloc < a->used) { 1269 /* if the alloc size is smaller alloc mor [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/coff/ |
H A D | coff-objfmt.c | 1327 int alloc = 0, load = 0, readonly = 0, code = 0, datasect = 0; local 1346 alloc = 1; 1386 else if (alloc)
|
/external/deqp/modules/gles3/performance/ |
H A D | es3pBufferDataUploadTests.cpp | 270 SingleOperationStatistics alloc; member in struct:deqp::gles3::Performance::__anon20167::MapCallStatistics 289 SingleOperationStatistics alloc; member in struct:deqp::gles3::Performance::__anon20167::MapFlushCallStatistics 811 stats.alloc = calculateSingleOperationStatistics(samples, &MapBufferRangeDuration::allocDuration); 826 stats.alloc = calculateSingleOperationStatistics(samples, &MapBufferRangeFlushDuration::allocDuration); 1154 log << tcu::TestLog::Float("AllocMin", "Alloc: Min time", "us", QP_KEY_TAG_TIME, stats.alloc.minTime) 1155 << tcu::TestLog::Float("AllocMax", "Alloc: Max time", "us", QP_KEY_TAG_TIME, stats.alloc.maxTime) 1156 << tcu::TestLog::Float("AllocMin90", "Alloc: 90%-Min time", "us", QP_KEY_TAG_TIME, stats.alloc.min2DecileTime) 1157 << tcu::TestLog::Float("AllocMax90", "Alloc: 90%-Max time", "us", QP_KEY_TAG_TIME, stats.alloc.max9DecileTime) 1158 << tcu::TestLog::Float("AllocMedian", "Alloc: Median time", "us", QP_KEY_TAG_TIME, stats.alloc.medianTime); 1238 << tcu::TestLog::Float("AllocMedianCost", "Alloc: Median cost", "us", QP_KEY_TAG_TIME, stats.alloc [all...] |
/external/libxml2/ |
H A D | xmlreader.c | 815 int alloc; local 823 alloc = xmlBufGetAllocationScheme(inbuf); 833 (alloc == XML_BUFFER_ALLOC_IMMUTABLE)) { 882 if (alloc != XML_BUFFER_ALLOC_IMMUTABLE) {
|
/external/lldb/source/Expression/ |
H A D | IRForTarget.cpp | 758 // CFAllocatorRef alloc, 1231 AllocaInst *alloc = dyn_cast<AllocaInst>(persistent_alloc); local 1233 MDNode *alloc_md = alloc->getMetadata("clang.decl.ptr"); 1258 alloc->getType(), 1262 alloc->getName().str().c_str()); 1281 LoadInst *persistent_load = new LoadInst (persistent_global, "", alloc); 1285 PrintValue(alloc).c_str(), 1288 alloc->replaceAllUsesWith(persistent_load); 1289 alloc->eraseFromParent(); 1315 if (AllocaInst *alloc [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | decNumber.c | 8136 void *alloc; /* -> allocated storage */ local 8140 alloc=malloc(size); /* -> allocated storage */ 8141 if (alloc==NULL) return NULL; /* out of strorage */ 8142 b0=(uByte *)alloc; /* as bytes */ 8144 UBFROMUI(alloc, n); /* save n */ 8145 /* printf(" alloc ++ dAB: %ld (%ld)\n", (LI)decAllocBytes, (LI)n); */ 8153 /* alloc is the storage to free */ 8163 static void decFree(void *alloc) { argument 8168 if (alloc==NULL) return; /* allowed; it's a nop */ 8169 b0=(uByte *)alloc; /* a [all...] |
/external/chromium_org/third_party/libxml/src/ |
H A D | parser.c | 3043 int *len, int *alloc, int normalize); 8516 * @alloc: whether the attribute was reallocated as a new string 8547 xmlParseAttValueInternal(xmlParserCtxtPtr ctxt, int *len, int *alloc, argument 8667 if (alloc) *alloc = 1; 8671 if (alloc) *alloc = 0; 8674 if (alloc) *alloc = 1; 8686 * @alloc 8694 xmlParseAttribute2(xmlParserCtxtPtr ctxt, const xmlChar * pref, const xmlChar * elem, const xmlChar ** prefix, xmlChar ** value, int *len, int *alloc) argument 8887 int len = -1, alloc = 0; local [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
H A D | LzmaEnc.c | 465 static int RangeEnc_Alloc(CRangeEnc *p, ISzAlloc *alloc) argument 469 p->bufBase = (Byte *)alloc->Alloc(alloc, RC_BUF_SIZE); 477 static void RangeEnc_Free(CRangeEnc *p, ISzAlloc *alloc) argument 479 alloc->Free(alloc, p->bufBase); 1700 CLzmaEncHandle LzmaEnc_Create(ISzAlloc *alloc) argument 1703 p = alloc->Alloc(alloc, sizeof(CLzmaEnc)); 1709 void LzmaEnc_FreeLits(CLzmaEnc *p, ISzAlloc *alloc) argument 1717 LzmaEnc_Destruct(CLzmaEnc *p, ISzAlloc *alloc, ISzAlloc *allocBig) argument 1727 LzmaEnc_Destroy(CLzmaEncHandle p, ISzAlloc *alloc, ISzAlloc *allocBig) argument 1897 LzmaEnc_Alloc(CLzmaEnc *p, UInt32 keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig) argument 2020 LzmaEnc_AllocAndInit(CLzmaEnc *p, UInt32 keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig) argument 2037 LzmaEnc_Prepare(CLzmaEncHandle pp, ISeqOutStream *outStream, ISeqInStream *inStream, ISzAlloc *alloc, ISzAlloc *allocBig) argument 2047 LzmaEnc_PrepareForLzma2(CLzmaEncHandle pp, ISeqInStream *inStream, UInt32 keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig) argument 2064 LzmaEnc_MemPrepare(CLzmaEncHandle pp, const Byte *src, SizeT srcLen, UInt32 keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig) argument 2184 LzmaEnc_Encode(CLzmaEncHandle pp, ISeqOutStream *outStream, ISeqInStream *inStream, ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig) argument 2220 LzmaEnc_MemEncode(CLzmaEncHandle pp, Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen, int writeEndMark, ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig) argument 2248 LzmaEncode(Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen, const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark, ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig) argument [all...] |
/external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
H A D | LzmaEnc.c | 466 static int RangeEnc_Alloc(CRangeEnc *p, ISzAlloc *alloc) argument 470 p->bufBase = (Byte *)alloc->Alloc(alloc, RC_BUF_SIZE); 478 static void RangeEnc_Free(CRangeEnc *p, ISzAlloc *alloc) argument 480 alloc->Free(alloc, p->bufBase); 1701 CLzmaEncHandle LzmaEnc_Create(ISzAlloc *alloc) argument 1704 p = alloc->Alloc(alloc, sizeof(CLzmaEnc)); 1710 void LzmaEnc_FreeLits(CLzmaEnc *p, ISzAlloc *alloc) argument 1718 LzmaEnc_Destruct(CLzmaEnc *p, ISzAlloc *alloc, ISzAlloc *allocBig) argument 1728 LzmaEnc_Destroy(CLzmaEncHandle p, ISzAlloc *alloc, ISzAlloc *allocBig) argument 1898 LzmaEnc_Alloc(CLzmaEnc *p, UInt32 keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig) argument 2021 LzmaEnc_AllocAndInit(CLzmaEnc *p, UInt32 keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig) argument 2038 LzmaEnc_Prepare(CLzmaEncHandle pp, ISeqOutStream *outStream, ISeqInStream *inStream, ISzAlloc *alloc, ISzAlloc *allocBig) argument 2048 LzmaEnc_PrepareForLzma2(CLzmaEncHandle pp, ISeqInStream *inStream, UInt32 keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig) argument 2065 LzmaEnc_MemPrepare(CLzmaEncHandle pp, const Byte *src, SizeT srcLen, UInt32 keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig) argument 2185 LzmaEnc_Encode(CLzmaEncHandle pp, ISeqOutStream *outStream, ISeqInStream *inStream, ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig) argument 2221 LzmaEnc_MemEncode(CLzmaEncHandle pp, Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen, int writeEndMark, ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig) argument 2249 LzmaEncode(Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen, const CLzmaEncProps *props, Byte *propsEncoded, SizeT *propsSize, int writeEndMark, ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig) argument [all...] |
/external/clang/lib/AST/ |
H A D | Expr.cpp | 3484 Mem = alloc(Context, Args.size(), 0); 3486 Mem = alloc(Context, Args, RBracLoc, SelLocs, Sel, SelLocsK); 3507 Mem = alloc(Context, Args.size(), 0); 3509 Mem = alloc(Context, Args, RBracLoc, SelLocs, Sel, SelLocsK); 3530 Mem = alloc(Context, Args.size(), 0); 3532 Mem = alloc(Context, Args, RBracLoc, SelLocs, Sel, SelLocsK); 3541 ObjCMessageExpr *Mem = alloc(Context, NumArgs, NumStoredSelLocs); 3545 ObjCMessageExpr *ObjCMessageExpr::alloc(const ASTContext &C, function in class:ObjCMessageExpr 3554 return alloc(C, Args.size(), NumStoredSelLocs); 3557 ObjCMessageExpr *ObjCMessageExpr::alloc(cons function in class:ObjCMessageExpr [all...] |