/ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.multimap/unord.multimap.swap/ |
swap_non_member.pass.cpp | 13 // class Alloc = allocator<pair<const Key, T>>> 31 typedef test_allocator<std::pair<const int, std::string> > Alloc; 32 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; 34 C c1(0, Hash(1), Compare(1), Alloc(1)); 35 C c2(0, Hash(2), Compare(2), Alloc(2)); 43 assert(c1.get_allocator() == Alloc(1)); 52 assert(c2.get_allocator() == Alloc(2)); 60 typedef test_allocator<std::pair<const int, std::string> > Alloc; 61 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C; 74 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/external/speex/libspeex/ |
cb_search.c | 57 ALLOC(shape, subvect_size, spx_word16_t); 139 ALLOC(resp, shape_cb_size*subvect_size, spx_word16_t); 141 ALLOC(resp2, (shape_cb_size*subvect_size)>>2, __m128); 142 ALLOC(E, shape_cb_size>>2, __m128); 145 ALLOC(E, shape_cb_size, spx_word32_t); 147 ALLOC(t, nsf, spx_word16_t); 148 ALLOC(e, nsf, spx_sig_t); 231 ALLOC(r2, nsf, spx_word16_t); 300 ALLOC(ot2, N, spx_word16_t*); 301 ALLOC(nt2, N, spx_word16_t*) [all...] |
/external/bison/build-aux/ |
darwin11.4.0.valgrind | 21 fun:?alloc* 29 fun:?alloc* 37 fun:?alloc*
|
/external/chromium/chrome/browser/ui/cocoa/ |
about_ipc_controller_unittest.mm | 22 AboutIPCController* controller = [[AboutIPCController alloc] init]; 32 scoped_nsobject<CocoaLogData> cdata([[CocoaLogData alloc] 39 scoped_nsobject<CocoaLogData> cdata([[CocoaLogData alloc]
|
fullscreen_window_unittest.mm | 29 window.reset([[FullscreenWindow alloc] init]); 41 window.reset([[FullscreenWindow alloc] init]); 44 item.reset([[PerformCloseUIItem alloc] init]);
|
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_bar_folder_window_unittest.mm | 16 window_.reset([[BookmarkBarFolderWindow alloc] 28 view_.reset([[BookmarkBarFolderWindowContentView alloc] 42 scroll_view_.reset([[BookmarkBarFolderWindowScrollView alloc]
|
bookmark_tree_browser_cell_unittest.mm | 18 matrixMock_.reset([[NSMatrix alloc] init]); 19 targetMock_.reset([[NSObject alloc] init]); 28 BookmarkTreeBrowserCell* cell = [[[BookmarkTreeBrowserCell alloc]
|
bookmark_button_cell_unittest.mm | 47 scoped_nsobject<NSButton> view([[NSButton alloc] initWithFrame:frame]); 49 [[BookmarkButtonCell alloc] initTextCell:@"Testing"]); 62 scoped_nsobject<NSButton> view([[NSButton alloc] initWithFrame:frame]); 64 [[BookmarkButtonCell alloc] initTextCell:@"Testing"]); 91 [[BookmarkButtonCell alloc] initTextCell:@"Testing"]); 94 [cell setMenu:[[[BookmarkMenu alloc] initWithTitle:@"foo"] autorelease]]; 112 [[BookmarkButtonCell alloc] initTextCell:@"Testing"]); 125 [[BookmarkButtonCell alloc] initTextCell:@"Testing"]); 127 button([[ButtonRemembersMouseEnterExit alloc] 152 scoped_nsobject<BookmarkButtonCell> cell([[BookmarkButtonCell alloc] init]) [all...] |
/external/clang/test/Analysis/ |
objc-arc.m | 24 + (id)alloc; 87 [NSObject alloc]; // no-warning 110 cell = [[RDar9424890_A alloc] initWithCleaner:0 mop:WhizFiz]; // no-warning 118 id x = [NSObject alloc]; // expected-warning {{Value stored to 'x' during its initialization is never read}} 177 NSObject *o = [[NSObject alloc] init]; 178 NSArray *a = [[NSArray alloc] initWithObjects:o, (void*)0]; 184 NSObject *o = [[NSObject alloc] init]; 186 NSArray *a2 = [[NSArray alloc] initWithArray:a1]; 192 NSObject *o = [[NSObject alloc] init]; 209 NSObject *o = [[NSObject alloc] init] [all...] |
NSWindow.m | 17 + (id)alloc; 48 NSWindow *window = [[NSWindow alloc] 58 NSWindow *window = [[NSWindow alloc] 70 NSWindow *window = [[NSWindow alloc] // no-warning 85 NSWindow *window = [NSWindow alloc]; // expected-warning{{never read}}
|
malloc.mm | 18 NSData *nsdata = [[NSData alloc] initWithBytesNoCopy:data length:dataLength freeWhenDone:1]; // no-warning 23 Wrapper *nsdata = [[Wrapper alloc] initWithBytesNoCopy:data length:dataLength]; // no-warning 28 NSString *nsstr = [[NSString alloc] initWithBytesNoCopy:data length:dataLength encoding:NSUTF8StringEncoding freeWhenDone:1]; 33 NSString *nsstr = [[NSString alloc] initWithCharactersNoCopy:data length:dataLength freeWhenDone:1]; 39 NSString *nsstr = [[NSString alloc] initWithBytesNoCopy:data length:dataLength encoding:NSUTF8StringEncoding freeWhenDone:1]; // no-warning 44 NSString *nsstr = [[NSString alloc] initWithCharactersNoCopy:data length:dataLength freeWhenDone:1]; // no-warning 55 NSData *nsdata = [[NSData alloc] initWithBytesNoCopy:data length:dataLength freeWhenDone:0]; // expected-warning{{leak}} 61 NSString *nsstr = [[NSString alloc] initWithBytesNoCopy:data length:dataLength encoding:NSUTF8StringEncoding freeWhenDone:0]; // expected-warning{{leak}} 66 NSString *nsstr = [[NSString alloc] initWithCharactersNoCopy:data length:dataLength freeWhenDone:0]; // expected-warning{{leak}} 260 NSString *string = [[NSString alloc] initWithCharactersNoCopy:characters length:12 freeWhenDone:1] [all...] |
NSString.m | 35 extern CFStringRef CFStringCreateWithFormat(CFAllocatorRef alloc, CFDictionaryRef formatOptions, CFStringRef format, ...); 61 + (id)alloc; 139 NSString* s = [[NSString alloc] init]; 140 NSMutableArray* a = [[NSMutableArray alloc] initWithCapacity:2]; 148 NSString* s = [[NSString alloc] init]; 156 if (!s) s = [[NSString alloc] init]; 176 NSString *string = [[NSString alloc] init]; 200 NSString *str = [[NSString alloc] init]; 205 NSString *s = [[NSString alloc] init]; // expected-warning{{leak}} 211 NSString *s = [[[NSString alloc] init] autorelease]; // expected-warning{{leak} [all...] |
/external/clang/test/CodeGenObjC/ |
related-result-type.m | 4 + (id)alloc; 18 NSString *str1 = [[[NSString alloc] init] retain]; 27 NSString *str1 = NSString.alloc.init.retain;
|
/external/compiler-rt/lib/tsan/lit_tests/ |
race_on_heap.cc | 16 void *alloc() { function 21 return alloc(); 42 // CHECK: #{{1|2}} alloc
|
/external/openssh/ |
buffer.c | 38 buffer->alloc = 0; 40 buffer->alloc = len; 50 if (buffer->alloc > 0) { 51 memset(buffer->buf, 0, buffer->alloc); 52 buffer->alloc = 0; 86 if (buffer->offset > MIN(buffer->alloc, BUFFER_MAX_CHUNK)) { 118 if (buffer->end + len < buffer->alloc) { 129 newlen = roundup(buffer->alloc + len, BUFFER_ALLOCSZ); 131 fatal("buffer_append_space: alloc %u not supported", 134 buffer->alloc = newlen [all...] |
/external/skia/bench/ |
MemoryBench.cpp | 39 SkChunkAlloc alloc(fMinSize); 45 alloc.allocThrow(inc); 49 alloc.reset();
|
/external/skia/include/core/ |
SkChunkAlloc.h | 31 void* alloc(size_t bytes, AllocFailType); 33 return this->alloc(bytes, kThrow_AllocFailType); 36 /** Call this to unalloc the most-recently allocated ptr by alloc(). On
|
/external/skia/legacy/include/core/ |
SkChunkAlloc.h | 37 void* alloc(size_t bytes, AllocFailType); 39 return this->alloc(bytes, kThrow_AllocFailType); 42 /** Call this to unalloc the most-recently allocated ptr by alloc(). On
|
/external/valgrind/main/memcheck/tests/ |
realloc3.stderr.exp | 3 Address 0x........ is 15 bytes after a block of size 5 alloc'd 9 Address 0x........ is 15 bytes after a block of size 5 alloc'd 15 Address 0x........ is 15 bytes after a block of size 5 alloc'd
|
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
rs_sample.c | 269 getBilinearSample1D(const Allocation_t *alloc, float2 weights, 273 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; 319 getBilinearSample2D(const Allocation_t *alloc, float w0, float w1, float w2, float w3, 323 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; 324 size_t stride = alloc->mHal.drvState.lod[lod].stride; 351 getNearestSample(const Allocation_t *alloc, uint32_t iPixel, rs_data_kind dk, 354 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; 388 getNearestSample(const Allocation_t *alloc, uint2 iPixel, rs_data_kind dk, 391 const uint8_t *p = (const uint8_t *)alloc->mHal.drvState.lod[lod].mallocPtr; 392 size_t stride = alloc->mHal.drvState.lod[lod].stride 552 const Allocation_t *alloc = (const Allocation_t *)a.p; local 596 const Allocation_t *alloc = (const Allocation_t *)a.p; local 645 const Allocation_t *alloc = (const Allocation_t *)a.p; local [all...] |
/dalvik/vm/ |
Dalvik.h | 57 #include "alloc/Alloc.h" 58 #include "alloc/CardTable.h" 59 #include "alloc/HeapDebug.h" 60 #include "alloc/WriteBarrier.h"
|
PointerSet.cpp | 25 u2 alloc; member in struct:PointerSet 65 pSet->alloc = initialSize; 125 if (pSet->count == pSet->alloc) { 129 if (pSet->alloc == 0) 130 pSet->alloc = 4; 132 pSet->alloc *= 2; 133 LOGVV("expanding %p to %d", pSet, pSet->alloc); 134 newList = (const void**)realloc(pSet->list, pSet->alloc * sizeof(void*)); 136 ALOGE("Failed expanding ptr set (alloc=%d)", pSet->alloc); [all...] |
/frameworks/support/v8/renderscript/jni/ |
android_renderscript_RenderScript.cpp | 335 nAllocationGenerateMipmaps(JNIEnv *_env, jobject _this, RsContext con, jint alloc) 337 LOG_API("nAllocationGenerateMipmaps, con(%p), a(%p)", con, (RsAllocation)alloc); 338 rsAllocationGenerateMipmaps(con, (RsAllocation)alloc); 403 nAllocationCopyFromBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap) 413 rsAllocation2DData(con, (RsAllocation)alloc, 0, 0, 421 nAllocationCopyToBitmap(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jobject jbitmap) 431 rsAllocationCopyToBitmap(con, (RsAllocation)alloc, pixels, GetBitmapSize(_env, jbitmap)); 439 nAllocationData1D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jintArray data, int sizeBytes) 442 LOG_API("nAllocation1DData_i, con(%p), adapter(%p), offset(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes); 444 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes) [all...] |
/external/linux-tools-perf/util/ |
strbuf.h | 36 * XXX: do _not_ assume that the area that is yours is of size ->alloc - 1 37 * even if it's true in the current implementation. Alloc is somehow a 45 size_t alloc; member in struct:strbuf 59 return sb->alloc ? sb->alloc - sb->len - 1 : 0; 65 if (!sb->alloc) 67 assert(len < sb->alloc);
|
/external/valgrind/main/massif/tests/ |
deep-D.post.exp | 3 Massif arguments: --stacks=no --time-unit=B --alloc-fn=a1 --alloc-fn=a2 --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --alloc-fn=a6 --alloc-fn=a7 --alloc-fn=a8 --alloc-fn=a9 --alloc-fn=a10 --alloc-fn=a11 --alloc-fn=a12 --alloc-fn=main --depth=20 --massif-out-file=massif.out --ign (…) [all...] |