alloc 43 base/memory/singleton_objc.h return [[Type alloc] init]; alloc 336 base/process/process_metrics_unittest.cc scoped_ptr<char[]> alloc(new char[kAllocMB * 1024 * 1024]); alloc 125 base/third_party/xdg_mime/xdgmimealias.c int alloc; alloc 134 base/third_party/xdg_mime/xdgmimealias.c alloc = list->n_aliases + 16; alloc 135 base/third_party/xdg_mime/xdgmimealias.c list->aliases = realloc (list->aliases, alloc * sizeof (XdgAlias)); alloc 147 base/third_party/xdg_mime/xdgmimealias.c if (list->n_aliases == alloc) alloc 149 base/third_party/xdg_mime/xdgmimealias.c alloc <<= 1; alloc 151 base/third_party/xdg_mime/xdgmimealias.c alloc * sizeof (XdgAlias)); alloc 124 base/third_party/xdg_mime/xdgmimeicon.c int alloc; alloc 133 base/third_party/xdg_mime/xdgmimeicon.c alloc = list->n_icons + 16; alloc 134 base/third_party/xdg_mime/xdgmimeicon.c list->icons = realloc (list->icons, alloc * sizeof (XdgIcon)); alloc 146 base/third_party/xdg_mime/xdgmimeicon.c if (list->n_icons == alloc) alloc 148 base/third_party/xdg_mime/xdgmimeicon.c alloc <<= 1; alloc 150 base/third_party/xdg_mime/xdgmimeicon.c alloc * sizeof (XdgIcon)); alloc 130 base/third_party/xdg_mime/xdgmimeparent.c int i, alloc; alloc 140 base/third_party/xdg_mime/xdgmimeparent.c alloc = list->n_mimes + 16; alloc 141 base/third_party/xdg_mime/xdgmimeparent.c list->parents = realloc (list->parents, alloc * sizeof (XdgMimeParents)); alloc 165 base/third_party/xdg_mime/xdgmimeparent.c if (list->n_mimes == alloc) alloc 167 base/third_party/xdg_mime/xdgmimeparent.c alloc <<= 1; alloc 169 base/third_party/xdg_mime/xdgmimeparent.c alloc * sizeof (XdgMimeParents)); alloc 385 chrome/browser/ui/gtk/gtk_custom_menu_item.cc GtkAllocation alloc; alloc 386 chrome/browser/ui/gtk/gtk_custom_menu_item.cc gtk_widget_get_allocation(current_widget, &alloc); alloc 390 chrome/browser/ui/gtk/gtk_custom_menu_item.cc if (x >= offset_x && x < (offset_x + alloc.width) && alloc 391 chrome/browser/ui/gtk/gtk_custom_menu_item.cc y >= offset_y && y < (offset_y + alloc.height)) { alloc 168 chrome/installer/mini_installer/decompress.cc typedef HFDI (DIAMONDAPI* FDICreateFn)(PFNALLOC alloc, PFNFREE free, alloc 120 content/common/gpu/gpu_memory_manager_unittest.cc virtual void SetMemoryAllocation(const MemoryAllocation& alloc) OVERRIDE { alloc 121 content/common/gpu/gpu_memory_manager_unittest.cc allocation_ = alloc; alloc 122 content/common/gpu/gpu_memory_manager_unittest.cc ClientAssignmentCollector::AddClientStat(this, alloc); alloc 180 content/common/gpu/gpu_memory_manager_unittest.cc const MemoryAllocation& alloc) { alloc 184 content/common/gpu/gpu_memory_manager_unittest.cc const MemoryAllocation& alloc) { alloc 188 content/common/gpu/gpu_memory_manager_unittest.cc const MemoryAllocation& alloc) { alloc 192 content/common/gpu/gpu_memory_manager_unittest.cc const MemoryAllocation& alloc) { alloc 193 content/common/gpu/gpu_memory_manager_unittest.cc return alloc.bytes_limit_when_visible == alloc 197 content/common/gpu/gpu_memory_manager_unittest.cc const MemoryAllocation& alloc) { alloc 198 content/common/gpu/gpu_memory_manager_unittest.cc return alloc.bytes_limit_when_visible == alloc 202 content/common/gpu/gpu_memory_manager_unittest.cc const MemoryAllocation& alloc) { alloc 203 content/common/gpu/gpu_memory_manager_unittest.cc return alloc.bytes_limit_when_visible == 0; alloc 255 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc char* alloc = ki_getwd(NULL); alloc 256 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_EQ((char*)NULL, alloc); alloc 260 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc alloc = ki_getwd(text); alloc 261 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_STREQ("/", alloc); alloc 72 third_party/cld/encodings/compact_lang_det/tote.cc int alloc = -1; alloc 74 third_party/cld/encodings/compact_lang_det/tote.cc alloc = sub0; alloc 76 third_party/cld/encodings/compact_lang_det/tote.cc alloc = sub1; alloc 78 third_party/cld/encodings/compact_lang_det/tote.cc alloc = sub2; alloc 81 third_party/cld/encodings/compact_lang_det/tote.cc alloc = sub0; alloc 82 third_party/cld/encodings/compact_lang_det/tote.cc if (value_[sub1] < value_[alloc]) {alloc = sub1;} alloc 83 third_party/cld/encodings/compact_lang_det/tote.cc if (value_[sub2] < value_[alloc]) {alloc = sub2;} alloc 85 third_party/cld/encodings/compact_lang_det/tote.cc key_[alloc] = ikey; alloc 86 third_party/cld/encodings/compact_lang_det/tote.cc value_[alloc] = idelta; alloc 194 third_party/cld/encodings/compact_lang_det/tote.cc int alloc = -1; alloc 196 third_party/cld/encodings/compact_lang_det/tote.cc alloc = sub0; alloc 198 third_party/cld/encodings/compact_lang_det/tote.cc alloc = sub1; alloc 200 third_party/cld/encodings/compact_lang_det/tote.cc alloc = sub2; alloc 203 third_party/cld/encodings/compact_lang_det/tote.cc alloc = sub0; alloc 204 third_party/cld/encodings/compact_lang_det/tote.cc if (value_[sub1] < value_[alloc]) {alloc = sub1;} alloc 205 third_party/cld/encodings/compact_lang_det/tote.cc if (value_[sub2] < value_[alloc]) {alloc = sub2;} alloc 207 third_party/cld/encodings/compact_lang_det/tote.cc key_[alloc] = ikey; alloc 208 third_party/cld/encodings/compact_lang_det/tote.cc value_[alloc] = ibytes; alloc 209 third_party/cld/encodings/compact_lang_det/tote.cc score_[alloc] = score; alloc 210 third_party/cld/encodings/compact_lang_det/tote.cc reliability_[alloc] = ireliability * ibytes; alloc 46 third_party/libjingle/overrides/init_webrtc.h AllocateFunction alloc, alloc 49 third_party/libjingle/overrides/initialize_module.cc AllocateFunction alloc, alloc 60 third_party/libjingle/overrides/initialize_module.cc g_alloc = alloc; alloc 2336 third_party/libxml/src/encoding.c if (in->alloc != XML_BUFFER_ALLOC_IMMUTABLE) alloc 880 third_party/libxml/src/entities.c if (buf->alloc == XML_BUFFER_ALLOC_IMMUTABLE) return; alloc 91 third_party/libxml/src/include/libxml/tree.h xmlBufferAllocationScheme alloc; /* The realloc method */ alloc 3043 third_party/libxml/src/parser.c int *len, int *alloc, int normalize); alloc 8547 third_party/libxml/src/parser.c xmlParseAttValueInternal(xmlParserCtxtPtr ctxt, int *len, int *alloc, alloc 8667 third_party/libxml/src/parser.c if (alloc) *alloc = 1; alloc 8671 third_party/libxml/src/parser.c if (alloc) *alloc = 0; alloc 8674 third_party/libxml/src/parser.c if (alloc) *alloc = 1; alloc 8697 third_party/libxml/src/parser.c int *len, int *alloc) alloc 8731 third_party/libxml/src/parser.c val = xmlParseAttValueInternal(ctxt, len, alloc, normalize); alloc 8739 third_party/libxml/src/parser.c if (*alloc) { alloc 8887 third_party/libxml/src/parser.c int len = -1, alloc = 0; alloc 8890 third_party/libxml/src/parser.c &aprefix, &attvalue, &len, &alloc); alloc 8892 third_party/libxml/src/parser.c if ((attvalue != NULL) && (alloc != 0)) alloc 8945 third_party/libxml/src/parser.c if (alloc != 0) xmlFree(attvalue); alloc 9018 third_party/libxml/src/parser.c if (alloc != 0) xmlFree(attvalue); alloc 9036 third_party/libxml/src/parser.c ctxt->attallocs[nratts++] = alloc; alloc 9046 third_party/libxml/src/parser.c if (alloc != 0) attval = 1; alloc 6860 third_party/libxml/src/tree.c ret->alloc = xmlBufferAllocScheme; alloc 6889 third_party/libxml/src/tree.c ret->alloc = xmlBufferAllocScheme; alloc 6930 third_party/libxml/src/tree.c ret->alloc = XML_BUFFER_ALLOC_IMMUTABLE; alloc 6952 third_party/libxml/src/tree.c if ((buf->alloc == XML_BUFFER_ALLOC_IMMUTABLE) || alloc 6953 third_party/libxml/src/tree.c (buf->alloc == XML_BUFFER_ALLOC_IO)) return; alloc 6957 third_party/libxml/src/tree.c buf->alloc = scheme; alloc 6977 third_party/libxml/src/tree.c if ((buf->alloc == XML_BUFFER_ALLOC_IO) && alloc 6981 third_party/libxml/src/tree.c (buf->alloc != XML_BUFFER_ALLOC_IMMUTABLE)) { alloc 6998 third_party/libxml/src/tree.c if (buf->alloc == XML_BUFFER_ALLOC_IMMUTABLE) { alloc 7000 third_party/libxml/src/tree.c } else if ((buf->alloc == XML_BUFFER_ALLOC_IO) && alloc 7028 third_party/libxml/src/tree.c if ((buf->alloc == XML_BUFFER_ALLOC_IMMUTABLE) || alloc 7029 third_party/libxml/src/tree.c ((buf->alloc == XML_BUFFER_ALLOC_IO) && (buf->contentIO != NULL))) { alloc 7041 third_party/libxml/src/tree.c if ((buf->alloc == XML_BUFFER_ALLOC_IO) && (buf->contentIO != NULL)) { alloc 7073 third_party/libxml/src/tree.c if (buf->alloc == XML_BUFFER_ALLOC_IMMUTABLE) return(0); alloc 7091 third_party/libxml/src/tree.c if ((buf->alloc == XML_BUFFER_ALLOC_IO) && (buf->contentIO != NULL)) { alloc 7200 third_party/libxml/src/tree.c if (buf->alloc == XML_BUFFER_ALLOC_IMMUTABLE) return(0); alloc 7207 third_party/libxml/src/tree.c switch (buf->alloc){ alloc 7228 third_party/libxml/src/tree.c if ((buf->alloc == XML_BUFFER_ALLOC_IO) && (buf->contentIO != NULL)) { alloc 7294 third_party/libxml/src/tree.c if (buf->alloc == XML_BUFFER_ALLOC_IMMUTABLE) return -1; alloc 7342 third_party/libxml/src/tree.c if (buf->alloc == XML_BUFFER_ALLOC_IMMUTABLE) return -1; alloc 7364 third_party/libxml/src/tree.c if ((buf->alloc == XML_BUFFER_ALLOC_IO) && (buf->contentIO != NULL)) { alloc 7407 third_party/libxml/src/tree.c if (buf->alloc == XML_BUFFER_ALLOC_IMMUTABLE) return -1; alloc 7428 third_party/libxml/src/tree.c if (buf->alloc == XML_BUFFER_ALLOC_IMMUTABLE) return -1; alloc 7461 third_party/libxml/src/tree.c if (buf->alloc == XML_BUFFER_ALLOC_IMMUTABLE) return; alloc 7477 third_party/libxml/src/tree.c if (buf->alloc == XML_BUFFER_ALLOC_IMMUTABLE) return; alloc 7496 third_party/libxml/src/tree.c if (buf->alloc == XML_BUFFER_ALLOC_IMMUTABLE) return; alloc 2286 third_party/libxml/src/xmlIO.c ret->buffer->alloc = XML_BUFFER_ALLOC_DOUBLEIT; alloc 2327 third_party/libxml/src/xmlIO.c if (ret->buffer->alloc == XML_BUFFER_ALLOC_EXACT) alloc 2328 third_party/libxml/src/xmlIO.c ret->buffer->alloc = XML_BUFFER_ALLOC_DOUBLEIT; alloc 2382 third_party/libxml/src/xmlIO.c ret->buffer->alloc = XML_BUFFER_ALLOC_IO; alloc 3223 third_party/libxml/src/xmlIO.c (in->buffer->alloc == XML_BUFFER_ALLOC_IMMUTABLE)) alloc 3420 third_party/libxml/src/xmlIO.c (out->buffer->alloc == XML_BUFFER_ALLOC_IMMUTABLE)) return(-1); alloc 828 third_party/libxml/src/xmlreader.c (inbuf->alloc == XML_BUFFER_ALLOC_IMMUTABLE)) { alloc 875 third_party/libxml/src/xmlreader.c if (inbuf->alloc != XML_BUFFER_ALLOC_IMMUTABLE) { alloc 55 third_party/lzma_sdk/7z.h void SzCoderInfo_Free(CSzCoderInfo *p, ISzAlloc *alloc); alloc 123 third_party/lzma_sdk/7z.h void SzAr_Free(CSzAr *p, ISzAlloc *alloc); alloc 163 third_party/lzma_sdk/7z.h void SzArEx_Free(CSzArEx *p, ISzAlloc *alloc); alloc 14 third_party/lzma_sdk/7zBuf.c int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc) alloc 22 third_party/lzma_sdk/7zBuf.c p->data = (Byte *)alloc->Alloc(alloc, size); alloc 31 third_party/lzma_sdk/7zBuf.c void Buf_Free(CBuf *p, ISzAlloc *alloc) alloc 33 third_party/lzma_sdk/7zBuf.c alloc->Free(alloc, p->data); alloc 20 third_party/lzma_sdk/7zBuf.h int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc); alloc 21 third_party/lzma_sdk/7zBuf.h void Buf_Free(CBuf *p, ISzAlloc *alloc); alloc 32 third_party/lzma_sdk/7zBuf.h int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAlloc *alloc); alloc 33 third_party/lzma_sdk/7zBuf.h void DynBuf_Free(CDynBuf *p, ISzAlloc *alloc); alloc 22 third_party/lzma_sdk/7zIn.c void SzCoderInfo_Free(CSzCoderInfo *p, ISzAlloc *alloc) alloc 24 third_party/lzma_sdk/7zIn.c Buf_Free(&p->Props, alloc); alloc 42 third_party/lzma_sdk/7zIn.c void SzFolder_Free(CSzFolder *p, ISzAlloc *alloc) alloc 47 third_party/lzma_sdk/7zIn.c SzCoderInfo_Free(&p->Coders[i], alloc); alloc 48 third_party/lzma_sdk/7zIn.c IAlloc_Free(alloc, p->Coders); alloc 49 third_party/lzma_sdk/7zIn.c IAlloc_Free(alloc, p->BindPairs); alloc 50 third_party/lzma_sdk/7zIn.c IAlloc_Free(alloc, p->PackStreams); alloc 51 third_party/lzma_sdk/7zIn.c IAlloc_Free(alloc, p->UnpackSizes); alloc 116 third_party/lzma_sdk/7zIn.c void SzAr_Free(CSzAr *p, ISzAlloc *alloc) alloc 121 third_party/lzma_sdk/7zIn.c SzFolder_Free(&p->Folders[i], alloc); alloc 123 third_party/lzma_sdk/7zIn.c IAlloc_Free(alloc, p->PackSizes); alloc 124 third_party/lzma_sdk/7zIn.c IAlloc_Free(alloc, p->PackCRCsDefined); alloc 125 third_party/lzma_sdk/7zIn.c IAlloc_Free(alloc, p->PackCRCs); alloc 126 third_party/lzma_sdk/7zIn.c IAlloc_Free(alloc, p->Folders); alloc 127 third_party/lzma_sdk/7zIn.c IAlloc_Free(alloc, p->Files); alloc 143 third_party/lzma_sdk/7zIn.c void SzArEx_Free(CSzArEx *p, ISzAlloc *alloc) alloc 145 third_party/lzma_sdk/7zIn.c IAlloc_Free(alloc, p->FolderStartPackStreamIndex); alloc 146 third_party/lzma_sdk/7zIn.c IAlloc_Free(alloc, p->PackStreamStartPositions); alloc 147 third_party/lzma_sdk/7zIn.c IAlloc_Free(alloc, p->FolderStartFileIndex); alloc 148 third_party/lzma_sdk/7zIn.c IAlloc_Free(alloc, p->FileIndexToFolderIndexMap); alloc 150 third_party/lzma_sdk/7zIn.c IAlloc_Free(alloc, p->FileNameOffsets); alloc 151 third_party/lzma_sdk/7zIn.c Buf_Free(&p->FileNames, alloc); alloc 153 third_party/lzma_sdk/7zIn.c SzAr_Free(&p->db, alloc); alloc 176 third_party/lzma_sdk/7zIn.c #define MY_ALLOC(T, p, size, alloc) { if ((size) == 0) p = 0; else \ alloc 177 third_party/lzma_sdk/7zIn.c if ((p = (T *)IAlloc_Alloc(alloc, (size) * sizeof(T))) == 0) return SZ_ERROR_MEM; } alloc 179 third_party/lzma_sdk/7zIn.c static SRes SzArEx_Fill(CSzArEx *p, ISzAlloc *alloc) alloc 186 third_party/lzma_sdk/7zIn.c MY_ALLOC(UInt32, p->FolderStartPackStreamIndex, p->db.NumFolders, alloc); alloc 193 third_party/lzma_sdk/7zIn.c MY_ALLOC(UInt64, p->PackStreamStartPositions, p->db.NumPackStreams, alloc); alloc 201 third_party/lzma_sdk/7zIn.c MY_ALLOC(UInt32, p->FolderStartFileIndex, p->db.NumFolders, alloc); alloc 202 third_party/lzma_sdk/7zIn.c MY_ALLOC(UInt32, p->FileIndexToFolderIndexMap, p->db.NumFiles, alloc); alloc 431 third_party/lzma_sdk/7zIn.c static SRes SzReadBoolVector(CSzData *sd, size_t numItems, Byte **v, ISzAlloc *alloc) alloc 436 third_party/lzma_sdk/7zIn.c MY_ALLOC(Byte, *v, numItems, alloc); alloc 450 third_party/lzma_sdk/7zIn.c static SRes SzReadBoolVector2(CSzData *sd, size_t numItems, Byte **v, ISzAlloc *alloc) alloc 456 third_party/lzma_sdk/7zIn.c return SzReadBoolVector(sd, numItems, v, alloc); alloc 457 third_party/lzma_sdk/7zIn.c MY_ALLOC(Byte, *v, numItems, alloc); alloc 468 third_party/lzma_sdk/7zIn.c ISzAlloc *alloc) alloc 471 third_party/lzma_sdk/7zIn.c RINOK(SzReadBoolVector2(sd, numItems, digestsDefined, alloc)); alloc 472 third_party/lzma_sdk/7zIn.c MY_ALLOC(UInt32, *digests, numItems, alloc); alloc 488 third_party/lzma_sdk/7zIn.c ISzAlloc *alloc) alloc 496 third_party/lzma_sdk/7zIn.c MY_ALLOC(UInt64, *packSizes, (size_t)*numPackStreams, alloc); alloc 511 third_party/lzma_sdk/7zIn.c RINOK(SzReadHashDigests(sd, (size_t)*numPackStreams, packCRCsDefined, packCRCs, alloc)); alloc 518 third_party/lzma_sdk/7zIn.c MY_ALLOC(Byte, *packCRCsDefined, (size_t)*numPackStreams, alloc); alloc 519 third_party/lzma_sdk/7zIn.c MY_ALLOC(UInt32, *packCRCs, (size_t)*numPackStreams, alloc); alloc 536 third_party/lzma_sdk/7zIn.c static SRes SzGetNextFolderItem(CSzData *sd, CSzFolder *folder, ISzAlloc *alloc) alloc 546 third_party/lzma_sdk/7zIn.c MY_ALLOC(CSzCoderInfo, folder->Coders, (size_t)numCoders, alloc); alloc 584 third_party/lzma_sdk/7zIn.c if (!Buf_Create(&coder->Props, (size_t)propertiesSize, alloc)) alloc 614 third_party/lzma_sdk/7zIn.c MY_ALLOC(CSzBindPair, folder->BindPairs, (size_t)numBindPairs, alloc); alloc 627 third_party/lzma_sdk/7zIn.c MY_ALLOC(UInt32, folder->PackStreams, (size_t)numPackStreams, alloc); alloc 650 third_party/lzma_sdk/7zIn.c ISzAlloc *alloc, alloc 659 third_party/lzma_sdk/7zIn.c MY_ALLOC(CSzFolder, *folders, (size_t)*numFolders, alloc); alloc 666 third_party/lzma_sdk/7zIn.c RINOK(SzGetNextFolderItem(sd, (*folders) + i, alloc)); alloc 678 third_party/lzma_sdk/7zIn.c MY_ALLOC(UInt64, folder->UnpackSizes, (size_t)numOutStreams, alloc); alloc 870 third_party/lzma_sdk/7zIn.c ISzAlloc *alloc, alloc 886 third_party/lzma_sdk/7zIn.c &p->PackSizes, &p->PackCRCsDefined, &p->PackCRCs, alloc)); alloc 891 third_party/lzma_sdk/7zIn.c RINOK(SzReadUnpackInfo(sd, &p->NumFolders, &p->Folders, alloc, allocTemp)); alloc 17 third_party/lzma_sdk/LzFind.c static void LzInWindow_Free(CMatchFinder *p, ISzAlloc *alloc) alloc 21 third_party/lzma_sdk/LzFind.c alloc->Free(alloc, p->bufferBase); alloc 28 third_party/lzma_sdk/LzFind.c static int LzInWindow_Create(CMatchFinder *p, UInt32 keepSizeReserv, ISzAlloc *alloc) alloc 38 third_party/lzma_sdk/LzFind.c LzInWindow_Free(p, alloc); alloc 40 third_party/lzma_sdk/LzFind.c p->bufferBase = (Byte *)alloc->Alloc(alloc, (size_t)blockSize); alloc 151 third_party/lzma_sdk/LzFind.c static void MatchFinder_FreeThisClassMemory(CMatchFinder *p, ISzAlloc *alloc) alloc 153 third_party/lzma_sdk/LzFind.c alloc->Free(alloc, p->hash); alloc 157 third_party/lzma_sdk/LzFind.c void MatchFinder_Free(CMatchFinder *p, ISzAlloc *alloc) alloc 159 third_party/lzma_sdk/LzFind.c MatchFinder_FreeThisClassMemory(p, alloc); alloc 160 third_party/lzma_sdk/LzFind.c LzInWindow_Free(p, alloc); alloc 163 third_party/lzma_sdk/LzFind.c static CLzRef* AllocRefs(UInt32 num, ISzAlloc *alloc) alloc 168 third_party/lzma_sdk/LzFind.c return (CLzRef *)alloc->Alloc(alloc, sizeInBytes); alloc 173 third_party/lzma_sdk/LzFind.c ISzAlloc *alloc) alloc 178 third_party/lzma_sdk/LzFind.c MatchFinder_Free(p, alloc); alloc 189 third_party/lzma_sdk/LzFind.c if (LzInWindow_Create(p, sizeReserv, alloc)) alloc 233 third_party/lzma_sdk/LzFind.c MatchFinder_FreeThisClassMemory(p, alloc); alloc 234 third_party/lzma_sdk/LzFind.c p->hash = AllocRefs(newSize, alloc); alloc 242 third_party/lzma_sdk/LzFind.c MatchFinder_Free(p, alloc); alloc 71 third_party/lzma_sdk/LzFind.h ISzAlloc *alloc); alloc 72 third_party/lzma_sdk/LzFind.h void MatchFinder_Free(CMatchFinder *p, ISzAlloc *alloc); alloc 75 third_party/lzma_sdk/Lzma2Dec.c SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAlloc *alloc) alloc 79 third_party/lzma_sdk/Lzma2Dec.c return LzmaDec_AllocateProbs(&p->decoder, props, LZMA_PROPS_SIZE, alloc); alloc 82 third_party/lzma_sdk/Lzma2Dec.c SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAlloc *alloc) alloc 86 third_party/lzma_sdk/Lzma2Dec.c return LzmaDec_Allocate(&p->decoder, props, LZMA_PROPS_SIZE, alloc); alloc 331 third_party/lzma_sdk/Lzma2Dec.c Byte prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAlloc *alloc) alloc 346 third_party/lzma_sdk/Lzma2Dec.c RINOK(LzmaDec_AllocateProbs(&decoder.decoder, props, LZMA_PROPS_SIZE, alloc)); alloc 354 third_party/lzma_sdk/Lzma2Dec.c LzmaDec_FreeProbs(&decoder.decoder, alloc); alloc 28 third_party/lzma_sdk/Lzma2Dec.h #define Lzma2Dec_FreeProbs(p, alloc) LzmaDec_FreeProbs(&(p)->decoder, alloc); alloc 29 third_party/lzma_sdk/Lzma2Dec.h #define Lzma2Dec_Free(p, alloc) LzmaDec_Free(&(p)->decoder, alloc); alloc 31 third_party/lzma_sdk/Lzma2Dec.h SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAlloc *alloc); alloc 32 third_party/lzma_sdk/Lzma2Dec.h SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAlloc *alloc); alloc 78 third_party/lzma_sdk/Lzma2Dec.h Byte prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAlloc *alloc); alloc 880 third_party/lzma_sdk/LzmaDec.c void LzmaDec_FreeProbs(CLzmaDec *p, ISzAlloc *alloc) alloc 882 third_party/lzma_sdk/LzmaDec.c alloc->Free(alloc, p->probs); alloc 886 third_party/lzma_sdk/LzmaDec.c static void LzmaDec_FreeDict(CLzmaDec *p, ISzAlloc *alloc) alloc 888 third_party/lzma_sdk/LzmaDec.c alloc->Free(alloc, p->dic); alloc 892 third_party/lzma_sdk/LzmaDec.c void LzmaDec_Free(CLzmaDec *p, ISzAlloc *alloc) alloc 894 third_party/lzma_sdk/LzmaDec.c LzmaDec_FreeProbs(p, alloc); alloc 895 third_party/lzma_sdk/LzmaDec.c LzmaDec_FreeDict(p, alloc); alloc 924 third_party/lzma_sdk/LzmaDec.c static SRes LzmaDec_AllocateProbs2(CLzmaDec *p, const CLzmaProps *propNew, ISzAlloc *alloc) alloc 929 third_party/lzma_sdk/LzmaDec.c LzmaDec_FreeProbs(p, alloc); alloc 930 third_party/lzma_sdk/LzmaDec.c p->probs = (CLzmaProb *)alloc->Alloc(alloc, numProbs * sizeof(CLzmaProb)); alloc 938 third_party/lzma_sdk/LzmaDec.c SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc) alloc 942 third_party/lzma_sdk/LzmaDec.c RINOK(LzmaDec_AllocateProbs2(p, &propNew, alloc)); alloc 947 third_party/lzma_sdk/LzmaDec.c SRes LzmaDec_Allocate(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc) alloc 952 third_party/lzma_sdk/LzmaDec.c RINOK(LzmaDec_AllocateProbs2(p, &propNew, alloc)); alloc 956 third_party/lzma_sdk/LzmaDec.c LzmaDec_FreeDict(p, alloc); alloc 957 third_party/lzma_sdk/LzmaDec.c p->dic = (Byte *)alloc->Alloc(alloc, dicBufSize); alloc 960 third_party/lzma_sdk/LzmaDec.c LzmaDec_FreeProbs(p, alloc); alloc 971 third_party/lzma_sdk/LzmaDec.c ELzmaStatus *status, ISzAlloc *alloc) alloc 982 third_party/lzma_sdk/LzmaDec.c res = LzmaDec_AllocateProbs(&p, propData, propSize, alloc); alloc 997 third_party/lzma_sdk/LzmaDec.c LzmaDec_FreeProbs(&p, alloc); alloc 134 third_party/lzma_sdk/LzmaDec.h SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc); alloc 135 third_party/lzma_sdk/LzmaDec.h void LzmaDec_FreeProbs(CLzmaDec *p, ISzAlloc *alloc); alloc 137 third_party/lzma_sdk/LzmaDec.h SRes LzmaDec_Allocate(CLzmaDec *state, const Byte *prop, unsigned propsSize, ISzAlloc *alloc); alloc 138 third_party/lzma_sdk/LzmaDec.h void LzmaDec_Free(CLzmaDec *state, ISzAlloc *alloc); alloc 225 third_party/lzma_sdk/LzmaDec.h ELzmaStatus *status, ISzAlloc *alloc); alloc 465 third_party/lzma_sdk/LzmaEnc.c static int RangeEnc_Alloc(CRangeEnc *p, ISzAlloc *alloc) alloc 469 third_party/lzma_sdk/LzmaEnc.c p->bufBase = (Byte *)alloc->Alloc(alloc, RC_BUF_SIZE); alloc 477 third_party/lzma_sdk/LzmaEnc.c static void RangeEnc_Free(CRangeEnc *p, ISzAlloc *alloc) alloc 479 third_party/lzma_sdk/LzmaEnc.c alloc->Free(alloc, p->bufBase); alloc 1700 third_party/lzma_sdk/LzmaEnc.c CLzmaEncHandle LzmaEnc_Create(ISzAlloc *alloc) alloc 1703 third_party/lzma_sdk/LzmaEnc.c p = alloc->Alloc(alloc, sizeof(CLzmaEnc)); alloc 1709 third_party/lzma_sdk/LzmaEnc.c void LzmaEnc_FreeLits(CLzmaEnc *p, ISzAlloc *alloc) alloc 1711 third_party/lzma_sdk/LzmaEnc.c alloc->Free(alloc, p->litProbs); alloc 1712 third_party/lzma_sdk/LzmaEnc.c alloc->Free(alloc, p->saveState.litProbs); alloc 1717 third_party/lzma_sdk/LzmaEnc.c void LzmaEnc_Destruct(CLzmaEnc *p, ISzAlloc *alloc, ISzAlloc *allocBig) alloc 1723 third_party/lzma_sdk/LzmaEnc.c LzmaEnc_FreeLits(p, alloc); alloc 1724 third_party/lzma_sdk/LzmaEnc.c RangeEnc_Free(&p->rc, alloc); alloc 1727 third_party/lzma_sdk/LzmaEnc.c void LzmaEnc_Destroy(CLzmaEncHandle p, ISzAlloc *alloc, ISzAlloc *allocBig) alloc 1729 third_party/lzma_sdk/LzmaEnc.c LzmaEnc_Destruct((CLzmaEnc *)p, alloc, allocBig); alloc 1730 third_party/lzma_sdk/LzmaEnc.c alloc->Free(alloc, p); alloc 1897 third_party/lzma_sdk/LzmaEnc.c static SRes LzmaEnc_Alloc(CLzmaEnc *p, UInt32 keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig) alloc 1901 third_party/lzma_sdk/LzmaEnc.c if (!RangeEnc_Alloc(&p->rc, alloc)) alloc 1912 third_party/lzma_sdk/LzmaEnc.c LzmaEnc_FreeLits(p, alloc); alloc 1913 third_party/lzma_sdk/LzmaEnc.c p->litProbs = (CLzmaProb *)alloc->Alloc(alloc, (0x300 << lclp) * sizeof(CLzmaProb)); alloc 1914 third_party/lzma_sdk/LzmaEnc.c p->saveState.litProbs = (CLzmaProb *)alloc->Alloc(alloc, (0x300 << lclp) * sizeof(CLzmaProb)); alloc 1917 third_party/lzma_sdk/LzmaEnc.c LzmaEnc_FreeLits(p, alloc); alloc 2020 third_party/lzma_sdk/LzmaEnc.c static SRes LzmaEnc_AllocAndInit(CLzmaEnc *p, UInt32 keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig) alloc 2030 third_party/lzma_sdk/LzmaEnc.c RINOK(LzmaEnc_Alloc(p, keepWindowSize, alloc, allocBig)); alloc 2038 third_party/lzma_sdk/LzmaEnc.c ISzAlloc *alloc, ISzAlloc *allocBig) alloc 2044 third_party/lzma_sdk/LzmaEnc.c return LzmaEnc_AllocAndInit(p, 0, alloc, allocBig); alloc 2049 third_party/lzma_sdk/LzmaEnc.c ISzAlloc *alloc, ISzAlloc *allocBig) alloc 2054 third_party/lzma_sdk/LzmaEnc.c return LzmaEnc_AllocAndInit(p, keepWindowSize, alloc, allocBig); alloc 2065 third_party/lzma_sdk/LzmaEnc.c UInt32 keepWindowSize, ISzAlloc *alloc, ISzAlloc *allocBig) alloc 2071 third_party/lzma_sdk/LzmaEnc.c return LzmaEnc_AllocAndInit(p, keepWindowSize, alloc, allocBig); alloc 2185 third_party/lzma_sdk/LzmaEnc.c ISzAlloc *alloc, ISzAlloc *allocBig) alloc 2187 third_party/lzma_sdk/LzmaEnc.c RINOK(LzmaEnc_Prepare(pp, outStream, inStream, alloc, allocBig)); alloc 2221 third_party/lzma_sdk/LzmaEnc.c int writeEndMark, ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig) alloc 2238 third_party/lzma_sdk/LzmaEnc.c res = LzmaEnc_MemPrepare(pp, src, srcLen, 0, alloc, allocBig); alloc 2250 third_party/lzma_sdk/LzmaEnc.c ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig) alloc 2252 third_party/lzma_sdk/LzmaEnc.c CLzmaEnc *p = (CLzmaEnc *)LzmaEnc_Create(alloc); alloc 2263 third_party/lzma_sdk/LzmaEnc.c writeEndMark, progress, alloc, allocBig); alloc 2266 third_party/lzma_sdk/LzmaEnc.c LzmaEnc_Destroy(p, alloc, allocBig); alloc 52 third_party/lzma_sdk/LzmaEnc.h CLzmaEncHandle LzmaEnc_Create(ISzAlloc *alloc); alloc 53 third_party/lzma_sdk/LzmaEnc.h void LzmaEnc_Destroy(CLzmaEncHandle p, ISzAlloc *alloc, ISzAlloc *allocBig); alloc 57 third_party/lzma_sdk/LzmaEnc.h ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig); alloc 59 third_party/lzma_sdk/LzmaEnc.h int writeEndMark, ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig); alloc 74 third_party/lzma_sdk/LzmaEnc.h ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig); alloc 112 third_party/tcmalloc/chromium/src/addressmap-inl.h AddressMap(Allocator alloc, DeAllocator dealloc); alloc 270 third_party/tcmalloc/chromium/src/addressmap-inl.h AddressMap<Value>::AddressMap(Allocator alloc, DeAllocator dealloc) alloc 272 third_party/tcmalloc/chromium/src/addressmap-inl.h alloc_(alloc), alloc 603 third_party/tcmalloc/chromium/src/deep-heap-profile.cc HeapProfileTable::Allocator alloc, alloc 607 third_party/tcmalloc/chromium/src/deep-heap-profile.cc alloc_(alloc), alloc 611 third_party/tcmalloc/chromium/src/deep-heap-profile.cc table_ = reinterpret_cast<DeepBucket**>(alloc(bytes)); alloc 259 third_party/tcmalloc/chromium/src/deep-heap-profile.h HeapProfileTable::Allocator alloc, alloc 1477 third_party/tcmalloc/chromium/src/heap-checker.cc HeapProfileTable::AllocInfo alloc; alloc 1478 third_party/tcmalloc/chromium/src/heap-checker.cc bool r = heap_profile->FindAllocDetails(ptr, &alloc); alloc 1482 third_party/tcmalloc/chromium/src/heap-checker.cc for (int i = 0; i < alloc.stack_depth; ++i) { alloc 1483 third_party/tcmalloc/chromium/src/heap-checker.cc RAW_LOG(INFO, " @ %p", alloc.call_stack[i]); alloc 130 third_party/tcmalloc/chromium/src/heap-profile-table.cc HeapProfileTable::HeapProfileTable(Allocator alloc, alloc 133 third_party/tcmalloc/chromium/src/heap-profile-table.cc : alloc_(alloc), alloc 269 third_party/tcmalloc/chromium/src/heap-profile-table.cc AllocValue* alloc = address_map_->FindMutable(ptr); alloc 270 third_party/tcmalloc/chromium/src/heap-profile-table.cc if (alloc && !alloc->live()) { alloc 271 third_party/tcmalloc/chromium/src/heap-profile-table.cc alloc->set_live(true); alloc 278 third_party/tcmalloc/chromium/src/heap-profile-table.cc AllocValue* alloc = address_map_->FindMutable(ptr); alloc 279 third_party/tcmalloc/chromium/src/heap-profile-table.cc if (alloc) { alloc 280 third_party/tcmalloc/chromium/src/heap-profile-table.cc alloc->set_ignore(true); alloc 100 third_party/tcmalloc/chromium/src/heap-profile-table.h HeapProfileTable(Allocator alloc, DeAllocator dealloc, bool profile_mmap); alloc 504 third_party/tcmalloc/chromium/src/heap-profile-table.h Snapshot(Allocator alloc, DeAllocator dealloc) : map_(alloc, dealloc) { alloc 259 third_party/tcmalloc/chromium/src/memfs_malloc.cc SysAllocator* alloc = MallocExtension::instance()->GetSystemAllocator(); alloc 260 third_party/tcmalloc/chromium/src/memfs_malloc.cc HugetlbSysAllocator* hp = new (hugetlb_space) HugetlbSysAllocator(alloc); alloc 317 third_party/tcmalloc/chromium/src/system-alloc.cc void SetChildAllocator(SysAllocator* alloc, unsigned int index, alloc 319 third_party/tcmalloc/chromium/src/system-alloc.cc if (index < kMaxAllocators && alloc != NULL) { alloc 320 third_party/tcmalloc/chromium/src/system-alloc.cc allocs_[index] = alloc; alloc 738 third_party/tcmalloc/chromium/src/tcmalloc.cc virtual void SetSystemAllocator(SysAllocator* alloc) { alloc 740 third_party/tcmalloc/chromium/src/tcmalloc.cc sys_alloc = alloc; alloc 1349 third_party/tcmalloc/chromium/src/tcmalloc.cc const Length alloc = tcmalloc::pages(size + align); alloc 1350 third_party/tcmalloc/chromium/src/tcmalloc.cc Span* span = Static::pageheap()->New(alloc); alloc 1358 third_party/tcmalloc/chromium/src/tcmalloc.cc ASSERT(skip < alloc); alloc 422 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc object.ptr = static_cast<char*>(rnd_.alloc(object.size)); alloc 550 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc void* p = rnd->alloc(s); alloc 565 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc p = rnd->alloc(kMaxSignedSize + i); alloc 567 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc p = rnd->alloc(kMaxSignedSize - i); alloc 1003 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc void *test1 = rnd.alloc(size); alloc 1020 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc void* p1 = rnd.alloc(0); alloc 1022 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc void* p2 = rnd.alloc(0); alloc 1225 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc void* p = rnd.alloc(mb_to_allocate << 20); alloc 1290 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc void* large_object = rnd.alloc(s); alloc 112 third_party/tcmalloc/vendor/src/addressmap-inl.h AddressMap(Allocator alloc, DeAllocator dealloc); alloc 270 third_party/tcmalloc/vendor/src/addressmap-inl.h AddressMap<Value>::AddressMap(Allocator alloc, DeAllocator dealloc) alloc 272 third_party/tcmalloc/vendor/src/addressmap-inl.h alloc_(alloc), alloc 1477 third_party/tcmalloc/vendor/src/heap-checker.cc HeapProfileTable::AllocInfo alloc; alloc 1478 third_party/tcmalloc/vendor/src/heap-checker.cc if (!heap_profile->FindAllocDetails(ptr, &alloc)) { alloc 1482 third_party/tcmalloc/vendor/src/heap-checker.cc for (int i = 0; i < alloc.stack_depth; ++i) { alloc 1483 third_party/tcmalloc/vendor/src/heap-checker.cc RAW_LOG(INFO, " @ %p", alloc.call_stack[i]); alloc 125 third_party/tcmalloc/vendor/src/heap-profile-table.cc HeapProfileTable::HeapProfileTable(Allocator alloc, DeAllocator dealloc) alloc 126 third_party/tcmalloc/vendor/src/heap-profile-table.cc : alloc_(alloc), dealloc_(dealloc) { alloc 279 third_party/tcmalloc/vendor/src/heap-profile-table.cc AllocValue* alloc = alloc_address_map_->FindMutable(ptr); alloc 280 third_party/tcmalloc/vendor/src/heap-profile-table.cc if (alloc && !alloc->live()) { alloc 281 third_party/tcmalloc/vendor/src/heap-profile-table.cc alloc->set_live(true); alloc 288 third_party/tcmalloc/vendor/src/heap-profile-table.cc AllocValue* alloc = alloc_address_map_->FindMutable(ptr); alloc 289 third_party/tcmalloc/vendor/src/heap-profile-table.cc if (alloc) { alloc 290 third_party/tcmalloc/vendor/src/heap-profile-table.cc alloc->set_ignore(true); alloc 97 third_party/tcmalloc/vendor/src/heap-profile-table.h HeapProfileTable(Allocator alloc, DeAllocator dealloc); alloc 401 third_party/tcmalloc/vendor/src/heap-profile-table.h Snapshot(Allocator alloc, DeAllocator dealloc) : map_(alloc, dealloc) { alloc 259 third_party/tcmalloc/vendor/src/memfs_malloc.cc SysAllocator* alloc = MallocExtension::instance()->GetSystemAllocator(); alloc 260 third_party/tcmalloc/vendor/src/memfs_malloc.cc HugetlbSysAllocator* hp = new (hugetlb_space) HugetlbSysAllocator(alloc); alloc 174 third_party/tcmalloc/vendor/src/system-alloc.cc void SetChildAllocator(SysAllocator* alloc, unsigned int index, alloc 176 third_party/tcmalloc/vendor/src/system-alloc.cc if (index < kMaxAllocators && alloc != NULL) { alloc 177 third_party/tcmalloc/vendor/src/system-alloc.cc allocs_[index] = alloc; alloc 731 third_party/tcmalloc/vendor/src/tcmalloc.cc virtual void SetSystemAllocator(SysAllocator* alloc) { alloc 733 third_party/tcmalloc/vendor/src/tcmalloc.cc sys_alloc = alloc; alloc 1307 third_party/tcmalloc/vendor/src/tcmalloc.cc const Length alloc = tcmalloc::pages(size + align); alloc 1308 third_party/tcmalloc/vendor/src/tcmalloc.cc Span* span = Static::pageheap()->New(alloc); alloc 1316 third_party/tcmalloc/vendor/src/tcmalloc.cc ASSERT(skip < alloc); alloc 422 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc object.ptr = static_cast<char*>(rnd_.alloc(object.size)); alloc 550 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc void* p = rnd->alloc(s); alloc 565 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc p = rnd->alloc(kMaxSignedSize + i); alloc 567 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc p = rnd->alloc(kMaxSignedSize - i); alloc 1003 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc void *test1 = rnd.alloc(size); alloc 1020 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc void* p1 = rnd.alloc(0); alloc 1022 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc void* p2 = rnd.alloc(0); alloc 1225 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc void* p = rnd.alloc(mb_to_allocate << 20); alloc 1290 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc void* large_object = rnd.alloc(s);