/external/chromium_org/chrome/browser/ui/cocoa/ |
nsview_additions_unittest.mm | 42 [[NSView alloc] initWithFrame:NSZeroRect]); 44 [[NSView alloc] initWithFrame:NSZeroRect]); 46 [[NSView alloc] initWithFrame:NSZeroRect]); 67 [[NSView alloc] initWithFrame:NSZeroRect]); 69 [[NSView alloc] initWithFrame:NSZeroRect]); 71 [[NSView alloc] initWithFrame:NSZeroRect]); 91 [[ParentView alloc] initWithFrame:NSZeroRect]); 93 [[NSView alloc] initWithFrame:NSZeroRect]); 95 [[NSView alloc] initWithFrame:NSZeroRect]);
|
/external/clang/test/Analysis/inlining/ |
ObjCDynTypePopagation.m | 23 /* Test that we get the right type from call to alloc. */ 25 id a = [self alloc]; 31 id a = [PublicSubClass2 alloc]; 36 id a = [super alloc]; 42 id a = [super alloc]; 47 id a = [[self alloc] init]; 58 id a = [[self alloc] init]; 80 id x = [[AllocClass alloc] init]; 94 return [[PublicSubClass2 alloc] init];
|
/external/linux-tools-perf/util/ |
cache.h | 56 * is 'alloc', using the standard growing factor alloc_nr() macro. 58 * DO NOT USE any expression with side-effect for 'x' or 'alloc'. 60 #define ALLOC_GROW(x, nr, alloc) \ 62 if ((nr) > alloc) { \ 63 if (alloc_nr(alloc) < (nr)) \ 64 alloc = (nr); \ 66 alloc = alloc_nr(alloc); \ 67 x = xrealloc((x), alloc * sizeof(*(x))); \
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRInputStream.m | 19 return [[ANTLRInputStream alloc] init]; 24 return [[ANTLRInputStream alloc] initWithInput:anInput size:ANTLRReaderStream.INITIAL_BUFFER_SIZE readBufferSize:ANTLRReaderStream.READ_BUFFER_SIZE encoding:NSASCIIStringEncoding]; 29 return [[ANTLRInputStream alloc] initWithInput:anInput size:theSize readBufferSize:ANTLRReaderStream.READ_BUFFER_SIZE encoding:NSASCIIStringEncoding]; 34 return [[ANTLRInputStream alloc] initWithInput:anInput size:ANTLRReaderStream.INITIAL_BUFFER_SIZE readBufferSize:ANTLRReaderStream.READ_BUFFER_SIZE encoding:theEncoding]; 42 return [[ANTLRInputStream alloc] initWithInput:anInput size:theSize readBufferSize:theRBSize encoding:theEncoding];
|
/external/clang/test/ARCMT/ |
atautorelease.m | 12 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 21 NSAutoreleasePool * pool1 = [[NSAutoreleasePool alloc] init]; 34 NSAutoreleasePool *pool2 = [[NSAutoreleasePool alloc] init]; 44 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 58 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
atautorelease-2.m | 9 +alloc; 18 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 19 NSAutoreleasePool *chunkPool = [[NSAutoreleasePool alloc] init];
|
/frameworks/rs/driver/ |
rsdAllocation.h | 80 android::renderscript::Allocation *alloc); 82 android::renderscript::Allocation *alloc, 85 android::renderscript::Allocation *alloc); 88 const android::renderscript::Allocation *alloc, 91 const android::renderscript::Allocation *alloc, 94 const android::renderscript::Allocation *alloc); 96 android::renderscript::Allocation *alloc, ANativeWindow *nw); 98 android::renderscript::Allocation *alloc); 100 android::renderscript::Allocation *alloc); 103 const android::renderscript::Allocation *alloc, [all...] |
/external/valgrind/main/massif/tests/ |
culling2.stderr.exp | 1 Massif: alloc-fns: 24 Massif: alloc S. 1 (t:16, hp:0, ex:16, st:0) 25 Massif: alloc S. 2 (t:432, hp:400, ex:32, st:0) 26 Massif: alloc S. 3 (t:1248, hp:1200, ex:48, st:0) 27 Massif: alloc S. 4 (t:2464, hp:2400, ex:64, st:0) 28 Massif: alloc S. 5 (t:4080, hp:4000, ex:80, st:0) 29 Massif: alloc S. 6 (t:6096, hp:6000, ex:96, st:0) 30 Massif: alloc S. 7 (t:8512, hp:8400, ex:112, st:0) 31 Massif: alloc S. 8 (t:11328, hp:11200, ex:128, st:0) 32 Massif: alloc Sd 9 (t:14544, hp:14400, ex:144, st:0 [all...] |
Makefile.am | 7 alloc-fns-A.post.exp alloc-fns-A.stderr.exp alloc-fns-A.vgtest \ 8 alloc-fns-B.post.exp alloc-fns-B.stderr.exp alloc-fns-B.vgtest \ 11 big-alloc.post.exp big-alloc.post.exp-64bit \ 12 big-alloc.stderr.exp big-alloc.vgtest [all...] |
/system/extras/ext4_utils/ |
allocate.c | 71 struct block_allocation *alloc = malloc(sizeof(struct block_allocation)); local 72 alloc->list.first = NULL; 73 alloc->list.last = NULL; 74 alloc->oob_list.first = NULL; 75 alloc->oob_list.last = NULL; 76 alloc->list.iter = NULL; 77 alloc->list.partial_iter = 0; 78 alloc->oob_list.iter = NULL; 79 alloc->oob_list.partial_iter = 0; 80 return alloc; 485 struct block_allocation *alloc = create_allocation(); local [all...] |
/external/lzma/C/ |
XzIn.c | 71 static SRes Xz_ReadIndex2(CXzStream *p, const Byte *buf, size_t size, ISzAlloc *alloc)
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)
126 buf = alloc->Alloc(alloc, size);
131 res = Xz_ReadIndex2(p, buf, size, alloc);
[all...] |
/external/e2fsprogs/e2fsck/ |
mtrace.awk | 6 print "+", $2, "Alloc", NR, "duplicate:", allocated[$2]; 15 print "-", $2, "Free", NR, "was never alloc'd"; 20 print "-", $2, "Realloc", NR, "was never alloc'd";
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector/vector.cons/ |
construct_iter_iter_alloc.pass.cpp | 38 std::allocator<int> alloc; local 39 test<std::vector<int> >(input_iterator<const int*>(a), input_iterator<const int*>(an), alloc); local 40 test<std::vector<int> >(forward_iterator<const int*>(a), forward_iterator<const int*>(an), alloc); local 41 test<std::vector<int> >(bidirectional_iterator<const int*>(a), bidirectional_iterator<const int*>(an), alloc); local 42 test<std::vector<int> >(random_access_iterator<const int*>(a), random_access_iterator<const int*>(an), alloc); local 43 test<std::vector<int> >(a, an, alloc); 49 min_allocator<int> alloc; local 50 test<std::vector<int, min_allocator<int>> >(input_iterator<const int*>(a), input_iterator<const int*>(an), alloc); local 51 test<std::vector<int, min_allocator<int>> >(forward_iterator<const int*>(a), forward_iterator<const int*>(an), alloc); local 52 test<std::vector<int, min_allocator<int>> >(bidirectional_iterator<const int*>(a), bidirectional_iterator<const int*>(an), alloc); local 53 test<std::vector<int, min_allocator<int>> >(random_access_iterator<const int*>(a), random_access_iterator<const int*>(an), alloc); local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector.bool/ |
construct_iter_iter_alloc.pass.cpp | 38 std::allocator<bool> alloc; local 39 test<std::vector<bool> >(input_iterator<const bool*>(a), input_iterator<const bool*>(an), alloc); local 40 test<std::vector<bool> >(forward_iterator<const bool*>(a), forward_iterator<const bool*>(an), alloc); local 41 test<std::vector<bool> >(bidirectional_iterator<const bool*>(a), bidirectional_iterator<const bool*>(an), alloc); local 42 test<std::vector<bool> >(random_access_iterator<const bool*>(a), random_access_iterator<const bool*>(an), alloc); local 43 test<std::vector<bool> >(a, an, alloc); 47 min_allocator<bool> alloc; local 48 test<std::vector<bool, min_allocator<bool>> >(input_iterator<const bool*>(a), input_iterator<const bool*>(an), alloc); local 49 test<std::vector<bool, min_allocator<bool>> >(forward_iterator<const bool*>(a), forward_iterator<const bool*>(an), alloc); local 50 test<std::vector<bool, min_allocator<bool>> >(bidirectional_iterator<const bool*>(a), bidirectional_iterator<const bool*>(an), alloc); local 51 test<std::vector<bool, min_allocator<bool>> >(random_access_iterator<const bool*>(a), random_access_iterator<const bool*>(an), alloc); local [all...] |
/external/dropbear/libtommath/ |
bn_mp_grow.c | 24 /* if the alloc size is smaller alloc more ram */ 25 if (a->alloc < size) { 45 i = a->alloc; 46 a->alloc = size; 47 for (; i < a->alloc; i++) {
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/ |
swap_member.pass.cpp | 13 // class Alloc = allocator<pair<const Key, T>>> 32 typedef test_allocator<std::pair<const int, std::string> > Alloc; 33 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; 35 C c1(0, Hash(1), Compare(1), Alloc(1)); 36 C c2(0, Hash(2), Compare(2), Alloc(2)); 44 assert(c1.get_allocator() == Alloc(1)); 53 assert(c2.get_allocator() == Alloc(2)); 61 typedef test_allocator<std::pair<const int, std::string> > Alloc; 62 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; 75 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/unord.map.swap/ |
swap_non_member.pass.cpp | 13 // class Alloc = allocator<pair<const Key, T>>> 32 typedef test_allocator<std::pair<const int, std::string> > Alloc; 33 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; 35 C c1(0, Hash(1), Compare(1), Alloc(1)); 36 C c2(0, Hash(2), Compare(2), Alloc(2)); 44 assert(c1.get_allocator() == Alloc(1)); 53 assert(c2.get_allocator() == Alloc(2)); 61 typedef test_allocator<std::pair<const int, std::string> > Alloc; 62 typedef std::unordered_map<int, std::string, Hash, Compare, Alloc> C; 75 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/ |
swap_member.pass.cpp | 13 // class Alloc = allocator<Value>> 31 typedef test_allocator<int> Alloc; 32 typedef std::unordered_multiset<int, 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<int> Alloc; 61 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; 74 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/unord.multiset.swap/ |
swap_non_member.pass.cpp | 13 // class Alloc = allocator<Value>> 31 typedef test_allocator<int> Alloc; 32 typedef std::unordered_multiset<int, 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<int> Alloc; 61 typedef std::unordered_multiset<int, Hash, Compare, Alloc> C; 74 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/ |
swap_member.pass.cpp | 13 // class Alloc = allocator<Value>> 31 typedef test_allocator<int> Alloc; 32 typedef std::unordered_set<int, 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<int> Alloc; 61 typedef std::unordered_set<int, Hash, Compare, Alloc> C; 74 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/unord.set.swap/ |
swap_non_member.pass.cpp | 13 // class Alloc = allocator<Value>> 31 typedef test_allocator<int> Alloc; 32 typedef std::unordered_set<int, 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<int> Alloc; 61 typedef std::unordered_set<int, Hash, Compare, Alloc> C; 74 C c1(0, Hash(1), Compare(1), Alloc(1)) [all...] |
/external/chromium/base/mac/ |
scoped_nsautorelease_pool.mm | 15 : autorelease_pool_([[NSAutoreleasePool alloc] init]) { 27 autorelease_pool_ = [[NSAutoreleasePool alloc] init];
|
/external/chromium/chrome/browser/ui/cocoa/ |
focus_tracker_unittest.mm | 19 scoped_nsobject<NSView> view([[NSView alloc] initWithFrame:NSZeroRect]); 23 view.reset([[NSView alloc] initWithFrame:NSZeroRect]); 37 [[FocusTracker alloc] initWithWindow:window]); 48 scoped_nsobject<NSTextField> text([[NSTextField alloc] initWithFrame:frame]); 52 scoped_nsobject<FocusTracker> tracker([[FocusTracker alloc] 62 scoped_nsobject<NSView> viewC([[NSView alloc] initWithFrame:NSZeroRect]); 67 [[FocusTracker alloc] initWithWindow:window]); 80 [[FocusTracker alloc] initWithWindow:window]);
|
/external/chromium_org/base/mac/ |
scoped_nsautorelease_pool.mm | 15 : autorelease_pool_([[NSAutoreleasePool alloc] init]) { 27 autorelease_pool_ = [[NSAutoreleasePool alloc] init];
|
/external/chromium_org/ui/base/cocoa/ |
focus_tracker_unittest.mm | 20 [[NSView alloc] initWithFrame:NSZeroRect]); 24 view.reset([[NSView alloc] initWithFrame:NSZeroRect]); 38 [[FocusTracker alloc] initWithWindow:window]); 50 [[NSTextField alloc] initWithFrame:frame]); 55 [[FocusTracker alloc] initWithWindow:window]); 65 [[NSView alloc] initWithFrame:NSZeroRect]); 70 [[FocusTracker alloc] initWithWindow:window]); 83 [[FocusTracker alloc] initWithWindow:window]);
|