HomeSort by relevance Sort by last modified time
    Searched full:alloc (Results 101 - 125 of 3588) sorted by null

1 2 3 45 6 7 8 91011>>

  /device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/
mm_jpeg_ionbuf.c 53 p_buffer->alloc.len = p_buffer->size;
54 p_buffer->alloc.align = 4096;
55 p_buffer->alloc.flags = ION_FLAG_CACHED;
56 p_buffer->alloc.heap_mask = 0x1 << ION_IOMMU_HEAP_ID;
65 p_buffer->alloc.len = (p_buffer->alloc.len + 4095) & (~4095);
66 lrc = ioctl(p_buffer->ion_fd, ION_IOC_ALLOC, &p_buffer->alloc);
69 p_buffer->alloc.len);
73 p_buffer->ion_info_fd.handle = p_buffer->alloc.handle;
83 l_buffer = mmap(NULL, p_buffer->alloc.len, PROT_READ | PROT_WRITE
    [all...]
  /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...]
  /hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/
mm_jpeg_ionbuf.c 53 p_buffer->alloc.len = p_buffer->size;
54 p_buffer->alloc.align = 4096;
55 p_buffer->alloc.flags = ION_FLAG_CACHED;
56 p_buffer->alloc.heap_mask = 0x1 << ION_IOMMU_HEAP_ID;
65 p_buffer->alloc.len = (p_buffer->alloc.len + 4095) & (~4095);
66 lrc = ioctl(p_buffer->ion_fd, ION_IOC_ALLOC, &p_buffer->alloc);
69 p_buffer->alloc.len);
73 p_buffer->ion_info_fd.handle = p_buffer->alloc.handle;
83 l_buffer = mmap(NULL, p_buffer->alloc.len, PROT_READ | PROT_WRITE
    [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}}
  /external/clang/test/SemaObjC/
instancetype.m 8 + (instancetype)alloc; // expected-note {{explicitly declared 'instancetype'}}
41 Root *r1 = [[Root alloc] init];
42 Subclass1 *sc1 = [[Subclass1 alloc] init];
48 Subclass1 *sc1 = [[Subclass1 alloc] initSubclass2]; // expected-warning{{'Subclass1' may not respond to 'initSubclass2'}}
49 Subclass2 *sc2 = [[Subclass2 alloc] initSubclass2]; // okay
52 [[[Subclass1 alloc] init] methodOnSubclass2]; // expected-warning{{'Subclass1' may not respond to 'methodOnSubclass2'}}
53 [[[Subclass2 alloc] init] methodOnSubclass2];
58 [[SC1Proto1 alloc] methodInProto2]; // expected-warning{{method '-methodInProto2' not found (return type defaults to 'id')}}
59 [[SC1Proto2 alloc] methodInProto2];
68 typeof([[Subclass1 alloc] init]) *ptr1 = (Subclass1 **)0
    [all...]
  /external/clang/test/SemaObjCXX/
instancetype.mm 8 + (instancetype)alloc;
41 Root *r1 = [[Root alloc] init];
42 Subclass1 *sc1 = [[Subclass1 alloc] init];
48 Subclass1 *sc1 = [[Subclass1 alloc] initSubclass2]; // expected-warning{{'Subclass1' may not respond to 'initSubclass2'}}
49 Subclass2 *sc2 = [[Subclass2 alloc] initSubclass2]; // okay
52 [[[Subclass1 alloc] init] methodOnSubclass2]; // expected-warning{{'Subclass1' may not respond to 'methodOnSubclass2'}}
53 [[[Subclass2 alloc] init] methodOnSubclass2];
58 [[SC1Proto1 alloc] methodInProto2]; // expected-warning{{method '-methodInProto2' not found (return type defaults to 'id')}}
59 [[SC1Proto2 alloc] methodInProto2];
68 typeof([[Subclass1 alloc] init]) *ptr1 = (Subclass1 **)0
    [all...]
  /frameworks/rs/
rs_hal.h 146 bool (*init)(const Context *rsc, Allocation *alloc, bool forceZero);
147 void (*destroy)(const Context *rsc, Allocation *alloc);
148 uint32_t (*grallocBits)(const Context *rsc, Allocation *alloc);
150 void (*resize)(const Context *rsc, const Allocation *alloc, const Type *newType,
152 void (*syncAll)(const Context *rsc, const Allocation *alloc, RsAllocationUsageType src);
153 void (*markDirty)(const Context *rsc, const Allocation *alloc);
155 void (*setSurface)(const Context *rsc, Allocation *alloc, ANativeWindow *sur);
156 void (*ioSend)(const Context *rsc, Allocation *alloc);
165 void (*ioReceive)(const Context *rsc, Allocation *alloc);
167 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);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/
swap_member.pass.cpp 13 // class Alloc = allocator<pair<const Key, T>>>
33 typedef test_allocator<std::pair<const int, std::string> > Alloc;
34 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
36 C c1(0, Hash(1), Compare(1), Alloc(1));
37 C c2(0, Hash(2), Compare(2), Alloc(2));
45 assert(c1.get_allocator() == Alloc(1));
54 assert(c2.get_allocator() == Alloc(2));
62 typedef test_allocator<std::pair<const int, std::string> > Alloc;
63 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
76 C c1(0, Hash(1), Compare(1), Alloc(1))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/unord.multimap.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_multimap<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_multimap<int, std::string, Hash, Compare, Alloc> C;
75 C c1(0, Hash(1), Compare(1), Alloc(1))
    [all...]
  /external/chromium_org/v8/src/
list-inl.h 39 void List<T, P>::Add(const T& element, P alloc) {
43 List<T, P>::ResizeAdd(element, alloc);
49 void List<T, P>::AddAll(const List<T, P>& other, P alloc) {
50 AddAll(other.ToVector(), alloc);
55 void List<T, P>::AddAll(const Vector<T>& other, P alloc) {
57 if (capacity_ < result_length) Resize(result_length, alloc);
68 void List<T, P>::ResizeAdd(const T& element, P alloc) {
69 ResizeAddInternal(element, alloc);
74 void List<T, P>::ResizeAddInternal(const T& element, P alloc) {
82 Resize(new_capacity, alloc);
    [all...]
  /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];
  /external/chromium_org/base/mac/
scoped_nsobject_unittest.mm 15 base::scoped_nsobject<NSObject> p1([[NSObject alloc] init]);
39 base::scoped_nsobject<NSObject> p5([[NSObject alloc] init]);
57 base::scoped_nsobject<id> p([[NSObject alloc] init]);
65 objects.push_back(base::scoped_nsobject<id>([[NSObject alloc] init]));
73 base::scoped_nsobject<id> p1([[NSObject alloc] init]);
77 base::scoped_nsobject<id> p2([[NSObject alloc] init]);
  /external/chromium_org/chrome/browser/ui/cocoa/constrained_window/
constrained_window_alert_unittest.mm 34 [[ConstrainedWindowAlert alloc] init]);
50 [[ConstrainedWindowAlert alloc] init]);
58 [[ConstrainedWindowAlert alloc] init]);
63 base::scoped_nsobject<NSView> view([[NSView alloc] initWithFrame:view_rect]);
79 [[ConstrainedWindowAlert alloc] init]);
81 [[ConstrainedWindowAlertTestTarget alloc] init]);
  /external/chromium_org/third_party/cld/encodings/compact_lang_det/
tote.cc 72 int alloc = -1; local
74 alloc = sub0;
76 alloc = sub1;
78 alloc = sub2;
81 alloc = sub0;
82 if (value_[sub1] < value_[alloc]) {alloc = sub1;}
83 if (value_[sub2] < value_[alloc]) {alloc = sub2;}
85 key_[alloc] = ikey
194 int alloc = -1; local
    [all...]
  /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;

Completed in 992 milliseconds

1 2 3 45 6 7 8 91011>>