HomeSort by relevance Sort by last modified time
    Searched full:alloc (Results 76 - 100 of 2627) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/chromium/testing/
platform_test_mac.mm 10 : pool_([[NSAutoreleasePool alloc] init]) {
  /external/clang/test/PCH/
typo.m 5 [NSstring alloc]; // expected-error{{unknown receiver 'NSstring'; did you mean 'NSString'?}}
  /external/clang/test/SemaObjCXX/
conversion-to-objc-pointer-2.mm 8 - (id) alloc;
82 NSObject* object1 = [[[NSObject alloc] init] autorelease];
83 TNSAutoRef<NSObject*> object2([[NSObject alloc] init]);
84 TNSAutoRef<TBar*> bar([[TBar alloc] init]);
  /external/skia/src/gpu/
GrAllocPool.h 22 * Frees all blocks that have been allocated with alloc().
31 void* alloc(size_t bytes);
57 T* alloc() { return (T*)fPool.alloc(sizeof(T)); } function in class:GrTAllocPool
  /external/chromium/chrome/browser/ui/cocoa/content_settings/
cookie_details_view_controller_unittest.mm 22 CocoaCookieDetails* details = [CocoaCookieDetails alloc];
32 return [[[CookiePromptContentDetailsAdapter alloc] initWithDetails:details]
40 CocoaCookieDetails* details = [CocoaCookieDetails alloc];
50 return [[[CookiePromptContentDetailsAdapter alloc] initWithDetails:details]
56 [[CookieDetailsViewController alloc] init]);
61 [[CookieDetailsViewController alloc] init]);
74 [[CookieDetailsViewController alloc] init]);
  /external/clang/test/Rewriter/
instancetype-test.mm 9 + (instancetype)alloc;
42 Root *r1 = [[Root alloc] init];
43 Subclass1 *sc1 = [[Subclass1 alloc] init];
49 Subclass1 *sc1 = [[Subclass1 alloc] initSubclass2]; // expected-warning{{'Subclass1' may not respond to 'initSubclass2'}}
50 Subclass2 *sc2 = [[Subclass2 alloc] initSubclass2]; // okay
53 [[[Subclass1 alloc] init] methodOnSubclass2]; // expected-warning{{'Subclass1' may not respond to 'methodOnSubclass2'}}
54 [[[Subclass2 alloc] init] methodOnSubclass2];
57 [[Subclass1<Proto1> alloc] methodInProto2]; // expected-warning{{method '-methodInProto2' not found (return type defaults to 'id')}}
58 [[Subclass1<Proto2> alloc] methodInProto2];
69 // Subclass1<Proto1> *sc1proto1_2 = [[[sc1proto1 class] alloc] init]
    [all...]
  /external/chromium/chrome/browser/ui/cocoa/
hyperlink_button_cell_unittest.mm 19 scoped_nsobject<NSButton> view([[NSButton alloc] initWithFrame:frame]);
22 [[HyperlinkButtonCell alloc] initTextCell:@"Testing"]);
44 scoped_nsobject<HyperlinkButtonCell> cell([[HyperlinkButtonCell alloc] init]);
50 [[[NSKeyedUnarchiver alloc] initForReadingWithData:emptyData] autorelease];
51 cell.reset([[HyperlinkButtonCell alloc] initWithCoder:coder]);
  /external/clang/test/Analysis/
analyzeOneFunction.m 12 +(id)alloc;
39 Test1 *cell = [[[Test1 alloc] init] autorelease];
41 NSString *string1 = [[NSString alloc] initWithFormat:@"test %f", 0.0]; // No warning: this function is not analized.
48 Test1 *cell = [[[Test1 alloc] init] autorelease];
50 NSString *string1 = [[NSString alloc] initWithFormat:@"test %f %d", 0.0, X+Y]; // expected-warning {{Potential leak}}
NSContainers.m 25 + (id)alloc;
52 NSMutableArray *marray = [[NSMutableArray alloc] init];
57 NSMutableArray *marray = [[NSMutableArray alloc] init];
62 NSMutableArray *marray = [[NSMutableArray alloc] init];
67 NSMutableArray *marray = [[NSMutableArray alloc] init];
73 NSArray *array = [[NSArray alloc] init];
  /frameworks/rs/
rs_hal.h 146 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero);
147 void (*destroy)(const Context *rsc, Allocation *alloc);
149 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType,
151 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src);
152 void (*markDirty)(const Context *rsc, const Allocation *alloc);
154 void * (*getSurface)(const Context *rsc, const Allocation *alloc);
155 void (*setSurface)(const Context *rsc, Allocation *alloc, ANativeWindow *sur);
156 void (*ioSend)(const Context *rsc, Allocation *alloc);
157 void (*ioReceive)(const Context *rsc, Allocation *alloc);
159 void (*data1D)(const Context *rsc, const Allocation *alloc,
    [all...]
  /external/valgrind/main/massif/tests/
alloc-fns-A.post.exp 2 Command: ./alloc-fns
48 100.00% (3,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
49 ->44.44% (1,600B) 0x........: d4 (alloc-fns.c:18)
50 | ->33.33% (1,200B) 0x........: d3 (alloc-fns.c:19)
51 | | ->22.22% (800B) 0x........: d2 (alloc-fns.c:20)
52 | | | ->11.11% (400B) 0x........: d1 (alloc-fns.c:21)
53 | | | | ->11.11% (400B) 0x........: main (alloc-fns.c:30)
55 | | | ->11.11% (400B) 0x........: main (alloc-fns.c:31)
57 | | ->11.11% (400B) 0x........: main (alloc-fns.c:32)
59 | ->11.11% (400B) 0x........: main (alloc-fns.c:33
    [all...]
culling1.stderr.exp 1 Massif: alloc-fns:
24 Massif: alloc S. 1 (t:32, hp:16, ex:16, st:0)
25 Massif: alloc S. 2 (t:64, hp:32, ex:32, st:0)
26 Massif: alloc S. 3 (t:96, hp:48, ex:48, st:0)
27 Massif: alloc S. 4 (t:128, hp:64, ex:64, st:0)
28 Massif: alloc S. 5 (t:160, hp:80, ex:80, st:0)
29 Massif: alloc S. 6 (t:192, hp:96, ex:96, st:0)
30 Massif: alloc S. 7 (t:224, hp:112, ex:112, st:0)
31 Massif: alloc S. 8 (t:256, hp:128, ex:128, st:0)
32 Massif: alloc Sd 9 (t:288, hp:144, ex:144, st:0
    [all...]
  /external/clang/test/ARCMT/
atautorelease-check.m 37 + (id)alloc;
72 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
73 NSAutoreleasePool *chunkPool = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}}
78 chunkPool = [[NSAutoreleasePool alloc] init]; // expected-error {{'NSAutoreleasePool' is unavailable}}
95 pool = [[NSAutoreleasePool alloc] init]; // expected-error {{'NSAutoreleasePool' is unavailable}}
101 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}} \
114 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}} \
126 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}} \
137 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}} \
  /external/linux-tools-perf/util/
strbuf.c 21 sb->alloc = sb->len = 0;
29 if (sb->alloc) {
37 char *res = sb->alloc ? sb->buf : NULL;
48 if (!sb->alloc)
50 ALLOC_GROW(sb->buf, sb->len + extra + 1, sb->alloc);
92 len = vsnprintf(sb->buf + sb->len, sb->alloc - sb->len, fmt, ap);
99 len = vsnprintf(sb->buf + sb->len, sb->alloc - sb->len, fmt, ap);
111 size_t oldalloc = sb->alloc;
117 cnt = read(fd, sb->buf + sb->len, sb->alloc - sb->len - 1);
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRReaderStream.m 33 return [[ANTLRReaderStream alloc] init];
38 return [[ANTLRReaderStream alloc] initWithReader:r size:INITIAL_BUFFER_SIZE readBufferSize:READ_BUFFER_SIZE];
43 return [[ANTLRReaderStream alloc] initWithReader:r size:aSize readBufferSize:READ_BUFFER_SIZE];
49 return [[ANTLRReaderStream alloc] initWithReader:r size:aSize readBufferSize:aReadChunkSize];
96 data = [[NSString alloc] initWithData:retData encoding:NSASCIIStringEncoding];
106 NSInputStream *iStream = [[NSInputStream alloc] initWithFileAtPath:path];
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/vector/vector.cons/
construct_iter_iter_alloc.pass.cpp 36 std::allocator<int> alloc; local
37 test<std::vector<int> >(input_iterator<const int*>(a), input_iterator<const int*>(an), alloc); local
38 test<std::vector<int> >(forward_iterator<const int*>(a), forward_iterator<const int*>(an), alloc); local
39 test<std::vector<int> >(bidirectional_iterator<const int*>(a), bidirectional_iterator<const int*>(an), alloc); local
40 test<std::vector<int> >(random_access_iterator<const int*>(a), random_access_iterator<const int*>(an), alloc); local
41 test<std::vector<int> >(a, an, alloc);
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/vector.bool/
construct_iter_iter_alloc.pass.cpp 36 std::allocator<bool> alloc; local
37 test<std::vector<bool> >(input_iterator<const bool*>(a), input_iterator<const bool*>(an), alloc); local
38 test<std::vector<bool> >(forward_iterator<const bool*>(a), forward_iterator<const bool*>(an), alloc); local
39 test<std::vector<bool> >(bidirectional_iterator<const bool*>(a), bidirectional_iterator<const bool*>(an), alloc); local
40 test<std::vector<bool> >(random_access_iterator<const bool*>(a), random_access_iterator<const bool*>(an), alloc); local
41 test<std::vector<bool> >(a, an, alloc);
  /ndk/sources/cxx-stl/llvm-libc++/test/containers/unord/unord.set/
eq.pass.cpp 12 // template <class Key, class Hash, class Pred, class Alloc>
14 // operator==(const unordered_set<Key, Hash, Pred, Alloc>& x,
15 // const unordered_set<Key, Hash, Pred, Alloc>& y);
17 // template <class Key, class Hash, class Pred, class Alloc>
19 // operator!=(const unordered_set<Key, Hash, Pred, Alloc>& x,
20 // const unordered_set<Key, Hash, Pred, Alloc>& y);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/
types_traits.hpp 52 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra>
55 typedef value_type_base<Key, Mapped, Alloc, Store_Extra> type;
58 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra>
60 : public vt_base_selector<Key, Mapped, Alloc, Store_Extra>::type
62 typedef typename Alloc::template rebind<Key>::other key_allocator;
68 typedef typename Alloc::size_type size_type;
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/ext/pb_ds/detail/
types_traits.hpp 52 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra>
55 typedef value_type_base<Key, Mapped, Alloc, Store_Extra> type;
58 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra>
60 : public vt_base_selector<Key, Mapped, Alloc, Store_Extra>::type
62 typedef typename Alloc::template rebind<Key>::other key_allocator;
68 typedef typename Alloc::size_type size_type;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/ext/pb_ds/detail/
types_traits.hpp 52 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra>
55 typedef value_type_base<Key, Mapped, Alloc, Store_Extra> type;
58 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra>
60 : public vt_base_selector<Key, Mapped, Alloc, Store_Extra>::type
62 typedef typename Alloc::template rebind<Key>::other key_allocator;
68 typedef typename Alloc::size_type size_type;
  /prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/
types_traits.hpp 52 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra>
55 typedef value_type_base<Key, Mapped, Alloc, Store_Extra> type;
58 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra>
60 : public vt_base_selector<Key, Mapped, Alloc, Store_Extra>::type
62 typedef typename Alloc::template rebind<Key>::other key_allocator;
68 typedef typename Alloc::size_type size_type;
  /prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/
types_traits.hpp 52 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra>
55 typedef value_type_base<Key, Mapped, Alloc, Store_Extra> type;
58 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra>
60 : public vt_base_selector<Key, Mapped, Alloc, Store_Extra>::type
62 typedef typename Alloc::template rebind<Key>::other key_allocator;
68 typedef typename Alloc::size_type size_type;
  /prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/
types_traits.hpp 52 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra>
55 typedef value_type_base<Key, Mapped, Alloc, Store_Extra> type;
58 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra>
60 : public vt_base_selector<Key, Mapped, Alloc, Store_Extra>::type
62 typedef typename Alloc::template rebind<Key>::other key_allocator;
68 typedef typename Alloc::size_type size_type;
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/pb_ds/detail/
types_traits.hpp 52 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra>
55 typedef value_type_base<Key, Mapped, Alloc, Store_Extra> type;
58 template<typename Key, typename Mapped, typename Alloc, bool Store_Extra>
60 : public vt_base_selector<Key, Mapped, Alloc, Store_Extra>::type
62 typedef typename Alloc::template rebind<Key>::other key_allocator;
68 typedef typename Alloc::size_type size_type;

Completed in 1013 milliseconds

1 2 34 5 6 7 8 91011>>