Searched defs:alloc (Results 76 - 100 of 188) sorted by relevance

12345678

/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/core/
H A Dcompat.hpp44 alloc(int n, const T *q, int m) { function in class:clover::compat::vector
65 vector(const vector &v) : p(alloc(v.n, v.p, v.n)), n(v.n) {
68 vector(T *p, size_t n) : p(alloc(n, p, n)), n(n) {
73 p(alloc(v.size(), &*v.begin(), v.size())), n(v.size()) {
84 p = alloc(v.n, v.p, v.n);
93 T *q = alloc(m, p, n);
/external/chromium_org/third_party/skia/experimental/PdfViewer/pdfparser/native/
H A DSkPdfNativeTokenizer.h109 void* alloc(size_t bytes) { function in class:SkPdfAllocator
/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder.cpp107 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator* alloc) { argument
108 SkRefCnt_SafeAssign(fAllocator, alloc);
109 return alloc;
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dsystem-alloc.cc174 void SetChildAllocator(SysAllocator* alloc, unsigned int index, argument
176 if (index < kMaxAllocators && alloc != NULL) {
177 allocs_[index] = alloc;
/external/chromium_org/tools/android/heap_profiler/
H A Dheap_dump.c17 // | | | to the call site that created the alloc.
130 Alloc alloc; local
131 if (read_safe(mem_fd, &alloc, sizeof(alloc)) != sizeof(alloc)) {
138 if (alloc.start == 0 && alloc.end == 0)
141 if (alloc.end < alloc.start) {
142 fprintf(stderr, "ERROR: found inconsistent alloc
[all...]
H A Dheap_profiler.c173 Alloc* alloc = NULL; local
177 alloc = allocs_freelist;
178 allocs_freelist = alloc->next_free;
180 alloc = &allocs[stats->max_allocs];
186 alloc->start = start;
187 alloc->end = end;
188 alloc->st = st;
189 alloc->flags = flags;
190 alloc->next_free = NULL;
191 RB_INSERT(HeapEntriesTree, &allocs_tree, alloc);
209 Alloc* alloc = NULL; local
359 Alloc* alloc = insert_alloc(start, end, st, flags); local
[all...]
/external/chromium_org/v8/src/
H A Dlist-inl.h17 void List<T, P>::Add(const T& element, P alloc) { argument
21 List<T, P>::ResizeAdd(element, alloc);
27 void List<T, P>::AddAll(const List<T, P>& other, P alloc) { argument
28 AddAll(other.ToVector(), alloc);
33 void List<T, P>::AddAll(const Vector<T>& other, P alloc) { argument
35 if (capacity_ < result_length) Resize(result_length, alloc);
46 void List<T, P>::ResizeAdd(const T& element, P alloc) { argument
47 ResizeAddInternal(element, alloc);
52 void List<T, P>::ResizeAddInternal(const T& element, P alloc) { argument
60 Resize(new_capacity, alloc);
66 Resize(int new_capacity, P alloc) argument
77 AddBlock(T value, int count, P alloc) argument
92 InsertAt(int index, const T& elm, P alloc) argument
153 Trim(P alloc) argument
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSValBuilder.h62 SValBuilder(llvm::BumpPtrAllocator &alloc, ASTContext &context, argument
64 : Context(context), BasicVals(context, alloc),
65 SymMgr(context, BasicVals, alloc),
66 MemMgr(context, alloc),
325 SValBuilder* createSimpleSValBuilder(llvm::BumpPtrAllocator &alloc,
/external/clang/test/SemaTemplate/
H A Dalias-templates.cpp32 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/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_libbacktrace.cc142 LibbacktraceSymbolizer *LibbacktraceSymbolizer::get(LowLevelAllocator *alloc) { argument
148 return new(*alloc) LibbacktraceSymbolizer(state);
178 LibbacktraceSymbolizer *LibbacktraceSymbolizer::get(LowLevelAllocator *alloc) {
/external/e2fsprogs/lib/ext2fs/
H A Dbmap.c215 int alloc = 0; local
253 alloc++;
263 *blocks_alloc += alloc;
/external/libcxxabi/src/
H A Dcxa_vector.cpp124 // size of prefix padding for a cookie, allocate space (using alloc) for
129 // If alloc throws an exception, rethrow the exception. If alloc returns
138 // Neither alloc nor dealloc may be NULL.
142 void* (*alloc)(size_t), void (*dealloc)(void*) ) {
145 char * const heap_block = static_cast<char *> ( alloc ( heap_size ));
171 void* (*alloc)(size_t), void (*dealloc)(void*, size_t) ) {
174 char * const heap_block = static_cast<char *> ( alloc ( heap_size ));
139 __cxa_vec_new2( size_t element_count, size_t element_size, size_t padding_size, void (*constructor)(void*), void (*destructor)(void*), void* (*alloc)(size_t), void (*dealloc)(void*) ) argument
168 __cxa_vec_new3( size_t element_count, size_t element_size, size_t padding_size, void (*constructor)(void*), void (*destructor)(void*), void* (*alloc)(size_t), void (*dealloc)(void*, size_t) ) argument
/external/ltrace/sysdeps/linux-gnu/arm/
H A Dfetch.c65 } alloc; member in struct:fetch_context
89 memset(&context->alloc, 0, sizeof(context->alloc));
153 if ((type == ARGTYPE_DOUBLE && ctx->alloc.d[j] != 0)
154 || (type == ARGTYPE_FLOAT && ctx->alloc.s[j] != 0))
165 ctx->alloc.d[j] = -1;
167 ctx->alloc.s[j] = -1;
/external/lzma/C/
H A DLzma2Dec.c75 SRes Lzma2Dec_AllocateProbs(CLzma2Dec *p, Byte prop, ISzAlloc *alloc) argument
79 return LzmaDec_AllocateProbs(&p->decoder, props, LZMA_PROPS_SIZE, alloc);
82 SRes Lzma2Dec_Allocate(CLzma2Dec *p, Byte prop, ISzAlloc *alloc) argument
86 return LzmaDec_Allocate(&p->decoder, props, LZMA_PROPS_SIZE, alloc);
331 Byte prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAlloc *alloc)
346 RINOK(LzmaDec_AllocateProbs(&decoder.decoder, props, LZMA_PROPS_SIZE, alloc));
354 LzmaDec_FreeProbs(&decoder.decoder, alloc);
330 Lzma2Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, Byte prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAlloc *alloc) argument
H A DMtCoder.h82 ISzAlloc *alloc; member in struct:_CMtCoder
H A DXzIn.c71 static SRes Xz_ReadIndex2(CXzStream *p, const Byte *buf, size_t size, ISzAlloc *alloc) argument
93 Xz_Free(p, alloc);
98 p->blocks = alloc->Alloc(alloc, sizeof(CXzBlockSizes) * numBlocks);
116 static SRes Xz_ReadIndex(CXzStream *p, ILookInStream *stream, UInt64 indexSize, ISzAlloc *alloc) argument
126 buf = alloc->Alloc(alloc, size);
131 res = Xz_ReadIndex2(p, buf, size, alloc);
132 alloc->Free(alloc, bu
141 Xz_ReadBackward(CXzStream *p, ILookInStream *stream, Int64 *startOffset, ISzAlloc *alloc) argument
235 Xzs_Free(CXzs *p, ISzAlloc *alloc) argument
274 Xzs_ReadBackward(CXzs *p, ILookInStream *stream, Int64 *startOffset, ICompressProgress *progress, ISzAlloc *alloc) argument
[all...]
/external/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_mm.c162 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) argument
212 struct mm_slab *slab = (struct mm_slab *)alloc->priv;
215 mm_slab_free(slab, alloc
[all...]
/external/mesa3d/src/gallium/state_trackers/clover/core/
H A Dcompat.hpp44 alloc(int n, const T *q, int m) { function in class:clover::compat::vector
65 vector(const vector &v) : p(alloc(v.n, v.p, v.n)), n(v.n) {
68 vector(T *p, size_t n) : p(alloc(n, p, n)), n(n) {
73 p(alloc(v.size(), &*v.begin(), v.size())), n(v.size()) {
84 p = alloc(v.n, v.p, v.n);
93 T *q = alloc(m, p, n);
/external/qemu/distrib/ext4_utils/src/
H A Dindirect.c28 static u8 *create_backing(struct block_allocation *alloc, argument
39 for (; alloc != NULL && backing_len > 0; get_next_region(alloc)) {
43 get_region(alloc, &region_block, &region_len);
55 static void reserve_indirect_block(struct block_allocation *alloc, int len) argument
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) argument
70 if (reserve_oob_blocks(alloc, 1)) {
78 reserve_indirect_block(alloc, ind_block_le
85 reserve_tindirect_block(struct block_allocation *alloc, int len) argument
101 fill_indirect_block(u32 *ind_block, int len, struct block_allocation *alloc) argument
109 fill_dindirect_block(u32 *dind_block, int len, struct block_allocation *alloc) argument
139 fill_tindirect_block(u32 *tind_block, int len, struct block_allocation *alloc) argument
166 inode_attach_direct_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument
189 inode_attach_indirect_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument
221 inode_attach_dindirect_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument
253 inode_attach_tindirect_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument
281 reserve_all_indirect_blocks(struct block_allocation *alloc, u32 len) argument
346 do_inode_attach_indirect(struct ext4_inode *inode, struct block_allocation *alloc, u32 block_len) argument
392 struct block_allocation *alloc = allocate_blocks(block_len + indirect_len); local
405 struct block_allocation *alloc; local
428 inode_attach_resize(struct ext4_inode *inode, struct block_allocation *alloc) argument
491 struct block_allocation *alloc; local
[all...]
/external/skia/experimental/PdfViewer/pdfparser/native/
H A DSkPdfNativeTokenizer.h109 void* alloc(size_t bytes) { function in class:SkPdfAllocator
/external/skia/src/images/
H A DSkImageDecoder.cpp113 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator* alloc) { argument
114 SkRefCnt_SafeAssign(fAllocator, alloc);
115 return alloc;
/external/srtp/crypto/include/
H A Dcipher.h140 cipher_alloc_func_t alloc; member in struct:cipher_type_t
168 #define cipher_type_alloc(ct, c, klen) ((ct)->alloc((c), (klen)))
/external/valgrind/main/coregrind/
H A Dm_xarray.c41 void* (*alloc) ( const HChar*, SizeT ); /* alloc fn (nofail) */ member in struct:_XArray
42 const HChar* cc; /* cost centre for alloc */
70 xa->alloc = alloc_fn;
88 vg_assert(xa->alloc);
92 nyu = xa->alloc( nyu_cc, sizeof(struct _XArray) );
107 nyu->arr = nyu->alloc( nyu->cc, nyu->totsizeE * nyu->elemSzB );
170 tmp = xa->alloc(xa->cc, newsz * xa->elemSzB);
/external/bluetooth/bluedroid/embdrv/sbc/decoder/include/
H A Doi_codec_sbc.h141 OI_UINT8 alloc; /**< The bit allocation method. Input parameter. */ member in struct:__anon1107
285 * @param alloc One of SBC_LOUDNESS, SBC_SNR
295 OI_UINT8 alloc,
/external/bluetooth/bluedroid/hci/include/
H A Dbt_hci_lib.h150 alloc_mem_cb alloc; member in struct:__anon1146

Completed in 824 milliseconds

12345678